Commit | Line | Data |
---|---|---|
d6392ae3 | 1 | // SPDX-License-Identifier: GPL-2.0 |
b8273f2e | 2 | /* |
b8273f2e MK |
3 | * Keystone 2 Kepler/Hawking EVM device tree |
4 | * | |
11621bed | 5 | * Copyright (C) 2013-2017 Texas Instruments Incorporated - https://www.ti.com/ |
b8273f2e MK |
6 | */ |
7 | /dts-v1/; | |
8 | ||
9 | #include "keystone.dtsi" | |
5edafc29 | 10 | #include "keystone-k2hk.dtsi" |
b8273f2e MK |
11 | |
12 | / { | |
c1170c1d | 13 | compatible = "ti,k2hk-evm", "ti,k2hk", "ti,keystone"; |
a2067676 | 14 | model = "Texas Instruments Keystone 2 Kepler/Hawking EVM"; |
b8273f2e | 15 | |
620eb210 SN |
16 | reserved-memory { |
17 | #address-cells = <2>; | |
18 | #size-cells = <2>; | |
19 | ranges; | |
20 | ||
21 | dsp_common_memory: dsp-common-memory@81f800000 { | |
22 | compatible = "shared-dma-pool"; | |
23 | reg = <0x00000008 0x1f800000 0x00000000 0x800000>; | |
24 | reusable; | |
25 | status = "okay"; | |
26 | }; | |
27 | }; | |
28 | ||
eb08c33f NM |
29 | leds { |
30 | compatible = "gpio-leds"; | |
e2bb8c4f | 31 | led-debug-1-1 { |
eb08c33f NM |
32 | label = "keystone:green:debug1"; |
33 | gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>; /* 12 */ | |
34 | }; | |
35 | ||
e2bb8c4f | 36 | led-debug-1-2 { |
eb08c33f NM |
37 | label = "keystone:red:debug1"; |
38 | gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>; /* 13 */ | |
39 | }; | |
40 | ||
e2bb8c4f | 41 | led-debug-2 { |
eb08c33f NM |
42 | label = "keystone:blue:debug2"; |
43 | gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>; /* 14 */ | |
44 | }; | |
45 | ||
e2bb8c4f | 46 | led-debug-3 { |
eb08c33f NM |
47 | label = "keystone:blue:debug3"; |
48 | gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>; /* 15 */ | |
49 | }; | |
50 | }; | |
51 | }; | |
52 | ||
53 | &soc0 { | |
513cfad3 | 54 | clocks { |
b8273f2e MK |
55 | refclksys: refclksys { |
56 | #clock-cells = <0>; | |
57 | compatible = "fixed-clock"; | |
58 | clock-frequency = <122880000>; | |
59 | clock-output-names = "refclk-sys"; | |
60 | }; | |
61 | ||
62 | refclkpass: refclkpass { | |
63 | #clock-cells = <0>; | |
64 | compatible = "fixed-clock"; | |
65 | clock-frequency = <122880000>; | |
66 | clock-output-names = "refclk-pass"; | |
67 | }; | |
68 | ||
69 | refclkarm: refclkarm { | |
70 | #clock-cells = <0>; | |
71 | compatible = "fixed-clock"; | |
72 | clock-frequency = <125000000>; | |
73 | clock-output-names = "refclk-arm"; | |
74 | }; | |
75 | ||
76 | refclkddr3a: refclkddr3a { | |
77 | #clock-cells = <0>; | |
78 | compatible = "fixed-clock"; | |
79 | clock-frequency = <100000000>; | |
80 | clock-output-names = "refclk-ddr3a"; | |
81 | }; | |
82 | ||
83 | refclkddr3b: refclkddr3b { | |
84 | #clock-cells = <0>; | |
85 | compatible = "fixed-clock"; | |
86 | clock-frequency = <100000000>; | |
87 | clock-output-names = "refclk-ddr3b"; | |
88 | }; | |
89 | }; | |
b8273f2e | 90 | }; |
73207956 WK |
91 | |
92 | &usb_phy { | |
93 | status = "okay"; | |
94 | }; | |
95 | ||
64497844 | 96 | &keystone_usb0 { |
73207956 WK |
97 | status = "okay"; |
98 | }; | |
82c04f71 | 99 | |
64497844 GS |
100 | &usb0 { |
101 | dr_mode = "host"; | |
102 | }; | |
103 | ||
82c04f71 IK |
104 | &aemif { |
105 | cs0 { | |
106 | #address-cells = <2>; | |
107 | #size-cells = <1>; | |
108 | clock-ranges; | |
109 | ranges; | |
110 | ||
111 | ti,cs-chipselect = <0>; | |
112 | /* all timings in nanoseconds */ | |
113 | ti,cs-min-turnaround-ns = <12>; | |
114 | ti,cs-read-hold-ns = <6>; | |
115 | ti,cs-read-strobe-ns = <23>; | |
116 | ti,cs-read-setup-ns = <9>; | |
117 | ti,cs-write-hold-ns = <8>; | |
118 | ti,cs-write-strobe-ns = <23>; | |
119 | ti,cs-write-setup-ns = <8>; | |
120 | ||
121 | nand@0,0 { | |
122 | compatible = "ti,keystone-nand","ti,davinci-nand"; | |
123 | #address-cells = <1>; | |
124 | #size-cells = <1>; | |
125 | reg = <0 0 0x4000000 | |
126 | 1 0 0x0000100>; | |
127 | ||
128 | ti,davinci-chipselect = <0>; | |
129 | ti,davinci-mask-ale = <0x2000>; | |
130 | ti,davinci-mask-cle = <0x4000>; | |
131 | ti,davinci-mask-chipsel = <0>; | |
132 | nand-ecc-mode = "hw"; | |
133 | ti,davinci-ecc-bits = <4>; | |
134 | nand-on-flash-bbt; | |
135 | ||
136 | partition@0 { | |
137 | label = "u-boot"; | |
138 | reg = <0x0 0x100000>; | |
139 | read-only; | |
140 | }; | |
141 | ||
142 | partition@100000 { | |
143 | label = "params"; | |
144 | reg = <0x100000 0x80000>; | |
145 | read-only; | |
146 | }; | |
147 | ||
148 | partition@180000 { | |
149 | label = "ubifs"; | |
7eb7e8bc | 150 | reg = <0x180000 0x1fe80000>; |
82c04f71 IK |
151 | }; |
152 | }; | |
153 | }; | |
154 | }; | |
e42d8a7f GS |
155 | |
156 | &i2c0 { | |
5ae8afd4 | 157 | eeprom@50 { |
b1516245 | 158 | compatible = "atmel,24c1024"; |
e42d8a7f GS |
159 | reg = <0x50>; |
160 | }; | |
161 | }; | |
18131ae6 GS |
162 | |
163 | &spi0 { | |
625f5c50 | 164 | nor_flash: flash@0 { |
18131ae6 GS |
165 | #address-cells = <1>; |
166 | #size-cells = <1>; | |
6273a186 | 167 | compatible = "micron,n25q128a11", "jedec,spi-nor"; |
18131ae6 GS |
168 | spi-max-frequency = <54000000>; |
169 | m25p,fast-read; | |
170 | reg = <0>; | |
171 | ||
172 | partition@0 { | |
173 | label = "u-boot-spl"; | |
174 | reg = <0x0 0x80000>; | |
175 | read-only; | |
176 | }; | |
177 | ||
178 | partition@1 { | |
179 | label = "misc"; | |
180 | reg = <0x80000 0xf80000>; | |
181 | }; | |
182 | }; | |
183 | }; | |
6592f671 GS |
184 | |
185 | &mdio { | |
1792375b | 186 | status = "okay"; |
6592f671 GS |
187 | ethphy0: ethernet-phy@0 { |
188 | compatible = "marvell,88E1111", "ethernet-phy-ieee802.3-c22"; | |
189 | reg = <0>; | |
190 | }; | |
191 | ||
192 | ethphy1: ethernet-phy@1 { | |
193 | compatible = "marvell,88E1111", "ethernet-phy-ieee802.3-c22"; | |
194 | reg = <1>; | |
195 | }; | |
196 | }; | |
620eb210 SN |
197 | |
198 | &dsp0 { | |
199 | memory-region = <&dsp_common_memory>; | |
200 | status = "okay"; | |
201 | }; | |
202 | ||
203 | &dsp1 { | |
204 | memory-region = <&dsp_common_memory>; | |
205 | status = "okay"; | |
206 | }; | |
207 | ||
208 | &dsp2 { | |
209 | memory-region = <&dsp_common_memory>; | |
210 | status = "okay"; | |
211 | }; | |
212 | ||
213 | &dsp3 { | |
214 | memory-region = <&dsp_common_memory>; | |
215 | status = "okay"; | |
216 | }; | |
217 | ||
218 | &dsp4 { | |
219 | memory-region = <&dsp_common_memory>; | |
220 | status = "okay"; | |
221 | }; | |
222 | ||
223 | &dsp5 { | |
224 | memory-region = <&dsp_common_memory>; | |
225 | status = "okay"; | |
226 | }; | |
227 | ||
228 | &dsp6 { | |
229 | memory-region = <&dsp_common_memory>; | |
230 | status = "okay"; | |
231 | }; | |
232 | ||
233 | &dsp7 { | |
234 | memory-region = <&dsp_common_memory>; | |
235 | status = "okay"; | |
236 | }; |