blob: 07dfa0d1074fc37f4d597cfcb8054971e1cb6dfe [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Jagannadha Sutradharudu Teki369ccb12014-01-09 01:48:26 +05302/*
3 * Xilinx Zynq 7000 DTSI
4 * Describes the hardware common to all Zynq 7000-based boards.
5 *
Michal Simekca87b552015-07-22 11:18:43 +02006 * Copyright (C) 2011 - 2015 Xilinx
Jagannadha Sutradharudu Teki369ccb12014-01-09 01:48:26 +05307 */
Jagannadha Sutradharudu Teki369ccb12014-01-09 01:48:26 +05308
9/ {
Michal Simekb3585f42016-11-11 13:11:37 +010010 #address-cells = <1>;
11 #size-cells = <1>;
Jagannadha Sutradharudu Teki369ccb12014-01-09 01:48:26 +053012 compatible = "xlnx,zynq-7000";
Masahiro Yamada5e6b8aa2014-05-15 20:37:53 +090013
14 cpus {
15 #address-cells = <1>;
16 #size-cells = <0>;
17
Moritz Fischerae8f14a2016-12-12 08:48:50 -080018 cpu0: cpu@0 {
Masahiro Yamada5e6b8aa2014-05-15 20:37:53 +090019 compatible = "arm,cortex-a9";
20 device_type = "cpu";
21 reg = <0>;
22 clocks = <&clkc 3>;
23 clock-latency = <1000>;
Michal Simeka943cd02015-07-22 10:38:45 +020024 cpu0-supply = <&regulator_vccpint>;
Masahiro Yamada5e6b8aa2014-05-15 20:37:53 +090025 operating-points = <
26 /* kHz uV */
27 666667 1000000
28 333334 1000000
Masahiro Yamada5e6b8aa2014-05-15 20:37:53 +090029 >;
30 };
31
Moritz Fischerae8f14a2016-12-12 08:48:50 -080032 cpu1: cpu@1 {
Masahiro Yamada5e6b8aa2014-05-15 20:37:53 +090033 compatible = "arm,cortex-a9";
34 device_type = "cpu";
35 reg = <1>;
36 clocks = <&clkc 3>;
37 };
38 };
39
Michal Simek54f4d072017-02-14 17:40:21 +010040 fpga_full: fpga-full {
41 compatible = "fpga-region";
42 fpga-mgr = <&devcfg>;
43 #address-cells = <1>;
44 #size-cells = <1>;
45 ranges;
46 };
47
Michal Simekb3585f42016-11-11 13:11:37 +010048 pmu@f8891000 {
Masahiro Yamada5e6b8aa2014-05-15 20:37:53 +090049 compatible = "arm,cortex-a9-pmu";
50 interrupts = <0 5 4>, <0 6 4>;
51 interrupt-parent = <&intc>;
Michal Simekddf924f2016-11-16 09:29:57 +010052 reg = <0xf8891000 0x1000>,
53 <0xf8893000 0x1000>;
Masahiro Yamada5e6b8aa2014-05-15 20:37:53 +090054 };
55
Michal Simekb3585f42016-11-11 13:11:37 +010056 regulator_vccpint: fixedregulator {
Michal Simeka943cd02015-07-22 10:38:45 +020057 compatible = "regulator-fixed";
58 regulator-name = "VCCPINT";
59 regulator-min-microvolt = <1000000>;
60 regulator-max-microvolt = <1000000>;
61 regulator-boot-on;
62 regulator-always-on;
63 };
64
Michal Simek7e860432015-07-22 11:08:40 +020065 amba: amba {
Simon Glass8c7323a2015-10-17 19:41:24 -060066 u-boot,dm-pre-reloc;
Masahiro Yamada5e6b8aa2014-05-15 20:37:53 +090067 compatible = "simple-bus";
68 #address-cells = <1>;
69 #size-cells = <1>;
70 interrupt-parent = <&intc>;
71 ranges;
72
Michal Simekb829de52015-07-22 10:32:05 +020073 adc: adc@f8007100 {
74 compatible = "xlnx,zynq-xadc-1.00.a";
75 reg = <0xf8007100 0x20>;
76 interrupts = <0 7 4>;
77 interrupt-parent = <&intc>;
78 clocks = <&clkc 12>;
79 };
80
81 can0: can@e0008000 {
82 compatible = "xlnx,zynq-can-1.0";
83 status = "disabled";
84 clocks = <&clkc 19>, <&clkc 36>;
85 clock-names = "can_clk", "pclk";
86 reg = <0xe0008000 0x1000>;
87 interrupts = <0 28 4>;
88 interrupt-parent = <&intc>;
89 tx-fifo-depth = <0x40>;
90 rx-fifo-depth = <0x40>;
91 };
92
93 can1: can@e0009000 {
94 compatible = "xlnx,zynq-can-1.0";
95 status = "disabled";
96 clocks = <&clkc 20>, <&clkc 37>;
97 clock-names = "can_clk", "pclk";
98 reg = <0xe0009000 0x1000>;
99 interrupts = <0 51 4>;
100 interrupt-parent = <&intc>;
101 tx-fifo-depth = <0x40>;
102 rx-fifo-depth = <0x40>;
103 };
104
105 gpio0: gpio@e000a000 {
106 compatible = "xlnx,zynq-gpio-1.0";
107 #gpio-cells = <2>;
108 clocks = <&clkc 42>;
109 gpio-controller;
Michal Simek5d27fd82016-04-07 10:54:08 +0200110 interrupt-controller;
Michal Simekd69a70e2017-11-02 09:24:12 +0100111 #interrupt-cells = <2>;
Michal Simekb829de52015-07-22 10:32:05 +0200112 interrupt-parent = <&intc>;
113 interrupts = <0 20 4>;
114 reg = <0xe000a000 0x1000>;
115 };
116
Michal Simek45d35332015-07-22 10:28:48 +0200117 i2c0: i2c@e0004000 {
Masahiro Yamada5e6b8aa2014-05-15 20:37:53 +0900118 compatible = "cdns,i2c-r1p10";
119 status = "disabled";
120 clocks = <&clkc 38>;
121 interrupt-parent = <&intc>;
122 interrupts = <0 25 4>;
123 reg = <0xe0004000 0x1000>;
124 #address-cells = <1>;
125 #size-cells = <0>;
126 };
127
Michal Simek45d35332015-07-22 10:28:48 +0200128 i2c1: i2c@e0005000 {
Masahiro Yamada5e6b8aa2014-05-15 20:37:53 +0900129 compatible = "cdns,i2c-r1p10";
130 status = "disabled";
131 clocks = <&clkc 39>;
132 interrupt-parent = <&intc>;
133 interrupts = <0 48 4>;
134 reg = <0xe0005000 0x1000>;
135 #address-cells = <1>;
136 #size-cells = <0>;
137 };
138
139 intc: interrupt-controller@f8f01000 {
140 compatible = "arm,cortex-a9-gic";
141 #interrupt-cells = <3>;
Masahiro Yamada5e6b8aa2014-05-15 20:37:53 +0900142 interrupt-controller;
143 reg = <0xF8F01000 0x1000>,
144 <0xF8F00100 0x100>;
145 };
146
Michal Simek45d35332015-07-22 10:28:48 +0200147 L2: cache-controller@f8f02000 {
Masahiro Yamada5e6b8aa2014-05-15 20:37:53 +0900148 compatible = "arm,pl310-cache";
149 reg = <0xF8F02000 0x1000>;
Michal Simekbcce54b2015-07-22 11:26:08 +0200150 interrupts = <0 2 4>;
Masahiro Yamada5e6b8aa2014-05-15 20:37:53 +0900151 arm,data-latency = <3 2 2>;
152 arm,tag-latency = <2 2 2>;
153 cache-unified;
154 cache-level = <2>;
155 };
156
Michal Simekb829de52015-07-22 10:32:05 +0200157 mc: memory-controller@f8006000 {
158 compatible = "xlnx,zynq-ddrc-a05";
159 reg = <0xf8006000 0x1000>;
160 };
161
Michal Simek45d35332015-07-22 10:28:48 +0200162 uart0: serial@e0000000 {
Michal Simek173d7f52015-07-22 10:40:51 +0200163 compatible = "xlnx,xuartps", "cdns,uart-r1p8";
Masahiro Yamada5e6b8aa2014-05-15 20:37:53 +0900164 status = "disabled";
165 clocks = <&clkc 23>, <&clkc 40>;
Michal Simek173d7f52015-07-22 10:40:51 +0200166 clock-names = "uart_clk", "pclk";
Masahiro Yamada5e6b8aa2014-05-15 20:37:53 +0900167 reg = <0xE0000000 0x1000>;
168 interrupts = <0 27 4>;
169 };
170
Michal Simek45d35332015-07-22 10:28:48 +0200171 uart1: serial@e0001000 {
Michal Simek173d7f52015-07-22 10:40:51 +0200172 compatible = "xlnx,xuartps", "cdns,uart-r1p8";
Masahiro Yamada5e6b8aa2014-05-15 20:37:53 +0900173 status = "disabled";
174 clocks = <&clkc 24>, <&clkc 41>;
Michal Simek173d7f52015-07-22 10:40:51 +0200175 clock-names = "uart_clk", "pclk";
Masahiro Yamada5e6b8aa2014-05-15 20:37:53 +0900176 reg = <0xE0001000 0x1000>;
177 interrupts = <0 50 4>;
178 };
179
Jagan Tekic30d1832015-06-27 00:51:33 +0530180 spi0: spi@e0006000 {
Michal Simek0cf97aa2015-07-22 10:47:33 +0200181 compatible = "xlnx,zynq-spi-r1p6";
Jagan Tekic30d1832015-06-27 00:51:33 +0530182 reg = <0xe0006000 0x1000>;
183 status = "disabled";
184 interrupt-parent = <&intc>;
185 interrupts = <0 26 4>;
186 clocks = <&clkc 25>, <&clkc 34>;
187 clock-names = "ref_clk", "pclk";
188 #address-cells = <1>;
189 #size-cells = <0>;
190 };
191
192 spi1: spi@e0007000 {
Michal Simek0cf97aa2015-07-22 10:47:33 +0200193 compatible = "xlnx,zynq-spi-r1p6";
Jagan Tekic30d1832015-06-27 00:51:33 +0530194 reg = <0xe0007000 0x1000>;
195 status = "disabled";
196 interrupt-parent = <&intc>;
197 interrupts = <0 49 4>;
198 clocks = <&clkc 26>, <&clkc 35>;
199 clock-names = "ref_clk", "pclk";
200 #address-cells = <1>;
201 #size-cells = <0>;
202 };
203
Jagan Teki0a2dc1d2015-08-15 23:02:31 +0530204 qspi: spi@e000d000 {
205 clock-names = "ref_clk", "pclk";
206 clocks = <&clkc 10>, <&clkc 43>;
207 compatible = "xlnx,zynq-qspi-1.0";
208 status = "disabled";
209 interrupt-parent = <&intc>;
210 interrupts = <0 19 4>;
211 reg = <0xe000d000 0x1000>;
212 #address-cells = <1>;
213 #size-cells = <0>;
214 };
215
Michal Simekd3998fb2019-10-14 10:14:07 +0200216 smcc: memory-controller@e000e000 {
217 #address-cells = <1>;
218 #size-cells = <1>;
219 status = "disabled";
220 clock-names = "memclk", "apb_pclk";
221 clocks = <&clkc 11>, <&clkc 44>;
222 compatible = "arm,pl353-smc-r2p1", "arm,primecell";
223 interrupt-parent = <&intc>;
224 interrupts = <0 18 4>;
225 ranges ;
226 reg = <0xe000e000 0x1000>;
227 nand0: flash@e1000000 {
228 status = "disabled";
229 compatible = "arm,pl353-nand-r2p1";
230 reg = <0xe1000000 0x1000000>;
231 #address-cells = <1>;
232 #size-cells = <1>;
233 };
234 nor0: flash@e2000000 {
235 status = "disabled";
236 compatible = "cfi-flash";
237 reg = <0xe2000000 0x2000000>;
238 #address-cells = <1>;
239 #size-cells = <1>;
240 };
241 };
242
Masahiro Yamada5e6b8aa2014-05-15 20:37:53 +0900243 gem0: ethernet@e000b000 {
Michal Simeke49236c2015-07-22 10:51:16 +0200244 compatible = "cdns,zynq-gem", "cdns,gem";
Michal Simeka80e6b42015-07-22 10:50:02 +0200245 reg = <0xe000b000 0x1000>;
Masahiro Yamada5e6b8aa2014-05-15 20:37:53 +0900246 status = "disabled";
247 interrupts = <0 22 4>;
248 clocks = <&clkc 30>, <&clkc 30>, <&clkc 13>;
249 clock-names = "pclk", "hclk", "tx_clk";
Michal Simeka2924012015-07-22 11:03:36 +0200250 #address-cells = <1>;
251 #size-cells = <0>;
Masahiro Yamada5e6b8aa2014-05-15 20:37:53 +0900252 };
253
254 gem1: ethernet@e000c000 {
Michal Simeke49236c2015-07-22 10:51:16 +0200255 compatible = "cdns,zynq-gem", "cdns,gem";
Michal Simeka80e6b42015-07-22 10:50:02 +0200256 reg = <0xe000c000 0x1000>;
Masahiro Yamada5e6b8aa2014-05-15 20:37:53 +0900257 status = "disabled";
258 interrupts = <0 45 4>;
259 clocks = <&clkc 31>, <&clkc 31>, <&clkc 14>;
260 clock-names = "pclk", "hclk", "tx_clk";
Michal Simeka2924012015-07-22 11:03:36 +0200261 #address-cells = <1>;
262 #size-cells = <0>;
Masahiro Yamada5e6b8aa2014-05-15 20:37:53 +0900263 };
264
Michal Simek6a0eb6f2018-09-26 13:36:16 +0200265 sdhci0: mmc@e0100000 {
Masahiro Yamada5e6b8aa2014-05-15 20:37:53 +0900266 compatible = "arasan,sdhci-8.9a";
267 status = "disabled";
268 clock-names = "clk_xin", "clk_ahb";
269 clocks = <&clkc 21>, <&clkc 32>;
270 interrupt-parent = <&intc>;
271 interrupts = <0 24 4>;
272 reg = <0xe0100000 0x1000>;
Michal Simekf4654372016-01-14 13:06:28 +0100273 };
Masahiro Yamada5e6b8aa2014-05-15 20:37:53 +0900274
Michal Simek6a0eb6f2018-09-26 13:36:16 +0200275 sdhci1: mmc@e0101000 {
Masahiro Yamada5e6b8aa2014-05-15 20:37:53 +0900276 compatible = "arasan,sdhci-8.9a";
277 status = "disabled";
278 clock-names = "clk_xin", "clk_ahb";
279 clocks = <&clkc 22>, <&clkc 33>;
280 interrupt-parent = <&intc>;
281 interrupts = <0 47 4>;
282 reg = <0xe0101000 0x1000>;
Michal Simekf4654372016-01-14 13:06:28 +0100283 };
Masahiro Yamada5e6b8aa2014-05-15 20:37:53 +0900284
285 slcr: slcr@f8000000 {
Stefan Herbrechtsmeiere67c6c42017-01-17 16:27:30 +0100286 u-boot,dm-pre-reloc;
Masahiro Yamada5e6b8aa2014-05-15 20:37:53 +0900287 #address-cells = <1>;
288 #size-cells = <1>;
Masahiro Yamadae5b29482016-04-25 12:14:43 +0900289 compatible = "xlnx,zynq-slcr", "syscon", "simple-mfd";
Masahiro Yamada5e6b8aa2014-05-15 20:37:53 +0900290 reg = <0xF8000000 0x1000>;
291 ranges;
292 clkc: clkc@100 {
Stefan Herbrechtsmeiere67c6c42017-01-17 16:27:30 +0100293 u-boot,dm-pre-reloc;
Masahiro Yamada5e6b8aa2014-05-15 20:37:53 +0900294 #clock-cells = <1>;
295 compatible = "xlnx,ps7-clkc";
Masahiro Yamada5e6b8aa2014-05-15 20:37:53 +0900296 fclk-enable = <0>;
297 clock-output-names = "armpll", "ddrpll", "iopll", "cpu_6or4x",
298 "cpu_3or2x", "cpu_2x", "cpu_1x", "ddr2x", "ddr3x",
299 "dci", "lqspi", "smc", "pcap", "gem0", "gem1",
300 "fclk0", "fclk1", "fclk2", "fclk3", "can0", "can1",
301 "sdio0", "sdio1", "uart0", "uart1", "spi0", "spi1",
302 "dma", "usb0_aper", "usb1_aper", "gem0_aper",
303 "gem1_aper", "sdio0_aper", "sdio1_aper",
304 "spi0_aper", "spi1_aper", "can0_aper", "can1_aper",
305 "i2c0_aper", "i2c1_aper", "uart0_aper", "uart1_aper",
306 "gpio_aper", "lqspi_aper", "smc_aper", "swdt",
307 "dbg_trc", "dbg_apb";
308 reg = <0x100 0x100>;
309 };
Michal Simek6a494ec2015-07-22 11:07:49 +0200310
Moritz Fischer6b75cff2015-07-30 18:13:55 -0700311 rstc: rstc@200 {
312 compatible = "xlnx,zynq-reset";
313 reg = <0x200 0x48>;
314 #reset-cells = <1>;
315 syscon = <&slcr>;
316 };
317
Michal Simek6a494ec2015-07-22 11:07:49 +0200318 pinctrl0: pinctrl@700 {
319 compatible = "xlnx,pinctrl-zynq";
320 reg = <0x700 0x200>;
321 syscon = <&slcr>;
322 };
Masahiro Yamada5e6b8aa2014-05-15 20:37:53 +0900323 };
324
Michal Simekb829de52015-07-22 10:32:05 +0200325 dmac_s: dmac@f8003000 {
326 compatible = "arm,pl330", "arm,primecell";
327 reg = <0xf8003000 0x1000>;
328 interrupt-parent = <&intc>;
329 interrupt-names = "abort", "dma0", "dma1", "dma2", "dma3",
330 "dma4", "dma5", "dma6", "dma7";
331 interrupts = <0 13 4>,
332 <0 14 4>, <0 15 4>,
333 <0 16 4>, <0 17 4>,
334 <0 40 4>, <0 41 4>,
335 <0 42 4>, <0 43 4>;
336 #dma-cells = <1>;
337 #dma-channels = <8>;
338 #dma-requests = <4>;
339 clocks = <&clkc 27>;
340 clock-names = "apb_pclk";
341 };
342
343 devcfg: devcfg@f8007000 {
344 compatible = "xlnx,zynq-devcfg-1.0";
Michal Simek69727782016-04-07 11:00:37 +0200345 interrupt-parent = <&intc>;
346 interrupts = <0 8 4>;
Michal Simekb829de52015-07-22 10:32:05 +0200347 reg = <0xf8007000 0x100>;
Michal Simek69727782016-04-07 11:00:37 +0200348 clocks = <&clkc 12>, <&clkc 15>, <&clkc 16>, <&clkc 17>, <&clkc 18>;
349 clock-names = "ref_clk", "fclk0", "fclk1", "fclk2", "fclk3";
Moritz Fischerec052ab2015-06-22 23:18:44 -0700350 syscon = <&slcr>;
Michal Simekb829de52015-07-22 10:32:05 +0200351 };
352
Michal Simek3cab96f2017-02-28 11:46:37 +0100353 efuse: efuse@f800d000 {
354 compatible = "xlnx,zynq-efuse";
355 reg = <0xf800d000 0x20>;
356 };
357
Masahiro Yamada5e6b8aa2014-05-15 20:37:53 +0900358 global_timer: timer@f8f00200 {
359 compatible = "arm,cortex-a9-global-timer";
360 reg = <0xf8f00200 0x20>;
361 interrupts = <1 11 0x301>;
362 interrupt-parent = <&intc>;
363 clocks = <&clkc 4>;
364 };
365
Michal Simek45d35332015-07-22 10:28:48 +0200366 ttc0: timer@f8001000 {
Masahiro Yamada5e6b8aa2014-05-15 20:37:53 +0900367 interrupt-parent = <&intc>;
Michal Simek2b917f92015-07-22 10:57:51 +0200368 interrupts = <0 10 4>, <0 11 4>, <0 12 4>;
Masahiro Yamada5e6b8aa2014-05-15 20:37:53 +0900369 compatible = "cdns,ttc";
370 clocks = <&clkc 6>;
371 reg = <0xF8001000 0x1000>;
372 };
373
Michal Simek45d35332015-07-22 10:28:48 +0200374 ttc1: timer@f8002000 {
Masahiro Yamada5e6b8aa2014-05-15 20:37:53 +0900375 interrupt-parent = <&intc>;
Michal Simek2b917f92015-07-22 10:57:51 +0200376 interrupts = <0 37 4>, <0 38 4>, <0 39 4>;
Masahiro Yamada5e6b8aa2014-05-15 20:37:53 +0900377 compatible = "cdns,ttc";
378 clocks = <&clkc 6>;
379 reg = <0xF8002000 0x1000>;
380 };
Michal Simekb829de52015-07-22 10:32:05 +0200381
Michal Simek45d35332015-07-22 10:28:48 +0200382 scutimer: timer@f8f00600 {
Masahiro Yamada5e6b8aa2014-05-15 20:37:53 +0900383 interrupt-parent = <&intc>;
Michal Simekf4654372016-01-14 13:06:28 +0100384 interrupts = <1 13 0x301>;
Masahiro Yamada5e6b8aa2014-05-15 20:37:53 +0900385 compatible = "arm,cortex-a9-twd-timer";
Michal Simekf4654372016-01-14 13:06:28 +0100386 reg = <0xf8f00600 0x20>;
Masahiro Yamada5e6b8aa2014-05-15 20:37:53 +0900387 clocks = <&clkc 4>;
Michal Simekf4654372016-01-14 13:06:28 +0100388 };
Michal Simekb829de52015-07-22 10:32:05 +0200389
390 usb0: usb@e0002000 {
391 compatible = "xlnx,zynq-usb-2.20a", "chipidea,usb2";
392 status = "disabled";
393 clocks = <&clkc 28>;
394 interrupt-parent = <&intc>;
395 interrupts = <0 21 4>;
396 reg = <0xe0002000 0x1000>;
397 phy_type = "ulpi";
398 };
399
400 usb1: usb@e0003000 {
401 compatible = "xlnx,zynq-usb-2.20a", "chipidea,usb2";
402 status = "disabled";
403 clocks = <&clkc 29>;
404 interrupt-parent = <&intc>;
405 interrupts = <0 44 4>;
406 reg = <0xe0003000 0x1000>;
407 phy_type = "ulpi";
408 };
409
410 watchdog0: watchdog@f8005000 {
411 clocks = <&clkc 45>;
412 compatible = "cdns,wdt-r1p2";
413 interrupt-parent = <&intc>;
414 interrupts = <0 9 1>;
415 reg = <0xf8005000 0x1000>;
416 timeout-sec = <10>;
417 };
Masahiro Yamada5e6b8aa2014-05-15 20:37:53 +0900418 };
Jagannadha Sutradharudu Teki369ccb12014-01-09 01:48:26 +0530419};