blob: 1634af0bd8960f15b3c56f59f289435c2c0d2424 [file] [log] [blame]
Michal Simek18a952c2018-03-27 10:36:39 +02001// SPDX-License-Identifier: GPL-2.0+
Michal Simek44303df2015-10-30 15:39:18 +01002/*
3 * dts file for Xilinx ZynqMP
4 *
Michal Simekd31f1c92020-02-18 08:38:06 +01005 * (C) Copyright 2014 - 2020, Xilinx, Inc.
Michal Simek44303df2015-10-30 15:39:18 +01006 *
7 * Michal Simek <michal.simek@xilinx.com>
8 *
Michal Simek18a952c2018-03-27 10:36:39 +02009 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation; either version 2 of
12 * the License, or (at your option) any later version.
Michal Simek44303df2015-10-30 15:39:18 +010013 */
Michal Simek91d11532016-12-16 13:12:48 +010014
Michal Simek332996c2019-10-14 15:56:31 +020015#include <dt-bindings/power/xlnx-zynqmp-power.h>
Michal Simekb07e97b2019-10-14 15:55:53 +020016#include <dt-bindings/reset/xlnx-zynqmp-resets.h>
17
Michal Simek44303df2015-10-30 15:39:18 +010018/ {
19 compatible = "xlnx,zynqmp";
20 #address-cells = <2>;
Michal Simek85d11422016-04-07 15:07:38 +020021 #size-cells = <2>;
Michal Simek44303df2015-10-30 15:39:18 +010022
23 cpus {
24 #address-cells = <1>;
25 #size-cells = <0>;
26
Michal Simek585ca872017-02-06 10:09:53 +010027 cpu0: cpu@0 {
Rob Herring8e3501e2019-01-14 11:45:33 -060028 compatible = "arm,cortex-a53";
Michal Simek44303df2015-10-30 15:39:18 +010029 device_type = "cpu";
30 enable-method = "psci";
Shubhrajyoti Datta941f61f2017-02-13 15:58:55 +053031 operating-points-v2 = <&cpu_opp_table>;
Michal Simek44303df2015-10-30 15:39:18 +010032 reg = <0x0>;
Stefan Krsmanovic2e15b072016-10-21 12:44:56 +020033 cpu-idle-states = <&CPU_SLEEP_0>;
Michal Simek44303df2015-10-30 15:39:18 +010034 };
35
Michal Simek585ca872017-02-06 10:09:53 +010036 cpu1: cpu@1 {
Rob Herring8e3501e2019-01-14 11:45:33 -060037 compatible = "arm,cortex-a53";
Michal Simek44303df2015-10-30 15:39:18 +010038 device_type = "cpu";
39 enable-method = "psci";
40 reg = <0x1>;
Shubhrajyoti Datta941f61f2017-02-13 15:58:55 +053041 operating-points-v2 = <&cpu_opp_table>;
Stefan Krsmanovic2e15b072016-10-21 12:44:56 +020042 cpu-idle-states = <&CPU_SLEEP_0>;
Michal Simek44303df2015-10-30 15:39:18 +010043 };
44
Michal Simek585ca872017-02-06 10:09:53 +010045 cpu2: cpu@2 {
Rob Herring8e3501e2019-01-14 11:45:33 -060046 compatible = "arm,cortex-a53";
Michal Simek44303df2015-10-30 15:39:18 +010047 device_type = "cpu";
48 enable-method = "psci";
49 reg = <0x2>;
Shubhrajyoti Datta941f61f2017-02-13 15:58:55 +053050 operating-points-v2 = <&cpu_opp_table>;
Stefan Krsmanovic2e15b072016-10-21 12:44:56 +020051 cpu-idle-states = <&CPU_SLEEP_0>;
Michal Simek44303df2015-10-30 15:39:18 +010052 };
53
Michal Simek585ca872017-02-06 10:09:53 +010054 cpu3: cpu@3 {
Rob Herring8e3501e2019-01-14 11:45:33 -060055 compatible = "arm,cortex-a53";
Michal Simek44303df2015-10-30 15:39:18 +010056 device_type = "cpu";
57 enable-method = "psci";
58 reg = <0x3>;
Shubhrajyoti Datta941f61f2017-02-13 15:58:55 +053059 operating-points-v2 = <&cpu_opp_table>;
Stefan Krsmanovic2e15b072016-10-21 12:44:56 +020060 cpu-idle-states = <&CPU_SLEEP_0>;
61 };
62
63 idle-states {
Amit Kucheria9a06ed82018-08-23 14:23:29 +053064 entry-method = "psci";
Stefan Krsmanovic2e15b072016-10-21 12:44:56 +020065
66 CPU_SLEEP_0: cpu-sleep-0 {
67 compatible = "arm,idle-state";
68 arm,psci-suspend-param = <0x40000000>;
69 local-timer-stop;
70 entry-latency-us = <300>;
71 exit-latency-us = <600>;
Jolly Shah6a097b02017-06-14 15:03:52 -070072 min-residency-us = <10000>;
Stefan Krsmanovic2e15b072016-10-21 12:44:56 +020073 };
Michal Simek44303df2015-10-30 15:39:18 +010074 };
75 };
76
Michal Simek096d7f52018-11-08 10:06:53 +010077 cpu_opp_table: cpu-opp-table {
Shubhrajyoti Datta941f61f2017-02-13 15:58:55 +053078 compatible = "operating-points-v2";
79 opp-shared;
80 opp00 {
81 opp-hz = /bits/ 64 <1199999988>;
82 opp-microvolt = <1000000>;
83 clock-latency-ns = <500000>;
84 };
85 opp01 {
86 opp-hz = /bits/ 64 <599999994>;
87 opp-microvolt = <1000000>;
88 clock-latency-ns = <500000>;
89 };
90 opp02 {
91 opp-hz = /bits/ 64 <399999996>;
92 opp-microvolt = <1000000>;
93 clock-latency-ns = <500000>;
94 };
95 opp03 {
96 opp-hz = /bits/ 64 <299999997>;
97 opp-microvolt = <1000000>;
98 clock-latency-ns = <500000>;
99 };
100 };
101
Ibai Erkiaga95497af2019-09-27 11:36:58 +0100102 zynqmp_ipi {
103 u-boot,dm-pre-reloc;
104 compatible = "xlnx,zynqmp-ipi-mailbox";
105 interrupt-parent = <&gic>;
106 interrupts = <0 35 4>;
107 xlnx,ipi-id = <0>;
108 #address-cells = <2>;
109 #size-cells = <2>;
110 ranges;
111
112 ipi_mailbox_pmu1: mailbox@ff990400 {
113 u-boot,dm-pre-reloc;
114 reg = <0x0 0xff9905c0 0x0 0x20>,
115 <0x0 0xff9905e0 0x0 0x20>,
116 <0x0 0xff990e80 0x0 0x20>,
117 <0x0 0xff990ea0 0x0 0x20>;
Michal Simek631ed922019-10-14 15:52:17 +0200118 reg-names = "local_request_region", "local_response_region",
Ibai Erkiaga95497af2019-09-27 11:36:58 +0100119 "remote_request_region", "remote_response_region";
120 #mbox-cells = <1>;
121 xlnx,ipi-id = <4>;
122 };
123 };
124
Michal Simek69d09dd2016-09-09 08:46:39 +0200125 dcc: dcc {
126 compatible = "arm,dcc";
127 status = "disabled";
128 u-boot,dm-pre-reloc;
129 };
130
Michal Simek44303df2015-10-30 15:39:18 +0100131 pmu {
132 compatible = "arm,armv8-pmuv3";
Michal Simek14cd9ea2016-04-07 15:28:33 +0200133 interrupt-parent = <&gic>;
Michal Simek44303df2015-10-30 15:39:18 +0100134 interrupts = <0 143 4>,
135 <0 144 4>,
136 <0 145 4>,
137 <0 146 4>;
138 };
139
140 psci {
141 compatible = "arm,psci-0.2";
142 method = "smc";
143 };
144
Ibai Erkiaga95497af2019-09-27 11:36:58 +0100145 firmware {
Michal Simek039c7402019-10-14 15:42:03 +0200146 zynqmp_firmware: zynqmp-firmware {
Ibai Erkiaga95497af2019-09-27 11:36:58 +0100147 compatible = "xlnx,zynqmp-firmware";
148 method = "smc";
149 #power-domain-cells = <0x1>;
150 u-boot,dm-pre-reloc;
151
Nava kishore Manne21620992019-10-18 18:07:32 +0200152 zynqmp_pcap: pcap {
153 compatible = "xlnx,zynqmp-pcap-fpga";
154 clock-names = "ref_clk";
155 };
156
Ibai Erkiaga95497af2019-09-27 11:36:58 +0100157 zynqmp_power: zynqmp-power {
158 u-boot,dm-pre-reloc;
159 compatible = "xlnx,zynqmp-power";
160 interrupt-parent = <&gic>;
161 interrupts = <0 35 4>;
162 mboxes = <&ipi_mailbox_pmu1 0>, <&ipi_mailbox_pmu1 1>;
163 mbox-names = "tx", "rx";
164 };
Michal Simekb07e97b2019-10-14 15:55:53 +0200165
166 zynqmp_reset: reset-controller {
167 compatible = "xlnx,zynqmp-reset";
168 #reset-cells = <1>;
169 };
Michal Simek00fb9452020-02-18 13:04:06 +0100170
171 pinctrl0: pinctrl {
172 compatible = "xlnx,zynqmp-pinctrl";
173 status = "disabled";
174 };
Ibai Erkiaga95497af2019-09-27 11:36:58 +0100175 };
Michal Simek44303df2015-10-30 15:39:18 +0100176 };
177
178 timer {
179 compatible = "arm,armv8-timer";
180 interrupt-parent = <&gic>;
Michal Simek6db82e02017-02-09 14:45:12 +0100181 interrupts = <1 13 0xf08>,
182 <1 14 0xf08>,
183 <1 11 0xf08>,
184 <1 10 0xf08>;
Michal Simek44303df2015-10-30 15:39:18 +0100185 };
186
Naga Sureshkumar Relliaaf232f2016-06-20 15:48:30 +0530187 edac {
188 compatible = "arm,cortex-a53-edac";
189 };
190
Nava kishore Manne7689dce2017-05-22 12:05:17 +0530191 fpga_full: fpga-full {
192 compatible = "fpga-region";
Nava kishore Manne21620992019-10-18 18:07:32 +0200193 fpga-mgr = <&zynqmp_pcap>;
Nava kishore Manne7689dce2017-05-22 12:05:17 +0530194 #address-cells = <2>;
195 #size-cells = <2>;
Nava kishore Manne21620992019-10-18 18:07:32 +0200196 ranges;
Nava kishore Manne7689dce2017-05-22 12:05:17 +0530197 };
198
Nava kishore Manne0d87c4f2017-01-17 16:57:24 +0530199 nvmem_firmware {
200 compatible = "xlnx,zynqmp-nvmem-fw";
201 #address-cells = <1>;
202 #size-cells = <1>;
203
204 soc_revision: soc_revision@0 {
205 reg = <0x0 0x4>;
206 };
207 };
208
Michal Simek096d7f52018-11-08 10:06:53 +0100209 amba_apu: amba-apu@0 {
Michal Simek44303df2015-10-30 15:39:18 +0100210 compatible = "simple-bus";
211 #address-cells = <2>;
212 #size-cells = <1>;
Michal Simek85d11422016-04-07 15:07:38 +0200213 ranges = <0 0 0 0 0xffffffff>;
Michal Simek44303df2015-10-30 15:39:18 +0100214
215 gic: interrupt-controller@f9010000 {
Michal Simekba196902020-02-18 10:01:26 +0100216 compatible = "arm,gic-400";
Michal Simek44303df2015-10-30 15:39:18 +0100217 #interrupt-cells = <3>;
218 reg = <0x0 0xf9010000 0x10000>,
Alexander Graf0a8c4f62016-05-12 13:44:01 +0200219 <0x0 0xf9020000 0x20000>,
Michal Simek44303df2015-10-30 15:39:18 +0100220 <0x0 0xf9040000 0x20000>,
Alexander Graf0a8c4f62016-05-12 13:44:01 +0200221 <0x0 0xf9060000 0x20000>;
Michal Simek44303df2015-10-30 15:39:18 +0100222 interrupt-controller;
223 interrupt-parent = <&gic>;
224 interrupts = <1 9 0xf04>;
225 };
226 };
227
Michal Simekb976fd62016-02-11 07:19:06 +0100228 amba: amba {
Michal Simek44303df2015-10-30 15:39:18 +0100229 compatible = "simple-bus";
Michal Simekc9811e12016-02-22 09:57:27 +0100230 u-boot,dm-pre-reloc;
Michal Simek44303df2015-10-30 15:39:18 +0100231 #address-cells = <2>;
Michal Simekb976fd62016-02-11 07:19:06 +0100232 #size-cells = <2>;
233 ranges;
Michal Simek44303df2015-10-30 15:39:18 +0100234
235 can0: can@ff060000 {
236 compatible = "xlnx,zynq-can-1.0";
237 status = "disabled";
238 clock-names = "can_clk", "pclk";
Michal Simekb976fd62016-02-11 07:19:06 +0100239 reg = <0x0 0xff060000 0x0 0x1000>;
Michal Simek44303df2015-10-30 15:39:18 +0100240 interrupts = <0 23 4>;
241 interrupt-parent = <&gic>;
242 tx-fifo-depth = <0x40>;
243 rx-fifo-depth = <0x40>;
Michal Simek332996c2019-10-14 15:56:31 +0200244 power-domains = <&zynqmp_firmware PD_CAN_0>;
Michal Simek44303df2015-10-30 15:39:18 +0100245 };
246
247 can1: can@ff070000 {
248 compatible = "xlnx,zynq-can-1.0";
249 status = "disabled";
250 clock-names = "can_clk", "pclk";
Michal Simekb976fd62016-02-11 07:19:06 +0100251 reg = <0x0 0xff070000 0x0 0x1000>;
Michal Simek44303df2015-10-30 15:39:18 +0100252 interrupts = <0 24 4>;
253 interrupt-parent = <&gic>;
254 tx-fifo-depth = <0x40>;
255 rx-fifo-depth = <0x40>;
Michal Simek332996c2019-10-14 15:56:31 +0200256 power-domains = <&zynqmp_firmware PD_CAN_1>;
Michal Simek44303df2015-10-30 15:39:18 +0100257 };
258
Michal Simekff50d212015-11-26 11:21:25 +0100259 cci: cci@fd6e0000 {
260 compatible = "arm,cci-400";
Michal Simekb976fd62016-02-11 07:19:06 +0100261 reg = <0x0 0xfd6e0000 0x0 0x9000>;
Michal Simekff50d212015-11-26 11:21:25 +0100262 ranges = <0x0 0x0 0xfd6e0000 0x10000>;
263 #address-cells = <1>;
264 #size-cells = <1>;
265
266 pmu@9000 {
267 compatible = "arm,cci-400-pmu,r1";
268 reg = <0x9000 0x5000>;
269 interrupt-parent = <&gic>;
270 interrupts = <0 123 4>,
271 <0 123 4>,
272 <0 123 4>,
273 <0 123 4>,
274 <0 123 4>;
275 };
276 };
277
Michal Simek44303df2015-10-30 15:39:18 +0100278 /* GDMA */
279 fpd_dma_chan1: dma@fd500000 {
280 status = "disabled";
281 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simekb976fd62016-02-11 07:19:06 +0100282 reg = <0x0 0xfd500000 0x0 0x1000>;
Michal Simek44303df2015-10-30 15:39:18 +0100283 interrupt-parent = <&gic>;
284 interrupts = <0 124 4>;
VNSL Durgab34d11d2016-03-24 22:45:12 +0530285 clock-names = "clk_main", "clk_apb";
Michal Simek44303df2015-10-30 15:39:18 +0100286 xlnx,bus-width = <128>;
Michal Simekba6ad312016-04-06 10:43:23 +0200287 #stream-id-cells = <1>;
288 iommus = <&smmu 0x14e8>;
Michal Simek332996c2019-10-14 15:56:31 +0200289 power-domains = <&zynqmp_firmware PD_GDMA>;
Michal Simek44303df2015-10-30 15:39:18 +0100290 };
291
292 fpd_dma_chan2: dma@fd510000 {
293 status = "disabled";
294 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simekb976fd62016-02-11 07:19:06 +0100295 reg = <0x0 0xfd510000 0x0 0x1000>;
Michal Simek44303df2015-10-30 15:39:18 +0100296 interrupt-parent = <&gic>;
297 interrupts = <0 125 4>;
VNSL Durgab34d11d2016-03-24 22:45:12 +0530298 clock-names = "clk_main", "clk_apb";
Michal Simek44303df2015-10-30 15:39:18 +0100299 xlnx,bus-width = <128>;
Michal Simekba6ad312016-04-06 10:43:23 +0200300 #stream-id-cells = <1>;
301 iommus = <&smmu 0x14e9>;
Michal Simek332996c2019-10-14 15:56:31 +0200302 power-domains = <&zynqmp_firmware PD_GDMA>;
Michal Simek44303df2015-10-30 15:39:18 +0100303 };
304
305 fpd_dma_chan3: dma@fd520000 {
306 status = "disabled";
307 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simekb976fd62016-02-11 07:19:06 +0100308 reg = <0x0 0xfd520000 0x0 0x1000>;
Michal Simek44303df2015-10-30 15:39:18 +0100309 interrupt-parent = <&gic>;
310 interrupts = <0 126 4>;
VNSL Durgab34d11d2016-03-24 22:45:12 +0530311 clock-names = "clk_main", "clk_apb";
Michal Simek44303df2015-10-30 15:39:18 +0100312 xlnx,bus-width = <128>;
Michal Simekba6ad312016-04-06 10:43:23 +0200313 #stream-id-cells = <1>;
314 iommus = <&smmu 0x14ea>;
Michal Simek332996c2019-10-14 15:56:31 +0200315 power-domains = <&zynqmp_firmware PD_GDMA>;
Michal Simek44303df2015-10-30 15:39:18 +0100316 };
317
318 fpd_dma_chan4: dma@fd530000 {
319 status = "disabled";
320 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simekb976fd62016-02-11 07:19:06 +0100321 reg = <0x0 0xfd530000 0x0 0x1000>;
Michal Simek44303df2015-10-30 15:39:18 +0100322 interrupt-parent = <&gic>;
323 interrupts = <0 127 4>;
VNSL Durgab34d11d2016-03-24 22:45:12 +0530324 clock-names = "clk_main", "clk_apb";
Michal Simek44303df2015-10-30 15:39:18 +0100325 xlnx,bus-width = <128>;
Michal Simekba6ad312016-04-06 10:43:23 +0200326 #stream-id-cells = <1>;
327 iommus = <&smmu 0x14eb>;
Michal Simek332996c2019-10-14 15:56:31 +0200328 power-domains = <&zynqmp_firmware PD_GDMA>;
Michal Simek44303df2015-10-30 15:39:18 +0100329 };
330
331 fpd_dma_chan5: dma@fd540000 {
332 status = "disabled";
333 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simekb976fd62016-02-11 07:19:06 +0100334 reg = <0x0 0xfd540000 0x0 0x1000>;
Michal Simek44303df2015-10-30 15:39:18 +0100335 interrupt-parent = <&gic>;
336 interrupts = <0 128 4>;
VNSL Durgab34d11d2016-03-24 22:45:12 +0530337 clock-names = "clk_main", "clk_apb";
Michal Simek44303df2015-10-30 15:39:18 +0100338 xlnx,bus-width = <128>;
Michal Simekba6ad312016-04-06 10:43:23 +0200339 #stream-id-cells = <1>;
340 iommus = <&smmu 0x14ec>;
Michal Simek332996c2019-10-14 15:56:31 +0200341 power-domains = <&zynqmp_firmware PD_GDMA>;
Michal Simek44303df2015-10-30 15:39:18 +0100342 };
343
344 fpd_dma_chan6: dma@fd550000 {
345 status = "disabled";
346 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simekb976fd62016-02-11 07:19:06 +0100347 reg = <0x0 0xfd550000 0x0 0x1000>;
Michal Simek44303df2015-10-30 15:39:18 +0100348 interrupt-parent = <&gic>;
349 interrupts = <0 129 4>;
VNSL Durgab34d11d2016-03-24 22:45:12 +0530350 clock-names = "clk_main", "clk_apb";
Michal Simek44303df2015-10-30 15:39:18 +0100351 xlnx,bus-width = <128>;
Michal Simekba6ad312016-04-06 10:43:23 +0200352 #stream-id-cells = <1>;
353 iommus = <&smmu 0x14ed>;
Michal Simek332996c2019-10-14 15:56:31 +0200354 power-domains = <&zynqmp_firmware PD_GDMA>;
Michal Simek44303df2015-10-30 15:39:18 +0100355 };
356
357 fpd_dma_chan7: dma@fd560000 {
358 status = "disabled";
359 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simekb976fd62016-02-11 07:19:06 +0100360 reg = <0x0 0xfd560000 0x0 0x1000>;
Michal Simek44303df2015-10-30 15:39:18 +0100361 interrupt-parent = <&gic>;
362 interrupts = <0 130 4>;
VNSL Durgab34d11d2016-03-24 22:45:12 +0530363 clock-names = "clk_main", "clk_apb";
Michal Simek44303df2015-10-30 15:39:18 +0100364 xlnx,bus-width = <128>;
Michal Simekba6ad312016-04-06 10:43:23 +0200365 #stream-id-cells = <1>;
366 iommus = <&smmu 0x14ee>;
Michal Simek332996c2019-10-14 15:56:31 +0200367 power-domains = <&zynqmp_firmware PD_GDMA>;
Michal Simek44303df2015-10-30 15:39:18 +0100368 };
369
370 fpd_dma_chan8: dma@fd570000 {
371 status = "disabled";
372 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simekb976fd62016-02-11 07:19:06 +0100373 reg = <0x0 0xfd570000 0x0 0x1000>;
Michal Simek44303df2015-10-30 15:39:18 +0100374 interrupt-parent = <&gic>;
375 interrupts = <0 131 4>;
VNSL Durgab34d11d2016-03-24 22:45:12 +0530376 clock-names = "clk_main", "clk_apb";
Michal Simek44303df2015-10-30 15:39:18 +0100377 xlnx,bus-width = <128>;
Michal Simekba6ad312016-04-06 10:43:23 +0200378 #stream-id-cells = <1>;
379 iommus = <&smmu 0x14ef>;
Michal Simek332996c2019-10-14 15:56:31 +0200380 power-domains = <&zynqmp_firmware PD_GDMA>;
Michal Simek44303df2015-10-30 15:39:18 +0100381 };
382
383 gpu: gpu@fd4b0000 {
384 status = "disabled";
385 compatible = "arm,mali-400", "arm,mali-utgard";
Hyun Kwon834ec8e2017-08-21 18:54:29 -0700386 reg = <0x0 0xfd4b0000 0x0 0x10000>;
Michal Simek44303df2015-10-30 15:39:18 +0100387 interrupt-parent = <&gic>;
388 interrupts = <0 132 4>, <0 132 4>, <0 132 4>, <0 132 4>, <0 132 4>, <0 132 4>;
389 interrupt-names = "IRQGP", "IRQGPMMU", "IRQPP0", "IRQPPMMU0", "IRQPP1", "IRQPPMMU1";
Madhurkiran Harikrishnan59206dd2017-02-17 04:14:45 -0800390 clock-names = "gpu", "gpu_pp0", "gpu_pp1";
Michal Simek332996c2019-10-14 15:56:31 +0200391 power-domains = <&zynqmp_firmware PD_GPU>;
Michal Simek44303df2015-10-30 15:39:18 +0100392 };
393
Kedareswara rao Appana6af57732016-09-09 12:36:01 +0530394 /* LPDDMA default allows only secured access. inorder to enable
395 * These dma channels, Users should ensure that these dma
396 * Channels are allowed for non secure access.
397 */
Michal Simek44303df2015-10-30 15:39:18 +0100398 lpd_dma_chan1: dma@ffa80000 {
399 status = "disabled";
400 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simekb976fd62016-02-11 07:19:06 +0100401 reg = <0x0 0xffa80000 0x0 0x1000>;
Michal Simek44303df2015-10-30 15:39:18 +0100402 interrupt-parent = <&gic>;
403 interrupts = <0 77 4>;
Michal Simek680e9972018-01-17 16:32:33 +0100404 clock-names = "clk_main", "clk_apb";
Michal Simek44303df2015-10-30 15:39:18 +0100405 xlnx,bus-width = <64>;
Michal Simekba6ad312016-04-06 10:43:23 +0200406 #stream-id-cells = <1>;
407 iommus = <&smmu 0x868>;
Michal Simek332996c2019-10-14 15:56:31 +0200408 power-domains = <&zynqmp_firmware PD_ADMA>;
Michal Simek44303df2015-10-30 15:39:18 +0100409 };
410
411 lpd_dma_chan2: dma@ffa90000 {
412 status = "disabled";
413 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simekb976fd62016-02-11 07:19:06 +0100414 reg = <0x0 0xffa90000 0x0 0x1000>;
Michal Simek44303df2015-10-30 15:39:18 +0100415 interrupt-parent = <&gic>;
416 interrupts = <0 78 4>;
Michal Simek680e9972018-01-17 16:32:33 +0100417 clock-names = "clk_main", "clk_apb";
Michal Simek44303df2015-10-30 15:39:18 +0100418 xlnx,bus-width = <64>;
Michal Simekba6ad312016-04-06 10:43:23 +0200419 #stream-id-cells = <1>;
420 iommus = <&smmu 0x869>;
Michal Simek332996c2019-10-14 15:56:31 +0200421 power-domains = <&zynqmp_firmware PD_ADMA>;
Michal Simek44303df2015-10-30 15:39:18 +0100422 };
423
424 lpd_dma_chan3: dma@ffaa0000 {
425 status = "disabled";
426 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simekb976fd62016-02-11 07:19:06 +0100427 reg = <0x0 0xffaa0000 0x0 0x1000>;
Michal Simek44303df2015-10-30 15:39:18 +0100428 interrupt-parent = <&gic>;
429 interrupts = <0 79 4>;
Michal Simek680e9972018-01-17 16:32:33 +0100430 clock-names = "clk_main", "clk_apb";
Michal Simek44303df2015-10-30 15:39:18 +0100431 xlnx,bus-width = <64>;
Michal Simekba6ad312016-04-06 10:43:23 +0200432 #stream-id-cells = <1>;
433 iommus = <&smmu 0x86a>;
Michal Simek332996c2019-10-14 15:56:31 +0200434 power-domains = <&zynqmp_firmware PD_ADMA>;
Michal Simek44303df2015-10-30 15:39:18 +0100435 };
436
437 lpd_dma_chan4: dma@ffab0000 {
438 status = "disabled";
439 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simekb976fd62016-02-11 07:19:06 +0100440 reg = <0x0 0xffab0000 0x0 0x1000>;
Michal Simek44303df2015-10-30 15:39:18 +0100441 interrupt-parent = <&gic>;
442 interrupts = <0 80 4>;
Michal Simek680e9972018-01-17 16:32:33 +0100443 clock-names = "clk_main", "clk_apb";
Michal Simek44303df2015-10-30 15:39:18 +0100444 xlnx,bus-width = <64>;
Michal Simekba6ad312016-04-06 10:43:23 +0200445 #stream-id-cells = <1>;
446 iommus = <&smmu 0x86b>;
Michal Simek332996c2019-10-14 15:56:31 +0200447 power-domains = <&zynqmp_firmware PD_ADMA>;
Michal Simek44303df2015-10-30 15:39:18 +0100448 };
449
450 lpd_dma_chan5: dma@ffac0000 {
451 status = "disabled";
452 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simekb976fd62016-02-11 07:19:06 +0100453 reg = <0x0 0xffac0000 0x0 0x1000>;
Michal Simek44303df2015-10-30 15:39:18 +0100454 interrupt-parent = <&gic>;
455 interrupts = <0 81 4>;
Michal Simek680e9972018-01-17 16:32:33 +0100456 clock-names = "clk_main", "clk_apb";
Michal Simek44303df2015-10-30 15:39:18 +0100457 xlnx,bus-width = <64>;
Michal Simekba6ad312016-04-06 10:43:23 +0200458 #stream-id-cells = <1>;
459 iommus = <&smmu 0x86c>;
Michal Simek332996c2019-10-14 15:56:31 +0200460 power-domains = <&zynqmp_firmware PD_ADMA>;
Michal Simek44303df2015-10-30 15:39:18 +0100461 };
462
463 lpd_dma_chan6: dma@ffad0000 {
464 status = "disabled";
465 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simekb976fd62016-02-11 07:19:06 +0100466 reg = <0x0 0xffad0000 0x0 0x1000>;
Michal Simek44303df2015-10-30 15:39:18 +0100467 interrupt-parent = <&gic>;
468 interrupts = <0 82 4>;
Michal Simek680e9972018-01-17 16:32:33 +0100469 clock-names = "clk_main", "clk_apb";
Michal Simek44303df2015-10-30 15:39:18 +0100470 xlnx,bus-width = <64>;
Michal Simekba6ad312016-04-06 10:43:23 +0200471 #stream-id-cells = <1>;
472 iommus = <&smmu 0x86d>;
Michal Simek332996c2019-10-14 15:56:31 +0200473 power-domains = <&zynqmp_firmware PD_ADMA>;
Michal Simek44303df2015-10-30 15:39:18 +0100474 };
475
476 lpd_dma_chan7: dma@ffae0000 {
477 status = "disabled";
478 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simekb976fd62016-02-11 07:19:06 +0100479 reg = <0x0 0xffae0000 0x0 0x1000>;
Michal Simek44303df2015-10-30 15:39:18 +0100480 interrupt-parent = <&gic>;
481 interrupts = <0 83 4>;
Michal Simek680e9972018-01-17 16:32:33 +0100482 clock-names = "clk_main", "clk_apb";
Michal Simek44303df2015-10-30 15:39:18 +0100483 xlnx,bus-width = <64>;
Michal Simekba6ad312016-04-06 10:43:23 +0200484 #stream-id-cells = <1>;
485 iommus = <&smmu 0x86e>;
Michal Simek332996c2019-10-14 15:56:31 +0200486 power-domains = <&zynqmp_firmware PD_ADMA>;
Michal Simek44303df2015-10-30 15:39:18 +0100487 };
488
489 lpd_dma_chan8: dma@ffaf0000 {
490 status = "disabled";
491 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simekb976fd62016-02-11 07:19:06 +0100492 reg = <0x0 0xffaf0000 0x0 0x1000>;
Michal Simek44303df2015-10-30 15:39:18 +0100493 interrupt-parent = <&gic>;
494 interrupts = <0 84 4>;
Michal Simek680e9972018-01-17 16:32:33 +0100495 clock-names = "clk_main", "clk_apb";
Michal Simek44303df2015-10-30 15:39:18 +0100496 xlnx,bus-width = <64>;
Michal Simekba6ad312016-04-06 10:43:23 +0200497 #stream-id-cells = <1>;
498 iommus = <&smmu 0x86f>;
Michal Simek332996c2019-10-14 15:56:31 +0200499 power-domains = <&zynqmp_firmware PD_ADMA>;
Michal Simek44303df2015-10-30 15:39:18 +0100500 };
501
Naga Sureshkumar Relli90869002016-03-11 13:10:26 +0530502 mc: memory-controller@fd070000 {
503 compatible = "xlnx,zynqmp-ddrc-2.40a";
Michal Simekb976fd62016-02-11 07:19:06 +0100504 reg = <0x0 0xfd070000 0x0 0x30000>;
Naga Sureshkumar Relli90869002016-03-11 13:10:26 +0530505 interrupt-parent = <&gic>;
506 interrupts = <0 112 4>;
507 };
508
Michal Simek44303df2015-10-30 15:39:18 +0100509 nand0: nand@ff100000 {
510 compatible = "arasan,nfc-v3p10";
511 status = "disabled";
Michal Simekb976fd62016-02-11 07:19:06 +0100512 reg = <0x0 0xff100000 0x0 0x1000>;
Michal Simek44303df2015-10-30 15:39:18 +0100513 clock-names = "clk_sys", "clk_flash";
514 interrupt-parent = <&gic>;
515 interrupts = <0 14 4>;
Naga Sureshkumar Rellic3a34b82017-01-23 16:20:37 +0530516 #address-cells = <1>;
517 #size-cells = <0>;
Michal Simekba6ad312016-04-06 10:43:23 +0200518 #stream-id-cells = <1>;
519 iommus = <&smmu 0x872>;
Michal Simek332996c2019-10-14 15:56:31 +0200520 power-domains = <&zynqmp_firmware PD_NAND>;
Michal Simek44303df2015-10-30 15:39:18 +0100521 };
522
523 gem0: ethernet@ff0b0000 {
Michal Simekdead6f62018-03-27 12:53:37 +0200524 compatible = "cdns,zynqmp-gem", "cdns,gem";
Michal Simek44303df2015-10-30 15:39:18 +0100525 status = "disabled";
526 interrupt-parent = <&gic>;
527 interrupts = <0 57 4>, <0 57 4>;
Michal Simekb976fd62016-02-11 07:19:06 +0100528 reg = <0x0 0xff0b0000 0x0 0x1000>;
Michal Simek44303df2015-10-30 15:39:18 +0100529 clock-names = "pclk", "hclk", "tx_clk";
530 #address-cells = <1>;
531 #size-cells = <0>;
Edgar E. Iglesias7f1d7d92015-11-26 14:12:20 +0100532 #stream-id-cells = <1>;
Michal Simekba6ad312016-04-06 10:43:23 +0200533 iommus = <&smmu 0x874>;
Michal Simek332996c2019-10-14 15:56:31 +0200534 power-domains = <&zynqmp_firmware PD_ETH_0>;
Michal Simek44303df2015-10-30 15:39:18 +0100535 };
536
537 gem1: ethernet@ff0c0000 {
Michal Simekdead6f62018-03-27 12:53:37 +0200538 compatible = "cdns,zynqmp-gem", "cdns,gem";
Michal Simek44303df2015-10-30 15:39:18 +0100539 status = "disabled";
540 interrupt-parent = <&gic>;
541 interrupts = <0 59 4>, <0 59 4>;
Michal Simekb976fd62016-02-11 07:19:06 +0100542 reg = <0x0 0xff0c0000 0x0 0x1000>;
Michal Simek44303df2015-10-30 15:39:18 +0100543 clock-names = "pclk", "hclk", "tx_clk";
544 #address-cells = <1>;
545 #size-cells = <0>;
Edgar E. Iglesias7f1d7d92015-11-26 14:12:20 +0100546 #stream-id-cells = <1>;
Michal Simekba6ad312016-04-06 10:43:23 +0200547 iommus = <&smmu 0x875>;
Michal Simek332996c2019-10-14 15:56:31 +0200548 power-domains = <&zynqmp_firmware PD_ETH_1>;
Michal Simek44303df2015-10-30 15:39:18 +0100549 };
550
551 gem2: ethernet@ff0d0000 {
Michal Simekdead6f62018-03-27 12:53:37 +0200552 compatible = "cdns,zynqmp-gem", "cdns,gem";
Michal Simek44303df2015-10-30 15:39:18 +0100553 status = "disabled";
554 interrupt-parent = <&gic>;
555 interrupts = <0 61 4>, <0 61 4>;
Michal Simekb976fd62016-02-11 07:19:06 +0100556 reg = <0x0 0xff0d0000 0x0 0x1000>;
Michal Simek44303df2015-10-30 15:39:18 +0100557 clock-names = "pclk", "hclk", "tx_clk";
558 #address-cells = <1>;
559 #size-cells = <0>;
Edgar E. Iglesias7f1d7d92015-11-26 14:12:20 +0100560 #stream-id-cells = <1>;
Michal Simekba6ad312016-04-06 10:43:23 +0200561 iommus = <&smmu 0x876>;
Michal Simek332996c2019-10-14 15:56:31 +0200562 power-domains = <&zynqmp_firmware PD_ETH_2>;
Michal Simek44303df2015-10-30 15:39:18 +0100563 };
564
565 gem3: ethernet@ff0e0000 {
Michal Simekdead6f62018-03-27 12:53:37 +0200566 compatible = "cdns,zynqmp-gem", "cdns,gem";
Michal Simek44303df2015-10-30 15:39:18 +0100567 status = "disabled";
568 interrupt-parent = <&gic>;
569 interrupts = <0 63 4>, <0 63 4>;
Michal Simekb976fd62016-02-11 07:19:06 +0100570 reg = <0x0 0xff0e0000 0x0 0x1000>;
Michal Simek44303df2015-10-30 15:39:18 +0100571 clock-names = "pclk", "hclk", "tx_clk";
572 #address-cells = <1>;
573 #size-cells = <0>;
Edgar E. Iglesias7f1d7d92015-11-26 14:12:20 +0100574 #stream-id-cells = <1>;
Michal Simekba6ad312016-04-06 10:43:23 +0200575 iommus = <&smmu 0x877>;
Michal Simek332996c2019-10-14 15:56:31 +0200576 power-domains = <&zynqmp_firmware PD_ETH_3>;
Michal Simek44303df2015-10-30 15:39:18 +0100577 };
578
579 gpio: gpio@ff0a0000 {
580 compatible = "xlnx,zynqmp-gpio-1.0";
581 status = "disabled";
582 #gpio-cells = <0x2>;
Michal Simekb94a3c22020-01-09 13:10:59 +0100583 gpio-controller;
Michal Simek44303df2015-10-30 15:39:18 +0100584 interrupt-parent = <&gic>;
585 interrupts = <0 16 4>;
Michal Simek9e826b62016-10-20 10:26:13 +0200586 interrupt-controller;
587 #interrupt-cells = <2>;
Michal Simekb976fd62016-02-11 07:19:06 +0100588 reg = <0x0 0xff0a0000 0x0 0x1000>;
Michal Simek332996c2019-10-14 15:56:31 +0200589 power-domains = <&zynqmp_firmware PD_GPIO>;
Michal Simek44303df2015-10-30 15:39:18 +0100590 };
591
592 i2c0: i2c@ff020000 {
Moritz Fischerde4914b2016-12-22 09:36:11 -0800593 compatible = "cdns,i2c-r1p14", "cdns,i2c-r1p10";
Michal Simek44303df2015-10-30 15:39:18 +0100594 status = "disabled";
595 interrupt-parent = <&gic>;
596 interrupts = <0 17 4>;
Michal Simekb976fd62016-02-11 07:19:06 +0100597 reg = <0x0 0xff020000 0x0 0x1000>;
Michal Simek44303df2015-10-30 15:39:18 +0100598 #address-cells = <1>;
599 #size-cells = <0>;
Michal Simek332996c2019-10-14 15:56:31 +0200600 power-domains = <&zynqmp_firmware PD_I2C_0>;
Michal Simek44303df2015-10-30 15:39:18 +0100601 };
602
603 i2c1: i2c@ff030000 {
Moritz Fischerde4914b2016-12-22 09:36:11 -0800604 compatible = "cdns,i2c-r1p14", "cdns,i2c-r1p10";
Michal Simek44303df2015-10-30 15:39:18 +0100605 status = "disabled";
606 interrupt-parent = <&gic>;
607 interrupts = <0 18 4>;
Michal Simekb976fd62016-02-11 07:19:06 +0100608 reg = <0x0 0xff030000 0x0 0x1000>;
Michal Simek44303df2015-10-30 15:39:18 +0100609 #address-cells = <1>;
610 #size-cells = <0>;
Michal Simek332996c2019-10-14 15:56:31 +0200611 power-domains = <&zynqmp_firmware PD_I2C_1>;
Michal Simek44303df2015-10-30 15:39:18 +0100612 };
613
Naga Sureshkumar Relli55344802016-05-18 12:23:13 +0530614 ocm: memory-controller@ff960000 {
615 compatible = "xlnx,zynqmp-ocmc-1.0";
Michal Simekb976fd62016-02-11 07:19:06 +0100616 reg = <0x0 0xff960000 0x0 0x1000>;
Naga Sureshkumar Relli55344802016-05-18 12:23:13 +0530617 interrupt-parent = <&gic>;
618 interrupts = <0 10 4>;
619 };
620
Michal Simek44303df2015-10-30 15:39:18 +0100621 pcie: pcie@fd0e0000 {
622 compatible = "xlnx,nwl-pcie-2.11";
623 status = "disabled";
624 #address-cells = <3>;
625 #size-cells = <2>;
626 #interrupt-cells = <1>;
Bharat Kumar Gogada7d6ca732016-07-19 20:49:29 +0530627 msi-controller;
Michal Simek44303df2015-10-30 15:39:18 +0100628 device_type = "pci";
629 interrupt-parent = <&gic>;
Michal Simek91a8b0e2016-01-20 12:59:23 +0100630 interrupts = <0 118 4>,
Bharat Kumar Gogada7d6ca732016-07-19 20:49:29 +0530631 <0 117 4>,
Michal Simek91a8b0e2016-01-20 12:59:23 +0100632 <0 116 4>,
633 <0 115 4>, /* MSI_1 [63...32] */
634 <0 114 4>; /* MSI_0 [31...0] */
Michal Simek680e9972018-01-17 16:32:33 +0100635 interrupt-names = "misc", "dummy", "intx",
636 "msi1", "msi0";
Bharat Kumar Gogada7d6ca732016-07-19 20:49:29 +0530637 msi-parent = <&pcie>;
Michal Simekb976fd62016-02-11 07:19:06 +0100638 reg = <0x0 0xfd0e0000 0x0 0x1000>,
639 <0x0 0xfd480000 0x0 0x1000>,
Bharat Kumar Gogada688d1be2016-08-02 20:34:13 +0530640 <0x80 0x00000000 0x0 0x1000000>;
Michal Simek44303df2015-10-30 15:39:18 +0100641 reg-names = "breg", "pcireg", "cfg";
Bharat Kumar Gogada688d1be2016-08-02 20:34:13 +0530642 ranges = <0x02000000 0x00000000 0xe0000000 0x00000000 0xe0000000 0x00000000 0x10000000 /* non-prefetchable memory */
643 0x43000000 0x00000006 0x00000000 0x00000006 0x00000000 0x00000002 0x00000000>;/* prefetchable memory */
Rob Herringec2b2d42017-03-21 21:03:13 -0500644 bus-range = <0x00 0xff>;
Bharat Kumar Gogada33aec512016-02-15 21:18:58 +0530645 interrupt-map-mask = <0x0 0x0 0x0 0x7>;
646 interrupt-map = <0x0 0x0 0x0 0x1 &pcie_intc 0x1>,
647 <0x0 0x0 0x0 0x2 &pcie_intc 0x2>,
648 <0x0 0x0 0x0 0x3 &pcie_intc 0x3>,
649 <0x0 0x0 0x0 0x4 &pcie_intc 0x4>;
Michal Simek332996c2019-10-14 15:56:31 +0200650 power-domains = <&zynqmp_firmware PD_PCIE>;
Bharat Kumar Gogada33aec512016-02-15 21:18:58 +0530651 pcie_intc: legacy-interrupt-controller {
652 interrupt-controller;
653 #address-cells = <0>;
654 #interrupt-cells = <1>;
655 };
Michal Simek44303df2015-10-30 15:39:18 +0100656 };
657
658 qspi: spi@ff0f0000 {
Michal Simek24124ab2017-01-16 12:07:33 +0100659 u-boot,dm-pre-reloc;
Michal Simek44303df2015-10-30 15:39:18 +0100660 compatible = "xlnx,zynqmp-qspi-1.0";
661 status = "disabled";
662 clock-names = "ref_clk", "pclk";
663 interrupts = <0 15 4>;
664 interrupt-parent = <&gic>;
665 num-cs = <1>;
Michal Simekb976fd62016-02-11 07:19:06 +0100666 reg = <0x0 0xff0f0000 0x0 0x1000>,
667 <0x0 0xc0000000 0x0 0x8000000>;
Michal Simek44303df2015-10-30 15:39:18 +0100668 #address-cells = <1>;
669 #size-cells = <0>;
Michal Simekba6ad312016-04-06 10:43:23 +0200670 #stream-id-cells = <1>;
671 iommus = <&smmu 0x873>;
Michal Simek332996c2019-10-14 15:56:31 +0200672 power-domains = <&zynqmp_firmware PD_QSPI>;
Michal Simek44303df2015-10-30 15:39:18 +0100673 };
674
675 rtc: rtc@ffa60000 {
676 compatible = "xlnx,zynqmp-rtc";
677 status = "disabled";
Michal Simekb976fd62016-02-11 07:19:06 +0100678 reg = <0x0 0xffa60000 0x0 0x100>;
Michal Simek44303df2015-10-30 15:39:18 +0100679 interrupt-parent = <&gic>;
680 interrupts = <0 26 4>, <0 27 4>;
681 interrupt-names = "alarm", "sec";
Nava kishore Manne4d9d6982017-01-27 18:20:14 +0530682 calibration = <0x8000>;
Michal Simek44303df2015-10-30 15:39:18 +0100683 };
684
Anurag Kumar Vulishadb6c62e2016-05-17 16:49:01 +0530685 serdes: zynqmp_phy@fd400000 {
686 compatible = "xlnx,zynqmp-psgtr";
687 status = "disabled";
Michal Simekb976fd62016-02-11 07:19:06 +0100688 reg = <0x0 0xfd400000 0x0 0x40000>,
689 <0x0 0xfd3d0000 0x0 0x1000>,
Michal Simekb976fd62016-02-11 07:19:06 +0100690 <0x0 0xff5e0000 0x0 0x1000>;
Anurag Kumar Vulisha0aada392017-02-08 17:09:10 +0530691 reg-names = "serdes", "siou", "lpd";
Michal Simek3940bca2017-01-17 14:36:54 +0100692 nvmem-cells = <&soc_revision>;
693 nvmem-cell-names = "soc_revision";
Michal Simekb07e97b2019-10-14 15:55:53 +0200694 resets = <&zynqmp_reset ZYNQMP_RESET_SATA>,
695 <&zynqmp_reset ZYNQMP_RESET_USB0_CORERESET>,
696 <&zynqmp_reset ZYNQMP_RESET_USB1_CORERESET>,
697 <&zynqmp_reset ZYNQMP_RESET_USB0_HIBERRESET>,
698 <&zynqmp_reset ZYNQMP_RESET_USB1_HIBERRESET>,
699 <&zynqmp_reset ZYNQMP_RESET_USB0_APB>,
700 <&zynqmp_reset ZYNQMP_RESET_USB1_APB>,
701 <&zynqmp_reset ZYNQMP_RESET_DP>,
702 <&zynqmp_reset ZYNQMP_RESET_GEM0>,
703 <&zynqmp_reset ZYNQMP_RESET_GEM1>,
704 <&zynqmp_reset ZYNQMP_RESET_GEM2>,
705 <&zynqmp_reset ZYNQMP_RESET_GEM3>;
Anurag Kumar Vulisha98ad47b2017-02-06 21:40:34 +0530706 reset-names = "sata_rst", "usb0_crst", "usb1_crst",
707 "usb0_hibrst", "usb1_hibrst", "usb0_apbrst",
708 "usb1_apbrst", "dp_rst", "gem0_rst",
709 "gem1_rst", "gem2_rst", "gem3_rst";
Anurag Kumar Vulishadb6c62e2016-05-17 16:49:01 +0530710 lane0: lane0 {
711 #phy-cells = <4>;
712 };
713 lane1: lane1 {
714 #phy-cells = <4>;
715 };
716 lane2: lane2 {
717 #phy-cells = <4>;
718 };
719 lane3: lane3 {
720 #phy-cells = <4>;
721 };
722 };
723
Michal Simek44303df2015-10-30 15:39:18 +0100724 sata: ahci@fd0c0000 {
725 compatible = "ceva,ahci-1v84";
726 status = "disabled";
Michal Simekb976fd62016-02-11 07:19:06 +0100727 reg = <0x0 0xfd0c0000 0x0 0x2000>;
Michal Simek44303df2015-10-30 15:39:18 +0100728 interrupt-parent = <&gic>;
729 interrupts = <0 133 4>;
Michal Simek332996c2019-10-14 15:56:31 +0200730 power-domains = <&zynqmp_firmware PD_SATA>;
Anurag Kumar Vulisha110d06b2017-07-04 20:03:42 +0530731 #stream-id-cells = <4>;
732 iommus = <&smmu 0x4c0>, <&smmu 0x4c1>,
733 <&smmu 0x4c2>, <&smmu 0x4c3>;
734 /* dma-coherent; */
Michal Simek44303df2015-10-30 15:39:18 +0100735 };
736
Siva Durga Prasad Paladugue7c9de62019-01-03 15:44:24 +0530737 sdhci0: mmc@ff160000 {
Michal Simekc9811e12016-02-22 09:57:27 +0100738 u-boot,dm-pre-reloc;
Sai Krishna Potthuri0488a5e2016-08-16 14:41:35 +0530739 compatible = "xlnx,zynqmp-8.9a", "arasan,sdhci-8.9a";
Michal Simek44303df2015-10-30 15:39:18 +0100740 status = "disabled";
741 interrupt-parent = <&gic>;
742 interrupts = <0 48 4>;
Michal Simekb976fd62016-02-11 07:19:06 +0100743 reg = <0x0 0xff160000 0x0 0x1000>;
Michal Simek44303df2015-10-30 15:39:18 +0100744 clock-names = "clk_xin", "clk_ahb";
Sai Krishna Potthuri0488a5e2016-08-16 14:41:35 +0530745 xlnx,device_id = <0>;
Michal Simekba6ad312016-04-06 10:43:23 +0200746 #stream-id-cells = <1>;
747 iommus = <&smmu 0x870>;
Michal Simek332996c2019-10-14 15:56:31 +0200748 power-domains = <&zynqmp_firmware PD_SD_0>;
Manish Narani5e3c90d2017-07-19 21:16:33 +0530749 nvmem-cells = <&soc_revision>;
750 nvmem-cell-names = "soc_revision";
Ashok Reddy Somad9872d82020-02-17 23:32:57 -0700751 #clock-cells = <1>;
752 clock-output-names = "clk_out_sd0", "clk_in_sd0";
Michal Simek44303df2015-10-30 15:39:18 +0100753 };
754
Siva Durga Prasad Paladugue7c9de62019-01-03 15:44:24 +0530755 sdhci1: mmc@ff170000 {
Michal Simekc9811e12016-02-22 09:57:27 +0100756 u-boot,dm-pre-reloc;
Sai Krishna Potthuri0488a5e2016-08-16 14:41:35 +0530757 compatible = "xlnx,zynqmp-8.9a", "arasan,sdhci-8.9a";
Michal Simek44303df2015-10-30 15:39:18 +0100758 status = "disabled";
759 interrupt-parent = <&gic>;
760 interrupts = <0 49 4>;
Michal Simekb976fd62016-02-11 07:19:06 +0100761 reg = <0x0 0xff170000 0x0 0x1000>;
Michal Simek44303df2015-10-30 15:39:18 +0100762 clock-names = "clk_xin", "clk_ahb";
Sai Krishna Potthuri0488a5e2016-08-16 14:41:35 +0530763 xlnx,device_id = <1>;
Michal Simekba6ad312016-04-06 10:43:23 +0200764 #stream-id-cells = <1>;
765 iommus = <&smmu 0x871>;
Michal Simek332996c2019-10-14 15:56:31 +0200766 power-domains = <&zynqmp_firmware PD_SD_1>;
Manish Narani5e3c90d2017-07-19 21:16:33 +0530767 nvmem-cells = <&soc_revision>;
768 nvmem-cell-names = "soc_revision";
Ashok Reddy Somad9872d82020-02-17 23:32:57 -0700769 #clock-cells = <1>;
770 clock-output-names = "clk_out_sd1", "clk_in_sd1";
Michal Simek44303df2015-10-30 15:39:18 +0100771 };
772
773 smmu: smmu@fd800000 {
774 compatible = "arm,mmu-500";
Michal Simekb976fd62016-02-11 07:19:06 +0100775 reg = <0x0 0xfd800000 0x0 0x20000>;
Michal Simekba6ad312016-04-06 10:43:23 +0200776 #iommu-cells = <1>;
Naga Sureshkumar Relli10f2a292017-03-09 20:00:13 +0530777 status = "disabled";
Michal Simek44303df2015-10-30 15:39:18 +0100778 #global-interrupts = <1>;
779 interrupt-parent = <&gic>;
Edgar E. Iglesias88a85aa2015-11-26 14:12:19 +0100780 interrupts = <0 155 4>,
781 <0 155 4>, <0 155 4>, <0 155 4>, <0 155 4>,
782 <0 155 4>, <0 155 4>, <0 155 4>, <0 155 4>,
783 <0 155 4>, <0 155 4>, <0 155 4>, <0 155 4>,
784 <0 155 4>, <0 155 4>, <0 155 4>, <0 155 4>;
Michal Simek44303df2015-10-30 15:39:18 +0100785 };
786
787 spi0: spi@ff040000 {
788 compatible = "cdns,spi-r1p6";
789 status = "disabled";
790 interrupt-parent = <&gic>;
791 interrupts = <0 19 4>;
Michal Simekb976fd62016-02-11 07:19:06 +0100792 reg = <0x0 0xff040000 0x0 0x1000>;
Michal Simek44303df2015-10-30 15:39:18 +0100793 clock-names = "ref_clk", "pclk";
794 #address-cells = <1>;
795 #size-cells = <0>;
Michal Simek332996c2019-10-14 15:56:31 +0200796 power-domains = <&zynqmp_firmware PD_SPI_0>;
Michal Simek44303df2015-10-30 15:39:18 +0100797 };
798
799 spi1: spi@ff050000 {
800 compatible = "cdns,spi-r1p6";
801 status = "disabled";
802 interrupt-parent = <&gic>;
803 interrupts = <0 20 4>;
Michal Simekb976fd62016-02-11 07:19:06 +0100804 reg = <0x0 0xff050000 0x0 0x1000>;
Michal Simek44303df2015-10-30 15:39:18 +0100805 clock-names = "ref_clk", "pclk";
806 #address-cells = <1>;
807 #size-cells = <0>;
Michal Simek332996c2019-10-14 15:56:31 +0200808 power-domains = <&zynqmp_firmware PD_SPI_1>;
Michal Simek44303df2015-10-30 15:39:18 +0100809 };
810
811 ttc0: timer@ff110000 {
812 compatible = "cdns,ttc";
813 status = "disabled";
814 interrupt-parent = <&gic>;
815 interrupts = <0 36 4>, <0 37 4>, <0 38 4>;
Michal Simekb976fd62016-02-11 07:19:06 +0100816 reg = <0x0 0xff110000 0x0 0x1000>;
Michal Simek44303df2015-10-30 15:39:18 +0100817 timer-width = <32>;
Michal Simek332996c2019-10-14 15:56:31 +0200818 power-domains = <&zynqmp_firmware PD_TTC_0>;
Michal Simek44303df2015-10-30 15:39:18 +0100819 };
820
821 ttc1: timer@ff120000 {
822 compatible = "cdns,ttc";
823 status = "disabled";
824 interrupt-parent = <&gic>;
825 interrupts = <0 39 4>, <0 40 4>, <0 41 4>;
Michal Simekb976fd62016-02-11 07:19:06 +0100826 reg = <0x0 0xff120000 0x0 0x1000>;
Michal Simek44303df2015-10-30 15:39:18 +0100827 timer-width = <32>;
Michal Simek332996c2019-10-14 15:56:31 +0200828 power-domains = <&zynqmp_firmware PD_TTC_1>;
Michal Simek44303df2015-10-30 15:39:18 +0100829 };
830
831 ttc2: timer@ff130000 {
832 compatible = "cdns,ttc";
833 status = "disabled";
834 interrupt-parent = <&gic>;
835 interrupts = <0 42 4>, <0 43 4>, <0 44 4>;
Michal Simekb976fd62016-02-11 07:19:06 +0100836 reg = <0x0 0xff130000 0x0 0x1000>;
Michal Simek44303df2015-10-30 15:39:18 +0100837 timer-width = <32>;
Michal Simek332996c2019-10-14 15:56:31 +0200838 power-domains = <&zynqmp_firmware PD_TTC_2>;
Michal Simek44303df2015-10-30 15:39:18 +0100839 };
840
841 ttc3: timer@ff140000 {
842 compatible = "cdns,ttc";
843 status = "disabled";
844 interrupt-parent = <&gic>;
845 interrupts = <0 45 4>, <0 46 4>, <0 47 4>;
Michal Simekb976fd62016-02-11 07:19:06 +0100846 reg = <0x0 0xff140000 0x0 0x1000>;
Michal Simek44303df2015-10-30 15:39:18 +0100847 timer-width = <32>;
Michal Simek332996c2019-10-14 15:56:31 +0200848 power-domains = <&zynqmp_firmware PD_TTC_3>;
Michal Simek44303df2015-10-30 15:39:18 +0100849 };
850
851 uart0: serial@ff000000 {
Michal Simekc9811e12016-02-22 09:57:27 +0100852 u-boot,dm-pre-reloc;
Michal Simekca2f5872015-11-27 13:22:58 +0100853 compatible = "cdns,uart-r1p12", "xlnx,xuartps";
Michal Simek44303df2015-10-30 15:39:18 +0100854 status = "disabled";
855 interrupt-parent = <&gic>;
856 interrupts = <0 21 4>;
Michal Simekb976fd62016-02-11 07:19:06 +0100857 reg = <0x0 0xff000000 0x0 0x1000>;
Michal Simek44303df2015-10-30 15:39:18 +0100858 clock-names = "uart_clk", "pclk";
Michal Simek332996c2019-10-14 15:56:31 +0200859 power-domains = <&zynqmp_firmware PD_UART_0>;
Michal Simek44303df2015-10-30 15:39:18 +0100860 };
861
862 uart1: serial@ff010000 {
Michal Simekc9811e12016-02-22 09:57:27 +0100863 u-boot,dm-pre-reloc;
Michal Simekca2f5872015-11-27 13:22:58 +0100864 compatible = "cdns,uart-r1p12", "xlnx,xuartps";
Michal Simek44303df2015-10-30 15:39:18 +0100865 status = "disabled";
866 interrupt-parent = <&gic>;
867 interrupts = <0 22 4>;
Michal Simekb976fd62016-02-11 07:19:06 +0100868 reg = <0x0 0xff010000 0x0 0x1000>;
Michal Simek44303df2015-10-30 15:39:18 +0100869 clock-names = "uart_clk", "pclk";
Michal Simek332996c2019-10-14 15:56:31 +0200870 power-domains = <&zynqmp_firmware PD_UART_1>;
Michal Simek44303df2015-10-30 15:39:18 +0100871 };
872
Manish Naranif7346ef2017-03-27 17:47:00 +0530873 usb0: usb0@ff9d0000 {
Michal Simeka84de482016-04-07 15:06:07 +0200874 #address-cells = <2>;
Michal Simekb976fd62016-02-11 07:19:06 +0100875 #size-cells = <2>;
Michal Simek44303df2015-10-30 15:39:18 +0100876 status = "disabled";
Michal Simeka84de482016-04-07 15:06:07 +0200877 compatible = "xlnx,zynqmp-dwc3";
Manish Naranif7346ef2017-03-27 17:47:00 +0530878 reg = <0x0 0xff9d0000 0x0 0x100>;
Michal Simeka84de482016-04-07 15:06:07 +0200879 clock-names = "bus_clk", "ref_clk";
Michal Simek332996c2019-10-14 15:56:31 +0200880 power-domains = <&zynqmp_firmware PD_USB_0>;
Michal Simeka84de482016-04-07 15:06:07 +0200881 ranges;
Anurag Kumar Vulisha8e5a4e62017-03-02 14:40:51 +0530882 nvmem-cells = <&soc_revision>;
883 nvmem-cell-names = "soc_revision";
Michal Simeka84de482016-04-07 15:06:07 +0200884
885 dwc3_0: dwc3@fe200000 {
886 compatible = "snps,dwc3";
887 status = "disabled";
Michal Simekb976fd62016-02-11 07:19:06 +0100888 reg = <0x0 0xfe200000 0x0 0x40000>;
Michal Simeka84de482016-04-07 15:06:07 +0200889 interrupt-parent = <&gic>;
Manish Narani2ef98662017-01-18 17:34:48 +0530890 interrupts = <0 65 4>, <0 69 4>;
Anurag Kumar Vulisha8861dcf2017-06-20 16:25:16 +0530891 #stream-id-cells = <1>;
892 iommus = <&smmu 0x860>;
Anurag Kumar Vulisha397a08a2017-03-10 19:18:17 +0530893 snps,quirk-frame-length-adjustment = <0x20>;
Michal Simeka84de482016-04-07 15:06:07 +0200894 snps,refclk_fladj;
Manish Naranif7346ef2017-03-27 17:47:00 +0530895 /* dma-coherent; */
Michal Simeka84de482016-04-07 15:06:07 +0200896 };
Michal Simek44303df2015-10-30 15:39:18 +0100897 };
898
Manish Naranif7346ef2017-03-27 17:47:00 +0530899 usb1: usb1@ff9e0000 {
Michal Simeka84de482016-04-07 15:06:07 +0200900 #address-cells = <2>;
Michal Simekb976fd62016-02-11 07:19:06 +0100901 #size-cells = <2>;
Michal Simek44303df2015-10-30 15:39:18 +0100902 status = "disabled";
Michal Simeka84de482016-04-07 15:06:07 +0200903 compatible = "xlnx,zynqmp-dwc3";
Manish Naranif7346ef2017-03-27 17:47:00 +0530904 reg = <0x0 0xff9e0000 0x0 0x100>;
Michal Simeka84de482016-04-07 15:06:07 +0200905 clock-names = "bus_clk", "ref_clk";
Michal Simek332996c2019-10-14 15:56:31 +0200906 power-domains = <&zynqmp_firmware PD_USB_1>;
Michal Simeka84de482016-04-07 15:06:07 +0200907 ranges;
Anurag Kumar Vulisha8e5a4e62017-03-02 14:40:51 +0530908 nvmem-cells = <&soc_revision>;
909 nvmem-cell-names = "soc_revision";
Michal Simeka84de482016-04-07 15:06:07 +0200910
911 dwc3_1: dwc3@fe300000 {
912 compatible = "snps,dwc3";
913 status = "disabled";
Michal Simekb976fd62016-02-11 07:19:06 +0100914 reg = <0x0 0xfe300000 0x0 0x40000>;
Michal Simeka84de482016-04-07 15:06:07 +0200915 interrupt-parent = <&gic>;
Manish Narani2ef98662017-01-18 17:34:48 +0530916 interrupts = <0 70 4>, <0 74 4>;
Anurag Kumar Vulisha8861dcf2017-06-20 16:25:16 +0530917 #stream-id-cells = <1>;
918 iommus = <&smmu 0x861>;
Anurag Kumar Vulisha397a08a2017-03-10 19:18:17 +0530919 snps,quirk-frame-length-adjustment = <0x20>;
Michal Simeka84de482016-04-07 15:06:07 +0200920 snps,refclk_fladj;
Manish Naranif7346ef2017-03-27 17:47:00 +0530921 /* dma-coherent; */
Michal Simeka84de482016-04-07 15:06:07 +0200922 };
Michal Simek44303df2015-10-30 15:39:18 +0100923 };
924
925 watchdog0: watchdog@fd4d0000 {
926 compatible = "cdns,wdt-r1p2";
927 status = "disabled";
928 interrupt-parent = <&gic>;
Punnaiah Choudary Kallurid3fd4332015-11-04 12:34:17 +0530929 interrupts = <0 113 1>;
Michal Simekb976fd62016-02-11 07:19:06 +0100930 reg = <0x0 0xfd4d0000 0x0 0x1000>;
Mounika Grace Akula3c8ee332018-10-09 20:52:50 +0530931 timeout-sec = <60>;
932 reset-on-timeout;
Michal Simek44303df2015-10-30 15:39:18 +0100933 };
934
Michal Simek2038e462018-07-18 09:25:43 +0200935 lpd_watchdog: watchdog@ff150000 {
936 compatible = "cdns,wdt-r1p2";
937 status = "disabled";
938 interrupt-parent = <&gic>;
939 interrupts = <0 52 1>;
940 reg = <0x0 0xff150000 0x0 0x1000>;
941 timeout-sec = <10>;
942 };
943
Michal Simek795ebc02017-11-02 12:04:43 +0100944 xilinx_ams: ams@ffa50000 {
945 compatible = "xlnx,zynqmp-ams";
946 status = "disabled";
947 interrupt-parent = <&gic>;
948 interrupts = <0 56 4>;
949 interrupt-names = "ams-irq";
950 reg = <0x0 0xffa50000 0x0 0x800>;
951 reg-names = "ams-base";
952 #address-cells = <2>;
953 #size-cells = <2>;
954 #io-channel-cells = <1>;
955 ranges;
956
957 ams_ps: ams_ps@ffa50800 {
958 compatible = "xlnx,zynqmp-ams-ps";
959 status = "disabled";
960 reg = <0x0 0xffa50800 0x0 0x400>;
961 };
962
963 ams_pl: ams_pl@ffa50c00 {
964 compatible = "xlnx,zynqmp-ams-pl";
965 status = "disabled";
966 reg = <0x0 0xffa50c00 0x0 0x400>;
967 };
968 };
969
Michal Simek44303df2015-10-30 15:39:18 +0100970 xlnx_dpdma: dma@fd4c0000 {
971 compatible = "xlnx,dpdma";
972 status = "disabled";
Michal Simekb976fd62016-02-11 07:19:06 +0100973 reg = <0x0 0xfd4c0000 0x0 0x1000>;
Michal Simek44303df2015-10-30 15:39:18 +0100974 interrupts = <0 122 4>;
975 interrupt-parent = <&gic>;
976 clock-names = "axi_clk";
Michal Simek332996c2019-10-14 15:56:31 +0200977 power-domains = <&zynqmp_firmware PD_DP>;
Michal Simek44303df2015-10-30 15:39:18 +0100978 dma-channels = <6>;
979 #dma-cells = <1>;
Michal Simekc926e6f2016-11-11 13:21:04 +0100980 dma-video0channel {
Michal Simek44303df2015-10-30 15:39:18 +0100981 compatible = "xlnx,video0";
982 };
Michal Simekc926e6f2016-11-11 13:21:04 +0100983 dma-video1channel {
Michal Simek44303df2015-10-30 15:39:18 +0100984 compatible = "xlnx,video1";
985 };
Michal Simekc926e6f2016-11-11 13:21:04 +0100986 dma-video2channel {
Michal Simek44303df2015-10-30 15:39:18 +0100987 compatible = "xlnx,video2";
988 };
Michal Simekc926e6f2016-11-11 13:21:04 +0100989 dma-graphicschannel {
Michal Simek44303df2015-10-30 15:39:18 +0100990 compatible = "xlnx,graphics";
991 };
Michal Simekc926e6f2016-11-11 13:21:04 +0100992 dma-audio0channel {
Michal Simek44303df2015-10-30 15:39:18 +0100993 compatible = "xlnx,audio0";
994 };
Michal Simekc926e6f2016-11-11 13:21:04 +0100995 dma-audio1channel {
Michal Simek44303df2015-10-30 15:39:18 +0100996 compatible = "xlnx,audio1";
997 };
998 };
Michal Simek04437de2020-02-18 09:24:08 +0100999
1000 zynqmp_dpsub: zynqmp-display@fd4a0000 {
1001 compatible = "xlnx,zynqmp-dpsub-1.7";
1002 status = "disabled";
1003 reg = <0x0 0xfd4a0000 0x0 0x1000>,
1004 <0x0 0xfd4aa000 0x0 0x1000>,
1005 <0x0 0xfd4ab000 0x0 0x1000>,
1006 <0x0 0xfd4ac000 0x0 0x1000>;
1007 reg-names = "dp", "blend", "av_buf", "aud";
1008 interrupts = <0 119 4>;
1009 interrupt-parent = <&gic>;
1010
1011 clock-names = "dp_apb_clk", "dp_aud_clk",
1012 "dp_vtc_pixel_clk_in";
1013
1014 power-domains = <&zynqmp_firmware PD_DP>;
1015
1016 vid-layer {
1017 dma-names = "vid0", "vid1", "vid2";
1018 dmas = <&xlnx_dpdma 0>,
1019 <&xlnx_dpdma 1>,
1020 <&xlnx_dpdma 2>;
1021 };
1022
1023 gfx-layer {
1024 dma-names = "gfx0";
1025 dmas = <&xlnx_dpdma 3>;
1026 };
1027
1028 /* dummy node to indicate there's no child i2c device */
1029 i2c-bus {
1030 };
1031
1032 zynqmp_dp_snd_codec0: zynqmp_dp_snd_codec0 {
1033 compatible = "xlnx,dp-snd-codec";
1034 clock-names = "aud_clk";
1035 };
1036
1037 zynqmp_dp_snd_pcm0: zynqmp_dp_snd_pcm0 {
1038 compatible = "xlnx,dp-snd-pcm";
1039 dmas = <&xlnx_dpdma 4>;
1040 dma-names = "tx";
1041 };
1042
1043 zynqmp_dp_snd_pcm1: zynqmp_dp_snd_pcm1 {
1044 compatible = "xlnx,dp-snd-pcm";
1045 dmas = <&xlnx_dpdma 5>;
1046 dma-names = "tx";
1047 };
1048
1049 zynqmp_dp_snd_card0: zynqmp_dp_snd_card {
1050 compatible = "xlnx,dp-snd-card";
1051 xlnx,dp-snd-pcm = <&zynqmp_dp_snd_pcm0>,
1052 <&zynqmp_dp_snd_pcm1>;
1053 xlnx,dp-snd-codec = <&zynqmp_dp_snd_codec0>;
1054 };
1055 };
Michal Simek44303df2015-10-30 15:39:18 +01001056 };
1057};