1/* 2 * Copyright 2013-2014 Texas Instruments, Inc. 3 * 4 * Keystone 2 Edison EVM device tree 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License version 2 as 8 * published by the Free Software Foundation. 9 */ 10/dts-v1/; 11 12#include "keystone.dtsi" 13#include "keystone-k2e.dtsi" 14 15/ { 16 compatible = "ti,k2e-evm", "ti,k2e", "ti,keystone"; 17 model = "Texas Instruments Keystone 2 Edison EVM"; 18 19 reserved-memory { 20 #address-cells = <2>; 21 #size-cells = <2>; 22 ranges; 23 24 dsp_common_memory: dsp-common-memory@81f800000 { 25 compatible = "shared-dma-pool"; 26 reg = <0x00000008 0x1f800000 0x00000000 0x800000>; 27 reusable; 28 status = "okay"; 29 }; 30 }; 31 32 soc { 33 34 clocks { 35 refclksys: refclksys { 36 #clock-cells = <0>; 37 compatible = "fixed-clock"; 38 clock-frequency = <100000000>; 39 clock-output-names = "refclk-sys"; 40 }; 41 42 refclkpass: refclkpass { 43 #clock-cells = <0>; 44 compatible = "fixed-clock"; 45 clock-frequency = <100000000>; 46 clock-output-names = "refclk-pass"; 47 }; 48 49 refclkddr3a: refclkddr3a { 50 #clock-cells = <0>; 51 compatible = "fixed-clock"; 52 clock-frequency = <100000000>; 53 clock-output-names = "refclk-ddr3a"; 54 }; 55 }; 56 }; 57}; 58 59&usb_phy { 60 status = "okay"; 61}; 62 63&keystone_usb0 { 64 status = "okay"; 65}; 66 67&usb0 { 68 dr_mode = "host"; 69}; 70 71&usb1_phy { 72 status = "okay"; 73}; 74 75&keystone_usb1 { 76 status = "okay"; 77}; 78 79&usb1 { 80 dr_mode = "peripheral"; 81}; 82 83&i2c0 { 84 dtt@50 { 85 compatible = "at,24c1024"; 86 reg = <0x50>; 87 }; 88}; 89 90&aemif { 91 cs0 { 92 #address-cells = <2>; 93 #size-cells = <1>; 94 clock-ranges; 95 ranges; 96 97 ti,cs-chipselect = <0>; 98 /* all timings in nanoseconds */ 99 ti,cs-min-turnaround-ns = <12>; 100 ti,cs-read-hold-ns = <6>; 101 ti,cs-read-strobe-ns = <23>; 102 ti,cs-read-setup-ns = <9>; 103 ti,cs-write-hold-ns = <8>; 104 ti,cs-write-strobe-ns = <23>; 105 ti,cs-write-setup-ns = <8>; 106 107 nand@0,0 { 108 compatible = "ti,keystone-nand","ti,davinci-nand"; 109 #address-cells = <1>; 110 #size-cells = <1>; 111 reg = <0 0 0x4000000 112 1 0 0x0000100>; 113 114 ti,davinci-chipselect = <0>; 115 ti,davinci-mask-ale = <0x2000>; 116 ti,davinci-mask-cle = <0x4000>; 117 ti,davinci-mask-chipsel = <0>; 118 nand-ecc-mode = "hw"; 119 ti,davinci-ecc-bits = <4>; 120 nand-on-flash-bbt; 121 122 partition@0 { 123 label = "u-boot"; 124 reg = <0x0 0x100000>; 125 read-only; 126 }; 127 128 partition@100000 { 129 label = "params"; 130 reg = <0x100000 0x80000>; 131 read-only; 132 }; 133 134 partition@180000 { 135 label = "ubifs"; 136 reg = <0x180000 0x1FE80000>; 137 }; 138 }; 139 }; 140}; 141 142&spi0 { 143 nor_flash: n25q128a11@0 { 144 #address-cells = <1>; 145 #size-cells = <1>; 146 compatible = "Micron,n25q128a11"; 147 spi-max-frequency = <54000000>; 148 m25p,fast-read; 149 reg = <0>; 150 151 partition@0 { 152 label = "u-boot-spl"; 153 reg = <0x0 0x80000>; 154 read-only; 155 }; 156 157 partition@1 { 158 label = "misc"; 159 reg = <0x80000 0xf80000>; 160 }; 161 }; 162}; 163 164&mdio { 165 status = "ok"; 166 ethphy0: ethernet-phy@0 { 167 compatible = "marvell,88E1514", "marvell,88E1510", "ethernet-phy-ieee802.3-c22"; 168 reg = <0>; 169 }; 170 171 ethphy1: ethernet-phy@1 { 172 compatible = "marvell,88E1514", "marvell,88E1510", "ethernet-phy-ieee802.3-c22"; 173 reg = <1>; 174 }; 175}; 176 177&dsp0 { 178 memory-region = <&dsp_common_memory>; 179 status = "okay"; 180}; 181