blob: 48acea62c888b17dcf7fa5d55073f7d90500a2e1 [file] [log] [blame]
Michal Simek18a952c2018-03-27 10:36:39 +02001// SPDX-License-Identifier: GPL-2.0+
Michal Simek08ac3862016-05-26 08:06:38 +02002/*
3 * dts file for Xilinx ZynqMP zc1751-xm018-dc4
4 *
Michal Simekabd30372021-06-01 16:42:02 +02005 * (C) Copyright 2015 - 2021, Xilinx, Inc.
Michal Simek08ac3862016-05-26 08:06:38 +02006 *
7 * Michal Simek <michal.simek@xilinx.com>
Michal Simek08ac3862016-05-26 08:06:38 +02008 */
9
10/dts-v1/;
11
12#include "zynqmp.dtsi"
Michal Simekee4983f2017-12-08 14:50:42 +010013#include "zynqmp-clk-ccf.dtsi"
Michal Simek08ac3862016-05-26 08:06:38 +020014
15/ {
16 model = "ZynqMP zc1751-xm018-dc4";
17 compatible = "xlnx,zynqmp-zc1751", "xlnx,zynqmp";
18
19 aliases {
20 can0 = &can0;
21 can1 = &can1;
22 ethernet0 = &gem0;
23 ethernet1 = &gem1;
24 ethernet2 = &gem2;
25 ethernet3 = &gem3;
26 gpio0 = &gpio;
27 i2c0 = &i2c0;
28 i2c1 = &i2c1;
29 rtc0 = &rtc;
30 serial0 = &uart0;
31 serial1 = &uart1;
32 spi0 = &qspi;
33 };
34
35 chosen {
36 bootargs = "earlycon";
37 stdout-path = "serial0:115200n8";
38 };
39
Michal Simekc926e6f2016-11-11 13:21:04 +010040 memory@0 {
Michal Simek08ac3862016-05-26 08:06:38 +020041 device_type = "memory";
42 reg = <0x0 0x0 0x0 0x80000000>, <0x8 0x00000000 0x0 0x80000000>;
43 };
44};
45
46&can0 {
47 status = "okay";
48};
49
50&can1 {
51 status = "okay";
52};
53
Michal Simek08ac3862016-05-26 08:06:38 +020054&fpd_dma_chan1 {
55 status = "okay";
Michal Simek08ac3862016-05-26 08:06:38 +020056};
57
58&fpd_dma_chan2 {
59 status = "okay";
Michal Simek08ac3862016-05-26 08:06:38 +020060};
61
62&fpd_dma_chan3 {
63 status = "okay";
64};
65
66&fpd_dma_chan4 {
67 status = "okay";
Michal Simek08ac3862016-05-26 08:06:38 +020068};
69
70&fpd_dma_chan5 {
71 status = "okay";
72};
73
74&fpd_dma_chan6 {
75 status = "okay";
Michal Simek08ac3862016-05-26 08:06:38 +020076};
77
78&fpd_dma_chan7 {
79 status = "okay";
80};
81
82&fpd_dma_chan8 {
83 status = "okay";
Michal Simek08ac3862016-05-26 08:06:38 +020084};
85
86&lpd_dma_chan1 {
87 status = "okay";
88};
89
90&lpd_dma_chan2 {
91 status = "okay";
92};
93
94&lpd_dma_chan3 {
95 status = "okay";
96};
97
98&lpd_dma_chan4 {
99 status = "okay";
100};
101
102&lpd_dma_chan5 {
103 status = "okay";
104};
105
106&lpd_dma_chan6 {
107 status = "okay";
108};
109
110&lpd_dma_chan7 {
111 status = "okay";
112};
113
114&lpd_dma_chan8 {
115 status = "okay";
116};
117
Michal Simek08ac3862016-05-26 08:06:38 +0200118&gem0 {
119 status = "okay";
Michal Simek08ac3862016-05-26 08:06:38 +0200120 phy-mode = "rgmii-id";
121 phy-handle = <&ethernet_phy0>;
122 ethernet_phy0: ethernet-phy@0 { /* Marvell 88e1512 */
123 reg = <0>;
124 };
125 ethernet_phy7: ethernet-phy@7 { /* Vitesse VSC8211 */
126 reg = <7>;
127 };
128 ethernet_phy3: ethernet-phy@3 { /* Realtek RTL8211DN */
129 reg = <3>;
130 };
131 ethernet_phy8: ethernet-phy@8 { /* Vitesse VSC8211 */
132 reg = <8>;
133 };
134};
135
136&gem1 {
137 status = "okay";
Michal Simek08ac3862016-05-26 08:06:38 +0200138 phy-mode = "rgmii-id";
139 phy-handle = <&ethernet_phy7>;
140};
141
142&gem2 {
143 status = "okay";
Michal Simek08ac3862016-05-26 08:06:38 +0200144 phy-mode = "rgmii-id";
145 phy-handle = <&ethernet_phy3>;
146};
147
148&gem3 {
149 status = "okay";
Michal Simek08ac3862016-05-26 08:06:38 +0200150 phy-mode = "rgmii-id";
151 phy-handle = <&ethernet_phy8>;
152};
153
154&gpio {
155 status = "okay";
156};
157
158&gpu {
159 status = "okay";
160};
161
162&i2c0 {
163 clock-frequency = <400000>;
164 status = "okay";
165};
166
167&i2c1 {
168 clock-frequency = <400000>;
169 status = "okay";
170};
171
Siva Durga Prasad Paladugu9cd26aa2017-03-04 12:16:47 +0530172&qspi {
173 status = "okay";
174 flash@0 {
Neil Armstrongffd4c7c2019-02-10 10:16:20 +0000175 compatible = "m25p80", "jedec,spi-nor"; /* 32MB */
Siva Durga Prasad Paladugu9cd26aa2017-03-04 12:16:47 +0530176 #address-cells = <1>;
177 #size-cells = <1>;
178 reg = <0x0>;
179 spi-tx-bus-width = <1>;
180 spi-rx-bus-width = <4>; /* also DUAL configuration possible */
181 spi-max-frequency = <108000000>; /* Based on DC1 spec */
Michal Simek5df63a62020-02-14 14:19:56 +0100182 partition@0 { /* for testing purpose */
Siva Durga Prasad Paladugu9cd26aa2017-03-04 12:16:47 +0530183 label = "qspi-fsbl-uboot";
184 reg = <0x0 0x100000>;
185 };
Michal Simek5df63a62020-02-14 14:19:56 +0100186 partition@100000 { /* for testing purpose */
Siva Durga Prasad Paladugu9cd26aa2017-03-04 12:16:47 +0530187 label = "qspi-linux";
188 reg = <0x100000 0x500000>;
189 };
Michal Simek5df63a62020-02-14 14:19:56 +0100190 partition@600000 { /* for testing purpose */
Siva Durga Prasad Paladugu9cd26aa2017-03-04 12:16:47 +0530191 label = "qspi-device-tree";
192 reg = <0x600000 0x20000>;
193 };
Michal Simek5df63a62020-02-14 14:19:56 +0100194 partition@620000 { /* for testing purpose */
Siva Durga Prasad Paladugu9cd26aa2017-03-04 12:16:47 +0530195 label = "qspi-rootfs";
196 reg = <0x620000 0x5E0000>;
197 };
198 };
199};
200
Michal Simek08ac3862016-05-26 08:06:38 +0200201&rtc {
202 status = "okay";
203};
204
205&uart0 {
206 status = "okay";
207};
208
209&uart1 {
210 status = "okay";
211};
212
213&watchdog0 {
214 status = "okay";
215};
Michal Simekabd30372021-06-01 16:42:02 +0200216
217&zynqmp_dpdma {
218 status = "okay";
219};
220
221&zynqmp_dpsub {
222 status = "okay";
223};