1/* 2 * Copyright 2013-2014 Texas Instruments, Inc. 3 * 4 * Keystone 2 Kepler/Hawking 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-k2hk.dtsi" 14 15/ { 16 compatible = "ti,k2hk-evm", "ti,k2hk", "ti,keystone"; 17 model = "Texas Instruments Keystone 2 Kepler/Hawking 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 clocks { 34 refclksys: refclksys { 35 #clock-cells = <0>; 36 compatible = "fixed-clock"; 37 clock-frequency = <122880000>; 38 clock-output-names = "refclk-sys"; 39 }; 40 41 refclkpass: refclkpass { 42 #clock-cells = <0>; 43 compatible = "fixed-clock"; 44 clock-frequency = <122880000>; 45 clock-output-names = "refclk-pass"; 46 }; 47 48 refclkarm: refclkarm { 49 #clock-cells = <0>; 50 compatible = "fixed-clock"; 51 clock-frequency = <125000000>; 52 clock-output-names = "refclk-arm"; 53 }; 54 55 refclkddr3a: refclkddr3a { 56 #clock-cells = <0>; 57 compatible = "fixed-clock"; 58 clock-frequency = <100000000>; 59 clock-output-names = "refclk-ddr3a"; 60 }; 61 62 refclkddr3b: refclkddr3b { 63 #clock-cells = <0>; 64 compatible = "fixed-clock"; 65 clock-frequency = <100000000>; 66 clock-output-names = "refclk-ddr3b"; 67 }; 68 }; 69 }; 70 71 leds { 72 compatible = "gpio-leds"; 73 debug1_1 { 74 label = "keystone:green:debug1"; 75 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>; /* 12 */ 76 }; 77 78 debug1_2 { 79 label = "keystone:red:debug1"; 80 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>; /* 13 */ 81 }; 82 83 debug2 { 84 label = "keystone:blue:debug2"; 85 gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>; /* 14 */ 86 }; 87 88 debug3 { 89 label = "keystone:blue:debug3"; 90 gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>; /* 15 */ 91 }; 92 }; 93}; 94 95&usb_phy { 96 status = "okay"; 97}; 98 99&keystone_usb0 { 100 status = "okay"; 101}; 102 103&usb0 { 104 dr_mode = "host"; 105}; 106 107&aemif { 108 cs0 { 109 #address-cells = <2>; 110 #size-cells = <1>; 111 clock-ranges; 112 ranges; 113 114 ti,cs-chipselect = <0>; 115 /* all timings in nanoseconds */ 116 ti,cs-min-turnaround-ns = <12>; 117 ti,cs-read-hold-ns = <6>; 118 ti,cs-read-strobe-ns = <23>; 119 ti,cs-read-setup-ns = <9>; 120 ti,cs-write-hold-ns = <8>; 121 ti,cs-write-strobe-ns = <23>; 122 ti,cs-write-setup-ns = <8>; 123 124 nand@0,0 { 125 compatible = "ti,keystone-nand","ti,davinci-nand"; 126 #address-cells = <1>; 127 #size-cells = <1>; 128 reg = <0 0 0x4000000 129 1 0 0x0000100>; 130 131 ti,davinci-chipselect = <0>; 132 ti,davinci-mask-ale = <0x2000>; 133 ti,davinci-mask-cle = <0x4000>; 134 ti,davinci-mask-chipsel = <0>; 135 nand-ecc-mode = "hw"; 136 ti,davinci-ecc-bits = <4>; 137 nand-on-flash-bbt; 138 139 partition@0 { 140 label = "u-boot"; 141 reg = <0x0 0x100000>; 142 read-only; 143 }; 144 145 partition@100000 { 146 label = "params"; 147 reg = <0x100000 0x80000>; 148 read-only; 149 }; 150 151 partition@180000 { 152 label = "ubifs"; 153 reg = <0x180000 0x1fe80000>; 154 }; 155 }; 156 }; 157}; 158 159&i2c0 { 160 dtt@50 { 161 compatible = "at,24c1024"; 162 reg = <0x50>; 163 }; 164}; 165 166&spi0 { 167 nor_flash: n25q128a11@0 { 168 #address-cells = <1>; 169 #size-cells = <1>; 170 compatible = "Micron,n25q128a11"; 171 spi-max-frequency = <54000000>; 172 m25p,fast-read; 173 reg = <0>; 174 175 partition@0 { 176 label = "u-boot-spl"; 177 reg = <0x0 0x80000>; 178 read-only; 179 }; 180 181 partition@1 { 182 label = "misc"; 183 reg = <0x80000 0xf80000>; 184 }; 185 }; 186}; 187 188&mdio { 189 status = "ok"; 190 ethphy0: ethernet-phy@0 { 191 compatible = "marvell,88E1111", "ethernet-phy-ieee802.3-c22"; 192 reg = <0>; 193 }; 194 195 ethphy1: ethernet-phy@1 { 196 compatible = "marvell,88E1111", "ethernet-phy-ieee802.3-c22"; 197 reg = <1>; 198 }; 199}; 200 201&dsp0 { 202 memory-region = <&dsp_common_memory>; 203 status = "okay"; 204}; 205 206&dsp1 { 207 memory-region = <&dsp_common_memory>; 208 status = "okay"; 209}; 210 211&dsp2 { 212 memory-region = <&dsp_common_memory>; 213 status = "okay"; 214}; 215 216&dsp3 { 217 memory-region = <&dsp_common_memory>; 218 status = "okay"; 219}; 220 221&dsp4 { 222 memory-region = <&dsp_common_memory>; 223 status = "okay"; 224}; 225 226&dsp5 { 227 memory-region = <&dsp_common_memory>; 228 status = "okay"; 229}; 230 231&dsp6 { 232 memory-region = <&dsp_common_memory>; 233 status = "okay"; 234}; 235 236&dsp7 { 237 memory-region = <&dsp_common_memory>; 238 status = "okay"; 239}; 240