blob: b117fc43c6d28a6e73c2162b050af3b715974ac0 [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 Simekcc855d02019-10-14 15:52:17 +0200118 reg-names = "local_request_region", "local_response_region",
Ibai Erkiaga1c79e1e2019-09-27 11:36:58 +0100119 "remote_request_region", "remote_response_region";
120 #mbox-cells = <1>;
121 xlnx,ipi-id = <4>;
122 };
123 };
124
Michal Simekde29d542016-09-09 08:46:39 +0200125 dcc: dcc {
126 compatible = "arm,dcc";
127 status = "disabled";
128 u-boot,dm-pre-reloc;
129 };
130
Michal Simek54b896f2015-10-30 15:39:18 +0100131 pmu {
132 compatible = "arm,armv8-pmuv3";
Michal Simek86e6eee2016-04-07 15:28:33 +0200133 interrupt-parent = <&gic>;
Michal Simek54b896f2015-10-30 15:39:18 +0100134 interrupts = <0 143 4>,
135 <0 144 4>,
136 <0 145 4>,
137 <0 146 4>;
138 };
139
140 psci {
141 compatible = "arm,psci-0.2";
142 method = "smc";
143 };
144
Ibai Erkiaga1c79e1e2019-09-27 11:36:58 +0100145 firmware {
Michal Simekebddf492019-10-14 15:42:03 +0200146 zynqmp_firmware: zynqmp-firmware {
Ibai Erkiaga1c79e1e2019-09-27 11:36:58 +0100147 compatible = "xlnx,zynqmp-firmware";
148 method = "smc";
149 #power-domain-cells = <0x1>;
150 u-boot,dm-pre-reloc;
151
Nava kishore Manne042ae5e2019-10-18 18:07:32 +0200152 zynqmp_pcap: pcap {
153 compatible = "xlnx,zynqmp-pcap-fpga";
154 clock-names = "ref_clk";
155 };
156
Ibai Erkiaga1c79e1e2019-09-27 11:36:58 +0100157 zynqmp_power: zynqmp-power {
158 u-boot,dm-pre-reloc;
159 compatible = "xlnx,zynqmp-power";
160 interrupt-parent = <&gic>;
161 interrupts = <0 35 4>;
162 mboxes = <&ipi_mailbox_pmu1 0>, <&ipi_mailbox_pmu1 1>;
163 mbox-names = "tx", "rx";
164 };
Michal Simeka898c332019-10-14 15:55:53 +0200165
166 zynqmp_reset: reset-controller {
167 compatible = "xlnx,zynqmp-reset";
168 #reset-cells = <1>;
169 };
Ibai Erkiaga1c79e1e2019-09-27 11:36:58 +0100170 };
Michal Simek54b896f2015-10-30 15:39:18 +0100171 };
172
173 timer {
174 compatible = "arm,armv8-timer";
175 interrupt-parent = <&gic>;
Michal Simek2155a602017-02-09 14:45:12 +0100176 interrupts = <1 13 0xf08>,
177 <1 14 0xf08>,
178 <1 11 0xf08>,
179 <1 10 0xf08>;
Michal Simek54b896f2015-10-30 15:39:18 +0100180 };
181
Naga Sureshkumar Relli1931f212016-06-20 15:48:30 +0530182 edac {
183 compatible = "arm,cortex-a53-edac";
184 };
185
Nava kishore Mannea1763ba2017-05-22 12:05:17 +0530186 fpga_full: fpga-full {
187 compatible = "fpga-region";
Nava kishore Manne042ae5e2019-10-18 18:07:32 +0200188 fpga-mgr = <&zynqmp_pcap>;
Nava kishore Mannea1763ba2017-05-22 12:05:17 +0530189 #address-cells = <2>;
190 #size-cells = <2>;
Nava kishore Manne042ae5e2019-10-18 18:07:32 +0200191 ranges;
Nava kishore Mannea1763ba2017-05-22 12:05:17 +0530192 };
193
Nava kishore Manne59dc8ce2017-01-17 16:57:24 +0530194 nvmem_firmware {
195 compatible = "xlnx,zynqmp-nvmem-fw";
196 #address-cells = <1>;
197 #size-cells = <1>;
198
199 soc_revision: soc_revision@0 {
200 reg = <0x0 0x4>;
201 };
202 };
203
Michal Simek63e5dd52017-07-05 14:51:42 +0200204 xlnx_dp_snd_card: dp_snd_card {
205 compatible = "xlnx,dp-snd-card";
206 status = "disabled";
207 xlnx,dp-snd-pcm = <&xlnx_dp_snd_pcm0>, <&xlnx_dp_snd_pcm1>;
208 xlnx,dp-snd-codec = <&xlnx_dp_snd_codec0>;
209 };
210
211 xlnx_dp_snd_codec0: dp_snd_codec0 {
212 compatible = "xlnx,dp-snd-codec";
213 status = "disabled";
214 clock-names = "aud_clk";
215 };
216
217 xlnx_dp_snd_pcm0: dp_snd_pcm0 {
218 compatible = "xlnx,dp-snd-pcm";
219 status = "disabled";
220 dmas = <&xlnx_dpdma 4>;
221 dma-names = "tx";
222 };
223
224 xlnx_dp_snd_pcm1: dp_snd_pcm1 {
225 compatible = "xlnx,dp-snd-pcm";
226 status = "disabled";
227 dmas = <&xlnx_dpdma 5>;
228 dma-names = "tx";
229 };
230
231 xilinx_drm: xilinx_drm {
232 compatible = "xlnx,drm";
233 status = "disabled";
234 xlnx,encoder-slave = <&xlnx_dp>;
235 xlnx,connector-type = "DisplayPort";
236 xlnx,dp-sub = <&xlnx_dp_sub>;
237 planes {
238 xlnx,pixel-format = "rgb565";
239 plane0 {
240 dmas = <&xlnx_dpdma 3>;
241 dma-names = "dma0";
242 };
243 plane1 {
244 dmas = <&xlnx_dpdma 0>,
245 <&xlnx_dpdma 1>,
246 <&xlnx_dpdma 2>;
247 dma-names = "dma0", "dma1", "dma2";
248 };
249 };
250 };
251
Michal Simek2ef53362018-11-08 10:06:53 +0100252 amba_apu: amba-apu@0 {
Michal Simek54b896f2015-10-30 15:39:18 +0100253 compatible = "simple-bus";
254 #address-cells = <2>;
255 #size-cells = <1>;
Michal Simekd171c752016-04-07 15:07:38 +0200256 ranges = <0 0 0 0 0xffffffff>;
Michal Simek54b896f2015-10-30 15:39:18 +0100257
258 gic: interrupt-controller@f9010000 {
259 compatible = "arm,gic-400", "arm,cortex-a15-gic";
260 #interrupt-cells = <3>;
261 reg = <0x0 0xf9010000 0x10000>,
Alexander Grafd35e65d2016-05-12 13:44:01 +0200262 <0x0 0xf9020000 0x20000>,
Michal Simek54b896f2015-10-30 15:39:18 +0100263 <0x0 0xf9040000 0x20000>,
Alexander Grafd35e65d2016-05-12 13:44:01 +0200264 <0x0 0xf9060000 0x20000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100265 interrupt-controller;
266 interrupt-parent = <&gic>;
267 interrupts = <1 9 0xf04>;
268 };
269 };
270
Michal Simek72b562a2016-02-11 07:19:06 +0100271 amba: amba {
Michal Simek54b896f2015-10-30 15:39:18 +0100272 compatible = "simple-bus";
Michal Simekba087532016-02-22 09:57:27 +0100273 u-boot,dm-pre-reloc;
Michal Simek54b896f2015-10-30 15:39:18 +0100274 #address-cells = <2>;
Michal Simek72b562a2016-02-11 07:19:06 +0100275 #size-cells = <2>;
276 ranges;
Michal Simek54b896f2015-10-30 15:39:18 +0100277
278 can0: can@ff060000 {
279 compatible = "xlnx,zynq-can-1.0";
280 status = "disabled";
281 clock-names = "can_clk", "pclk";
Michal Simek72b562a2016-02-11 07:19:06 +0100282 reg = <0x0 0xff060000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100283 interrupts = <0 23 4>;
284 interrupt-parent = <&gic>;
285 tx-fifo-depth = <0x40>;
286 rx-fifo-depth = <0x40>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200287 power-domains = <&zynqmp_firmware PD_CAN_0>;
Michal Simek54b896f2015-10-30 15:39:18 +0100288 };
289
290 can1: can@ff070000 {
291 compatible = "xlnx,zynq-can-1.0";
292 status = "disabled";
293 clock-names = "can_clk", "pclk";
Michal Simek72b562a2016-02-11 07:19:06 +0100294 reg = <0x0 0xff070000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100295 interrupts = <0 24 4>;
296 interrupt-parent = <&gic>;
297 tx-fifo-depth = <0x40>;
298 rx-fifo-depth = <0x40>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200299 power-domains = <&zynqmp_firmware PD_CAN_1>;
Michal Simek54b896f2015-10-30 15:39:18 +0100300 };
301
Michal Simekb197dd42015-11-26 11:21:25 +0100302 cci: cci@fd6e0000 {
303 compatible = "arm,cci-400";
Michal Simek72b562a2016-02-11 07:19:06 +0100304 reg = <0x0 0xfd6e0000 0x0 0x9000>;
Michal Simekb197dd42015-11-26 11:21:25 +0100305 ranges = <0x0 0x0 0xfd6e0000 0x10000>;
306 #address-cells = <1>;
307 #size-cells = <1>;
308
309 pmu@9000 {
310 compatible = "arm,cci-400-pmu,r1";
311 reg = <0x9000 0x5000>;
312 interrupt-parent = <&gic>;
313 interrupts = <0 123 4>,
314 <0 123 4>,
315 <0 123 4>,
316 <0 123 4>,
317 <0 123 4>;
318 };
319 };
320
Michal Simek54b896f2015-10-30 15:39:18 +0100321 /* GDMA */
322 fpd_dma_chan1: dma@fd500000 {
323 status = "disabled";
324 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simek72b562a2016-02-11 07:19:06 +0100325 reg = <0x0 0xfd500000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100326 interrupt-parent = <&gic>;
327 interrupts = <0 124 4>;
VNSL Durga7b3cb892016-03-24 22:45:12 +0530328 clock-names = "clk_main", "clk_apb";
Michal Simek54b896f2015-10-30 15:39:18 +0100329 xlnx,bus-width = <128>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200330 #stream-id-cells = <1>;
331 iommus = <&smmu 0x14e8>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200332 power-domains = <&zynqmp_firmware PD_GDMA>;
Michal Simek54b896f2015-10-30 15:39:18 +0100333 };
334
335 fpd_dma_chan2: dma@fd510000 {
336 status = "disabled";
337 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simek72b562a2016-02-11 07:19:06 +0100338 reg = <0x0 0xfd510000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100339 interrupt-parent = <&gic>;
340 interrupts = <0 125 4>;
VNSL Durga7b3cb892016-03-24 22:45:12 +0530341 clock-names = "clk_main", "clk_apb";
Michal Simek54b896f2015-10-30 15:39:18 +0100342 xlnx,bus-width = <128>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200343 #stream-id-cells = <1>;
344 iommus = <&smmu 0x14e9>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200345 power-domains = <&zynqmp_firmware PD_GDMA>;
Michal Simek54b896f2015-10-30 15:39:18 +0100346 };
347
348 fpd_dma_chan3: dma@fd520000 {
349 status = "disabled";
350 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simek72b562a2016-02-11 07:19:06 +0100351 reg = <0x0 0xfd520000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100352 interrupt-parent = <&gic>;
353 interrupts = <0 126 4>;
VNSL Durga7b3cb892016-03-24 22:45:12 +0530354 clock-names = "clk_main", "clk_apb";
Michal Simek54b896f2015-10-30 15:39:18 +0100355 xlnx,bus-width = <128>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200356 #stream-id-cells = <1>;
357 iommus = <&smmu 0x14ea>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200358 power-domains = <&zynqmp_firmware PD_GDMA>;
Michal Simek54b896f2015-10-30 15:39:18 +0100359 };
360
361 fpd_dma_chan4: dma@fd530000 {
362 status = "disabled";
363 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simek72b562a2016-02-11 07:19:06 +0100364 reg = <0x0 0xfd530000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100365 interrupt-parent = <&gic>;
366 interrupts = <0 127 4>;
VNSL Durga7b3cb892016-03-24 22:45:12 +0530367 clock-names = "clk_main", "clk_apb";
Michal Simek54b896f2015-10-30 15:39:18 +0100368 xlnx,bus-width = <128>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200369 #stream-id-cells = <1>;
370 iommus = <&smmu 0x14eb>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200371 power-domains = <&zynqmp_firmware PD_GDMA>;
Michal Simek54b896f2015-10-30 15:39:18 +0100372 };
373
374 fpd_dma_chan5: dma@fd540000 {
375 status = "disabled";
376 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simek72b562a2016-02-11 07:19:06 +0100377 reg = <0x0 0xfd540000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100378 interrupt-parent = <&gic>;
379 interrupts = <0 128 4>;
VNSL Durga7b3cb892016-03-24 22:45:12 +0530380 clock-names = "clk_main", "clk_apb";
Michal Simek54b896f2015-10-30 15:39:18 +0100381 xlnx,bus-width = <128>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200382 #stream-id-cells = <1>;
383 iommus = <&smmu 0x14ec>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200384 power-domains = <&zynqmp_firmware PD_GDMA>;
Michal Simek54b896f2015-10-30 15:39:18 +0100385 };
386
387 fpd_dma_chan6: dma@fd550000 {
388 status = "disabled";
389 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simek72b562a2016-02-11 07:19:06 +0100390 reg = <0x0 0xfd550000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100391 interrupt-parent = <&gic>;
392 interrupts = <0 129 4>;
VNSL Durga7b3cb892016-03-24 22:45:12 +0530393 clock-names = "clk_main", "clk_apb";
Michal Simek54b896f2015-10-30 15:39:18 +0100394 xlnx,bus-width = <128>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200395 #stream-id-cells = <1>;
396 iommus = <&smmu 0x14ed>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200397 power-domains = <&zynqmp_firmware PD_GDMA>;
Michal Simek54b896f2015-10-30 15:39:18 +0100398 };
399
400 fpd_dma_chan7: dma@fd560000 {
401 status = "disabled";
402 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simek72b562a2016-02-11 07:19:06 +0100403 reg = <0x0 0xfd560000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100404 interrupt-parent = <&gic>;
405 interrupts = <0 130 4>;
VNSL Durga7b3cb892016-03-24 22:45:12 +0530406 clock-names = "clk_main", "clk_apb";
Michal Simek54b896f2015-10-30 15:39:18 +0100407 xlnx,bus-width = <128>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200408 #stream-id-cells = <1>;
409 iommus = <&smmu 0x14ee>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200410 power-domains = <&zynqmp_firmware PD_GDMA>;
Michal Simek54b896f2015-10-30 15:39:18 +0100411 };
412
413 fpd_dma_chan8: dma@fd570000 {
414 status = "disabled";
415 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simek72b562a2016-02-11 07:19:06 +0100416 reg = <0x0 0xfd570000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100417 interrupt-parent = <&gic>;
418 interrupts = <0 131 4>;
VNSL Durga7b3cb892016-03-24 22:45:12 +0530419 clock-names = "clk_main", "clk_apb";
Michal Simek54b896f2015-10-30 15:39:18 +0100420 xlnx,bus-width = <128>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200421 #stream-id-cells = <1>;
422 iommus = <&smmu 0x14ef>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200423 power-domains = <&zynqmp_firmware PD_GDMA>;
Michal Simek54b896f2015-10-30 15:39:18 +0100424 };
425
426 gpu: gpu@fd4b0000 {
427 status = "disabled";
428 compatible = "arm,mali-400", "arm,mali-utgard";
Hyun Kwon991faf72017-08-21 18:54:29 -0700429 reg = <0x0 0xfd4b0000 0x0 0x10000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100430 interrupt-parent = <&gic>;
431 interrupts = <0 132 4>, <0 132 4>, <0 132 4>, <0 132 4>, <0 132 4>, <0 132 4>;
432 interrupt-names = "IRQGP", "IRQGPMMU", "IRQPP0", "IRQPPMMU0", "IRQPP1", "IRQPPMMU1";
Madhurkiran Harikrishnan69819bd2017-02-17 04:14:45 -0800433 clock-names = "gpu", "gpu_pp0", "gpu_pp1";
Michal Simek7c001dc2019-10-14 15:56:31 +0200434 power-domains = <&zynqmp_firmware PD_GPU>;
Michal Simek54b896f2015-10-30 15:39:18 +0100435 };
436
Kedareswara rao Appanaae9342f2016-09-09 12:36:01 +0530437 /* LPDDMA default allows only secured access. inorder to enable
438 * These dma channels, Users should ensure that these dma
439 * Channels are allowed for non secure access.
440 */
Michal Simek54b896f2015-10-30 15:39:18 +0100441 lpd_dma_chan1: dma@ffa80000 {
442 status = "disabled";
443 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simek72b562a2016-02-11 07:19:06 +0100444 reg = <0x0 0xffa80000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100445 interrupt-parent = <&gic>;
446 interrupts = <0 77 4>;
Michal Simek91ab8252018-01-17 16:32:33 +0100447 clock-names = "clk_main", "clk_apb";
Michal Simek54b896f2015-10-30 15:39:18 +0100448 xlnx,bus-width = <64>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200449 #stream-id-cells = <1>;
450 iommus = <&smmu 0x868>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200451 power-domains = <&zynqmp_firmware PD_ADMA>;
Michal Simek54b896f2015-10-30 15:39:18 +0100452 };
453
454 lpd_dma_chan2: dma@ffa90000 {
455 status = "disabled";
456 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simek72b562a2016-02-11 07:19:06 +0100457 reg = <0x0 0xffa90000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100458 interrupt-parent = <&gic>;
459 interrupts = <0 78 4>;
Michal Simek91ab8252018-01-17 16:32:33 +0100460 clock-names = "clk_main", "clk_apb";
Michal Simek54b896f2015-10-30 15:39:18 +0100461 xlnx,bus-width = <64>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200462 #stream-id-cells = <1>;
463 iommus = <&smmu 0x869>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200464 power-domains = <&zynqmp_firmware PD_ADMA>;
Michal Simek54b896f2015-10-30 15:39:18 +0100465 };
466
467 lpd_dma_chan3: dma@ffaa0000 {
468 status = "disabled";
469 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simek72b562a2016-02-11 07:19:06 +0100470 reg = <0x0 0xffaa0000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100471 interrupt-parent = <&gic>;
472 interrupts = <0 79 4>;
Michal Simek91ab8252018-01-17 16:32:33 +0100473 clock-names = "clk_main", "clk_apb";
Michal Simek54b896f2015-10-30 15:39:18 +0100474 xlnx,bus-width = <64>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200475 #stream-id-cells = <1>;
476 iommus = <&smmu 0x86a>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200477 power-domains = <&zynqmp_firmware PD_ADMA>;
Michal Simek54b896f2015-10-30 15:39:18 +0100478 };
479
480 lpd_dma_chan4: dma@ffab0000 {
481 status = "disabled";
482 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simek72b562a2016-02-11 07:19:06 +0100483 reg = <0x0 0xffab0000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100484 interrupt-parent = <&gic>;
485 interrupts = <0 80 4>;
Michal Simek91ab8252018-01-17 16:32:33 +0100486 clock-names = "clk_main", "clk_apb";
Michal Simek54b896f2015-10-30 15:39:18 +0100487 xlnx,bus-width = <64>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200488 #stream-id-cells = <1>;
489 iommus = <&smmu 0x86b>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200490 power-domains = <&zynqmp_firmware PD_ADMA>;
Michal Simek54b896f2015-10-30 15:39:18 +0100491 };
492
493 lpd_dma_chan5: dma@ffac0000 {
494 status = "disabled";
495 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simek72b562a2016-02-11 07:19:06 +0100496 reg = <0x0 0xffac0000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100497 interrupt-parent = <&gic>;
498 interrupts = <0 81 4>;
Michal Simek91ab8252018-01-17 16:32:33 +0100499 clock-names = "clk_main", "clk_apb";
Michal Simek54b896f2015-10-30 15:39:18 +0100500 xlnx,bus-width = <64>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200501 #stream-id-cells = <1>;
502 iommus = <&smmu 0x86c>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200503 power-domains = <&zynqmp_firmware PD_ADMA>;
Michal Simek54b896f2015-10-30 15:39:18 +0100504 };
505
506 lpd_dma_chan6: dma@ffad0000 {
507 status = "disabled";
508 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simek72b562a2016-02-11 07:19:06 +0100509 reg = <0x0 0xffad0000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100510 interrupt-parent = <&gic>;
511 interrupts = <0 82 4>;
Michal Simek91ab8252018-01-17 16:32:33 +0100512 clock-names = "clk_main", "clk_apb";
Michal Simek54b896f2015-10-30 15:39:18 +0100513 xlnx,bus-width = <64>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200514 #stream-id-cells = <1>;
515 iommus = <&smmu 0x86d>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200516 power-domains = <&zynqmp_firmware PD_ADMA>;
Michal Simek54b896f2015-10-30 15:39:18 +0100517 };
518
519 lpd_dma_chan7: dma@ffae0000 {
520 status = "disabled";
521 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simek72b562a2016-02-11 07:19:06 +0100522 reg = <0x0 0xffae0000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100523 interrupt-parent = <&gic>;
524 interrupts = <0 83 4>;
Michal Simek91ab8252018-01-17 16:32:33 +0100525 clock-names = "clk_main", "clk_apb";
Michal Simek54b896f2015-10-30 15:39:18 +0100526 xlnx,bus-width = <64>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200527 #stream-id-cells = <1>;
528 iommus = <&smmu 0x86e>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200529 power-domains = <&zynqmp_firmware PD_ADMA>;
Michal Simek54b896f2015-10-30 15:39:18 +0100530 };
531
532 lpd_dma_chan8: dma@ffaf0000 {
533 status = "disabled";
534 compatible = "xlnx,zynqmp-dma-1.0";
Michal Simek72b562a2016-02-11 07:19:06 +0100535 reg = <0x0 0xffaf0000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100536 interrupt-parent = <&gic>;
537 interrupts = <0 84 4>;
Michal Simek91ab8252018-01-17 16:32:33 +0100538 clock-names = "clk_main", "clk_apb";
Michal Simek54b896f2015-10-30 15:39:18 +0100539 xlnx,bus-width = <64>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200540 #stream-id-cells = <1>;
541 iommus = <&smmu 0x86f>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200542 power-domains = <&zynqmp_firmware PD_ADMA>;
Michal Simek54b896f2015-10-30 15:39:18 +0100543 };
544
Naga Sureshkumar Rellide96a3e2016-03-11 13:10:26 +0530545 mc: memory-controller@fd070000 {
546 compatible = "xlnx,zynqmp-ddrc-2.40a";
Michal Simek72b562a2016-02-11 07:19:06 +0100547 reg = <0x0 0xfd070000 0x0 0x30000>;
Naga Sureshkumar Rellide96a3e2016-03-11 13:10:26 +0530548 interrupt-parent = <&gic>;
549 interrupts = <0 112 4>;
550 };
551
Michal Simek54b896f2015-10-30 15:39:18 +0100552 nand0: nand@ff100000 {
553 compatible = "arasan,nfc-v3p10";
554 status = "disabled";
Michal Simek72b562a2016-02-11 07:19:06 +0100555 reg = <0x0 0xff100000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100556 clock-names = "clk_sys", "clk_flash";
557 interrupt-parent = <&gic>;
558 interrupts = <0 14 4>;
Naga Sureshkumar Rellie007a352017-01-23 16:20:37 +0530559 #address-cells = <1>;
560 #size-cells = <0>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200561 #stream-id-cells = <1>;
562 iommus = <&smmu 0x872>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200563 power-domains = <&zynqmp_firmware PD_NAND>;
Michal Simek54b896f2015-10-30 15:39:18 +0100564 };
565
566 gem0: ethernet@ff0b0000 {
Michal Simek9178d292018-03-27 12:53:37 +0200567 compatible = "cdns,zynqmp-gem", "cdns,gem";
Michal Simek54b896f2015-10-30 15:39:18 +0100568 status = "disabled";
569 interrupt-parent = <&gic>;
570 interrupts = <0 57 4>, <0 57 4>;
Michal Simek72b562a2016-02-11 07:19:06 +0100571 reg = <0x0 0xff0b0000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100572 clock-names = "pclk", "hclk", "tx_clk";
573 #address-cells = <1>;
574 #size-cells = <0>;
Edgar E. Iglesiasfde098f2015-11-26 14:12:20 +0100575 #stream-id-cells = <1>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200576 iommus = <&smmu 0x874>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200577 power-domains = <&zynqmp_firmware PD_ETH_0>;
Michal Simek54b896f2015-10-30 15:39:18 +0100578 };
579
580 gem1: ethernet@ff0c0000 {
Michal Simek9178d292018-03-27 12:53:37 +0200581 compatible = "cdns,zynqmp-gem", "cdns,gem";
Michal Simek54b896f2015-10-30 15:39:18 +0100582 status = "disabled";
583 interrupt-parent = <&gic>;
584 interrupts = <0 59 4>, <0 59 4>;
Michal Simek72b562a2016-02-11 07:19:06 +0100585 reg = <0x0 0xff0c0000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100586 clock-names = "pclk", "hclk", "tx_clk";
587 #address-cells = <1>;
588 #size-cells = <0>;
Edgar E. Iglesiasfde098f2015-11-26 14:12:20 +0100589 #stream-id-cells = <1>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200590 iommus = <&smmu 0x875>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200591 power-domains = <&zynqmp_firmware PD_ETH_1>;
Michal Simek54b896f2015-10-30 15:39:18 +0100592 };
593
594 gem2: ethernet@ff0d0000 {
Michal Simek9178d292018-03-27 12:53:37 +0200595 compatible = "cdns,zynqmp-gem", "cdns,gem";
Michal Simek54b896f2015-10-30 15:39:18 +0100596 status = "disabled";
597 interrupt-parent = <&gic>;
598 interrupts = <0 61 4>, <0 61 4>;
Michal Simek72b562a2016-02-11 07:19:06 +0100599 reg = <0x0 0xff0d0000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100600 clock-names = "pclk", "hclk", "tx_clk";
601 #address-cells = <1>;
602 #size-cells = <0>;
Edgar E. Iglesiasfde098f2015-11-26 14:12:20 +0100603 #stream-id-cells = <1>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200604 iommus = <&smmu 0x876>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200605 power-domains = <&zynqmp_firmware PD_ETH_2>;
Michal Simek54b896f2015-10-30 15:39:18 +0100606 };
607
608 gem3: ethernet@ff0e0000 {
Michal Simek9178d292018-03-27 12:53:37 +0200609 compatible = "cdns,zynqmp-gem", "cdns,gem";
Michal Simek54b896f2015-10-30 15:39:18 +0100610 status = "disabled";
611 interrupt-parent = <&gic>;
612 interrupts = <0 63 4>, <0 63 4>;
Michal Simek72b562a2016-02-11 07:19:06 +0100613 reg = <0x0 0xff0e0000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100614 clock-names = "pclk", "hclk", "tx_clk";
615 #address-cells = <1>;
616 #size-cells = <0>;
Edgar E. Iglesiasfde098f2015-11-26 14:12:20 +0100617 #stream-id-cells = <1>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200618 iommus = <&smmu 0x877>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200619 power-domains = <&zynqmp_firmware PD_ETH_3>;
Michal Simek54b896f2015-10-30 15:39:18 +0100620 };
621
622 gpio: gpio@ff0a0000 {
623 compatible = "xlnx,zynqmp-gpio-1.0";
624 status = "disabled";
625 #gpio-cells = <0x2>;
Michal Simek3d5f0f62020-01-09 13:10:59 +0100626 gpio-controller;
Michal Simek54b896f2015-10-30 15:39:18 +0100627 interrupt-parent = <&gic>;
628 interrupts = <0 16 4>;
Michal Simek7e2df452016-10-20 10:26:13 +0200629 interrupt-controller;
630 #interrupt-cells = <2>;
Michal Simek72b562a2016-02-11 07:19:06 +0100631 reg = <0x0 0xff0a0000 0x0 0x1000>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200632 power-domains = <&zynqmp_firmware PD_GPIO>;
Michal Simek54b896f2015-10-30 15:39:18 +0100633 };
634
635 i2c0: i2c@ff020000 {
Moritz Fischere94b8df2016-12-22 09:36:11 -0800636 compatible = "cdns,i2c-r1p14", "cdns,i2c-r1p10";
Michal Simek54b896f2015-10-30 15:39:18 +0100637 status = "disabled";
638 interrupt-parent = <&gic>;
639 interrupts = <0 17 4>;
Michal Simek72b562a2016-02-11 07:19:06 +0100640 reg = <0x0 0xff020000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100641 #address-cells = <1>;
642 #size-cells = <0>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200643 power-domains = <&zynqmp_firmware PD_I2C_0>;
Michal Simek54b896f2015-10-30 15:39:18 +0100644 };
645
646 i2c1: i2c@ff030000 {
Moritz Fischere94b8df2016-12-22 09:36:11 -0800647 compatible = "cdns,i2c-r1p14", "cdns,i2c-r1p10";
Michal Simek54b896f2015-10-30 15:39:18 +0100648 status = "disabled";
649 interrupt-parent = <&gic>;
650 interrupts = <0 18 4>;
Michal Simek72b562a2016-02-11 07:19:06 +0100651 reg = <0x0 0xff030000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100652 #address-cells = <1>;
653 #size-cells = <0>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200654 power-domains = <&zynqmp_firmware PD_I2C_1>;
Michal Simek54b896f2015-10-30 15:39:18 +0100655 };
656
Naga Sureshkumar Relli104b4fc2016-05-18 12:23:13 +0530657 ocm: memory-controller@ff960000 {
658 compatible = "xlnx,zynqmp-ocmc-1.0";
Michal Simek72b562a2016-02-11 07:19:06 +0100659 reg = <0x0 0xff960000 0x0 0x1000>;
Naga Sureshkumar Relli104b4fc2016-05-18 12:23:13 +0530660 interrupt-parent = <&gic>;
661 interrupts = <0 10 4>;
662 };
663
Michal Simek54b896f2015-10-30 15:39:18 +0100664 pcie: pcie@fd0e0000 {
665 compatible = "xlnx,nwl-pcie-2.11";
666 status = "disabled";
667 #address-cells = <3>;
668 #size-cells = <2>;
669 #interrupt-cells = <1>;
Bharat Kumar Gogadae44f69d2016-07-19 20:49:29 +0530670 msi-controller;
Michal Simek54b896f2015-10-30 15:39:18 +0100671 device_type = "pci";
672 interrupt-parent = <&gic>;
Michal Simekf9fda432016-01-20 12:59:23 +0100673 interrupts = <0 118 4>,
Bharat Kumar Gogadae44f69d2016-07-19 20:49:29 +0530674 <0 117 4>,
Michal Simekf9fda432016-01-20 12:59:23 +0100675 <0 116 4>,
676 <0 115 4>, /* MSI_1 [63...32] */
677 <0 114 4>; /* MSI_0 [31...0] */
Michal Simek91ab8252018-01-17 16:32:33 +0100678 interrupt-names = "misc", "dummy", "intx",
679 "msi1", "msi0";
Bharat Kumar Gogadae44f69d2016-07-19 20:49:29 +0530680 msi-parent = <&pcie>;
Michal Simek72b562a2016-02-11 07:19:06 +0100681 reg = <0x0 0xfd0e0000 0x0 0x1000>,
682 <0x0 0xfd480000 0x0 0x1000>,
Bharat Kumar Gogadae829f072016-08-02 20:34:13 +0530683 <0x80 0x00000000 0x0 0x1000000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100684 reg-names = "breg", "pcireg", "cfg";
Bharat Kumar Gogadae829f072016-08-02 20:34:13 +0530685 ranges = <0x02000000 0x00000000 0xe0000000 0x00000000 0xe0000000 0x00000000 0x10000000 /* non-prefetchable memory */
686 0x43000000 0x00000006 0x00000000 0x00000006 0x00000000 0x00000002 0x00000000>;/* prefetchable memory */
Rob Herring1559f562017-03-21 21:03:13 -0500687 bus-range = <0x00 0xff>;
Bharat Kumar Gogadaf6e02b32016-02-15 21:18:58 +0530688 interrupt-map-mask = <0x0 0x0 0x0 0x7>;
689 interrupt-map = <0x0 0x0 0x0 0x1 &pcie_intc 0x1>,
690 <0x0 0x0 0x0 0x2 &pcie_intc 0x2>,
691 <0x0 0x0 0x0 0x3 &pcie_intc 0x3>,
692 <0x0 0x0 0x0 0x4 &pcie_intc 0x4>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200693 power-domains = <&zynqmp_firmware PD_PCIE>;
Bharat Kumar Gogadaf6e02b32016-02-15 21:18:58 +0530694 pcie_intc: legacy-interrupt-controller {
695 interrupt-controller;
696 #address-cells = <0>;
697 #interrupt-cells = <1>;
698 };
Michal Simek54b896f2015-10-30 15:39:18 +0100699 };
700
701 qspi: spi@ff0f0000 {
Michal Simek933b6f72017-01-16 12:07:33 +0100702 u-boot,dm-pre-reloc;
Michal Simek54b896f2015-10-30 15:39:18 +0100703 compatible = "xlnx,zynqmp-qspi-1.0";
704 status = "disabled";
705 clock-names = "ref_clk", "pclk";
706 interrupts = <0 15 4>;
707 interrupt-parent = <&gic>;
708 num-cs = <1>;
Michal Simek72b562a2016-02-11 07:19:06 +0100709 reg = <0x0 0xff0f0000 0x0 0x1000>,
710 <0x0 0xc0000000 0x0 0x8000000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100711 #address-cells = <1>;
712 #size-cells = <0>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200713 #stream-id-cells = <1>;
714 iommus = <&smmu 0x873>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200715 power-domains = <&zynqmp_firmware PD_QSPI>;
Michal Simek54b896f2015-10-30 15:39:18 +0100716 };
717
718 rtc: rtc@ffa60000 {
719 compatible = "xlnx,zynqmp-rtc";
720 status = "disabled";
Michal Simek72b562a2016-02-11 07:19:06 +0100721 reg = <0x0 0xffa60000 0x0 0x100>;
Michal Simek54b896f2015-10-30 15:39:18 +0100722 interrupt-parent = <&gic>;
723 interrupts = <0 26 4>, <0 27 4>;
724 interrupt-names = "alarm", "sec";
Nava kishore Mannefaa728f2017-01-27 18:20:14 +0530725 calibration = <0x8000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100726 };
727
Anurag Kumar Vulisha2d112502016-05-17 16:49:01 +0530728 serdes: zynqmp_phy@fd400000 {
729 compatible = "xlnx,zynqmp-psgtr";
730 status = "disabled";
Michal Simek72b562a2016-02-11 07:19:06 +0100731 reg = <0x0 0xfd400000 0x0 0x40000>,
732 <0x0 0xfd3d0000 0x0 0x1000>,
Michal Simek72b562a2016-02-11 07:19:06 +0100733 <0x0 0xff5e0000 0x0 0x1000>;
Anurag Kumar Vulisha66ee0d22017-02-08 17:09:10 +0530734 reg-names = "serdes", "siou", "lpd";
Michal Simekc79738d2017-01-17 14:36:54 +0100735 nvmem-cells = <&soc_revision>;
736 nvmem-cell-names = "soc_revision";
Michal Simeka898c332019-10-14 15:55:53 +0200737 resets = <&zynqmp_reset ZYNQMP_RESET_SATA>,
738 <&zynqmp_reset ZYNQMP_RESET_USB0_CORERESET>,
739 <&zynqmp_reset ZYNQMP_RESET_USB1_CORERESET>,
740 <&zynqmp_reset ZYNQMP_RESET_USB0_HIBERRESET>,
741 <&zynqmp_reset ZYNQMP_RESET_USB1_HIBERRESET>,
742 <&zynqmp_reset ZYNQMP_RESET_USB0_APB>,
743 <&zynqmp_reset ZYNQMP_RESET_USB1_APB>,
744 <&zynqmp_reset ZYNQMP_RESET_DP>,
745 <&zynqmp_reset ZYNQMP_RESET_GEM0>,
746 <&zynqmp_reset ZYNQMP_RESET_GEM1>,
747 <&zynqmp_reset ZYNQMP_RESET_GEM2>,
748 <&zynqmp_reset ZYNQMP_RESET_GEM3>;
Anurag Kumar Vulisha767e9752017-02-06 21:40:34 +0530749 reset-names = "sata_rst", "usb0_crst", "usb1_crst",
750 "usb0_hibrst", "usb1_hibrst", "usb0_apbrst",
751 "usb1_apbrst", "dp_rst", "gem0_rst",
752 "gem1_rst", "gem2_rst", "gem3_rst";
Anurag Kumar Vulisha2d112502016-05-17 16:49:01 +0530753 lane0: lane0 {
754 #phy-cells = <4>;
755 };
756 lane1: lane1 {
757 #phy-cells = <4>;
758 };
759 lane2: lane2 {
760 #phy-cells = <4>;
761 };
762 lane3: lane3 {
763 #phy-cells = <4>;
764 };
765 };
766
Michal Simek54b896f2015-10-30 15:39:18 +0100767 sata: ahci@fd0c0000 {
768 compatible = "ceva,ahci-1v84";
769 status = "disabled";
Michal Simek72b562a2016-02-11 07:19:06 +0100770 reg = <0x0 0xfd0c0000 0x0 0x2000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100771 interrupt-parent = <&gic>;
772 interrupts = <0 133 4>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200773 power-domains = <&zynqmp_firmware PD_SATA>;
Anurag Kumar Vulisha4e2aaef2017-07-04 20:03:42 +0530774 #stream-id-cells = <4>;
775 iommus = <&smmu 0x4c0>, <&smmu 0x4c1>,
776 <&smmu 0x4c2>, <&smmu 0x4c3>;
777 /* dma-coherent; */
Michal Simek54b896f2015-10-30 15:39:18 +0100778 };
779
Siva Durga Prasad Paladugue91778d2019-01-03 15:44:24 +0530780 sdhci0: mmc@ff160000 {
Michal Simekba087532016-02-22 09:57:27 +0100781 u-boot,dm-pre-reloc;
Sai Krishna Potthuri02550fb2016-08-16 14:41:35 +0530782 compatible = "xlnx,zynqmp-8.9a", "arasan,sdhci-8.9a";
Michal Simek54b896f2015-10-30 15:39:18 +0100783 status = "disabled";
784 interrupt-parent = <&gic>;
785 interrupts = <0 48 4>;
Michal Simek72b562a2016-02-11 07:19:06 +0100786 reg = <0x0 0xff160000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100787 clock-names = "clk_xin", "clk_ahb";
Sai Krishna Potthuri02550fb2016-08-16 14:41:35 +0530788 xlnx,device_id = <0>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200789 #stream-id-cells = <1>;
790 iommus = <&smmu 0x870>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200791 power-domains = <&zynqmp_firmware PD_SD_0>;
Manish Narani61072012017-07-19 21:16:33 +0530792 nvmem-cells = <&soc_revision>;
793 nvmem-cell-names = "soc_revision";
Ashok Reddy Somac6e97882020-02-17 23:32:57 -0700794 #clock-cells = <1>;
795 clock-output-names = "clk_out_sd0", "clk_in_sd0";
Michal Simek54b896f2015-10-30 15:39:18 +0100796 };
797
Siva Durga Prasad Paladugue91778d2019-01-03 15:44:24 +0530798 sdhci1: mmc@ff170000 {
Michal Simekba087532016-02-22 09:57:27 +0100799 u-boot,dm-pre-reloc;
Sai Krishna Potthuri02550fb2016-08-16 14:41:35 +0530800 compatible = "xlnx,zynqmp-8.9a", "arasan,sdhci-8.9a";
Michal Simek54b896f2015-10-30 15:39:18 +0100801 status = "disabled";
802 interrupt-parent = <&gic>;
803 interrupts = <0 49 4>;
Michal Simek72b562a2016-02-11 07:19:06 +0100804 reg = <0x0 0xff170000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100805 clock-names = "clk_xin", "clk_ahb";
Sai Krishna Potthuri02550fb2016-08-16 14:41:35 +0530806 xlnx,device_id = <1>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200807 #stream-id-cells = <1>;
808 iommus = <&smmu 0x871>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200809 power-domains = <&zynqmp_firmware PD_SD_1>;
Manish Narani61072012017-07-19 21:16:33 +0530810 nvmem-cells = <&soc_revision>;
811 nvmem-cell-names = "soc_revision";
Ashok Reddy Somac6e97882020-02-17 23:32:57 -0700812 #clock-cells = <1>;
813 clock-output-names = "clk_out_sd1", "clk_in_sd1";
Michal Simek54b896f2015-10-30 15:39:18 +0100814 };
815
Michal Simek6471f8e2017-11-02 11:51:59 +0100816 pinctrl0: pinctrl@ff180000 {
817 compatible = "xlnx,pinctrl-zynqmp";
818 status = "disabled";
819 reg = <0x0 0xff180000 0x0 0x1000>;
820 };
821
Michal Simek54b896f2015-10-30 15:39:18 +0100822 smmu: smmu@fd800000 {
823 compatible = "arm,mmu-500";
Michal Simek72b562a2016-02-11 07:19:06 +0100824 reg = <0x0 0xfd800000 0x0 0x20000>;
Michal Simek8db0faa2016-04-06 10:43:23 +0200825 #iommu-cells = <1>;
Naga Sureshkumar Relli033f87c2017-03-09 20:00:13 +0530826 status = "disabled";
Michal Simek54b896f2015-10-30 15:39:18 +0100827 #global-interrupts = <1>;
828 interrupt-parent = <&gic>;
Edgar E. Iglesiasf1880d82015-11-26 14:12:19 +0100829 interrupts = <0 155 4>,
830 <0 155 4>, <0 155 4>, <0 155 4>, <0 155 4>,
831 <0 155 4>, <0 155 4>, <0 155 4>, <0 155 4>,
832 <0 155 4>, <0 155 4>, <0 155 4>, <0 155 4>,
833 <0 155 4>, <0 155 4>, <0 155 4>, <0 155 4>;
Michal Simek54b896f2015-10-30 15:39:18 +0100834 };
835
836 spi0: spi@ff040000 {
837 compatible = "cdns,spi-r1p6";
838 status = "disabled";
839 interrupt-parent = <&gic>;
840 interrupts = <0 19 4>;
Michal Simek72b562a2016-02-11 07:19:06 +0100841 reg = <0x0 0xff040000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100842 clock-names = "ref_clk", "pclk";
843 #address-cells = <1>;
844 #size-cells = <0>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200845 power-domains = <&zynqmp_firmware PD_SPI_0>;
Michal Simek54b896f2015-10-30 15:39:18 +0100846 };
847
848 spi1: spi@ff050000 {
849 compatible = "cdns,spi-r1p6";
850 status = "disabled";
851 interrupt-parent = <&gic>;
852 interrupts = <0 20 4>;
Michal Simek72b562a2016-02-11 07:19:06 +0100853 reg = <0x0 0xff050000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100854 clock-names = "ref_clk", "pclk";
855 #address-cells = <1>;
856 #size-cells = <0>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200857 power-domains = <&zynqmp_firmware PD_SPI_1>;
Michal Simek54b896f2015-10-30 15:39:18 +0100858 };
859
860 ttc0: timer@ff110000 {
861 compatible = "cdns,ttc";
862 status = "disabled";
863 interrupt-parent = <&gic>;
864 interrupts = <0 36 4>, <0 37 4>, <0 38 4>;
Michal Simek72b562a2016-02-11 07:19:06 +0100865 reg = <0x0 0xff110000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100866 timer-width = <32>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200867 power-domains = <&zynqmp_firmware PD_TTC_0>;
Michal Simek54b896f2015-10-30 15:39:18 +0100868 };
869
870 ttc1: timer@ff120000 {
871 compatible = "cdns,ttc";
872 status = "disabled";
873 interrupt-parent = <&gic>;
874 interrupts = <0 39 4>, <0 40 4>, <0 41 4>;
Michal Simek72b562a2016-02-11 07:19:06 +0100875 reg = <0x0 0xff120000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100876 timer-width = <32>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200877 power-domains = <&zynqmp_firmware PD_TTC_1>;
Michal Simek54b896f2015-10-30 15:39:18 +0100878 };
879
880 ttc2: timer@ff130000 {
881 compatible = "cdns,ttc";
882 status = "disabled";
883 interrupt-parent = <&gic>;
884 interrupts = <0 42 4>, <0 43 4>, <0 44 4>;
Michal Simek72b562a2016-02-11 07:19:06 +0100885 reg = <0x0 0xff130000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100886 timer-width = <32>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200887 power-domains = <&zynqmp_firmware PD_TTC_2>;
Michal Simek54b896f2015-10-30 15:39:18 +0100888 };
889
890 ttc3: timer@ff140000 {
891 compatible = "cdns,ttc";
892 status = "disabled";
893 interrupt-parent = <&gic>;
894 interrupts = <0 45 4>, <0 46 4>, <0 47 4>;
Michal Simek72b562a2016-02-11 07:19:06 +0100895 reg = <0x0 0xff140000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100896 timer-width = <32>;
Michal Simek7c001dc2019-10-14 15:56:31 +0200897 power-domains = <&zynqmp_firmware PD_TTC_3>;
Michal Simek54b896f2015-10-30 15:39:18 +0100898 };
899
900 uart0: serial@ff000000 {
Michal Simekba087532016-02-22 09:57:27 +0100901 u-boot,dm-pre-reloc;
Michal Simek8f0dc3e2015-11-27 13:22:58 +0100902 compatible = "cdns,uart-r1p12", "xlnx,xuartps";
Michal Simek54b896f2015-10-30 15:39:18 +0100903 status = "disabled";
904 interrupt-parent = <&gic>;
905 interrupts = <0 21 4>;
Michal Simek72b562a2016-02-11 07:19:06 +0100906 reg = <0x0 0xff000000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100907 clock-names = "uart_clk", "pclk";
Michal Simek7c001dc2019-10-14 15:56:31 +0200908 power-domains = <&zynqmp_firmware PD_UART_0>;
Michal Simek54b896f2015-10-30 15:39:18 +0100909 };
910
911 uart1: serial@ff010000 {
Michal Simekba087532016-02-22 09:57:27 +0100912 u-boot,dm-pre-reloc;
Michal Simek8f0dc3e2015-11-27 13:22:58 +0100913 compatible = "cdns,uart-r1p12", "xlnx,xuartps";
Michal Simek54b896f2015-10-30 15:39:18 +0100914 status = "disabled";
915 interrupt-parent = <&gic>;
916 interrupts = <0 22 4>;
Michal Simek72b562a2016-02-11 07:19:06 +0100917 reg = <0x0 0xff010000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +0100918 clock-names = "uart_clk", "pclk";
Michal Simek7c001dc2019-10-14 15:56:31 +0200919 power-domains = <&zynqmp_firmware PD_UART_1>;
Michal Simek54b896f2015-10-30 15:39:18 +0100920 };
921
Manish Narani047096e2017-03-27 17:47:00 +0530922 usb0: usb0@ff9d0000 {
Michal Simek13111a12016-04-07 15:06:07 +0200923 #address-cells = <2>;
Michal Simek72b562a2016-02-11 07:19:06 +0100924 #size-cells = <2>;
Michal Simek54b896f2015-10-30 15:39:18 +0100925 status = "disabled";
Michal Simek13111a12016-04-07 15:06:07 +0200926 compatible = "xlnx,zynqmp-dwc3";
Manish Narani047096e2017-03-27 17:47:00 +0530927 reg = <0x0 0xff9d0000 0x0 0x100>;
Michal Simek13111a12016-04-07 15:06:07 +0200928 clock-names = "bus_clk", "ref_clk";
Michal Simek7c001dc2019-10-14 15:56:31 +0200929 power-domains = <&zynqmp_firmware PD_USB_0>;
Michal Simek13111a12016-04-07 15:06:07 +0200930 ranges;
Anurag Kumar Vulisha042323c2017-03-02 14:40:51 +0530931 nvmem-cells = <&soc_revision>;
932 nvmem-cell-names = "soc_revision";
Michal Simek13111a12016-04-07 15:06:07 +0200933
934 dwc3_0: dwc3@fe200000 {
935 compatible = "snps,dwc3";
936 status = "disabled";
Michal Simek72b562a2016-02-11 07:19:06 +0100937 reg = <0x0 0xfe200000 0x0 0x40000>;
Michal Simek13111a12016-04-07 15:06:07 +0200938 interrupt-parent = <&gic>;
Manish Narani97143bd2017-01-18 17:34:48 +0530939 interrupts = <0 65 4>, <0 69 4>;
Anurag Kumar Vulisha4bf99f82017-06-20 16:25:16 +0530940 #stream-id-cells = <1>;
941 iommus = <&smmu 0x860>;
Anurag Kumar Vulisha011bd7d2017-03-10 19:18:17 +0530942 snps,quirk-frame-length-adjustment = <0x20>;
Michal Simek13111a12016-04-07 15:06:07 +0200943 snps,refclk_fladj;
Manish Narani047096e2017-03-27 17:47:00 +0530944 /* dma-coherent; */
Michal Simek13111a12016-04-07 15:06:07 +0200945 };
Michal Simek54b896f2015-10-30 15:39:18 +0100946 };
947
Manish Narani047096e2017-03-27 17:47:00 +0530948 usb1: usb1@ff9e0000 {
Michal Simek13111a12016-04-07 15:06:07 +0200949 #address-cells = <2>;
Michal Simek72b562a2016-02-11 07:19:06 +0100950 #size-cells = <2>;
Michal Simek54b896f2015-10-30 15:39:18 +0100951 status = "disabled";
Michal Simek13111a12016-04-07 15:06:07 +0200952 compatible = "xlnx,zynqmp-dwc3";
Manish Narani047096e2017-03-27 17:47:00 +0530953 reg = <0x0 0xff9e0000 0x0 0x100>;
Michal Simek13111a12016-04-07 15:06:07 +0200954 clock-names = "bus_clk", "ref_clk";
Michal Simek7c001dc2019-10-14 15:56:31 +0200955 power-domains = <&zynqmp_firmware PD_USB_1>;
Michal Simek13111a12016-04-07 15:06:07 +0200956 ranges;
Anurag Kumar Vulisha042323c2017-03-02 14:40:51 +0530957 nvmem-cells = <&soc_revision>;
958 nvmem-cell-names = "soc_revision";
Michal Simek13111a12016-04-07 15:06:07 +0200959
960 dwc3_1: dwc3@fe300000 {
961 compatible = "snps,dwc3";
962 status = "disabled";
Michal Simek72b562a2016-02-11 07:19:06 +0100963 reg = <0x0 0xfe300000 0x0 0x40000>;
Michal Simek13111a12016-04-07 15:06:07 +0200964 interrupt-parent = <&gic>;
Manish Narani97143bd2017-01-18 17:34:48 +0530965 interrupts = <0 70 4>, <0 74 4>;
Anurag Kumar Vulisha4bf99f82017-06-20 16:25:16 +0530966 #stream-id-cells = <1>;
967 iommus = <&smmu 0x861>;
Anurag Kumar Vulisha011bd7d2017-03-10 19:18:17 +0530968 snps,quirk-frame-length-adjustment = <0x20>;
Michal Simek13111a12016-04-07 15:06:07 +0200969 snps,refclk_fladj;
Manish Narani047096e2017-03-27 17:47:00 +0530970 /* dma-coherent; */
Michal Simek13111a12016-04-07 15:06:07 +0200971 };
Michal Simek54b896f2015-10-30 15:39:18 +0100972 };
973
974 watchdog0: watchdog@fd4d0000 {
975 compatible = "cdns,wdt-r1p2";
976 status = "disabled";
977 interrupt-parent = <&gic>;
Punnaiah Choudary Kallurid67bab62015-11-04 12:34:17 +0530978 interrupts = <0 113 1>;
Michal Simek72b562a2016-02-11 07:19:06 +0100979 reg = <0x0 0xfd4d0000 0x0 0x1000>;
Mounika Grace Akula7db82412018-10-09 20:52:50 +0530980 timeout-sec = <60>;
981 reset-on-timeout;
Michal Simek54b896f2015-10-30 15:39:18 +0100982 };
983
Michal Simek7b6280e2018-07-18 09:25:43 +0200984 lpd_watchdog: watchdog@ff150000 {
985 compatible = "cdns,wdt-r1p2";
986 status = "disabled";
987 interrupt-parent = <&gic>;
988 interrupts = <0 52 1>;
989 reg = <0x0 0xff150000 0x0 0x1000>;
990 timeout-sec = <10>;
991 };
992
Michal Simek1bb4be32017-11-02 12:04:43 +0100993 xilinx_ams: ams@ffa50000 {
994 compatible = "xlnx,zynqmp-ams";
995 status = "disabled";
996 interrupt-parent = <&gic>;
997 interrupts = <0 56 4>;
998 interrupt-names = "ams-irq";
999 reg = <0x0 0xffa50000 0x0 0x800>;
1000 reg-names = "ams-base";
1001 #address-cells = <2>;
1002 #size-cells = <2>;
1003 #io-channel-cells = <1>;
1004 ranges;
1005
1006 ams_ps: ams_ps@ffa50800 {
1007 compatible = "xlnx,zynqmp-ams-ps";
1008 status = "disabled";
1009 reg = <0x0 0xffa50800 0x0 0x400>;
1010 };
1011
1012 ams_pl: ams_pl@ffa50c00 {
1013 compatible = "xlnx,zynqmp-ams-pl";
1014 status = "disabled";
1015 reg = <0x0 0xffa50c00 0x0 0x400>;
1016 };
1017 };
1018
Hyun Kwon4fb90b3e2015-11-23 17:12:54 -08001019 xlnx_dp: dp@fd4a0000 {
Michal Simek54b896f2015-10-30 15:39:18 +01001020 compatible = "xlnx,v-dp";
1021 status = "disabled";
Michal Simek72b562a2016-02-11 07:19:06 +01001022 reg = <0x0 0xfd4a0000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +01001023 interrupts = <0 119 4>;
1024 interrupt-parent = <&gic>;
1025 clock-names = "aclk", "aud_clk";
1026 xlnx,dp-version = "v1.2";
1027 xlnx,max-lanes = <2>;
1028 xlnx,max-link-rate = <540000>;
1029 xlnx,max-bpc = <16>;
1030 xlnx,enable-ycrcb;
1031 xlnx,colormetry = "rgb";
1032 xlnx,bpc = <8>;
1033 xlnx,audio-chan = <2>;
1034 xlnx,dp-sub = <&xlnx_dp_sub>;
Hyun Kwon7e58f3b2015-11-23 17:12:55 -08001035 xlnx,max-pclock-frequency = <300000>;
Michal Simek54b896f2015-10-30 15:39:18 +01001036 };
1037
Hyun Kwon4fb90b3e2015-11-23 17:12:54 -08001038 xlnx_dp_sub: dp_sub@fd4aa000 {
Michal Simek54b896f2015-10-30 15:39:18 +01001039 compatible = "xlnx,dp-sub";
1040 status = "disabled";
Michal Simek72b562a2016-02-11 07:19:06 +01001041 reg = <0x0 0xfd4aa000 0x0 0x1000>,
1042 <0x0 0xfd4ab000 0x0 0x1000>,
1043 <0x0 0xfd4ac000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +01001044 reg-names = "blend", "av_buf", "aud";
1045 xlnx,output-fmt = "rgb";
Hyun Kwon7e58f3b2015-11-23 17:12:55 -08001046 xlnx,vid-fmt = "yuyv";
1047 xlnx,gfx-fmt = "rgb565";
Michal Simek54b896f2015-10-30 15:39:18 +01001048 };
1049
1050 xlnx_dpdma: dma@fd4c0000 {
1051 compatible = "xlnx,dpdma";
1052 status = "disabled";
Michal Simek72b562a2016-02-11 07:19:06 +01001053 reg = <0x0 0xfd4c0000 0x0 0x1000>;
Michal Simek54b896f2015-10-30 15:39:18 +01001054 interrupts = <0 122 4>;
1055 interrupt-parent = <&gic>;
1056 clock-names = "axi_clk";
Michal Simek7c001dc2019-10-14 15:56:31 +02001057 power-domains = <&zynqmp_firmware PD_DP>;
Michal Simek54b896f2015-10-30 15:39:18 +01001058 dma-channels = <6>;
1059 #dma-cells = <1>;
Michal Simek79c1cbf2016-11-11 13:21:04 +01001060 dma-video0channel {
Michal Simek54b896f2015-10-30 15:39:18 +01001061 compatible = "xlnx,video0";
1062 };
Michal Simek79c1cbf2016-11-11 13:21:04 +01001063 dma-video1channel {
Michal Simek54b896f2015-10-30 15:39:18 +01001064 compatible = "xlnx,video1";
1065 };
Michal Simek79c1cbf2016-11-11 13:21:04 +01001066 dma-video2channel {
Michal Simek54b896f2015-10-30 15:39:18 +01001067 compatible = "xlnx,video2";
1068 };
Michal Simek79c1cbf2016-11-11 13:21:04 +01001069 dma-graphicschannel {
Michal Simek54b896f2015-10-30 15:39:18 +01001070 compatible = "xlnx,graphics";
1071 };
Michal Simek79c1cbf2016-11-11 13:21:04 +01001072 dma-audio0channel {
Michal Simek54b896f2015-10-30 15:39:18 +01001073 compatible = "xlnx,audio0";
1074 };
Michal Simek79c1cbf2016-11-11 13:21:04 +01001075 dma-audio1channel {
Michal Simek54b896f2015-10-30 15:39:18 +01001076 compatible = "xlnx,audio1";
1077 };
1078 };
1079 };
1080};