blob: 2aaec6cf5a1560e205278fe752deeed325c6e46f [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 Simek821e32a2021-05-31 09:50:01 +02005 * (C) Copyright 2014 - 2021, 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 Simek958c0e92020-11-26 14:25:02 +010015#include <dt-bindings/dma/xlnx-zynqmp-dpdma.h>
Piyush Mehta949e7952022-05-11 11:52:45 +020016#include <dt-bindings/gpio/gpio.h>
Michal Simek7c001dc2019-10-14 15:56:31 +020017#include <dt-bindings/power/xlnx-zynqmp-power.h>
Michal Simeka898c332019-10-14 15:55:53 +020018#include <dt-bindings/reset/xlnx-zynqmp-resets.h>
19
Michal Simek54b896f2015-10-30 15:39:18 +010020/ {
21 compatible = "xlnx,zynqmp";
22 #address-cells = <2>;
Michal Simekd171c752016-04-07 15:07:38 +020023 #size-cells = <2>;
Michal Simek54b896f2015-10-30 15:39:18 +010024
25 cpus {
26 #address-cells = <1>;
27 #size-cells = <0>;
28
Michal Simek28663032017-02-06 10:09:53 +010029 cpu0: cpu@0 {
Rob Herringff9eb352019-01-14 11:45:33 -060030 compatible = "arm,cortex-a53";
Michal Simek54b896f2015-10-30 15:39:18 +010031 device_type = "cpu";
32 enable-method = "psci";
Shubhrajyoti Dattaec9c6c82017-02-13 15:58:55 +053033 operating-points-v2 = <&cpu_opp_table>;
Michal Simek54b896f2015-10-30 15:39:18 +010034 reg = <0x0>;
Stefan Krsmanovic8e16a6e2016-10-21 12:44:56 +020035 cpu-idle-states = <&CPU_SLEEP_0>;
Michal Simek54b896f2015-10-30 15:39:18 +010036 };
37
Michal Simek28663032017-02-06 10:09:53 +010038 cpu1: cpu@1 {
Rob Herringff9eb352019-01-14 11:45:33 -060039 compatible = "arm,cortex-a53";
Michal Simek54b896f2015-10-30 15:39:18 +010040 device_type = "cpu";
41 enable-method = "psci";
42 reg = <0x1>;
Shubhrajyoti Dattaec9c6c82017-02-13 15:58:55 +053043 operating-points-v2 = <&cpu_opp_table>;
Stefan Krsmanovic8e16a6e2016-10-21 12:44:56 +020044 cpu-idle-states = <&CPU_SLEEP_0>;
Michal Simek54b896f2015-10-30 15:39:18 +010045 };
46
Michal Simek28663032017-02-06 10:09:53 +010047 cpu2: cpu@2 {
Rob Herringff9eb352019-01-14 11:45:33 -060048 compatible = "arm,cortex-a53";
Michal Simek54b896f2015-10-30 15:39:18 +010049 device_type = "cpu";
50 enable-method = "psci";
51 reg = <0x2>;
Shubhrajyoti Dattaec9c6c82017-02-13 15:58:55 +053052 operating-points-v2 = <&cpu_opp_table>;
Stefan Krsmanovic8e16a6e2016-10-21 12:44:56 +020053 cpu-idle-states = <&CPU_SLEEP_0>;
Michal Simek54b896f2015-10-30 15:39:18 +010054 };
55
Michal Simek28663032017-02-06 10:09:53 +010056 cpu3: cpu@3 {
Rob Herringff9eb352019-01-14 11:45:33 -060057 compatible = "arm,cortex-a53";
Michal Simek54b896f2015-10-30 15:39:18 +010058 device_type = "cpu";
59 enable-method = "psci";
60 reg = <0x3>;
Shubhrajyoti Dattaec9c6c82017-02-13 15:58:55 +053061 operating-points-v2 = <&cpu_opp_table>;
Stefan Krsmanovic8e16a6e2016-10-21 12:44:56 +020062 cpu-idle-states = <&CPU_SLEEP_0>;
63 };
64
65 idle-states {
Amit Kucheriaefa69732018-08-23 14:23:29 +053066 entry-method = "psci";
Stefan Krsmanovic8e16a6e2016-10-21 12:44:56 +020067
68 CPU_SLEEP_0: cpu-sleep-0 {
69 compatible = "arm,idle-state";
70 arm,psci-suspend-param = <0x40000000>;
71 local-timer-stop;
72 entry-latency-us = <300>;
73 exit-latency-us = <600>;
Jolly Shah5a5d5b32017-06-14 15:03:52 -070074 min-residency-us = <10000>;
Stefan Krsmanovic8e16a6e2016-10-21 12:44:56 +020075 };
Michal Simek54b896f2015-10-30 15:39:18 +010076 };
77 };
78
Michal Simek330ea2d2022-05-11 11:52:47 +020079 cpu_opp_table: opp-table-cpu {
Shubhrajyoti Dattaec9c6c82017-02-13 15:58:55 +053080 compatible = "operating-points-v2";
81 opp-shared;
82 opp00 {
83 opp-hz = /bits/ 64 <1199999988>;
84 opp-microvolt = <1000000>;
85 clock-latency-ns = <500000>;
86 };
87 opp01 {
88 opp-hz = /bits/ 64 <599999994>;
89 opp-microvolt = <1000000>;
90 clock-latency-ns = <500000>;
91 };
92 opp02 {
93 opp-hz = /bits/ 64 <399999996>;
94 opp-microvolt = <1000000>;
95 clock-latency-ns = <500000>;
96 };
97 opp03 {
98 opp-hz = /bits/ 64 <299999997>;
99 opp-microvolt = <1000000>;
100 clock-latency-ns = <500000>;
101 };
102 };
103
Michal Simek0e7707f2021-05-31 09:42:08 +0200104 zynqmp_ipi: zynqmp_ipi {
Ibai Erkiaga1c79e1e2019-09-27 11:36:58 +0100105 u-boot,dm-pre-reloc;
106 compatible = "xlnx,zynqmp-ipi-mailbox";
107 interrupt-parent = <&gic>;
108 interrupts = <0 35 4>;
109 xlnx,ipi-id = <0>;
110 #address-cells = <2>;
111 #size-cells = <2>;
112 ranges;
113
114 ipi_mailbox_pmu1: mailbox@ff990400 {
115 u-boot,dm-pre-reloc;
116 reg = <0x0 0xff9905c0 0x0 0x20>,
117 <0x0 0xff9905e0 0x0 0x20>,
118 <0x0 0xff990e80 0x0 0x20>,
119 <0x0 0xff990ea0 0x0 0x20>;
Michal Simek26cbd922020-09-29 13:43:22 +0200120 reg-names = "local_request_region",
121 "local_response_region",
122 "remote_request_region",
123 "remote_response_region";
Ibai Erkiaga1c79e1e2019-09-27 11:36:58 +0100124 #mbox-cells = <1>;
125 xlnx,ipi-id = <4>;
126 };
127 };
128
Michal Simekde29d542016-09-09 08:46:39 +0200129 dcc: dcc {
130 compatible = "arm,dcc";
131 status = "disabled";
132 u-boot,dm-pre-reloc;
133 };
134
Michal Simek54b896f2015-10-30 15:39:18 +0100135 pmu {
136 compatible = "arm,armv8-pmuv3";
Michal Simek86e6eee2016-04-07 15:28:33 +0200137 interrupt-parent = <&gic>;
Michal Simek54b896f2015-10-30 15:39:18 +0100138 interrupts = <0 143 4>,
139 <0 144 4>,
140 <0 145 4>,
141 <0 146 4>;
142 };
143
144 psci {
145 compatible = "arm,psci-0.2";
146 method = "smc";
147 };
148
Ibai Erkiaga1c79e1e2019-09-27 11:36:58 +0100149 firmware {
Michal Simekebddf492019-10-14 15:42:03 +0200150 zynqmp_firmware: zynqmp-firmware {
Ibai Erkiaga1c79e1e2019-09-27 11:36:58 +0100151 compatible = "xlnx,zynqmp-firmware";
Michal Simek26cbd922020-09-29 13:43:22 +0200152 #power-domain-cells = <1>;
Ibai Erkiaga1c79e1e2019-09-27 11:36:58 +0100153 method = "smc";
Ibai Erkiaga1c79e1e2019-09-27 11:36:58 +0100154 u-boot,dm-pre-reloc;
155
156 zynqmp_power: zynqmp-power {
157 u-boot,dm-pre-reloc;
158 compatible = "xlnx,zynqmp-power";
159 interrupt-parent = <&gic>;
160 interrupts = <0 35 4>;
161 mboxes = <&ipi_mailbox_pmu1 0>, <&ipi_mailbox_pmu1 1>;
162 mbox-names = "tx", "rx";
163 };
Michal Simeka898c332019-10-14 15:55:53 +0200164
Michal Simek958c0e92020-11-26 14:25:02 +0100165 nvmem_firmware {
166 compatible = "xlnx,zynqmp-nvmem-fw";
167 #address-cells = <1>;
168 #size-cells = <1>;
169
170 soc_revision: soc_revision@0 {
171 reg = <0x0 0x4>;
172 };
173 };
174
Michal Simek26cbd922020-09-29 13:43:22 +0200175 zynqmp_pcap: pcap {
176 compatible = "xlnx,zynqmp-pcap-fpga";
177 clock-names = "ref_clk";
178 };
179
Michal Simek958c0e92020-11-26 14:25:02 +0100180 xlnx_aes: zynqmp-aes {
181 compatible = "xlnx,zynqmp-aes";
182 };
183
Michal Simeka898c332019-10-14 15:55:53 +0200184 zynqmp_reset: reset-controller {
185 compatible = "xlnx,zynqmp-reset";
186 #reset-cells = <1>;
187 };
Michal Simekaa8206e2020-02-18 13:04:06 +0100188
189 pinctrl0: pinctrl {
190 compatible = "xlnx,zynqmp-pinctrl";
191 status = "disabled";
192 };
Piyush Mehta949e7952022-05-11 11:52:45 +0200193
194 modepin_gpio: gpio {
195 compatible = "xlnx,zynqmp-gpio-modepin";
196 gpio-controller;
197 #gpio-cells = <2>;
198 };
Ibai Erkiaga1c79e1e2019-09-27 11:36:58 +0100199 };
Michal Simek54b896f2015-10-30 15:39:18 +0100200 };
201
202 timer {
203 compatible = "arm,armv8-timer";
204 interrupt-parent = <&gic>;
Michal Simek2155a602017-02-09 14:45:12 +0100205 interrupts = <1 13 0xf08>,
206 <1 14 0xf08>,
207 <1 11 0xf08>,
208 <1 10 0xf08>;
Michal Simek54b896f2015-10-30 15:39:18 +0100209 };
210
Naga Sureshkumar Relli1931f212016-06-20 15:48:30 +0530211 edac {
212 compatible = "arm,cortex-a53-edac";
213 };
214
Nava kishore Mannea1763ba2017-05-22 12:05:17 +0530215 fpga_full: fpga-full {
216 compatible = "fpga-region";
Nava kishore Manne042ae5e2019-10-18 18:07:32 +0200217 fpga-mgr = <&zynqmp_pcap>;
Nava kishore Mannea1763ba2017-05-22 12:05:17 +0530218 #address-cells = <2>;
219 #size-cells = <2>;
Nava kishore Manne042ae5e2019-10-18 18:07:32 +0200220 ranges;
Michal Simeke20f7402022-05-11 11:52:48 +0200221 power-domains = <&zynqmp_firmware PD_PL>;
Nava kishore Mannea1763ba2017-05-22 12:05:17 +0530222 };
223
Michal Simek26cbd922020-09-29 13:43:22 +0200224 amba: axi {
Michal Simek54b896f2015-10-30 15:39:18 +0100225 compatible = "simple-bus";
Michal Simekba087532016-02-22 09:57:27 +0100226 u-boot,dm-pre-reloc;
Michal Simek54b896f2015-10-30 15:39:18 +0100227 #address-cells = <2>;
Michal Simek72b562a2016-02-11 07:19:06 +0100228 #size-cells = <2>;
229 ranges;
Michal Simek54b896f2015-10-30 15:39:18 +0100230
231 can0: can@ff060000 {
232 compatible = "xlnx,zynq-can-1.0";
233 status = "disabled";
234 clock-names = "can_clk", "pclk";
Michal Simek72b562a2016-02-11 07:19:06 +0100235 reg = <0x0 0xff060000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100236 interrupts = <0 23 4>;
237 interrupt-parent = <&gic>;
238 tx-fifo-depth = <0x40>;
239 rx-fifo-depth = <0x40>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200240 power-domains = <&zynqmp_firmware PD_CAN_0>;
Michal Simek54b896f2015-10-30 15:39:18 +0100241 };
242
243 can1: can@ff070000 {
244 compatible = "xlnx,zynq-can-1.0";
245 status = "disabled";
246 clock-names = "can_clk", "pclk";
Michal Simek72b562a2016-02-11 07:19:06 +0100247 reg = <0x0 0xff070000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100248 interrupts = <0 24 4>;
249 interrupt-parent = <&gic>;
250 tx-fifo-depth = <0x40>;
251 rx-fifo-depth = <0x40>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200252 power-domains = <&zynqmp_firmware PD_CAN_1>;
Michal Simek54b896f2015-10-30 15:39:18 +0100253 };
254
Michal Simekb197dd42015-11-26 11:21:25 +0100255 cci: cci@fd6e0000 {
256 compatible = "arm,cci-400";
Michal Simek79db3c62020-05-11 10:14:34 +0200257 status = "disabled";
Michal Simek72b562a2016-02-11 07:19:06 +0100258 reg = <0x0 0xfd6e0000 0x0 0x9000>;
Michal Simekb197dd42015-11-26 11:21:25 +0100259 ranges = <0x0 0x0 0xfd6e0000 0x10000>;
260 #address-cells = <1>;
261 #size-cells = <1>;
262
263 pmu@9000 {
264 compatible = "arm,cci-400-pmu,r1";
265 reg = <0x9000 0x5000>;
266 interrupt-parent = <&gic>;
267 interrupts = <0 123 4>,
268 <0 123 4>,
269 <0 123 4>,
270 <0 123 4>,
271 <0 123 4>;
272 };
273 };
274
Michal Simek54b896f2015-10-30 15:39:18 +0100275 /* GDMA */
Shravya Kumbhamafab9b32022-01-14 12:44:06 +0100276 fpd_dma_chan1: dma-controller@fd500000 {
Michal Simek54b896f2015-10-30 15:39:18 +0100277 status = "disabled";
278 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simek72b562a2016-02-11 07:19:06 +0100279 reg = <0x0 0xfd500000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100280 interrupt-parent = <&gic>;
281 interrupts = <0 124 4>;
VNSL Durga7b3cb892016-03-24 22:45:12 +0530282 clock-names = "clk_main", "clk_apb";
Michal Simek54b896f2015-10-30 15:39:18 +0100283 xlnx,bus-width = <128>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200284 iommus = <&smmu 0x14e8>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200285 power-domains = <&zynqmp_firmware PD_GDMA>;
Shravya Kumbhamafab9b32022-01-14 12:44:06 +0100286 #dma-cells = <1>;
Michal Simek54b896f2015-10-30 15:39:18 +0100287 };
288
Shravya Kumbhamafab9b32022-01-14 12:44:06 +0100289 fpd_dma_chan2: dma-controller@fd510000 {
Michal Simek54b896f2015-10-30 15:39:18 +0100290 status = "disabled";
291 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simek72b562a2016-02-11 07:19:06 +0100292 reg = <0x0 0xfd510000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100293 interrupt-parent = <&gic>;
294 interrupts = <0 125 4>;
VNSL Durga7b3cb892016-03-24 22:45:12 +0530295 clock-names = "clk_main", "clk_apb";
Michal Simek54b896f2015-10-30 15:39:18 +0100296 xlnx,bus-width = <128>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200297 iommus = <&smmu 0x14e9>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200298 power-domains = <&zynqmp_firmware PD_GDMA>;
Shravya Kumbhamafab9b32022-01-14 12:44:06 +0100299 #dma-cells = <1>;
Michal Simek54b896f2015-10-30 15:39:18 +0100300 };
301
Shravya Kumbhamafab9b32022-01-14 12:44:06 +0100302 fpd_dma_chan3: dma-controller@fd520000 {
Michal Simek54b896f2015-10-30 15:39:18 +0100303 status = "disabled";
304 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simek72b562a2016-02-11 07:19:06 +0100305 reg = <0x0 0xfd520000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100306 interrupt-parent = <&gic>;
307 interrupts = <0 126 4>;
VNSL Durga7b3cb892016-03-24 22:45:12 +0530308 clock-names = "clk_main", "clk_apb";
Michal Simek54b896f2015-10-30 15:39:18 +0100309 xlnx,bus-width = <128>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200310 iommus = <&smmu 0x14ea>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200311 power-domains = <&zynqmp_firmware PD_GDMA>;
Shravya Kumbhamafab9b32022-01-14 12:44:06 +0100312 #dma-cells = <1>;
Michal Simek54b896f2015-10-30 15:39:18 +0100313 };
314
Shravya Kumbhamafab9b32022-01-14 12:44:06 +0100315 fpd_dma_chan4: dma-controller@fd530000 {
Michal Simek54b896f2015-10-30 15:39:18 +0100316 status = "disabled";
317 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simek72b562a2016-02-11 07:19:06 +0100318 reg = <0x0 0xfd530000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100319 interrupt-parent = <&gic>;
320 interrupts = <0 127 4>;
VNSL Durga7b3cb892016-03-24 22:45:12 +0530321 clock-names = "clk_main", "clk_apb";
Michal Simek54b896f2015-10-30 15:39:18 +0100322 xlnx,bus-width = <128>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200323 iommus = <&smmu 0x14eb>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200324 power-domains = <&zynqmp_firmware PD_GDMA>;
Shravya Kumbhamafab9b32022-01-14 12:44:06 +0100325 #dma-cells = <1>;
Michal Simek54b896f2015-10-30 15:39:18 +0100326 };
327
Shravya Kumbhamafab9b32022-01-14 12:44:06 +0100328 fpd_dma_chan5: dma-controller@fd540000 {
Michal Simek54b896f2015-10-30 15:39:18 +0100329 status = "disabled";
330 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simek72b562a2016-02-11 07:19:06 +0100331 reg = <0x0 0xfd540000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100332 interrupt-parent = <&gic>;
333 interrupts = <0 128 4>;
VNSL Durga7b3cb892016-03-24 22:45:12 +0530334 clock-names = "clk_main", "clk_apb";
Michal Simek54b896f2015-10-30 15:39:18 +0100335 xlnx,bus-width = <128>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200336 iommus = <&smmu 0x14ec>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200337 power-domains = <&zynqmp_firmware PD_GDMA>;
Shravya Kumbhamafab9b32022-01-14 12:44:06 +0100338 #dma-cells = <1>;
Michal Simek54b896f2015-10-30 15:39:18 +0100339 };
340
Shravya Kumbhamafab9b32022-01-14 12:44:06 +0100341 fpd_dma_chan6: dma-controller@fd550000 {
Michal Simek54b896f2015-10-30 15:39:18 +0100342 status = "disabled";
343 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simek72b562a2016-02-11 07:19:06 +0100344 reg = <0x0 0xfd550000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100345 interrupt-parent = <&gic>;
346 interrupts = <0 129 4>;
VNSL Durga7b3cb892016-03-24 22:45:12 +0530347 clock-names = "clk_main", "clk_apb";
Michal Simek54b896f2015-10-30 15:39:18 +0100348 xlnx,bus-width = <128>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200349 iommus = <&smmu 0x14ed>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200350 power-domains = <&zynqmp_firmware PD_GDMA>;
Shravya Kumbhamafab9b32022-01-14 12:44:06 +0100351 #dma-cells = <1>;
Michal Simek54b896f2015-10-30 15:39:18 +0100352 };
353
Shravya Kumbhamafab9b32022-01-14 12:44:06 +0100354 fpd_dma_chan7: dma-controller@fd560000 {
Michal Simek54b896f2015-10-30 15:39:18 +0100355 status = "disabled";
356 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simek72b562a2016-02-11 07:19:06 +0100357 reg = <0x0 0xfd560000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100358 interrupt-parent = <&gic>;
359 interrupts = <0 130 4>;
VNSL Durga7b3cb892016-03-24 22:45:12 +0530360 clock-names = "clk_main", "clk_apb";
Michal Simek54b896f2015-10-30 15:39:18 +0100361 xlnx,bus-width = <128>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200362 iommus = <&smmu 0x14ee>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200363 power-domains = <&zynqmp_firmware PD_GDMA>;
Shravya Kumbhamafab9b32022-01-14 12:44:06 +0100364 #dma-cells = <1>;
Michal Simek54b896f2015-10-30 15:39:18 +0100365 };
366
Shravya Kumbhamafab9b32022-01-14 12:44:06 +0100367 fpd_dma_chan8: dma-controller@fd570000 {
Michal Simek54b896f2015-10-30 15:39:18 +0100368 status = "disabled";
369 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simek72b562a2016-02-11 07:19:06 +0100370 reg = <0x0 0xfd570000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100371 interrupt-parent = <&gic>;
372 interrupts = <0 131 4>;
VNSL Durga7b3cb892016-03-24 22:45:12 +0530373 clock-names = "clk_main", "clk_apb";
Michal Simek54b896f2015-10-30 15:39:18 +0100374 xlnx,bus-width = <128>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200375 iommus = <&smmu 0x14ef>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200376 power-domains = <&zynqmp_firmware PD_GDMA>;
Shravya Kumbhamafab9b32022-01-14 12:44:06 +0100377 #dma-cells = <1>;
Michal Simek54b896f2015-10-30 15:39:18 +0100378 };
379
Michal Simek26cbd922020-09-29 13:43:22 +0200380 gic: interrupt-controller@f9010000 {
381 compatible = "arm,gic-400";
382 #interrupt-cells = <3>;
383 reg = <0x0 0xf9010000 0x0 0x10000>,
384 <0x0 0xf9020000 0x0 0x20000>,
385 <0x0 0xf9040000 0x0 0x20000>,
386 <0x0 0xf9060000 0x0 0x20000>;
387 interrupt-controller;
388 interrupt-parent = <&gic>;
389 interrupts = <1 9 0xf04>;
390 };
391
Michal Simek54b896f2015-10-30 15:39:18 +0100392 gpu: gpu@fd4b0000 {
393 status = "disabled";
394 compatible = "arm,mali-400", "arm,mali-utgard";
Hyun Kwon991faf72017-08-21 18:54:29 -0700395 reg = <0x0 0xfd4b0000 0x0 0x10000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100396 interrupt-parent = <&gic>;
397 interrupts = <0 132 4>, <0 132 4>, <0 132 4>, <0 132 4>, <0 132 4>, <0 132 4>;
398 interrupt-names = "IRQGP", "IRQGPMMU", "IRQPP0", "IRQPPMMU0", "IRQPP1", "IRQPPMMU1";
Madhurkiran Harikrishnan69819bd2017-02-17 04:14:45 -0800399 clock-names = "gpu", "gpu_pp0", "gpu_pp1";
Michal Simek7c001dc2019-10-14 15:56:31 +0200400 power-domains = <&zynqmp_firmware PD_GPU>;
Michal Simek54b896f2015-10-30 15:39:18 +0100401 };
402
Kedareswara rao Appanaae9342f2016-09-09 12:36:01 +0530403 /* LPDDMA default allows only secured access. inorder to enable
404 * These dma channels, Users should ensure that these dma
405 * Channels are allowed for non secure access.
406 */
Shravya Kumbhamafab9b32022-01-14 12:44:06 +0100407 lpd_dma_chan1: dma-controller@ffa80000 {
Michal Simek54b896f2015-10-30 15:39:18 +0100408 status = "disabled";
409 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simek72b562a2016-02-11 07:19:06 +0100410 reg = <0x0 0xffa80000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100411 interrupt-parent = <&gic>;
412 interrupts = <0 77 4>;
Michal Simek91ab8252018-01-17 16:32:33 +0100413 clock-names = "clk_main", "clk_apb";
Michal Simek54b896f2015-10-30 15:39:18 +0100414 xlnx,bus-width = <64>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200415 iommus = <&smmu 0x868>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200416 power-domains = <&zynqmp_firmware PD_ADMA>;
Shravya Kumbhamafab9b32022-01-14 12:44:06 +0100417 #dma-cells = <1>;
Michal Simek54b896f2015-10-30 15:39:18 +0100418 };
419
Shravya Kumbhamafab9b32022-01-14 12:44:06 +0100420 lpd_dma_chan2: dma-controller@ffa90000 {
Michal Simek54b896f2015-10-30 15:39:18 +0100421 status = "disabled";
422 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simek72b562a2016-02-11 07:19:06 +0100423 reg = <0x0 0xffa90000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100424 interrupt-parent = <&gic>;
425 interrupts = <0 78 4>;
Michal Simek91ab8252018-01-17 16:32:33 +0100426 clock-names = "clk_main", "clk_apb";
Michal Simek54b896f2015-10-30 15:39:18 +0100427 xlnx,bus-width = <64>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200428 iommus = <&smmu 0x869>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200429 power-domains = <&zynqmp_firmware PD_ADMA>;
Shravya Kumbhamafab9b32022-01-14 12:44:06 +0100430 #dma-cells = <1>;
Michal Simek54b896f2015-10-30 15:39:18 +0100431 };
432
Shravya Kumbhamafab9b32022-01-14 12:44:06 +0100433 lpd_dma_chan3: dma-controller@ffaa0000 {
Michal Simek54b896f2015-10-30 15:39:18 +0100434 status = "disabled";
435 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simek72b562a2016-02-11 07:19:06 +0100436 reg = <0x0 0xffaa0000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100437 interrupt-parent = <&gic>;
438 interrupts = <0 79 4>;
Michal Simek91ab8252018-01-17 16:32:33 +0100439 clock-names = "clk_main", "clk_apb";
Michal Simek54b896f2015-10-30 15:39:18 +0100440 xlnx,bus-width = <64>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200441 iommus = <&smmu 0x86a>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200442 power-domains = <&zynqmp_firmware PD_ADMA>;
Shravya Kumbhamafab9b32022-01-14 12:44:06 +0100443 #dma-cells = <1>;
Michal Simek54b896f2015-10-30 15:39:18 +0100444 };
445
Shravya Kumbhamafab9b32022-01-14 12:44:06 +0100446 lpd_dma_chan4: dma-controller@ffab0000 {
Michal Simek54b896f2015-10-30 15:39:18 +0100447 status = "disabled";
448 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simek72b562a2016-02-11 07:19:06 +0100449 reg = <0x0 0xffab0000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100450 interrupt-parent = <&gic>;
451 interrupts = <0 80 4>;
Michal Simek91ab8252018-01-17 16:32:33 +0100452 clock-names = "clk_main", "clk_apb";
Michal Simek54b896f2015-10-30 15:39:18 +0100453 xlnx,bus-width = <64>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200454 iommus = <&smmu 0x86b>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200455 power-domains = <&zynqmp_firmware PD_ADMA>;
Shravya Kumbhamafab9b32022-01-14 12:44:06 +0100456 #dma-cells = <1>;
Michal Simek54b896f2015-10-30 15:39:18 +0100457 };
458
Shravya Kumbhamafab9b32022-01-14 12:44:06 +0100459 lpd_dma_chan5: dma-controller@ffac0000 {
Michal Simek54b896f2015-10-30 15:39:18 +0100460 status = "disabled";
461 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simek72b562a2016-02-11 07:19:06 +0100462 reg = <0x0 0xffac0000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100463 interrupt-parent = <&gic>;
464 interrupts = <0 81 4>;
Michal Simek91ab8252018-01-17 16:32:33 +0100465 clock-names = "clk_main", "clk_apb";
Michal Simek54b896f2015-10-30 15:39:18 +0100466 xlnx,bus-width = <64>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200467 iommus = <&smmu 0x86c>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200468 power-domains = <&zynqmp_firmware PD_ADMA>;
Shravya Kumbhamafab9b32022-01-14 12:44:06 +0100469 #dma-cells = <1>;
Michal Simek54b896f2015-10-30 15:39:18 +0100470 };
471
Shravya Kumbhamafab9b32022-01-14 12:44:06 +0100472 lpd_dma_chan6: dma-controller@ffad0000 {
Michal Simek54b896f2015-10-30 15:39:18 +0100473 status = "disabled";
474 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simek72b562a2016-02-11 07:19:06 +0100475 reg = <0x0 0xffad0000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100476 interrupt-parent = <&gic>;
477 interrupts = <0 82 4>;
Michal Simek91ab8252018-01-17 16:32:33 +0100478 clock-names = "clk_main", "clk_apb";
Michal Simek54b896f2015-10-30 15:39:18 +0100479 xlnx,bus-width = <64>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200480 iommus = <&smmu 0x86d>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200481 power-domains = <&zynqmp_firmware PD_ADMA>;
Shravya Kumbhamafab9b32022-01-14 12:44:06 +0100482 #dma-cells = <1>;
Michal Simek54b896f2015-10-30 15:39:18 +0100483 };
484
Shravya Kumbhamafab9b32022-01-14 12:44:06 +0100485 lpd_dma_chan7: dma-controller@ffae0000 {
Michal Simek54b896f2015-10-30 15:39:18 +0100486 status = "disabled";
487 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simek72b562a2016-02-11 07:19:06 +0100488 reg = <0x0 0xffae0000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100489 interrupt-parent = <&gic>;
490 interrupts = <0 83 4>;
Michal Simek91ab8252018-01-17 16:32:33 +0100491 clock-names = "clk_main", "clk_apb";
Michal Simek54b896f2015-10-30 15:39:18 +0100492 xlnx,bus-width = <64>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200493 iommus = <&smmu 0x86e>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200494 power-domains = <&zynqmp_firmware PD_ADMA>;
Shravya Kumbhamafab9b32022-01-14 12:44:06 +0100495 #dma-cells = <1>;
Michal Simek54b896f2015-10-30 15:39:18 +0100496 };
497
Shravya Kumbhamafab9b32022-01-14 12:44:06 +0100498 lpd_dma_chan8: dma-controller@ffaf0000 {
Michal Simek54b896f2015-10-30 15:39:18 +0100499 status = "disabled";
500 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simek72b562a2016-02-11 07:19:06 +0100501 reg = <0x0 0xffaf0000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100502 interrupt-parent = <&gic>;
503 interrupts = <0 84 4>;
Michal Simek91ab8252018-01-17 16:32:33 +0100504 clock-names = "clk_main", "clk_apb";
Michal Simek54b896f2015-10-30 15:39:18 +0100505 xlnx,bus-width = <64>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200506 iommus = <&smmu 0x86f>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200507 power-domains = <&zynqmp_firmware PD_ADMA>;
Shravya Kumbhamafab9b32022-01-14 12:44:06 +0100508 #dma-cells = <1>;
Michal Simek54b896f2015-10-30 15:39:18 +0100509 };
510
Naga Sureshkumar Rellide96a3e2016-03-11 13:10:26 +0530511 mc: memory-controller@fd070000 {
512 compatible = "xlnx,zynqmp-ddrc-2.40a";
Michal Simek72b562a2016-02-11 07:19:06 +0100513 reg = <0x0 0xfd070000 0x0 0x30000>;
Naga Sureshkumar Rellide96a3e2016-03-11 13:10:26 +0530514 interrupt-parent = <&gic>;
515 interrupts = <0 112 4>;
516 };
517
Michal Simek958c0e92020-11-26 14:25:02 +0100518 nand0: nand-controller@ff100000 {
519 compatible = "xlnx,zynqmp-nand-controller", "arasan,nfc-v3p10";
Michal Simek54b896f2015-10-30 15:39:18 +0100520 status = "disabled";
Michal Simek72b562a2016-02-11 07:19:06 +0100521 reg = <0x0 0xff100000 0x0 0x1000>;
Amit Kumar Mahapatrac0504ca2021-02-23 13:47:20 -0700522 clock-names = "controller", "bus";
Michal Simek54b896f2015-10-30 15:39:18 +0100523 interrupt-parent = <&gic>;
524 interrupts = <0 14 4>;
Naga Sureshkumar Rellie007a352017-01-23 16:20:37 +0530525 #address-cells = <1>;
526 #size-cells = <0>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200527 iommus = <&smmu 0x872>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200528 power-domains = <&zynqmp_firmware PD_NAND>;
Michal Simek54b896f2015-10-30 15:39:18 +0100529 };
530
531 gem0: ethernet@ff0b0000 {
Harini Katakam3f9b23a2022-08-23 14:59:20 +0200532 compatible = "xlnx,zynqmp-gem", "cdns,zynqmp-gem", "cdns,gem";
Michal Simek54b896f2015-10-30 15:39:18 +0100533 status = "disabled";
534 interrupt-parent = <&gic>;
535 interrupts = <0 57 4>, <0 57 4>;
Michal Simek72b562a2016-02-11 07:19:06 +0100536 reg = <0x0 0xff0b0000 0x0 0x1000>;
Michal Simek90c43f62021-11-18 13:42:28 +0100537 clock-names = "pclk", "hclk", "tx_clk", "rx_clk", "tsu_clk";
Michal Simek54b896f2015-10-30 15:39:18 +0100538 #address-cells = <1>;
539 #size-cells = <0>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200540 iommus = <&smmu 0x874>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200541 power-domains = <&zynqmp_firmware PD_ETH_0>;
Michal Simek676c2af2021-11-18 13:42:27 +0100542 resets = <&zynqmp_reset ZYNQMP_RESET_GEM0>;
Michal Simek54b896f2015-10-30 15:39:18 +0100543 };
544
545 gem1: ethernet@ff0c0000 {
Harini Katakam3f9b23a2022-08-23 14:59:20 +0200546 compatible = "xlnx,zynqmp-gem", "cdns,zynqmp-gem", "cdns,gem";
Michal Simek54b896f2015-10-30 15:39:18 +0100547 status = "disabled";
548 interrupt-parent = <&gic>;
549 interrupts = <0 59 4>, <0 59 4>;
Michal Simek72b562a2016-02-11 07:19:06 +0100550 reg = <0x0 0xff0c0000 0x0 0x1000>;
Michal Simek90c43f62021-11-18 13:42:28 +0100551 clock-names = "pclk", "hclk", "tx_clk", "rx_clk", "tsu_clk";
Michal Simek54b896f2015-10-30 15:39:18 +0100552 #address-cells = <1>;
553 #size-cells = <0>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200554 iommus = <&smmu 0x875>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200555 power-domains = <&zynqmp_firmware PD_ETH_1>;
Michal Simek676c2af2021-11-18 13:42:27 +0100556 resets = <&zynqmp_reset ZYNQMP_RESET_GEM1>;
Michal Simek54b896f2015-10-30 15:39:18 +0100557 };
558
559 gem2: ethernet@ff0d0000 {
Harini Katakam3f9b23a2022-08-23 14:59:20 +0200560 compatible = "xlnx,zynqmp-gem", "cdns,zynqmp-gem", "cdns,gem";
Michal Simek54b896f2015-10-30 15:39:18 +0100561 status = "disabled";
562 interrupt-parent = <&gic>;
563 interrupts = <0 61 4>, <0 61 4>;
Michal Simek72b562a2016-02-11 07:19:06 +0100564 reg = <0x0 0xff0d0000 0x0 0x1000>;
Michal Simek90c43f62021-11-18 13:42:28 +0100565 clock-names = "pclk", "hclk", "tx_clk", "rx_clk", "tsu_clk";
Michal Simek54b896f2015-10-30 15:39:18 +0100566 #address-cells = <1>;
567 #size-cells = <0>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200568 iommus = <&smmu 0x876>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200569 power-domains = <&zynqmp_firmware PD_ETH_2>;
Michal Simek676c2af2021-11-18 13:42:27 +0100570 resets = <&zynqmp_reset ZYNQMP_RESET_GEM2>;
Michal Simek54b896f2015-10-30 15:39:18 +0100571 };
572
573 gem3: ethernet@ff0e0000 {
Harini Katakam3f9b23a2022-08-23 14:59:20 +0200574 compatible = "xlnx,zynqmp-gem", "cdns,zynqmp-gem", "cdns,gem";
Michal Simek54b896f2015-10-30 15:39:18 +0100575 status = "disabled";
576 interrupt-parent = <&gic>;
577 interrupts = <0 63 4>, <0 63 4>;
Michal Simek72b562a2016-02-11 07:19:06 +0100578 reg = <0x0 0xff0e0000 0x0 0x1000>;
Michal Simek90c43f62021-11-18 13:42:28 +0100579 clock-names = "pclk", "hclk", "tx_clk", "rx_clk", "tsu_clk";
Michal Simek54b896f2015-10-30 15:39:18 +0100580 #address-cells = <1>;
581 #size-cells = <0>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200582 iommus = <&smmu 0x877>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200583 power-domains = <&zynqmp_firmware PD_ETH_3>;
Michal Simek676c2af2021-11-18 13:42:27 +0100584 resets = <&zynqmp_reset ZYNQMP_RESET_GEM3>;
Michal Simek54b896f2015-10-30 15:39:18 +0100585 };
586
587 gpio: gpio@ff0a0000 {
588 compatible = "xlnx,zynqmp-gpio-1.0";
589 status = "disabled";
590 #gpio-cells = <0x2>;
Michal Simek3d5f0f62020-01-09 13:10:59 +0100591 gpio-controller;
Michal Simek54b896f2015-10-30 15:39:18 +0100592 interrupt-parent = <&gic>;
593 interrupts = <0 16 4>;
Michal Simek7e2df452016-10-20 10:26:13 +0200594 interrupt-controller;
595 #interrupt-cells = <2>;
Michal Simek72b562a2016-02-11 07:19:06 +0100596 reg = <0x0 0xff0a0000 0x0 0x1000>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200597 power-domains = <&zynqmp_firmware PD_GPIO>;
Michal Simek54b896f2015-10-30 15:39:18 +0100598 };
599
600 i2c0: i2c@ff020000 {
Michal Simek26cbd922020-09-29 13:43:22 +0200601 compatible = "cdns,i2c-r1p14";
Michal Simek54b896f2015-10-30 15:39:18 +0100602 status = "disabled";
603 interrupt-parent = <&gic>;
604 interrupts = <0 17 4>;
Michal Simek72b562a2016-02-11 07:19:06 +0100605 reg = <0x0 0xff020000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100606 #address-cells = <1>;
607 #size-cells = <0>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200608 power-domains = <&zynqmp_firmware PD_I2C_0>;
Michal Simek54b896f2015-10-30 15:39:18 +0100609 };
610
611 i2c1: i2c@ff030000 {
Michal Simek26cbd922020-09-29 13:43:22 +0200612 compatible = "cdns,i2c-r1p14";
Michal Simek54b896f2015-10-30 15:39:18 +0100613 status = "disabled";
614 interrupt-parent = <&gic>;
615 interrupts = <0 18 4>;
Michal Simek72b562a2016-02-11 07:19:06 +0100616 reg = <0x0 0xff030000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100617 #address-cells = <1>;
618 #size-cells = <0>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200619 power-domains = <&zynqmp_firmware PD_I2C_1>;
Michal Simek54b896f2015-10-30 15:39:18 +0100620 };
621
Naga Sureshkumar Relli104b4fc2016-05-18 12:23:13 +0530622 ocm: memory-controller@ff960000 {
623 compatible = "xlnx,zynqmp-ocmc-1.0";
Michal Simek72b562a2016-02-11 07:19:06 +0100624 reg = <0x0 0xff960000 0x0 0x1000>;
Naga Sureshkumar Relli104b4fc2016-05-18 12:23:13 +0530625 interrupt-parent = <&gic>;
626 interrupts = <0 10 4>;
627 };
628
Michal Simek54b896f2015-10-30 15:39:18 +0100629 pcie: pcie@fd0e0000 {
630 compatible = "xlnx,nwl-pcie-2.11";
631 status = "disabled";
632 #address-cells = <3>;
633 #size-cells = <2>;
634 #interrupt-cells = <1>;
Bharat Kumar Gogadae44f69d2016-07-19 20:49:29 +0530635 msi-controller;
Michal Simek54b896f2015-10-30 15:39:18 +0100636 device_type = "pci";
637 interrupt-parent = <&gic>;
Michal Simekf9fda432016-01-20 12:59:23 +0100638 interrupts = <0 118 4>,
Bharat Kumar Gogadae44f69d2016-07-19 20:49:29 +0530639 <0 117 4>,
Michal Simekf9fda432016-01-20 12:59:23 +0100640 <0 116 4>,
641 <0 115 4>, /* MSI_1 [63...32] */
642 <0 114 4>; /* MSI_0 [31...0] */
Michal Simek91ab8252018-01-17 16:32:33 +0100643 interrupt-names = "misc", "dummy", "intx",
644 "msi1", "msi0";
Bharat Kumar Gogadae44f69d2016-07-19 20:49:29 +0530645 msi-parent = <&pcie>;
Michal Simek72b562a2016-02-11 07:19:06 +0100646 reg = <0x0 0xfd0e0000 0x0 0x1000>,
647 <0x0 0xfd480000 0x0 0x1000>,
Bharat Kumar Gogadae829f072016-08-02 20:34:13 +0530648 <0x80 0x00000000 0x0 0x1000000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100649 reg-names = "breg", "pcireg", "cfg";
Michal Simek26cbd922020-09-29 13:43:22 +0200650 ranges = <0x02000000 0x00000000 0xe0000000 0x00000000 0xe0000000 0x00000000 0x10000000>,/* non-prefetchable memory */
651 <0x43000000 0x00000006 0x00000000 0x00000006 0x00000000 0x00000002 0x00000000>;/* prefetchable memory */
Rob Herring1559f562017-03-21 21:03:13 -0500652 bus-range = <0x00 0xff>;
Bharat Kumar Gogadaf6e02b32016-02-15 21:18:58 +0530653 interrupt-map-mask = <0x0 0x0 0x0 0x7>;
654 interrupt-map = <0x0 0x0 0x0 0x1 &pcie_intc 0x1>,
655 <0x0 0x0 0x0 0x2 &pcie_intc 0x2>,
656 <0x0 0x0 0x0 0x3 &pcie_intc 0x3>,
657 <0x0 0x0 0x0 0x4 &pcie_intc 0x4>;
Stefano Stabellinif8a9daa2021-05-05 14:18:21 -0700658 iommus = <&smmu 0x4d0>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200659 power-domains = <&zynqmp_firmware PD_PCIE>;
Bharat Kumar Gogadaf6e02b32016-02-15 21:18:58 +0530660 pcie_intc: legacy-interrupt-controller {
661 interrupt-controller;
662 #address-cells = <0>;
663 #interrupt-cells = <1>;
664 };
Michal Simek54b896f2015-10-30 15:39:18 +0100665 };
666
667 qspi: spi@ff0f0000 {
Michal Simek933b6f72017-01-16 12:07:33 +0100668 u-boot,dm-pre-reloc;
Michal Simek54b896f2015-10-30 15:39:18 +0100669 compatible = "xlnx,zynqmp-qspi-1.0";
670 status = "disabled";
671 clock-names = "ref_clk", "pclk";
672 interrupts = <0 15 4>;
673 interrupt-parent = <&gic>;
674 num-cs = <1>;
Michal Simek72b562a2016-02-11 07:19:06 +0100675 reg = <0x0 0xff0f0000 0x0 0x1000>,
676 <0x0 0xc0000000 0x0 0x8000000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100677 #address-cells = <1>;
678 #size-cells = <0>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200679 iommus = <&smmu 0x873>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200680 power-domains = <&zynqmp_firmware PD_QSPI>;
Michal Simek54b896f2015-10-30 15:39:18 +0100681 };
682
Michal Simek958c0e92020-11-26 14:25:02 +0100683 psgtr: phy@fd400000 {
684 compatible = "xlnx,zynqmp-psgtr-v1.1";
685 status = "disabled";
686 reg = <0x0 0xfd400000 0x0 0x40000>,
687 <0x0 0xfd3d0000 0x0 0x1000>;
688 reg-names = "serdes", "siou";
689 #phy-cells = <4>;
690 };
691
Michal Simek54b896f2015-10-30 15:39:18 +0100692 rtc: rtc@ffa60000 {
693 compatible = "xlnx,zynqmp-rtc";
694 status = "disabled";
Michal Simek72b562a2016-02-11 07:19:06 +0100695 reg = <0x0 0xffa60000 0x0 0x100>;
Michal Simek54b896f2015-10-30 15:39:18 +0100696 interrupt-parent = <&gic>;
697 interrupts = <0 26 4>, <0 27 4>;
698 interrupt-names = "alarm", "sec";
Srinivas Neeli45b66c42021-03-08 14:05:19 +0530699 calibration = <0x7FFF>;
Michal Simek54b896f2015-10-30 15:39:18 +0100700 };
701
702 sata: ahci@fd0c0000 {
703 compatible = "ceva,ahci-1v84";
704 status = "disabled";
Michal Simek72b562a2016-02-11 07:19:06 +0100705 reg = <0x0 0xfd0c0000 0x0 0x2000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100706 interrupt-parent = <&gic>;
707 interrupts = <0 133 4>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200708 power-domains = <&zynqmp_firmware PD_SATA>;
Michal Simek04fd5412021-05-27 13:49:05 +0200709 resets = <&zynqmp_reset ZYNQMP_RESET_SATA>;
Anurag Kumar Vulisha4e2aaef2017-07-04 20:03:42 +0530710 iommus = <&smmu 0x4c0>, <&smmu 0x4c1>,
711 <&smmu 0x4c2>, <&smmu 0x4c3>;
712 /* dma-coherent; */
Michal Simek54b896f2015-10-30 15:39:18 +0100713 };
714
Siva Durga Prasad Paladugue91778d2019-01-03 15:44:24 +0530715 sdhci0: mmc@ff160000 {
Michal Simekba087532016-02-22 09:57:27 +0100716 u-boot,dm-pre-reloc;
Sai Krishna Potthuri02550fb2016-08-16 14:41:35 +0530717 compatible = "xlnx,zynqmp-8.9a", "arasan,sdhci-8.9a";
Michal Simek54b896f2015-10-30 15:39:18 +0100718 status = "disabled";
719 interrupt-parent = <&gic>;
720 interrupts = <0 48 4>;
Michal Simek72b562a2016-02-11 07:19:06 +0100721 reg = <0x0 0xff160000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100722 clock-names = "clk_xin", "clk_ahb";
Sai Krishna Potthuri02550fb2016-08-16 14:41:35 +0530723 xlnx,device_id = <0>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200724 iommus = <&smmu 0x870>;
Ashok Reddy Somac6e97882020-02-17 23:32:57 -0700725 #clock-cells = <1>;
726 clock-output-names = "clk_out_sd0", "clk_in_sd0";
Michal Simek958c0e92020-11-26 14:25:02 +0100727 power-domains = <&zynqmp_firmware PD_SD_0>;
Sai Krishna Potthuri6602df42022-02-28 15:59:29 +0100728 resets = <&zynqmp_reset ZYNQMP_RESET_SDIO0>;
Michal Simek54b896f2015-10-30 15:39:18 +0100729 };
730
Siva Durga Prasad Paladugue91778d2019-01-03 15:44:24 +0530731 sdhci1: mmc@ff170000 {
Michal Simekba087532016-02-22 09:57:27 +0100732 u-boot,dm-pre-reloc;
Sai Krishna Potthuri02550fb2016-08-16 14:41:35 +0530733 compatible = "xlnx,zynqmp-8.9a", "arasan,sdhci-8.9a";
Michal Simek54b896f2015-10-30 15:39:18 +0100734 status = "disabled";
735 interrupt-parent = <&gic>;
736 interrupts = <0 49 4>;
Michal Simek72b562a2016-02-11 07:19:06 +0100737 reg = <0x0 0xff170000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100738 clock-names = "clk_xin", "clk_ahb";
Sai Krishna Potthuri02550fb2016-08-16 14:41:35 +0530739 xlnx,device_id = <1>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200740 iommus = <&smmu 0x871>;
Ashok Reddy Somac6e97882020-02-17 23:32:57 -0700741 #clock-cells = <1>;
742 clock-output-names = "clk_out_sd1", "clk_in_sd1";
Michal Simek958c0e92020-11-26 14:25:02 +0100743 power-domains = <&zynqmp_firmware PD_SD_1>;
Sai Krishna Potthuri6602df42022-02-28 15:59:29 +0100744 resets = <&zynqmp_reset ZYNQMP_RESET_SDIO1>;
Michal Simek54b896f2015-10-30 15:39:18 +0100745 };
746
Michal Simek26cbd922020-09-29 13:43:22 +0200747 smmu: iommu@fd800000 {
Michal Simek54b896f2015-10-30 15:39:18 +0100748 compatible = "arm,mmu-500";
Michal Simek72b562a2016-02-11 07:19:06 +0100749 reg = <0x0 0xfd800000 0x0 0x20000>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200750 #iommu-cells = <1>;
Naga Sureshkumar Relli033f87c2017-03-09 20:00:13 +0530751 status = "disabled";
Michal Simek54b896f2015-10-30 15:39:18 +0100752 #global-interrupts = <1>;
753 interrupt-parent = <&gic>;
Edgar E. Iglesiasf1880d82015-11-26 14:12:19 +0100754 interrupts = <0 155 4>,
755 <0 155 4>, <0 155 4>, <0 155 4>, <0 155 4>,
756 <0 155 4>, <0 155 4>, <0 155 4>, <0 155 4>,
757 <0 155 4>, <0 155 4>, <0 155 4>, <0 155 4>,
758 <0 155 4>, <0 155 4>, <0 155 4>, <0 155 4>;
Michal Simek54b896f2015-10-30 15:39:18 +0100759 };
760
761 spi0: spi@ff040000 {
762 compatible = "cdns,spi-r1p6";
763 status = "disabled";
764 interrupt-parent = <&gic>;
765 interrupts = <0 19 4>;
Michal Simek72b562a2016-02-11 07:19:06 +0100766 reg = <0x0 0xff040000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100767 clock-names = "ref_clk", "pclk";
768 #address-cells = <1>;
769 #size-cells = <0>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200770 power-domains = <&zynqmp_firmware PD_SPI_0>;
Michal Simek54b896f2015-10-30 15:39:18 +0100771 };
772
773 spi1: spi@ff050000 {
774 compatible = "cdns,spi-r1p6";
775 status = "disabled";
776 interrupt-parent = <&gic>;
777 interrupts = <0 20 4>;
Michal Simek72b562a2016-02-11 07:19:06 +0100778 reg = <0x0 0xff050000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100779 clock-names = "ref_clk", "pclk";
780 #address-cells = <1>;
781 #size-cells = <0>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200782 power-domains = <&zynqmp_firmware PD_SPI_1>;
Michal Simek54b896f2015-10-30 15:39:18 +0100783 };
784
785 ttc0: timer@ff110000 {
786 compatible = "cdns,ttc";
787 status = "disabled";
788 interrupt-parent = <&gic>;
789 interrupts = <0 36 4>, <0 37 4>, <0 38 4>;
Michal Simek72b562a2016-02-11 07:19:06 +0100790 reg = <0x0 0xff110000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100791 timer-width = <32>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200792 power-domains = <&zynqmp_firmware PD_TTC_0>;
Michal Simek54b896f2015-10-30 15:39:18 +0100793 };
794
795 ttc1: timer@ff120000 {
796 compatible = "cdns,ttc";
797 status = "disabled";
798 interrupt-parent = <&gic>;
799 interrupts = <0 39 4>, <0 40 4>, <0 41 4>;
Michal Simek72b562a2016-02-11 07:19:06 +0100800 reg = <0x0 0xff120000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100801 timer-width = <32>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200802 power-domains = <&zynqmp_firmware PD_TTC_1>;
Michal Simek54b896f2015-10-30 15:39:18 +0100803 };
804
805 ttc2: timer@ff130000 {
806 compatible = "cdns,ttc";
807 status = "disabled";
808 interrupt-parent = <&gic>;
809 interrupts = <0 42 4>, <0 43 4>, <0 44 4>;
Michal Simek72b562a2016-02-11 07:19:06 +0100810 reg = <0x0 0xff130000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100811 timer-width = <32>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200812 power-domains = <&zynqmp_firmware PD_TTC_2>;
Michal Simek54b896f2015-10-30 15:39:18 +0100813 };
814
815 ttc3: timer@ff140000 {
816 compatible = "cdns,ttc";
817 status = "disabled";
818 interrupt-parent = <&gic>;
819 interrupts = <0 45 4>, <0 46 4>, <0 47 4>;
Michal Simek72b562a2016-02-11 07:19:06 +0100820 reg = <0x0 0xff140000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100821 timer-width = <32>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200822 power-domains = <&zynqmp_firmware PD_TTC_3>;
Michal Simek54b896f2015-10-30 15:39:18 +0100823 };
824
825 uart0: serial@ff000000 {
Michal Simekba087532016-02-22 09:57:27 +0100826 u-boot,dm-pre-reloc;
Michal Simekae89fd82022-01-14 12:43:05 +0100827 compatible = "xlnx,zynqmp-uart", "cdns,uart-r1p12";
Michal Simek54b896f2015-10-30 15:39:18 +0100828 status = "disabled";
829 interrupt-parent = <&gic>;
830 interrupts = <0 21 4>;
Michal Simek72b562a2016-02-11 07:19:06 +0100831 reg = <0x0 0xff000000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100832 clock-names = "uart_clk", "pclk";
Michal Simek7c001dc2019-10-14 15:56:31 +0200833 power-domains = <&zynqmp_firmware PD_UART_0>;
Michal Simek54b896f2015-10-30 15:39:18 +0100834 };
835
836 uart1: serial@ff010000 {
Michal Simekba087532016-02-22 09:57:27 +0100837 u-boot,dm-pre-reloc;
Michal Simekae89fd82022-01-14 12:43:05 +0100838 compatible = "xlnx,zynqmp-uart", "cdns,uart-r1p12";
Michal Simek54b896f2015-10-30 15:39:18 +0100839 status = "disabled";
840 interrupt-parent = <&gic>;
841 interrupts = <0 22 4>;
Michal Simek72b562a2016-02-11 07:19:06 +0100842 reg = <0x0 0xff010000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100843 clock-names = "uart_clk", "pclk";
Michal Simek7c001dc2019-10-14 15:56:31 +0200844 power-domains = <&zynqmp_firmware PD_UART_1>;
Michal Simek54b896f2015-10-30 15:39:18 +0100845 };
846
Manish Narani047096e2017-03-27 17:47:00 +0530847 usb0: usb0@ff9d0000 {
Michal Simek13111a12016-04-07 15:06:07 +0200848 #address-cells = <2>;
Michal Simek72b562a2016-02-11 07:19:06 +0100849 #size-cells = <2>;
Michal Simek54b896f2015-10-30 15:39:18 +0100850 status = "disabled";
Michal Simek13111a12016-04-07 15:06:07 +0200851 compatible = "xlnx,zynqmp-dwc3";
Manish Narani047096e2017-03-27 17:47:00 +0530852 reg = <0x0 0xff9d0000 0x0 0x100>;
Michal Simek13111a12016-04-07 15:06:07 +0200853 clock-names = "bus_clk", "ref_clk";
Michal Simek7c001dc2019-10-14 15:56:31 +0200854 power-domains = <&zynqmp_firmware PD_USB_0>;
Michal Simek362082a2021-06-11 08:51:19 +0200855 resets = <&zynqmp_reset ZYNQMP_RESET_USB0_CORERESET>,
856 <&zynqmp_reset ZYNQMP_RESET_USB0_HIBERRESET>,
857 <&zynqmp_reset ZYNQMP_RESET_USB0_APB>;
858 reset-names = "usb_crst", "usb_hibrst", "usb_apbrst";
Piyush Mehta949e7952022-05-11 11:52:45 +0200859 reset-gpios = <&modepin_gpio 1 GPIO_ACTIVE_LOW>;
Michal Simek13111a12016-04-07 15:06:07 +0200860 ranges;
861
Manish Narani690dec02022-01-14 12:43:35 +0100862 dwc3_0: usb@fe200000 {
Michal Simek13111a12016-04-07 15:06:07 +0200863 compatible = "snps,dwc3";
864 status = "disabled";
Michal Simek72b562a2016-02-11 07:19:06 +0100865 reg = <0x0 0xfe200000 0x0 0x40000>;
Michal Simek13111a12016-04-07 15:06:07 +0200866 interrupt-parent = <&gic>;
Michal Simek362082a2021-06-11 08:51:19 +0200867 interrupt-names = "dwc_usb3", "otg", "hiber";
868 interrupts = <0 65 4>, <0 69 4>, <0 75 4>;
Anurag Kumar Vulisha4bf99f82017-06-20 16:25:16 +0530869 iommus = <&smmu 0x860>;
Anurag Kumar Vulisha011bd7d2017-03-10 19:18:17 +0530870 snps,quirk-frame-length-adjustment = <0x20>;
Michal Simek13111a12016-04-07 15:06:07 +0200871 snps,refclk_fladj;
Michal Simek362082a2021-06-11 08:51:19 +0200872 snps,enable_guctl1_resume_quirk;
873 snps,enable_guctl1_ipd_quirk;
874 snps,xhci-stream-quirk;
Manish Narani047096e2017-03-27 17:47:00 +0530875 /* dma-coherent; */
Michal Simek13111a12016-04-07 15:06:07 +0200876 };
Michal Simek54b896f2015-10-30 15:39:18 +0100877 };
878
Manish Narani047096e2017-03-27 17:47:00 +0530879 usb1: usb1@ff9e0000 {
Michal Simek13111a12016-04-07 15:06:07 +0200880 #address-cells = <2>;
Michal Simek72b562a2016-02-11 07:19:06 +0100881 #size-cells = <2>;
Michal Simek54b896f2015-10-30 15:39:18 +0100882 status = "disabled";
Michal Simek13111a12016-04-07 15:06:07 +0200883 compatible = "xlnx,zynqmp-dwc3";
Manish Narani047096e2017-03-27 17:47:00 +0530884 reg = <0x0 0xff9e0000 0x0 0x100>;
Michal Simek13111a12016-04-07 15:06:07 +0200885 clock-names = "bus_clk", "ref_clk";
Michal Simek7c001dc2019-10-14 15:56:31 +0200886 power-domains = <&zynqmp_firmware PD_USB_1>;
Michal Simek362082a2021-06-11 08:51:19 +0200887 resets = <&zynqmp_reset ZYNQMP_RESET_USB1_CORERESET>,
888 <&zynqmp_reset ZYNQMP_RESET_USB1_HIBERRESET>,
889 <&zynqmp_reset ZYNQMP_RESET_USB1_APB>;
890 reset-names = "usb_crst", "usb_hibrst", "usb_apbrst";
Michal Simek13111a12016-04-07 15:06:07 +0200891 ranges;
892
Manish Narani690dec02022-01-14 12:43:35 +0100893 dwc3_1: usb@fe300000 {
Michal Simek13111a12016-04-07 15:06:07 +0200894 compatible = "snps,dwc3";
895 status = "disabled";
Michal Simek72b562a2016-02-11 07:19:06 +0100896 reg = <0x0 0xfe300000 0x0 0x40000>;
Michal Simek13111a12016-04-07 15:06:07 +0200897 interrupt-parent = <&gic>;
Michal Simek362082a2021-06-11 08:51:19 +0200898 interrupt-names = "dwc_usb3", "otg", "hiber";
899 interrupts = <0 70 4>, <0 74 4>, <0 76 4>;
Anurag Kumar Vulisha4bf99f82017-06-20 16:25:16 +0530900 iommus = <&smmu 0x861>;
Anurag Kumar Vulisha011bd7d2017-03-10 19:18:17 +0530901 snps,quirk-frame-length-adjustment = <0x20>;
Michal Simek13111a12016-04-07 15:06:07 +0200902 snps,refclk_fladj;
Michal Simek362082a2021-06-11 08:51:19 +0200903 snps,enable_guctl1_resume_quirk;
904 snps,enable_guctl1_ipd_quirk;
905 snps,xhci-stream-quirk;
Manish Narani047096e2017-03-27 17:47:00 +0530906 /* dma-coherent; */
Michal Simek13111a12016-04-07 15:06:07 +0200907 };
Michal Simek54b896f2015-10-30 15:39:18 +0100908 };
909
910 watchdog0: watchdog@fd4d0000 {
911 compatible = "cdns,wdt-r1p2";
912 status = "disabled";
913 interrupt-parent = <&gic>;
Punnaiah Choudary Kallurid67bab62015-11-04 12:34:17 +0530914 interrupts = <0 113 1>;
Michal Simek72b562a2016-02-11 07:19:06 +0100915 reg = <0x0 0xfd4d0000 0x0 0x1000>;
Mounika Grace Akula7db82412018-10-09 20:52:50 +0530916 timeout-sec = <60>;
917 reset-on-timeout;
Michal Simek54b896f2015-10-30 15:39:18 +0100918 };
919
Michal Simek7b6280e2018-07-18 09:25:43 +0200920 lpd_watchdog: watchdog@ff150000 {
921 compatible = "cdns,wdt-r1p2";
922 status = "disabled";
923 interrupt-parent = <&gic>;
924 interrupts = <0 52 1>;
925 reg = <0x0 0xff150000 0x0 0x1000>;
926 timeout-sec = <10>;
927 };
928
Michal Simek1bb4be32017-11-02 12:04:43 +0100929 xilinx_ams: ams@ffa50000 {
930 compatible = "xlnx,zynqmp-ams";
931 status = "disabled";
932 interrupt-parent = <&gic>;
933 interrupts = <0 56 4>;
934 interrupt-names = "ams-irq";
935 reg = <0x0 0xffa50000 0x0 0x800>;
936 reg-names = "ams-base";
937 #address-cells = <2>;
938 #size-cells = <2>;
939 #io-channel-cells = <1>;
940 ranges;
941
942 ams_ps: ams_ps@ffa50800 {
943 compatible = "xlnx,zynqmp-ams-ps";
944 status = "disabled";
945 reg = <0x0 0xffa50800 0x0 0x400>;
946 };
947
948 ams_pl: ams_pl@ffa50c00 {
949 compatible = "xlnx,zynqmp-ams-pl";
950 status = "disabled";
951 reg = <0x0 0xffa50c00 0x0 0x400>;
952 };
953 };
954
Michal Simek958c0e92020-11-26 14:25:02 +0100955 zynqmp_dpdma: dma-controller@fd4c0000 {
956 compatible = "xlnx,zynqmp-dpdma";
Michal Simek54b896f2015-10-30 15:39:18 +0100957 status = "disabled";
Michal Simek72b562a2016-02-11 07:19:06 +0100958 reg = <0x0 0xfd4c0000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100959 interrupts = <0 122 4>;
960 interrupt-parent = <&gic>;
961 clock-names = "axi_clk";
Michal Simek7c001dc2019-10-14 15:56:31 +0200962 power-domains = <&zynqmp_firmware PD_DP>;
Michal Simek54b896f2015-10-30 15:39:18 +0100963 #dma-cells = <1>;
Michal Simek54b896f2015-10-30 15:39:18 +0100964 };
Michal Simek37674252020-02-18 09:24:08 +0100965
Michal Simek958c0e92020-11-26 14:25:02 +0100966 zynqmp_dpsub: display@fd4a0000 {
Michal Simek100b86d2021-11-18 13:40:31 +0100967 u-boot,dm-pre-reloc;
Michal Simek37674252020-02-18 09:24:08 +0100968 compatible = "xlnx,zynqmp-dpsub-1.7";
969 status = "disabled";
970 reg = <0x0 0xfd4a0000 0x0 0x1000>,
971 <0x0 0xfd4aa000 0x0 0x1000>,
972 <0x0 0xfd4ab000 0x0 0x1000>,
973 <0x0 0xfd4ac000 0x0 0x1000>;
974 reg-names = "dp", "blend", "av_buf", "aud";
975 interrupts = <0 119 4>;
976 interrupt-parent = <&gic>;
Michal Simek37674252020-02-18 09:24:08 +0100977 clock-names = "dp_apb_clk", "dp_aud_clk",
978 "dp_vtc_pixel_clk_in";
Michal Simek37674252020-02-18 09:24:08 +0100979 power-domains = <&zynqmp_firmware PD_DP>;
Michal Simek958c0e92020-11-26 14:25:02 +0100980 resets = <&zynqmp_reset ZYNQMP_RESET_DP>;
981 dma-names = "vid0", "vid1", "vid2", "gfx0";
982 dmas = <&zynqmp_dpdma ZYNQMP_DPDMA_VIDEO0>,
983 <&zynqmp_dpdma ZYNQMP_DPDMA_VIDEO1>,
984 <&zynqmp_dpdma ZYNQMP_DPDMA_VIDEO2>,
985 <&zynqmp_dpdma ZYNQMP_DPDMA_GRAPHICS>;
Michal Simek37674252020-02-18 09:24:08 +0100986 };
Michal Simek54b896f2015-10-30 15:39:18 +0100987 };
988};