blob: aa0ac95e122eaf1bfbc647880257c704922ff646 [file] [log] [blame]
Michal Simek090a2d72018-03-27 10:36:39 +02001// SPDX-License-Identifier: GPL-2.0+
Michal Simek54b896f2015-10-30 15:39:18 +01002/*
3 * dts file for Xilinx ZynqMP
4 *
Michal Simek4f1b7f62020-02-18 08:38:06 +01005 * (C) Copyright 2014 - 2020, Xilinx, Inc.
Michal Simek54b896f2015-10-30 15:39:18 +01006 *
7 * Michal Simek <michal.simek@xilinx.com>
8 *
Michal Simek090a2d72018-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 Simek54b896f2015-10-30 15:39:18 +010013 */
Michal Simek0c365702016-12-16 13:12:48 +010014
Michal Simek7c001dc2019-10-14 15:56:31 +020015#include <dt-bindings/power/xlnx-zynqmp-power.h>
Michal Simeka898c332019-10-14 15:55:53 +020016#include <dt-bindings/reset/xlnx-zynqmp-resets.h>
17
Michal Simek54b896f2015-10-30 15:39:18 +010018/ {
19 compatible = "xlnx,zynqmp";
20 #address-cells = <2>;
Michal Simekd171c752016-04-07 15:07:38 +020021 #size-cells = <2>;
Michal Simek54b896f2015-10-30 15:39:18 +010022
23 cpus {
24 #address-cells = <1>;
25 #size-cells = <0>;
26
Michal Simek28663032017-02-06 10:09:53 +010027 cpu0: cpu@0 {
Rob Herringff9eb352019-01-14 11:45:33 -060028 compatible = "arm,cortex-a53";
Michal Simek54b896f2015-10-30 15:39:18 +010029 device_type = "cpu";
30 enable-method = "psci";
Shubhrajyoti Dattaec9c6c82017-02-13 15:58:55 +053031 operating-points-v2 = <&cpu_opp_table>;
Michal Simek54b896f2015-10-30 15:39:18 +010032 reg = <0x0>;
Stefan Krsmanovic8e16a6e2016-10-21 12:44:56 +020033 cpu-idle-states = <&CPU_SLEEP_0>;
Michal Simek54b896f2015-10-30 15:39:18 +010034 };
35
Michal Simek28663032017-02-06 10:09:53 +010036 cpu1: cpu@1 {
Rob Herringff9eb352019-01-14 11:45:33 -060037 compatible = "arm,cortex-a53";
Michal Simek54b896f2015-10-30 15:39:18 +010038 device_type = "cpu";
39 enable-method = "psci";
40 reg = <0x1>;
Shubhrajyoti Dattaec9c6c82017-02-13 15:58:55 +053041 operating-points-v2 = <&cpu_opp_table>;
Stefan Krsmanovic8e16a6e2016-10-21 12:44:56 +020042 cpu-idle-states = <&CPU_SLEEP_0>;
Michal Simek54b896f2015-10-30 15:39:18 +010043 };
44
Michal Simek28663032017-02-06 10:09:53 +010045 cpu2: cpu@2 {
Rob Herringff9eb352019-01-14 11:45:33 -060046 compatible = "arm,cortex-a53";
Michal Simek54b896f2015-10-30 15:39:18 +010047 device_type = "cpu";
48 enable-method = "psci";
49 reg = <0x2>;
Shubhrajyoti Dattaec9c6c82017-02-13 15:58:55 +053050 operating-points-v2 = <&cpu_opp_table>;
Stefan Krsmanovic8e16a6e2016-10-21 12:44:56 +020051 cpu-idle-states = <&CPU_SLEEP_0>;
Michal Simek54b896f2015-10-30 15:39:18 +010052 };
53
Michal Simek28663032017-02-06 10:09:53 +010054 cpu3: cpu@3 {
Rob Herringff9eb352019-01-14 11:45:33 -060055 compatible = "arm,cortex-a53";
Michal Simek54b896f2015-10-30 15:39:18 +010056 device_type = "cpu";
57 enable-method = "psci";
58 reg = <0x3>;
Shubhrajyoti Dattaec9c6c82017-02-13 15:58:55 +053059 operating-points-v2 = <&cpu_opp_table>;
Stefan Krsmanovic8e16a6e2016-10-21 12:44:56 +020060 cpu-idle-states = <&CPU_SLEEP_0>;
61 };
62
63 idle-states {
Amit Kucheriaefa69732018-08-23 14:23:29 +053064 entry-method = "psci";
Stefan Krsmanovic8e16a6e2016-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 Shah5a5d5b32017-06-14 15:03:52 -070072 min-residency-us = <10000>;
Stefan Krsmanovic8e16a6e2016-10-21 12:44:56 +020073 };
Michal Simek54b896f2015-10-30 15:39:18 +010074 };
75 };
76
Michal Simek2ef53362018-11-08 10:06:53 +010077 cpu_opp_table: cpu-opp-table {
Shubhrajyoti Dattaec9c6c82017-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 Erkiaga1c79e1e2019-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 Simek26cbd922020-09-29 13:43:22 +0200118 reg-names = "local_request_region",
119 "local_response_region",
120 "remote_request_region",
121 "remote_response_region";
Ibai Erkiaga1c79e1e2019-09-27 11:36:58 +0100122 #mbox-cells = <1>;
123 xlnx,ipi-id = <4>;
124 };
125 };
126
Michal Simekde29d542016-09-09 08:46:39 +0200127 dcc: dcc {
128 compatible = "arm,dcc";
129 status = "disabled";
130 u-boot,dm-pre-reloc;
131 };
132
Michal Simek54b896f2015-10-30 15:39:18 +0100133 pmu {
134 compatible = "arm,armv8-pmuv3";
Michal Simek86e6eee2016-04-07 15:28:33 +0200135 interrupt-parent = <&gic>;
Michal Simek54b896f2015-10-30 15:39:18 +0100136 interrupts = <0 143 4>,
137 <0 144 4>,
138 <0 145 4>,
139 <0 146 4>;
140 };
141
142 psci {
143 compatible = "arm,psci-0.2";
144 method = "smc";
145 };
146
Ibai Erkiaga1c79e1e2019-09-27 11:36:58 +0100147 firmware {
Michal Simekebddf492019-10-14 15:42:03 +0200148 zynqmp_firmware: zynqmp-firmware {
Ibai Erkiaga1c79e1e2019-09-27 11:36:58 +0100149 compatible = "xlnx,zynqmp-firmware";
Michal Simek26cbd922020-09-29 13:43:22 +0200150 #power-domain-cells = <1>;
Ibai Erkiaga1c79e1e2019-09-27 11:36:58 +0100151 method = "smc";
Ibai Erkiaga1c79e1e2019-09-27 11:36:58 +0100152 u-boot,dm-pre-reloc;
153
154 zynqmp_power: zynqmp-power {
155 u-boot,dm-pre-reloc;
156 compatible = "xlnx,zynqmp-power";
157 interrupt-parent = <&gic>;
158 interrupts = <0 35 4>;
159 mboxes = <&ipi_mailbox_pmu1 0>, <&ipi_mailbox_pmu1 1>;
160 mbox-names = "tx", "rx";
161 };
Michal Simeka898c332019-10-14 15:55:53 +0200162
Michal Simek26cbd922020-09-29 13:43:22 +0200163 zynqmp_pcap: pcap {
164 compatible = "xlnx,zynqmp-pcap-fpga";
165 clock-names = "ref_clk";
166 };
167
Michal Simeka898c332019-10-14 15:55:53 +0200168 zynqmp_reset: reset-controller {
169 compatible = "xlnx,zynqmp-reset";
170 #reset-cells = <1>;
171 };
Michal Simekaa8206e2020-02-18 13:04:06 +0100172
173 pinctrl0: pinctrl {
174 compatible = "xlnx,zynqmp-pinctrl";
175 status = "disabled";
176 };
Ibai Erkiaga1c79e1e2019-09-27 11:36:58 +0100177 };
Michal Simek54b896f2015-10-30 15:39:18 +0100178 };
179
180 timer {
181 compatible = "arm,armv8-timer";
182 interrupt-parent = <&gic>;
Michal Simek2155a602017-02-09 14:45:12 +0100183 interrupts = <1 13 0xf08>,
184 <1 14 0xf08>,
185 <1 11 0xf08>,
186 <1 10 0xf08>;
Michal Simek54b896f2015-10-30 15:39:18 +0100187 };
188
Naga Sureshkumar Relli1931f212016-06-20 15:48:30 +0530189 edac {
190 compatible = "arm,cortex-a53-edac";
191 };
192
Nava kishore Mannea1763ba2017-05-22 12:05:17 +0530193 fpga_full: fpga-full {
194 compatible = "fpga-region";
Nava kishore Manne042ae5e2019-10-18 18:07:32 +0200195 fpga-mgr = <&zynqmp_pcap>;
Nava kishore Mannea1763ba2017-05-22 12:05:17 +0530196 #address-cells = <2>;
197 #size-cells = <2>;
Nava kishore Manne042ae5e2019-10-18 18:07:32 +0200198 ranges;
Nava kishore Mannea1763ba2017-05-22 12:05:17 +0530199 };
200
Nava kishore Manne59dc8ce2017-01-17 16:57:24 +0530201 nvmem_firmware {
202 compatible = "xlnx,zynqmp-nvmem-fw";
203 #address-cells = <1>;
204 #size-cells = <1>;
205
206 soc_revision: soc_revision@0 {
207 reg = <0x0 0x4>;
208 };
209 };
210
Michal Simek26cbd922020-09-29 13:43:22 +0200211 amba: axi {
Michal Simek54b896f2015-10-30 15:39:18 +0100212 compatible = "simple-bus";
Michal Simekba087532016-02-22 09:57:27 +0100213 u-boot,dm-pre-reloc;
Michal Simek54b896f2015-10-30 15:39:18 +0100214 #address-cells = <2>;
Michal Simek72b562a2016-02-11 07:19:06 +0100215 #size-cells = <2>;
216 ranges;
Michal Simek54b896f2015-10-30 15:39:18 +0100217
218 can0: can@ff060000 {
219 compatible = "xlnx,zynq-can-1.0";
220 status = "disabled";
221 clock-names = "can_clk", "pclk";
Michal Simek72b562a2016-02-11 07:19:06 +0100222 reg = <0x0 0xff060000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100223 interrupts = <0 23 4>;
224 interrupt-parent = <&gic>;
225 tx-fifo-depth = <0x40>;
226 rx-fifo-depth = <0x40>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200227 power-domains = <&zynqmp_firmware PD_CAN_0>;
Michal Simek54b896f2015-10-30 15:39:18 +0100228 };
229
230 can1: can@ff070000 {
231 compatible = "xlnx,zynq-can-1.0";
232 status = "disabled";
233 clock-names = "can_clk", "pclk";
Michal Simek72b562a2016-02-11 07:19:06 +0100234 reg = <0x0 0xff070000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100235 interrupts = <0 24 4>;
236 interrupt-parent = <&gic>;
237 tx-fifo-depth = <0x40>;
238 rx-fifo-depth = <0x40>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200239 power-domains = <&zynqmp_firmware PD_CAN_1>;
Michal Simek54b896f2015-10-30 15:39:18 +0100240 };
241
Michal Simekb197dd42015-11-26 11:21:25 +0100242 cci: cci@fd6e0000 {
243 compatible = "arm,cci-400";
Michal Simek72b562a2016-02-11 07:19:06 +0100244 reg = <0x0 0xfd6e0000 0x0 0x9000>;
Michal Simekb197dd42015-11-26 11:21:25 +0100245 ranges = <0x0 0x0 0xfd6e0000 0x10000>;
246 #address-cells = <1>;
247 #size-cells = <1>;
248
249 pmu@9000 {
250 compatible = "arm,cci-400-pmu,r1";
251 reg = <0x9000 0x5000>;
252 interrupt-parent = <&gic>;
253 interrupts = <0 123 4>,
254 <0 123 4>,
255 <0 123 4>,
256 <0 123 4>,
257 <0 123 4>;
258 };
259 };
260
Michal Simek54b896f2015-10-30 15:39:18 +0100261 /* GDMA */
262 fpd_dma_chan1: dma@fd500000 {
263 status = "disabled";
264 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simek72b562a2016-02-11 07:19:06 +0100265 reg = <0x0 0xfd500000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100266 interrupt-parent = <&gic>;
267 interrupts = <0 124 4>;
VNSL Durga7b3cb892016-03-24 22:45:12 +0530268 clock-names = "clk_main", "clk_apb";
Michal Simek54b896f2015-10-30 15:39:18 +0100269 xlnx,bus-width = <128>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200270 #stream-id-cells = <1>;
271 iommus = <&smmu 0x14e8>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200272 power-domains = <&zynqmp_firmware PD_GDMA>;
Michal Simek54b896f2015-10-30 15:39:18 +0100273 };
274
275 fpd_dma_chan2: dma@fd510000 {
276 status = "disabled";
277 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simek72b562a2016-02-11 07:19:06 +0100278 reg = <0x0 0xfd510000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100279 interrupt-parent = <&gic>;
280 interrupts = <0 125 4>;
VNSL Durga7b3cb892016-03-24 22:45:12 +0530281 clock-names = "clk_main", "clk_apb";
Michal Simek54b896f2015-10-30 15:39:18 +0100282 xlnx,bus-width = <128>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200283 #stream-id-cells = <1>;
284 iommus = <&smmu 0x14e9>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200285 power-domains = <&zynqmp_firmware PD_GDMA>;
Michal Simek54b896f2015-10-30 15:39:18 +0100286 };
287
288 fpd_dma_chan3: dma@fd520000 {
289 status = "disabled";
290 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simek72b562a2016-02-11 07:19:06 +0100291 reg = <0x0 0xfd520000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100292 interrupt-parent = <&gic>;
293 interrupts = <0 126 4>;
VNSL Durga7b3cb892016-03-24 22:45:12 +0530294 clock-names = "clk_main", "clk_apb";
Michal Simek54b896f2015-10-30 15:39:18 +0100295 xlnx,bus-width = <128>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200296 #stream-id-cells = <1>;
297 iommus = <&smmu 0x14ea>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200298 power-domains = <&zynqmp_firmware PD_GDMA>;
Michal Simek54b896f2015-10-30 15:39:18 +0100299 };
300
301 fpd_dma_chan4: dma@fd530000 {
302 status = "disabled";
303 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simek72b562a2016-02-11 07:19:06 +0100304 reg = <0x0 0xfd530000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100305 interrupt-parent = <&gic>;
306 interrupts = <0 127 4>;
VNSL Durga7b3cb892016-03-24 22:45:12 +0530307 clock-names = "clk_main", "clk_apb";
Michal Simek54b896f2015-10-30 15:39:18 +0100308 xlnx,bus-width = <128>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200309 #stream-id-cells = <1>;
310 iommus = <&smmu 0x14eb>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200311 power-domains = <&zynqmp_firmware PD_GDMA>;
Michal Simek54b896f2015-10-30 15:39:18 +0100312 };
313
314 fpd_dma_chan5: dma@fd540000 {
315 status = "disabled";
316 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simek72b562a2016-02-11 07:19:06 +0100317 reg = <0x0 0xfd540000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100318 interrupt-parent = <&gic>;
319 interrupts = <0 128 4>;
VNSL Durga7b3cb892016-03-24 22:45:12 +0530320 clock-names = "clk_main", "clk_apb";
Michal Simek54b896f2015-10-30 15:39:18 +0100321 xlnx,bus-width = <128>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200322 #stream-id-cells = <1>;
323 iommus = <&smmu 0x14ec>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200324 power-domains = <&zynqmp_firmware PD_GDMA>;
Michal Simek54b896f2015-10-30 15:39:18 +0100325 };
326
327 fpd_dma_chan6: dma@fd550000 {
328 status = "disabled";
329 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simek72b562a2016-02-11 07:19:06 +0100330 reg = <0x0 0xfd550000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100331 interrupt-parent = <&gic>;
332 interrupts = <0 129 4>;
VNSL Durga7b3cb892016-03-24 22:45:12 +0530333 clock-names = "clk_main", "clk_apb";
Michal Simek54b896f2015-10-30 15:39:18 +0100334 xlnx,bus-width = <128>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200335 #stream-id-cells = <1>;
336 iommus = <&smmu 0x14ed>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200337 power-domains = <&zynqmp_firmware PD_GDMA>;
Michal Simek54b896f2015-10-30 15:39:18 +0100338 };
339
340 fpd_dma_chan7: dma@fd560000 {
341 status = "disabled";
342 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simek72b562a2016-02-11 07:19:06 +0100343 reg = <0x0 0xfd560000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100344 interrupt-parent = <&gic>;
345 interrupts = <0 130 4>;
VNSL Durga7b3cb892016-03-24 22:45:12 +0530346 clock-names = "clk_main", "clk_apb";
Michal Simek54b896f2015-10-30 15:39:18 +0100347 xlnx,bus-width = <128>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200348 #stream-id-cells = <1>;
349 iommus = <&smmu 0x14ee>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200350 power-domains = <&zynqmp_firmware PD_GDMA>;
Michal Simek54b896f2015-10-30 15:39:18 +0100351 };
352
353 fpd_dma_chan8: dma@fd570000 {
354 status = "disabled";
355 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simek72b562a2016-02-11 07:19:06 +0100356 reg = <0x0 0xfd570000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100357 interrupt-parent = <&gic>;
358 interrupts = <0 131 4>;
VNSL Durga7b3cb892016-03-24 22:45:12 +0530359 clock-names = "clk_main", "clk_apb";
Michal Simek54b896f2015-10-30 15:39:18 +0100360 xlnx,bus-width = <128>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200361 #stream-id-cells = <1>;
362 iommus = <&smmu 0x14ef>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200363 power-domains = <&zynqmp_firmware PD_GDMA>;
Michal Simek54b896f2015-10-30 15:39:18 +0100364 };
365
Michal Simek26cbd922020-09-29 13:43:22 +0200366 gic: interrupt-controller@f9010000 {
367 compatible = "arm,gic-400";
368 #interrupt-cells = <3>;
369 reg = <0x0 0xf9010000 0x0 0x10000>,
370 <0x0 0xf9020000 0x0 0x20000>,
371 <0x0 0xf9040000 0x0 0x20000>,
372 <0x0 0xf9060000 0x0 0x20000>;
373 interrupt-controller;
374 interrupt-parent = <&gic>;
375 interrupts = <1 9 0xf04>;
376 };
377
Michal Simek54b896f2015-10-30 15:39:18 +0100378 gpu: gpu@fd4b0000 {
379 status = "disabled";
380 compatible = "arm,mali-400", "arm,mali-utgard";
Hyun Kwon991faf72017-08-21 18:54:29 -0700381 reg = <0x0 0xfd4b0000 0x0 0x10000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100382 interrupt-parent = <&gic>;
383 interrupts = <0 132 4>, <0 132 4>, <0 132 4>, <0 132 4>, <0 132 4>, <0 132 4>;
384 interrupt-names = "IRQGP", "IRQGPMMU", "IRQPP0", "IRQPPMMU0", "IRQPP1", "IRQPPMMU1";
Madhurkiran Harikrishnan69819bd2017-02-17 04:14:45 -0800385 clock-names = "gpu", "gpu_pp0", "gpu_pp1";
Michal Simek7c001dc2019-10-14 15:56:31 +0200386 power-domains = <&zynqmp_firmware PD_GPU>;
Michal Simek54b896f2015-10-30 15:39:18 +0100387 };
388
Kedareswara rao Appanaae9342f2016-09-09 12:36:01 +0530389 /* LPDDMA default allows only secured access. inorder to enable
390 * These dma channels, Users should ensure that these dma
391 * Channels are allowed for non secure access.
392 */
Michal Simek54b896f2015-10-30 15:39:18 +0100393 lpd_dma_chan1: dma@ffa80000 {
394 status = "disabled";
395 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simek72b562a2016-02-11 07:19:06 +0100396 reg = <0x0 0xffa80000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100397 interrupt-parent = <&gic>;
398 interrupts = <0 77 4>;
Michal Simek91ab8252018-01-17 16:32:33 +0100399 clock-names = "clk_main", "clk_apb";
Michal Simek54b896f2015-10-30 15:39:18 +0100400 xlnx,bus-width = <64>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200401 #stream-id-cells = <1>;
402 iommus = <&smmu 0x868>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200403 power-domains = <&zynqmp_firmware PD_ADMA>;
Michal Simek54b896f2015-10-30 15:39:18 +0100404 };
405
406 lpd_dma_chan2: dma@ffa90000 {
407 status = "disabled";
408 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simek72b562a2016-02-11 07:19:06 +0100409 reg = <0x0 0xffa90000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100410 interrupt-parent = <&gic>;
411 interrupts = <0 78 4>;
Michal Simek91ab8252018-01-17 16:32:33 +0100412 clock-names = "clk_main", "clk_apb";
Michal Simek54b896f2015-10-30 15:39:18 +0100413 xlnx,bus-width = <64>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200414 #stream-id-cells = <1>;
415 iommus = <&smmu 0x869>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200416 power-domains = <&zynqmp_firmware PD_ADMA>;
Michal Simek54b896f2015-10-30 15:39:18 +0100417 };
418
419 lpd_dma_chan3: dma@ffaa0000 {
420 status = "disabled";
421 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simek72b562a2016-02-11 07:19:06 +0100422 reg = <0x0 0xffaa0000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100423 interrupt-parent = <&gic>;
424 interrupts = <0 79 4>;
Michal Simek91ab8252018-01-17 16:32:33 +0100425 clock-names = "clk_main", "clk_apb";
Michal Simek54b896f2015-10-30 15:39:18 +0100426 xlnx,bus-width = <64>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200427 #stream-id-cells = <1>;
428 iommus = <&smmu 0x86a>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200429 power-domains = <&zynqmp_firmware PD_ADMA>;
Michal Simek54b896f2015-10-30 15:39:18 +0100430 };
431
432 lpd_dma_chan4: dma@ffab0000 {
433 status = "disabled";
434 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simek72b562a2016-02-11 07:19:06 +0100435 reg = <0x0 0xffab0000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100436 interrupt-parent = <&gic>;
437 interrupts = <0 80 4>;
Michal Simek91ab8252018-01-17 16:32:33 +0100438 clock-names = "clk_main", "clk_apb";
Michal Simek54b896f2015-10-30 15:39:18 +0100439 xlnx,bus-width = <64>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200440 #stream-id-cells = <1>;
441 iommus = <&smmu 0x86b>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200442 power-domains = <&zynqmp_firmware PD_ADMA>;
Michal Simek54b896f2015-10-30 15:39:18 +0100443 };
444
445 lpd_dma_chan5: dma@ffac0000 {
446 status = "disabled";
447 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simek72b562a2016-02-11 07:19:06 +0100448 reg = <0x0 0xffac0000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100449 interrupt-parent = <&gic>;
450 interrupts = <0 81 4>;
Michal Simek91ab8252018-01-17 16:32:33 +0100451 clock-names = "clk_main", "clk_apb";
Michal Simek54b896f2015-10-30 15:39:18 +0100452 xlnx,bus-width = <64>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200453 #stream-id-cells = <1>;
454 iommus = <&smmu 0x86c>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200455 power-domains = <&zynqmp_firmware PD_ADMA>;
Michal Simek54b896f2015-10-30 15:39:18 +0100456 };
457
458 lpd_dma_chan6: dma@ffad0000 {
459 status = "disabled";
460 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simek72b562a2016-02-11 07:19:06 +0100461 reg = <0x0 0xffad0000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100462 interrupt-parent = <&gic>;
463 interrupts = <0 82 4>;
Michal Simek91ab8252018-01-17 16:32:33 +0100464 clock-names = "clk_main", "clk_apb";
Michal Simek54b896f2015-10-30 15:39:18 +0100465 xlnx,bus-width = <64>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200466 #stream-id-cells = <1>;
467 iommus = <&smmu 0x86d>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200468 power-domains = <&zynqmp_firmware PD_ADMA>;
Michal Simek54b896f2015-10-30 15:39:18 +0100469 };
470
471 lpd_dma_chan7: dma@ffae0000 {
472 status = "disabled";
473 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simek72b562a2016-02-11 07:19:06 +0100474 reg = <0x0 0xffae0000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100475 interrupt-parent = <&gic>;
476 interrupts = <0 83 4>;
Michal Simek91ab8252018-01-17 16:32:33 +0100477 clock-names = "clk_main", "clk_apb";
Michal Simek54b896f2015-10-30 15:39:18 +0100478 xlnx,bus-width = <64>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200479 #stream-id-cells = <1>;
480 iommus = <&smmu 0x86e>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200481 power-domains = <&zynqmp_firmware PD_ADMA>;
Michal Simek54b896f2015-10-30 15:39:18 +0100482 };
483
484 lpd_dma_chan8: dma@ffaf0000 {
485 status = "disabled";
486 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simek72b562a2016-02-11 07:19:06 +0100487 reg = <0x0 0xffaf0000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100488 interrupt-parent = <&gic>;
489 interrupts = <0 84 4>;
Michal Simek91ab8252018-01-17 16:32:33 +0100490 clock-names = "clk_main", "clk_apb";
Michal Simek54b896f2015-10-30 15:39:18 +0100491 xlnx,bus-width = <64>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200492 #stream-id-cells = <1>;
493 iommus = <&smmu 0x86f>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200494 power-domains = <&zynqmp_firmware PD_ADMA>;
Michal Simek54b896f2015-10-30 15:39:18 +0100495 };
496
Naga Sureshkumar Rellide96a3e2016-03-11 13:10:26 +0530497 mc: memory-controller@fd070000 {
498 compatible = "xlnx,zynqmp-ddrc-2.40a";
Michal Simek72b562a2016-02-11 07:19:06 +0100499 reg = <0x0 0xfd070000 0x0 0x30000>;
Naga Sureshkumar Rellide96a3e2016-03-11 13:10:26 +0530500 interrupt-parent = <&gic>;
501 interrupts = <0 112 4>;
502 };
503
Michal Simek54b896f2015-10-30 15:39:18 +0100504 nand0: nand@ff100000 {
505 compatible = "arasan,nfc-v3p10";
506 status = "disabled";
Michal Simek72b562a2016-02-11 07:19:06 +0100507 reg = <0x0 0xff100000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100508 clock-names = "clk_sys", "clk_flash";
509 interrupt-parent = <&gic>;
510 interrupts = <0 14 4>;
Naga Sureshkumar Rellie007a352017-01-23 16:20:37 +0530511 #address-cells = <1>;
512 #size-cells = <0>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200513 #stream-id-cells = <1>;
514 iommus = <&smmu 0x872>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200515 power-domains = <&zynqmp_firmware PD_NAND>;
Michal Simek54b896f2015-10-30 15:39:18 +0100516 };
517
518 gem0: ethernet@ff0b0000 {
Michal Simek9178d292018-03-27 12:53:37 +0200519 compatible = "cdns,zynqmp-gem", "cdns,gem";
Michal Simek54b896f2015-10-30 15:39:18 +0100520 status = "disabled";
521 interrupt-parent = <&gic>;
522 interrupts = <0 57 4>, <0 57 4>;
Michal Simek72b562a2016-02-11 07:19:06 +0100523 reg = <0x0 0xff0b0000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100524 clock-names = "pclk", "hclk", "tx_clk";
525 #address-cells = <1>;
526 #size-cells = <0>;
Edgar E. Iglesiasfde098f2015-11-26 14:12:20 +0100527 #stream-id-cells = <1>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200528 iommus = <&smmu 0x874>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200529 power-domains = <&zynqmp_firmware PD_ETH_0>;
Michal Simek54b896f2015-10-30 15:39:18 +0100530 };
531
532 gem1: ethernet@ff0c0000 {
Michal Simek9178d292018-03-27 12:53:37 +0200533 compatible = "cdns,zynqmp-gem", "cdns,gem";
Michal Simek54b896f2015-10-30 15:39:18 +0100534 status = "disabled";
535 interrupt-parent = <&gic>;
536 interrupts = <0 59 4>, <0 59 4>;
Michal Simek72b562a2016-02-11 07:19:06 +0100537 reg = <0x0 0xff0c0000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100538 clock-names = "pclk", "hclk", "tx_clk";
539 #address-cells = <1>;
540 #size-cells = <0>;
Edgar E. Iglesiasfde098f2015-11-26 14:12:20 +0100541 #stream-id-cells = <1>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200542 iommus = <&smmu 0x875>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200543 power-domains = <&zynqmp_firmware PD_ETH_1>;
Michal Simek54b896f2015-10-30 15:39:18 +0100544 };
545
546 gem2: ethernet@ff0d0000 {
Michal Simek9178d292018-03-27 12:53:37 +0200547 compatible = "cdns,zynqmp-gem", "cdns,gem";
Michal Simek54b896f2015-10-30 15:39:18 +0100548 status = "disabled";
549 interrupt-parent = <&gic>;
550 interrupts = <0 61 4>, <0 61 4>;
Michal Simek72b562a2016-02-11 07:19:06 +0100551 reg = <0x0 0xff0d0000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100552 clock-names = "pclk", "hclk", "tx_clk";
553 #address-cells = <1>;
554 #size-cells = <0>;
Edgar E. Iglesiasfde098f2015-11-26 14:12:20 +0100555 #stream-id-cells = <1>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200556 iommus = <&smmu 0x876>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200557 power-domains = <&zynqmp_firmware PD_ETH_2>;
Michal Simek54b896f2015-10-30 15:39:18 +0100558 };
559
560 gem3: ethernet@ff0e0000 {
Michal Simek9178d292018-03-27 12:53:37 +0200561 compatible = "cdns,zynqmp-gem", "cdns,gem";
Michal Simek54b896f2015-10-30 15:39:18 +0100562 status = "disabled";
563 interrupt-parent = <&gic>;
564 interrupts = <0 63 4>, <0 63 4>;
Michal Simek72b562a2016-02-11 07:19:06 +0100565 reg = <0x0 0xff0e0000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100566 clock-names = "pclk", "hclk", "tx_clk";
567 #address-cells = <1>;
568 #size-cells = <0>;
Edgar E. Iglesiasfde098f2015-11-26 14:12:20 +0100569 #stream-id-cells = <1>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200570 iommus = <&smmu 0x877>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200571 power-domains = <&zynqmp_firmware PD_ETH_3>;
Michal Simek54b896f2015-10-30 15:39:18 +0100572 };
573
574 gpio: gpio@ff0a0000 {
575 compatible = "xlnx,zynqmp-gpio-1.0";
576 status = "disabled";
577 #gpio-cells = <0x2>;
Michal Simek3d5f0f62020-01-09 13:10:59 +0100578 gpio-controller;
Michal Simek54b896f2015-10-30 15:39:18 +0100579 interrupt-parent = <&gic>;
580 interrupts = <0 16 4>;
Michal Simek7e2df452016-10-20 10:26:13 +0200581 interrupt-controller;
582 #interrupt-cells = <2>;
Michal Simek72b562a2016-02-11 07:19:06 +0100583 reg = <0x0 0xff0a0000 0x0 0x1000>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200584 power-domains = <&zynqmp_firmware PD_GPIO>;
Michal Simek54b896f2015-10-30 15:39:18 +0100585 };
586
587 i2c0: i2c@ff020000 {
Michal Simek26cbd922020-09-29 13:43:22 +0200588 compatible = "cdns,i2c-r1p14";
Michal Simek54b896f2015-10-30 15:39:18 +0100589 status = "disabled";
590 interrupt-parent = <&gic>;
591 interrupts = <0 17 4>;
Michal Simek72b562a2016-02-11 07:19:06 +0100592 reg = <0x0 0xff020000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100593 #address-cells = <1>;
594 #size-cells = <0>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200595 power-domains = <&zynqmp_firmware PD_I2C_0>;
Michal Simek54b896f2015-10-30 15:39:18 +0100596 };
597
598 i2c1: i2c@ff030000 {
Michal Simek26cbd922020-09-29 13:43:22 +0200599 compatible = "cdns,i2c-r1p14";
Michal Simek54b896f2015-10-30 15:39:18 +0100600 status = "disabled";
601 interrupt-parent = <&gic>;
602 interrupts = <0 18 4>;
Michal Simek72b562a2016-02-11 07:19:06 +0100603 reg = <0x0 0xff030000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100604 #address-cells = <1>;
605 #size-cells = <0>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200606 power-domains = <&zynqmp_firmware PD_I2C_1>;
Michal Simek54b896f2015-10-30 15:39:18 +0100607 };
608
Naga Sureshkumar Relli104b4fc2016-05-18 12:23:13 +0530609 ocm: memory-controller@ff960000 {
610 compatible = "xlnx,zynqmp-ocmc-1.0";
Michal Simek72b562a2016-02-11 07:19:06 +0100611 reg = <0x0 0xff960000 0x0 0x1000>;
Naga Sureshkumar Relli104b4fc2016-05-18 12:23:13 +0530612 interrupt-parent = <&gic>;
613 interrupts = <0 10 4>;
614 };
615
Michal Simek54b896f2015-10-30 15:39:18 +0100616 pcie: pcie@fd0e0000 {
617 compatible = "xlnx,nwl-pcie-2.11";
618 status = "disabled";
619 #address-cells = <3>;
620 #size-cells = <2>;
621 #interrupt-cells = <1>;
Bharat Kumar Gogadae44f69d2016-07-19 20:49:29 +0530622 msi-controller;
Michal Simek54b896f2015-10-30 15:39:18 +0100623 device_type = "pci";
624 interrupt-parent = <&gic>;
Michal Simekf9fda432016-01-20 12:59:23 +0100625 interrupts = <0 118 4>,
Bharat Kumar Gogadae44f69d2016-07-19 20:49:29 +0530626 <0 117 4>,
Michal Simekf9fda432016-01-20 12:59:23 +0100627 <0 116 4>,
628 <0 115 4>, /* MSI_1 [63...32] */
629 <0 114 4>; /* MSI_0 [31...0] */
Michal Simek91ab8252018-01-17 16:32:33 +0100630 interrupt-names = "misc", "dummy", "intx",
631 "msi1", "msi0";
Bharat Kumar Gogadae44f69d2016-07-19 20:49:29 +0530632 msi-parent = <&pcie>;
Michal Simek72b562a2016-02-11 07:19:06 +0100633 reg = <0x0 0xfd0e0000 0x0 0x1000>,
634 <0x0 0xfd480000 0x0 0x1000>,
Bharat Kumar Gogadae829f072016-08-02 20:34:13 +0530635 <0x80 0x00000000 0x0 0x1000000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100636 reg-names = "breg", "pcireg", "cfg";
Michal Simek26cbd922020-09-29 13:43:22 +0200637 ranges = <0x02000000 0x00000000 0xe0000000 0x00000000 0xe0000000 0x00000000 0x10000000>,/* non-prefetchable memory */
638 <0x43000000 0x00000006 0x00000000 0x00000006 0x00000000 0x00000002 0x00000000>;/* prefetchable memory */
Rob Herring1559f562017-03-21 21:03:13 -0500639 bus-range = <0x00 0xff>;
Bharat Kumar Gogadaf6e02b32016-02-15 21:18:58 +0530640 interrupt-map-mask = <0x0 0x0 0x0 0x7>;
641 interrupt-map = <0x0 0x0 0x0 0x1 &pcie_intc 0x1>,
642 <0x0 0x0 0x0 0x2 &pcie_intc 0x2>,
643 <0x0 0x0 0x0 0x3 &pcie_intc 0x3>,
644 <0x0 0x0 0x0 0x4 &pcie_intc 0x4>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200645 power-domains = <&zynqmp_firmware PD_PCIE>;
Bharat Kumar Gogadaf6e02b32016-02-15 21:18:58 +0530646 pcie_intc: legacy-interrupt-controller {
647 interrupt-controller;
648 #address-cells = <0>;
649 #interrupt-cells = <1>;
650 };
Michal Simek54b896f2015-10-30 15:39:18 +0100651 };
652
653 qspi: spi@ff0f0000 {
Michal Simek933b6f72017-01-16 12:07:33 +0100654 u-boot,dm-pre-reloc;
Michal Simek54b896f2015-10-30 15:39:18 +0100655 compatible = "xlnx,zynqmp-qspi-1.0";
656 status = "disabled";
657 clock-names = "ref_clk", "pclk";
658 interrupts = <0 15 4>;
659 interrupt-parent = <&gic>;
660 num-cs = <1>;
Michal Simek72b562a2016-02-11 07:19:06 +0100661 reg = <0x0 0xff0f0000 0x0 0x1000>,
662 <0x0 0xc0000000 0x0 0x8000000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100663 #address-cells = <1>;
664 #size-cells = <0>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200665 #stream-id-cells = <1>;
666 iommus = <&smmu 0x873>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200667 power-domains = <&zynqmp_firmware PD_QSPI>;
Michal Simek54b896f2015-10-30 15:39:18 +0100668 };
669
670 rtc: rtc@ffa60000 {
671 compatible = "xlnx,zynqmp-rtc";
672 status = "disabled";
Michal Simek72b562a2016-02-11 07:19:06 +0100673 reg = <0x0 0xffa60000 0x0 0x100>;
Michal Simek54b896f2015-10-30 15:39:18 +0100674 interrupt-parent = <&gic>;
675 interrupts = <0 26 4>, <0 27 4>;
676 interrupt-names = "alarm", "sec";
Nava kishore Mannefaa728f2017-01-27 18:20:14 +0530677 calibration = <0x8000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100678 };
679
Anurag Kumar Vulisha2d112502016-05-17 16:49:01 +0530680 serdes: zynqmp_phy@fd400000 {
681 compatible = "xlnx,zynqmp-psgtr";
682 status = "disabled";
Michal Simek72b562a2016-02-11 07:19:06 +0100683 reg = <0x0 0xfd400000 0x0 0x40000>,
684 <0x0 0xfd3d0000 0x0 0x1000>,
Michal Simek72b562a2016-02-11 07:19:06 +0100685 <0x0 0xff5e0000 0x0 0x1000>;
Anurag Kumar Vulisha66ee0d22017-02-08 17:09:10 +0530686 reg-names = "serdes", "siou", "lpd";
Michal Simekc79738d2017-01-17 14:36:54 +0100687 nvmem-cells = <&soc_revision>;
688 nvmem-cell-names = "soc_revision";
Michal Simeka898c332019-10-14 15:55:53 +0200689 resets = <&zynqmp_reset ZYNQMP_RESET_SATA>,
690 <&zynqmp_reset ZYNQMP_RESET_USB0_CORERESET>,
691 <&zynqmp_reset ZYNQMP_RESET_USB1_CORERESET>,
692 <&zynqmp_reset ZYNQMP_RESET_USB0_HIBERRESET>,
693 <&zynqmp_reset ZYNQMP_RESET_USB1_HIBERRESET>,
694 <&zynqmp_reset ZYNQMP_RESET_USB0_APB>,
695 <&zynqmp_reset ZYNQMP_RESET_USB1_APB>,
696 <&zynqmp_reset ZYNQMP_RESET_DP>,
697 <&zynqmp_reset ZYNQMP_RESET_GEM0>,
698 <&zynqmp_reset ZYNQMP_RESET_GEM1>,
699 <&zynqmp_reset ZYNQMP_RESET_GEM2>,
700 <&zynqmp_reset ZYNQMP_RESET_GEM3>;
Anurag Kumar Vulisha767e9752017-02-06 21:40:34 +0530701 reset-names = "sata_rst", "usb0_crst", "usb1_crst",
702 "usb0_hibrst", "usb1_hibrst", "usb0_apbrst",
703 "usb1_apbrst", "dp_rst", "gem0_rst",
704 "gem1_rst", "gem2_rst", "gem3_rst";
Anurag Kumar Vulisha2d112502016-05-17 16:49:01 +0530705 lane0: lane0 {
706 #phy-cells = <4>;
707 };
708 lane1: lane1 {
709 #phy-cells = <4>;
710 };
711 lane2: lane2 {
712 #phy-cells = <4>;
713 };
714 lane3: lane3 {
715 #phy-cells = <4>;
716 };
717 };
718
Michal Simek54b896f2015-10-30 15:39:18 +0100719 sata: ahci@fd0c0000 {
720 compatible = "ceva,ahci-1v84";
721 status = "disabled";
Michal Simek72b562a2016-02-11 07:19:06 +0100722 reg = <0x0 0xfd0c0000 0x0 0x2000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100723 interrupt-parent = <&gic>;
724 interrupts = <0 133 4>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200725 power-domains = <&zynqmp_firmware PD_SATA>;
Anurag Kumar Vulisha4e2aaef2017-07-04 20:03:42 +0530726 #stream-id-cells = <4>;
727 iommus = <&smmu 0x4c0>, <&smmu 0x4c1>,
728 <&smmu 0x4c2>, <&smmu 0x4c3>;
729 /* dma-coherent; */
Michal Simek54b896f2015-10-30 15:39:18 +0100730 };
731
Siva Durga Prasad Paladugue91778d2019-01-03 15:44:24 +0530732 sdhci0: mmc@ff160000 {
Michal Simekba087532016-02-22 09:57:27 +0100733 u-boot,dm-pre-reloc;
Sai Krishna Potthuri02550fb2016-08-16 14:41:35 +0530734 compatible = "xlnx,zynqmp-8.9a", "arasan,sdhci-8.9a";
Michal Simek54b896f2015-10-30 15:39:18 +0100735 status = "disabled";
736 interrupt-parent = <&gic>;
737 interrupts = <0 48 4>;
Michal Simek72b562a2016-02-11 07:19:06 +0100738 reg = <0x0 0xff160000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100739 clock-names = "clk_xin", "clk_ahb";
Sai Krishna Potthuri02550fb2016-08-16 14:41:35 +0530740 xlnx,device_id = <0>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200741 #stream-id-cells = <1>;
742 iommus = <&smmu 0x870>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200743 power-domains = <&zynqmp_firmware PD_SD_0>;
Manish Narani61072012017-07-19 21:16:33 +0530744 nvmem-cells = <&soc_revision>;
745 nvmem-cell-names = "soc_revision";
Ashok Reddy Somac6e97882020-02-17 23:32:57 -0700746 #clock-cells = <1>;
747 clock-output-names = "clk_out_sd0", "clk_in_sd0";
Michal Simek54b896f2015-10-30 15:39:18 +0100748 };
749
Siva Durga Prasad Paladugue91778d2019-01-03 15:44:24 +0530750 sdhci1: mmc@ff170000 {
Michal Simekba087532016-02-22 09:57:27 +0100751 u-boot,dm-pre-reloc;
Sai Krishna Potthuri02550fb2016-08-16 14:41:35 +0530752 compatible = "xlnx,zynqmp-8.9a", "arasan,sdhci-8.9a";
Michal Simek54b896f2015-10-30 15:39:18 +0100753 status = "disabled";
754 interrupt-parent = <&gic>;
755 interrupts = <0 49 4>;
Michal Simek72b562a2016-02-11 07:19:06 +0100756 reg = <0x0 0xff170000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100757 clock-names = "clk_xin", "clk_ahb";
Sai Krishna Potthuri02550fb2016-08-16 14:41:35 +0530758 xlnx,device_id = <1>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200759 #stream-id-cells = <1>;
760 iommus = <&smmu 0x871>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200761 power-domains = <&zynqmp_firmware PD_SD_1>;
Manish Narani61072012017-07-19 21:16:33 +0530762 nvmem-cells = <&soc_revision>;
763 nvmem-cell-names = "soc_revision";
Ashok Reddy Somac6e97882020-02-17 23:32:57 -0700764 #clock-cells = <1>;
765 clock-output-names = "clk_out_sd1", "clk_in_sd1";
Michal Simek54b896f2015-10-30 15:39:18 +0100766 };
767
Michal Simek26cbd922020-09-29 13:43:22 +0200768 smmu: iommu@fd800000 {
Michal Simek54b896f2015-10-30 15:39:18 +0100769 compatible = "arm,mmu-500";
Michal Simek72b562a2016-02-11 07:19:06 +0100770 reg = <0x0 0xfd800000 0x0 0x20000>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200771 #iommu-cells = <1>;
Naga Sureshkumar Relli033f87c2017-03-09 20:00:13 +0530772 status = "disabled";
Michal Simek54b896f2015-10-30 15:39:18 +0100773 #global-interrupts = <1>;
774 interrupt-parent = <&gic>;
Edgar E. Iglesiasf1880d82015-11-26 14:12:19 +0100775 interrupts = <0 155 4>,
776 <0 155 4>, <0 155 4>, <0 155 4>, <0 155 4>,
777 <0 155 4>, <0 155 4>, <0 155 4>, <0 155 4>,
778 <0 155 4>, <0 155 4>, <0 155 4>, <0 155 4>,
779 <0 155 4>, <0 155 4>, <0 155 4>, <0 155 4>;
Michal Simek54b896f2015-10-30 15:39:18 +0100780 };
781
782 spi0: spi@ff040000 {
783 compatible = "cdns,spi-r1p6";
784 status = "disabled";
785 interrupt-parent = <&gic>;
786 interrupts = <0 19 4>;
Michal Simek72b562a2016-02-11 07:19:06 +0100787 reg = <0x0 0xff040000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100788 clock-names = "ref_clk", "pclk";
789 #address-cells = <1>;
790 #size-cells = <0>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200791 power-domains = <&zynqmp_firmware PD_SPI_0>;
Michal Simek54b896f2015-10-30 15:39:18 +0100792 };
793
794 spi1: spi@ff050000 {
795 compatible = "cdns,spi-r1p6";
796 status = "disabled";
797 interrupt-parent = <&gic>;
798 interrupts = <0 20 4>;
Michal Simek72b562a2016-02-11 07:19:06 +0100799 reg = <0x0 0xff050000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100800 clock-names = "ref_clk", "pclk";
801 #address-cells = <1>;
802 #size-cells = <0>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200803 power-domains = <&zynqmp_firmware PD_SPI_1>;
Michal Simek54b896f2015-10-30 15:39:18 +0100804 };
805
806 ttc0: timer@ff110000 {
807 compatible = "cdns,ttc";
808 status = "disabled";
809 interrupt-parent = <&gic>;
810 interrupts = <0 36 4>, <0 37 4>, <0 38 4>;
Michal Simek72b562a2016-02-11 07:19:06 +0100811 reg = <0x0 0xff110000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100812 timer-width = <32>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200813 power-domains = <&zynqmp_firmware PD_TTC_0>;
Michal Simek54b896f2015-10-30 15:39:18 +0100814 };
815
816 ttc1: timer@ff120000 {
817 compatible = "cdns,ttc";
818 status = "disabled";
819 interrupt-parent = <&gic>;
820 interrupts = <0 39 4>, <0 40 4>, <0 41 4>;
Michal Simek72b562a2016-02-11 07:19:06 +0100821 reg = <0x0 0xff120000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100822 timer-width = <32>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200823 power-domains = <&zynqmp_firmware PD_TTC_1>;
Michal Simek54b896f2015-10-30 15:39:18 +0100824 };
825
826 ttc2: timer@ff130000 {
827 compatible = "cdns,ttc";
828 status = "disabled";
829 interrupt-parent = <&gic>;
830 interrupts = <0 42 4>, <0 43 4>, <0 44 4>;
Michal Simek72b562a2016-02-11 07:19:06 +0100831 reg = <0x0 0xff130000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100832 timer-width = <32>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200833 power-domains = <&zynqmp_firmware PD_TTC_2>;
Michal Simek54b896f2015-10-30 15:39:18 +0100834 };
835
836 ttc3: timer@ff140000 {
837 compatible = "cdns,ttc";
838 status = "disabled";
839 interrupt-parent = <&gic>;
840 interrupts = <0 45 4>, <0 46 4>, <0 47 4>;
Michal Simek72b562a2016-02-11 07:19:06 +0100841 reg = <0x0 0xff140000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100842 timer-width = <32>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200843 power-domains = <&zynqmp_firmware PD_TTC_3>;
Michal Simek54b896f2015-10-30 15:39:18 +0100844 };
845
846 uart0: serial@ff000000 {
Michal Simekba087532016-02-22 09:57:27 +0100847 u-boot,dm-pre-reloc;
Michal Simek8f0dc3e2015-11-27 13:22:58 +0100848 compatible = "cdns,uart-r1p12", "xlnx,xuartps";
Michal Simek54b896f2015-10-30 15:39:18 +0100849 status = "disabled";
850 interrupt-parent = <&gic>;
851 interrupts = <0 21 4>;
Michal Simek72b562a2016-02-11 07:19:06 +0100852 reg = <0x0 0xff000000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100853 clock-names = "uart_clk", "pclk";
Michal Simek7c001dc2019-10-14 15:56:31 +0200854 power-domains = <&zynqmp_firmware PD_UART_0>;
Michal Simek54b896f2015-10-30 15:39:18 +0100855 };
856
857 uart1: serial@ff010000 {
Michal Simekba087532016-02-22 09:57:27 +0100858 u-boot,dm-pre-reloc;
Michal Simek8f0dc3e2015-11-27 13:22:58 +0100859 compatible = "cdns,uart-r1p12", "xlnx,xuartps";
Michal Simek54b896f2015-10-30 15:39:18 +0100860 status = "disabled";
861 interrupt-parent = <&gic>;
862 interrupts = <0 22 4>;
Michal Simek72b562a2016-02-11 07:19:06 +0100863 reg = <0x0 0xff010000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100864 clock-names = "uart_clk", "pclk";
Michal Simek7c001dc2019-10-14 15:56:31 +0200865 power-domains = <&zynqmp_firmware PD_UART_1>;
Michal Simek54b896f2015-10-30 15:39:18 +0100866 };
867
Manish Narani047096e2017-03-27 17:47:00 +0530868 usb0: usb0@ff9d0000 {
Michal Simek13111a12016-04-07 15:06:07 +0200869 #address-cells = <2>;
Michal Simek72b562a2016-02-11 07:19:06 +0100870 #size-cells = <2>;
Michal Simek54b896f2015-10-30 15:39:18 +0100871 status = "disabled";
Michal Simek13111a12016-04-07 15:06:07 +0200872 compatible = "xlnx,zynqmp-dwc3";
Manish Narani047096e2017-03-27 17:47:00 +0530873 reg = <0x0 0xff9d0000 0x0 0x100>;
Michal Simek13111a12016-04-07 15:06:07 +0200874 clock-names = "bus_clk", "ref_clk";
Michal Simek7c001dc2019-10-14 15:56:31 +0200875 power-domains = <&zynqmp_firmware PD_USB_0>;
Michal Simek13111a12016-04-07 15:06:07 +0200876 ranges;
Anurag Kumar Vulisha042323c2017-03-02 14:40:51 +0530877 nvmem-cells = <&soc_revision>;
878 nvmem-cell-names = "soc_revision";
Michal Simek13111a12016-04-07 15:06:07 +0200879
880 dwc3_0: dwc3@fe200000 {
881 compatible = "snps,dwc3";
882 status = "disabled";
Michal Simek72b562a2016-02-11 07:19:06 +0100883 reg = <0x0 0xfe200000 0x0 0x40000>;
Michal Simek13111a12016-04-07 15:06:07 +0200884 interrupt-parent = <&gic>;
Manish Narani97143bd2017-01-18 17:34:48 +0530885 interrupts = <0 65 4>, <0 69 4>;
Anurag Kumar Vulisha4bf99f82017-06-20 16:25:16 +0530886 #stream-id-cells = <1>;
887 iommus = <&smmu 0x860>;
Anurag Kumar Vulisha011bd7d2017-03-10 19:18:17 +0530888 snps,quirk-frame-length-adjustment = <0x20>;
Michal Simek13111a12016-04-07 15:06:07 +0200889 snps,refclk_fladj;
Manish Narani047096e2017-03-27 17:47:00 +0530890 /* dma-coherent; */
Michal Simek13111a12016-04-07 15:06:07 +0200891 };
Michal Simek54b896f2015-10-30 15:39:18 +0100892 };
893
Manish Narani047096e2017-03-27 17:47:00 +0530894 usb1: usb1@ff9e0000 {
Michal Simek13111a12016-04-07 15:06:07 +0200895 #address-cells = <2>;
Michal Simek72b562a2016-02-11 07:19:06 +0100896 #size-cells = <2>;
Michal Simek54b896f2015-10-30 15:39:18 +0100897 status = "disabled";
Michal Simek13111a12016-04-07 15:06:07 +0200898 compatible = "xlnx,zynqmp-dwc3";
Manish Narani047096e2017-03-27 17:47:00 +0530899 reg = <0x0 0xff9e0000 0x0 0x100>;
Michal Simek13111a12016-04-07 15:06:07 +0200900 clock-names = "bus_clk", "ref_clk";
Michal Simek7c001dc2019-10-14 15:56:31 +0200901 power-domains = <&zynqmp_firmware PD_USB_1>;
Michal Simek13111a12016-04-07 15:06:07 +0200902 ranges;
Anurag Kumar Vulisha042323c2017-03-02 14:40:51 +0530903 nvmem-cells = <&soc_revision>;
904 nvmem-cell-names = "soc_revision";
Michal Simek13111a12016-04-07 15:06:07 +0200905
906 dwc3_1: dwc3@fe300000 {
907 compatible = "snps,dwc3";
908 status = "disabled";
Michal Simek72b562a2016-02-11 07:19:06 +0100909 reg = <0x0 0xfe300000 0x0 0x40000>;
Michal Simek13111a12016-04-07 15:06:07 +0200910 interrupt-parent = <&gic>;
Manish Narani97143bd2017-01-18 17:34:48 +0530911 interrupts = <0 70 4>, <0 74 4>;
Anurag Kumar Vulisha4bf99f82017-06-20 16:25:16 +0530912 #stream-id-cells = <1>;
913 iommus = <&smmu 0x861>;
Anurag Kumar Vulisha011bd7d2017-03-10 19:18:17 +0530914 snps,quirk-frame-length-adjustment = <0x20>;
Michal Simek13111a12016-04-07 15:06:07 +0200915 snps,refclk_fladj;
Manish Narani047096e2017-03-27 17:47:00 +0530916 /* dma-coherent; */
Michal Simek13111a12016-04-07 15:06:07 +0200917 };
Michal Simek54b896f2015-10-30 15:39:18 +0100918 };
919
920 watchdog0: watchdog@fd4d0000 {
921 compatible = "cdns,wdt-r1p2";
922 status = "disabled";
923 interrupt-parent = <&gic>;
Punnaiah Choudary Kallurid67bab62015-11-04 12:34:17 +0530924 interrupts = <0 113 1>;
Michal Simek72b562a2016-02-11 07:19:06 +0100925 reg = <0x0 0xfd4d0000 0x0 0x1000>;
Mounika Grace Akula7db82412018-10-09 20:52:50 +0530926 timeout-sec = <60>;
927 reset-on-timeout;
Michal Simek54b896f2015-10-30 15:39:18 +0100928 };
929
Michal Simek7b6280e2018-07-18 09:25:43 +0200930 lpd_watchdog: watchdog@ff150000 {
931 compatible = "cdns,wdt-r1p2";
932 status = "disabled";
933 interrupt-parent = <&gic>;
934 interrupts = <0 52 1>;
935 reg = <0x0 0xff150000 0x0 0x1000>;
936 timeout-sec = <10>;
937 };
938
Michal Simek1bb4be32017-11-02 12:04:43 +0100939 xilinx_ams: ams@ffa50000 {
940 compatible = "xlnx,zynqmp-ams";
941 status = "disabled";
942 interrupt-parent = <&gic>;
943 interrupts = <0 56 4>;
944 interrupt-names = "ams-irq";
945 reg = <0x0 0xffa50000 0x0 0x800>;
946 reg-names = "ams-base";
947 #address-cells = <2>;
948 #size-cells = <2>;
949 #io-channel-cells = <1>;
950 ranges;
951
952 ams_ps: ams_ps@ffa50800 {
953 compatible = "xlnx,zynqmp-ams-ps";
954 status = "disabled";
955 reg = <0x0 0xffa50800 0x0 0x400>;
956 };
957
958 ams_pl: ams_pl@ffa50c00 {
959 compatible = "xlnx,zynqmp-ams-pl";
960 status = "disabled";
961 reg = <0x0 0xffa50c00 0x0 0x400>;
962 };
963 };
964
Michal Simek54b896f2015-10-30 15:39:18 +0100965 xlnx_dpdma: dma@fd4c0000 {
966 compatible = "xlnx,dpdma";
967 status = "disabled";
Michal Simek72b562a2016-02-11 07:19:06 +0100968 reg = <0x0 0xfd4c0000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100969 interrupts = <0 122 4>;
970 interrupt-parent = <&gic>;
971 clock-names = "axi_clk";
Michal Simek7c001dc2019-10-14 15:56:31 +0200972 power-domains = <&zynqmp_firmware PD_DP>;
Michal Simek54b896f2015-10-30 15:39:18 +0100973 dma-channels = <6>;
974 #dma-cells = <1>;
Michal Simek79c1cbf2016-11-11 13:21:04 +0100975 dma-video0channel {
Michal Simek54b896f2015-10-30 15:39:18 +0100976 compatible = "xlnx,video0";
977 };
Michal Simek79c1cbf2016-11-11 13:21:04 +0100978 dma-video1channel {
Michal Simek54b896f2015-10-30 15:39:18 +0100979 compatible = "xlnx,video1";
980 };
Michal Simek79c1cbf2016-11-11 13:21:04 +0100981 dma-video2channel {
Michal Simek54b896f2015-10-30 15:39:18 +0100982 compatible = "xlnx,video2";
983 };
Michal Simek79c1cbf2016-11-11 13:21:04 +0100984 dma-graphicschannel {
Michal Simek54b896f2015-10-30 15:39:18 +0100985 compatible = "xlnx,graphics";
986 };
Michal Simek79c1cbf2016-11-11 13:21:04 +0100987 dma-audio0channel {
Michal Simek54b896f2015-10-30 15:39:18 +0100988 compatible = "xlnx,audio0";
989 };
Michal Simek79c1cbf2016-11-11 13:21:04 +0100990 dma-audio1channel {
Michal Simek54b896f2015-10-30 15:39:18 +0100991 compatible = "xlnx,audio1";
992 };
993 };
Michal Simek37674252020-02-18 09:24:08 +0100994
995 zynqmp_dpsub: zynqmp-display@fd4a0000 {
996 compatible = "xlnx,zynqmp-dpsub-1.7";
997 status = "disabled";
998 reg = <0x0 0xfd4a0000 0x0 0x1000>,
999 <0x0 0xfd4aa000 0x0 0x1000>,
1000 <0x0 0xfd4ab000 0x0 0x1000>,
1001 <0x0 0xfd4ac000 0x0 0x1000>;
1002 reg-names = "dp", "blend", "av_buf", "aud";
1003 interrupts = <0 119 4>;
1004 interrupt-parent = <&gic>;
1005
1006 clock-names = "dp_apb_clk", "dp_aud_clk",
1007 "dp_vtc_pixel_clk_in";
1008
1009 power-domains = <&zynqmp_firmware PD_DP>;
1010
1011 vid-layer {
1012 dma-names = "vid0", "vid1", "vid2";
1013 dmas = <&xlnx_dpdma 0>,
1014 <&xlnx_dpdma 1>,
1015 <&xlnx_dpdma 2>;
1016 };
1017
1018 gfx-layer {
1019 dma-names = "gfx0";
1020 dmas = <&xlnx_dpdma 3>;
1021 };
1022
1023 /* dummy node to indicate there's no child i2c device */
1024 i2c-bus {
1025 };
1026
1027 zynqmp_dp_snd_codec0: zynqmp_dp_snd_codec0 {
1028 compatible = "xlnx,dp-snd-codec";
1029 clock-names = "aud_clk";
1030 };
1031
1032 zynqmp_dp_snd_pcm0: zynqmp_dp_snd_pcm0 {
1033 compatible = "xlnx,dp-snd-pcm";
1034 dmas = <&xlnx_dpdma 4>;
1035 dma-names = "tx";
1036 };
1037
1038 zynqmp_dp_snd_pcm1: zynqmp_dp_snd_pcm1 {
1039 compatible = "xlnx,dp-snd-pcm";
1040 dmas = <&xlnx_dpdma 5>;
1041 dma-names = "tx";
1042 };
1043
1044 zynqmp_dp_snd_card0: zynqmp_dp_snd_card {
1045 compatible = "xlnx,dp-snd-card";
1046 xlnx,dp-snd-pcm = <&zynqmp_dp_snd_pcm0>,
1047 <&zynqmp_dp_snd_pcm1>;
1048 xlnx,dp-snd-codec = <&zynqmp_dp_snd_codec0>;
1049 };
1050 };
Michal Simek54b896f2015-10-30 15:39:18 +01001051 };
1052};