Michal Simek | 090a2d7 | 2018-03-27 10:36:39 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Michal Simek | 6101515 | 2016-05-26 08:06:38 +0200 | [diff] [blame] | 2 | /* |
3 | * dts file for Xilinx ZynqMP zc1751-xm018-dc4 | ||||
4 | * | ||||
Michal Simek | e0afb5a | 2021-06-01 16:42:02 +0200 | [diff] [blame] | 5 | * (C) Copyright 2015 - 2021, Xilinx, Inc. |
Michal Simek | 6101515 | 2016-05-26 08:06:38 +0200 | [diff] [blame] | 6 | * |
Michal Simek | a8c9436 | 2023-07-10 14:35:49 +0200 | [diff] [blame] | 7 | * Michal Simek <michal.simek@amd.com> |
Michal Simek | 6101515 | 2016-05-26 08:06:38 +0200 | [diff] [blame] | 8 | */ |
9 | |||||
10 | /dts-v1/; | ||||
11 | |||||
12 | #include "zynqmp.dtsi" | ||||
Michal Simek | a6604b6 | 2017-12-08 14:50:42 +0100 | [diff] [blame] | 13 | #include "zynqmp-clk-ccf.dtsi" |
Michal Simek | 6101515 | 2016-05-26 08:06:38 +0200 | [diff] [blame] | 14 | |
15 | / { | ||||
16 | model = "ZynqMP zc1751-xm018-dc4"; | ||||
17 | compatible = "xlnx,zynqmp-zc1751", "xlnx,zynqmp"; | ||||
18 | |||||
19 | aliases { | ||||
Michal Simek | 6101515 | 2016-05-26 08:06:38 +0200 | [diff] [blame] | 20 | ethernet0 = &gem0; |
21 | ethernet1 = &gem1; | ||||
22 | ethernet2 = &gem2; | ||||
23 | ethernet3 = &gem3; | ||||
Michal Simek | 6101515 | 2016-05-26 08:06:38 +0200 | [diff] [blame] | 24 | i2c0 = &i2c0; |
25 | i2c1 = &i2c1; | ||||
26 | rtc0 = &rtc; | ||||
27 | serial0 = &uart0; | ||||
28 | serial1 = &uart1; | ||||
29 | spi0 = &qspi; | ||||
30 | }; | ||||
31 | |||||
32 | chosen { | ||||
33 | bootargs = "earlycon"; | ||||
34 | stdout-path = "serial0:115200n8"; | ||||
35 | }; | ||||
36 | |||||
Michal Simek | 79c1cbf | 2016-11-11 13:21:04 +0100 | [diff] [blame] | 37 | memory@0 { |
Michal Simek | 6101515 | 2016-05-26 08:06:38 +0200 | [diff] [blame] | 38 | device_type = "memory"; |
39 | reg = <0x0 0x0 0x0 0x80000000>, <0x8 0x00000000 0x0 0x80000000>; | ||||
40 | }; | ||||
41 | }; | ||||
42 | |||||
43 | &can0 { | ||||
44 | status = "okay"; | ||||
45 | }; | ||||
46 | |||||
47 | &can1 { | ||||
48 | status = "okay"; | ||||
49 | }; | ||||
50 | |||||
Michal Simek | 6101515 | 2016-05-26 08:06:38 +0200 | [diff] [blame] | 51 | &fpd_dma_chan1 { |
52 | status = "okay"; | ||||
Michal Simek | 6101515 | 2016-05-26 08:06:38 +0200 | [diff] [blame] | 53 | }; |
54 | |||||
55 | &fpd_dma_chan2 { | ||||
56 | status = "okay"; | ||||
Michal Simek | 6101515 | 2016-05-26 08:06:38 +0200 | [diff] [blame] | 57 | }; |
58 | |||||
59 | &fpd_dma_chan3 { | ||||
60 | status = "okay"; | ||||
61 | }; | ||||
62 | |||||
63 | &fpd_dma_chan4 { | ||||
64 | status = "okay"; | ||||
Michal Simek | 6101515 | 2016-05-26 08:06:38 +0200 | [diff] [blame] | 65 | }; |
66 | |||||
67 | &fpd_dma_chan5 { | ||||
68 | status = "okay"; | ||||
69 | }; | ||||
70 | |||||
71 | &fpd_dma_chan6 { | ||||
72 | status = "okay"; | ||||
Michal Simek | 6101515 | 2016-05-26 08:06:38 +0200 | [diff] [blame] | 73 | }; |
74 | |||||
75 | &fpd_dma_chan7 { | ||||
76 | status = "okay"; | ||||
77 | }; | ||||
78 | |||||
79 | &fpd_dma_chan8 { | ||||
80 | status = "okay"; | ||||
Michal Simek | 6101515 | 2016-05-26 08:06:38 +0200 | [diff] [blame] | 81 | }; |
82 | |||||
83 | &lpd_dma_chan1 { | ||||
84 | status = "okay"; | ||||
85 | }; | ||||
86 | |||||
87 | &lpd_dma_chan2 { | ||||
88 | status = "okay"; | ||||
89 | }; | ||||
90 | |||||
91 | &lpd_dma_chan3 { | ||||
92 | status = "okay"; | ||||
93 | }; | ||||
94 | |||||
95 | &lpd_dma_chan4 { | ||||
96 | status = "okay"; | ||||
97 | }; | ||||
98 | |||||
99 | &lpd_dma_chan5 { | ||||
100 | status = "okay"; | ||||
101 | }; | ||||
102 | |||||
103 | &lpd_dma_chan6 { | ||||
104 | status = "okay"; | ||||
105 | }; | ||||
106 | |||||
107 | &lpd_dma_chan7 { | ||||
108 | status = "okay"; | ||||
109 | }; | ||||
110 | |||||
111 | &lpd_dma_chan8 { | ||||
112 | status = "okay"; | ||||
113 | }; | ||||
114 | |||||
Michal Simek | 6101515 | 2016-05-26 08:06:38 +0200 | [diff] [blame] | 115 | &gem0 { |
116 | status = "okay"; | ||||
Michal Simek | 6101515 | 2016-05-26 08:06:38 +0200 | [diff] [blame] | 117 | phy-mode = "rgmii-id"; |
118 | phy-handle = <ðernet_phy0>; | ||||
Michal Simek | 0641df7 | 2023-09-22 12:35:36 +0200 | [diff] [blame] | 119 | mdio: mdio { |
120 | #address-cells = <1>; | ||||
121 | #size-cells = <0>; | ||||
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 | }; | ||||
Michal Simek | 6101515 | 2016-05-26 08:06:38 +0200 | [diff] [blame] | 134 | }; |
135 | }; | ||||
136 | |||||
137 | &gem1 { | ||||
138 | status = "okay"; | ||||
Michal Simek | 6101515 | 2016-05-26 08:06:38 +0200 | [diff] [blame] | 139 | phy-mode = "rgmii-id"; |
140 | phy-handle = <ðernet_phy7>; | ||||
141 | }; | ||||
142 | |||||
143 | &gem2 { | ||||
144 | status = "okay"; | ||||
Michal Simek | 6101515 | 2016-05-26 08:06:38 +0200 | [diff] [blame] | 145 | phy-mode = "rgmii-id"; |
146 | phy-handle = <ðernet_phy3>; | ||||
147 | }; | ||||
148 | |||||
149 | &gem3 { | ||||
150 | status = "okay"; | ||||
Michal Simek | 6101515 | 2016-05-26 08:06:38 +0200 | [diff] [blame] | 151 | phy-mode = "rgmii-id"; |
152 | phy-handle = <ðernet_phy8>; | ||||
153 | }; | ||||
154 | |||||
155 | &gpio { | ||||
156 | status = "okay"; | ||||
157 | }; | ||||
158 | |||||
159 | &gpu { | ||||
160 | status = "okay"; | ||||
161 | }; | ||||
162 | |||||
163 | &i2c0 { | ||||
164 | clock-frequency = <400000>; | ||||
165 | status = "okay"; | ||||
166 | }; | ||||
167 | |||||
168 | &i2c1 { | ||||
169 | clock-frequency = <400000>; | ||||
170 | status = "okay"; | ||||
171 | }; | ||||
172 | |||||
Siva Durga Prasad Paladugu | df0dcf9 | 2017-03-04 12:16:47 +0530 | [diff] [blame] | 173 | &qspi { |
174 | status = "okay"; | ||||
175 | flash@0 { | ||||
Neil Armstrong | a009fa7 | 2019-02-10 10:16:20 +0000 | [diff] [blame] | 176 | compatible = "m25p80", "jedec,spi-nor"; /* 32MB */ |
Siva Durga Prasad Paladugu | df0dcf9 | 2017-03-04 12:16:47 +0530 | [diff] [blame] | 177 | #address-cells = <1>; |
178 | #size-cells = <1>; | ||||
179 | reg = <0x0>; | ||||
Amit Kumar Mahapatra | a02408b | 2022-05-10 16:33:01 +0200 | [diff] [blame] | 180 | spi-tx-bus-width = <4>; |
Siva Durga Prasad Paladugu | df0dcf9 | 2017-03-04 12:16:47 +0530 | [diff] [blame] | 181 | spi-rx-bus-width = <4>; /* also DUAL configuration possible */ |
182 | spi-max-frequency = <108000000>; /* Based on DC1 spec */ | ||||
Michal Simek | 70fafdf | 2020-02-14 14:19:56 +0100 | [diff] [blame] | 183 | partition@0 { /* for testing purpose */ |
Siva Durga Prasad Paladugu | df0dcf9 | 2017-03-04 12:16:47 +0530 | [diff] [blame] | 184 | label = "qspi-fsbl-uboot"; |
185 | reg = <0x0 0x100000>; | ||||
186 | }; | ||||
Michal Simek | 70fafdf | 2020-02-14 14:19:56 +0100 | [diff] [blame] | 187 | partition@100000 { /* for testing purpose */ |
Siva Durga Prasad Paladugu | df0dcf9 | 2017-03-04 12:16:47 +0530 | [diff] [blame] | 188 | label = "qspi-linux"; |
189 | reg = <0x100000 0x500000>; | ||||
190 | }; | ||||
Michal Simek | 70fafdf | 2020-02-14 14:19:56 +0100 | [diff] [blame] | 191 | partition@600000 { /* for testing purpose */ |
Siva Durga Prasad Paladugu | df0dcf9 | 2017-03-04 12:16:47 +0530 | [diff] [blame] | 192 | label = "qspi-device-tree"; |
193 | reg = <0x600000 0x20000>; | ||||
194 | }; | ||||
Michal Simek | 70fafdf | 2020-02-14 14:19:56 +0100 | [diff] [blame] | 195 | partition@620000 { /* for testing purpose */ |
Siva Durga Prasad Paladugu | df0dcf9 | 2017-03-04 12:16:47 +0530 | [diff] [blame] | 196 | label = "qspi-rootfs"; |
197 | reg = <0x620000 0x5E0000>; | ||||
198 | }; | ||||
199 | }; | ||||
200 | }; | ||||
201 | |||||
Michal Simek | 6101515 | 2016-05-26 08:06:38 +0200 | [diff] [blame] | 202 | &rtc { |
203 | status = "okay"; | ||||
204 | }; | ||||
205 | |||||
206 | &uart0 { | ||||
207 | status = "okay"; | ||||
208 | }; | ||||
209 | |||||
210 | &uart1 { | ||||
211 | status = "okay"; | ||||
212 | }; | ||||
213 | |||||
214 | &watchdog0 { | ||||
215 | status = "okay"; | ||||
216 | }; | ||||
Michal Simek | e0afb5a | 2021-06-01 16:42:02 +0200 | [diff] [blame] | 217 | |
218 | &zynqmp_dpdma { | ||||
219 | status = "okay"; | ||||
220 | }; | ||||
221 | |||||
222 | &zynqmp_dpsub { | ||||
223 | status = "okay"; | ||||
224 | }; |