blob: 18963a395156cc417e68e2ebb473068ac966b6f9 [file] [log] [blame]
Michal Simek71d84b42018-03-27 13:43:05 +02001// SPDX-License-Identifier: GPL-2.0+
Jagannadha Sutradharudu Tekifc0d22b2014-01-09 01:48:29 +05302/*
Michal Simeke2612e12015-07-22 11:12:10 +02003 * Copyright (C) 2011 - 2015 Xilinx
4 * Copyright (C) 2012 National Instruments Corp.
Jagannadha Sutradharudu Tekifc0d22b2014-01-09 01:48:29 +05305 */
6/dts-v1/;
7#include "zynq-7000.dtsi"
8
9/ {
Luis Aranedaac891162018-07-12 00:10:20 -040010 model = "Xilinx ZC706 board";
Jagannadha Sutradharudu Tekifc0d22b2014-01-09 01:48:29 +053011 compatible = "xlnx,zynq-zc706", "xlnx,zynq-7000";
Masahiro Yamadad6367a22014-05-15 20:37:54 +090012
Masahiro Yamada87f645e2014-05-15 20:37:55 +090013 aliases {
Michal Simeke2612e12015-07-22 11:12:10 +020014 ethernet0 = &gem0;
15 i2c0 = &i2c0;
Masahiro Yamada87f645e2014-05-15 20:37:55 +090016 serial0 = &uart1;
Jagan Tekidd456322015-08-15 23:16:21 +053017 spi0 = &qspi;
Michal Simek1a03a522015-12-08 11:56:23 +010018 mmc0 = &sdhci0;
Michal Simek865bb3b2022-09-27 09:55:12 +020019 nvmem0 = &eeprom;
Michal Simeke42a0392022-09-27 13:50:26 +020020 rtc0 = &rtc;
Masahiro Yamada87f645e2014-05-15 20:37:55 +090021 };
22
Michal Simekb3585f42016-11-11 13:11:37 +010023 memory@0 {
Masahiro Yamadad6367a22014-05-15 20:37:54 +090024 device_type = "memory";
Michal Simeke2612e12015-07-22 11:12:10 +020025 reg = <0x0 0x40000000>;
Masahiro Yamadad6367a22014-05-15 20:37:54 +090026 };
Michal Simeke2612e12015-07-22 11:12:10 +020027
28 chosen {
Michal Simek8073b862016-04-07 11:15:00 +020029 bootargs = "";
Michal Simeke2612e12015-07-22 11:12:10 +020030 stdout-path = "serial0:115200n8";
31 };
32
33 usb_phy0: phy0 {
34 compatible = "usb-nop-xceiv";
35 #phy-cells = <0>;
36 };
37};
38
39&clkc {
40 ps-clk-frequency = <33333333>;
41};
42
43&gem0 {
44 status = "okay";
45 phy-mode = "rgmii-id";
46 phy-handle = <&ethernet_phy>;
47 pinctrl-names = "default";
48 pinctrl-0 = <&pinctrl_gem0_default>;
49
50 ethernet_phy: ethernet-phy@7 {
51 reg = <7>;
Sai Pavan Boddub2ed84b2017-03-06 18:17:19 +053052 device_type = "ethernet-phy";
Michal Simeke2612e12015-07-22 11:12:10 +020053 };
54};
55
56&gpio0 {
57 pinctrl-names = "default";
58 pinctrl-0 = <&pinctrl_gpio0_default>;
59};
60
61&i2c0 {
62 status = "okay";
63 clock-frequency = <400000>;
64 pinctrl-names = "default";
65 pinctrl-0 = <&pinctrl_i2c0_default>;
66
Michal Simekf6fd3f22018-02-06 14:00:30 +010067 i2c-mux@74 {
Michal Simeke2612e12015-07-22 11:12:10 +020068 compatible = "nxp,pca9548";
69 #address-cells = <1>;
70 #size-cells = <0>;
71 reg = <0x74>;
72
73 i2c@0 {
74 #address-cells = <1>;
75 #size-cells = <0>;
76 reg = <0>;
77 si570: clock-generator@5d {
78 #clock-cells = <0>;
79 compatible = "silabs,si570";
80 temperature-stability = <50>;
81 reg = <0x5d>;
82 factory-fout = <156250000>;
83 clock-frequency = <148500000>;
84 };
85 };
86
Christian Kohne6ba9002015-11-12 15:53:36 -080087 i2c@1 {
88 #address-cells = <1>;
89 #size-cells = <0>;
90 reg = <1>;
91 adv7511: hdmi-tx@39 {
92 compatible = "adi,adv7511";
93 reg = <0x39>;
94 adi,input-depth = <8>;
95 adi,input-colorspace = "yuv422";
96 adi,input-clock = "1x";
97 adi,input-style = <3>;
98 adi,input-justification = "evenly";
99 };
100 };
101
Michal Simeke2612e12015-07-22 11:12:10 +0200102 i2c@2 {
103 #address-cells = <1>;
104 #size-cells = <0>;
105 reg = <2>;
Michal Simek865bb3b2022-09-27 09:55:12 +0200106 eeprom: eeprom@54 {
Javier Martinez Canillasa2ce2722017-06-15 20:54:12 +0200107 compatible = "atmel,24c08";
Michal Simeke2612e12015-07-22 11:12:10 +0200108 reg = <0x54>;
109 };
110 };
111
112 i2c@3 {
113 #address-cells = <1>;
114 #size-cells = <0>;
115 reg = <3>;
116 gpio@21 {
117 compatible = "ti,tca6416";
118 reg = <0x21>;
119 gpio-controller;
120 #gpio-cells = <2>;
121 };
122 };
123
124 i2c@4 {
125 #address-cells = <1>;
126 #size-cells = <0>;
127 reg = <4>;
Michal Simeke42a0392022-09-27 13:50:26 +0200128 rtc: rtc@51 {
Michal Simeke2612e12015-07-22 11:12:10 +0200129 compatible = "nxp,pcf8563";
130 reg = <0x51>;
131 };
132 };
133
134 i2c@7 {
135 #address-cells = <1>;
136 #size-cells = <0>;
137 reg = <7>;
138 ucd90120@65 {
139 compatible = "ti,ucd90120";
140 reg = <0x65>;
141 };
142 };
143 };
144};
145
146&pinctrl0 {
147 pinctrl_gem0_default: gem0-default {
148 mux {
149 function = "ethernet0";
150 groups = "ethernet0_0_grp";
151 };
152
153 conf {
154 groups = "ethernet0_0_grp";
155 slew-rate = <0>;
Sai Krishna Potthuria735bc82021-08-06 01:41:46 -0600156 power-source = <4>;
Michal Simeke2612e12015-07-22 11:12:10 +0200157 };
158
159 conf-rx {
160 pins = "MIO22", "MIO23", "MIO24", "MIO25", "MIO26", "MIO27";
161 bias-high-impedance;
162 low-power-disable;
163 };
164
165 conf-tx {
166 pins = "MIO16", "MIO17", "MIO18", "MIO19", "MIO20", "MIO21";
167 low-power-enable;
168 bias-disable;
169 };
170
171 mux-mdio {
172 function = "mdio0";
173 groups = "mdio0_0_grp";
174 };
175
176 conf-mdio {
177 groups = "mdio0_0_grp";
178 slew-rate = <0>;
Sai Krishna Potthuria735bc82021-08-06 01:41:46 -0600179 power-source = <1>;
Michal Simeke2612e12015-07-22 11:12:10 +0200180 bias-disable;
181 };
182 };
183
184 pinctrl_gpio0_default: gpio0-default {
185 mux {
186 function = "gpio0";
187 groups = "gpio0_7_grp", "gpio0_46_grp", "gpio0_47_grp";
188 };
189
190 conf {
191 groups = "gpio0_7_grp", "gpio0_46_grp", "gpio0_47_grp";
192 slew-rate = <0>;
Sai Krishna Potthuria735bc82021-08-06 01:41:46 -0600193 power-source = <1>;
Michal Simeke2612e12015-07-22 11:12:10 +0200194 };
195
196 conf-pull-up {
197 pins = "MIO46", "MIO47";
198 bias-pull-up;
199 };
200
201 conf-pull-none {
202 pins = "MIO7";
203 bias-disable;
204 };
205 };
206
207 pinctrl_i2c0_default: i2c0-default {
208 mux {
209 groups = "i2c0_10_grp";
210 function = "i2c0";
211 };
212
213 conf {
214 groups = "i2c0_10_grp";
215 bias-pull-up;
216 slew-rate = <0>;
Sai Krishna Potthuria735bc82021-08-06 01:41:46 -0600217 power-source = <1>;
Michal Simeke2612e12015-07-22 11:12:10 +0200218 };
219 };
220
221 pinctrl_sdhci0_default: sdhci0-default {
222 mux {
223 groups = "sdio0_2_grp";
224 function = "sdio0";
225 };
226
227 conf {
228 groups = "sdio0_2_grp";
229 slew-rate = <0>;
Sai Krishna Potthuria735bc82021-08-06 01:41:46 -0600230 power-source = <1>;
Michal Simeke2612e12015-07-22 11:12:10 +0200231 bias-disable;
232 };
233
234 mux-cd {
235 groups = "gpio0_14_grp";
236 function = "sdio0_cd";
237 };
238
239 conf-cd {
240 groups = "gpio0_14_grp";
241 bias-high-impedance;
242 bias-pull-up;
243 slew-rate = <0>;
Sai Krishna Potthuria735bc82021-08-06 01:41:46 -0600244 power-source = <1>;
Michal Simeke2612e12015-07-22 11:12:10 +0200245 };
246
247 mux-wp {
248 groups = "gpio0_15_grp";
249 function = "sdio0_wp";
250 };
251
252 conf-wp {
253 groups = "gpio0_15_grp";
254 bias-high-impedance;
255 bias-pull-up;
256 slew-rate = <0>;
Sai Krishna Potthuria735bc82021-08-06 01:41:46 -0600257 power-source = <1>;
Michal Simeke2612e12015-07-22 11:12:10 +0200258 };
259 };
260
261 pinctrl_uart1_default: uart1-default {
262 mux {
263 groups = "uart1_10_grp";
264 function = "uart1";
265 };
266
267 conf {
268 groups = "uart1_10_grp";
269 slew-rate = <0>;
Sai Krishna Potthuria735bc82021-08-06 01:41:46 -0600270 power-source = <1>;
Michal Simeke2612e12015-07-22 11:12:10 +0200271 };
272
273 conf-rx {
274 pins = "MIO49";
275 bias-high-impedance;
276 };
277
278 conf-tx {
279 pins = "MIO48";
280 bias-disable;
281 };
282 };
283
284 pinctrl_usb0_default: usb0-default {
285 mux {
286 groups = "usb0_0_grp";
287 function = "usb0";
288 };
289
290 conf {
291 groups = "usb0_0_grp";
292 slew-rate = <0>;
Sai Krishna Potthuria735bc82021-08-06 01:41:46 -0600293 power-source = <1>;
Michal Simeke2612e12015-07-22 11:12:10 +0200294 };
295
296 conf-rx {
297 pins = "MIO29", "MIO31", "MIO36";
298 bias-high-impedance;
299 };
300
301 conf-tx {
302 pins = "MIO28", "MIO30", "MIO32", "MIO33", "MIO34",
303 "MIO35", "MIO37", "MIO38", "MIO39";
304 bias-disable;
305 };
306 };
307};
308
Michal Simek6603e1c2016-04-07 13:04:15 +0200309&qspi {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700310 bootph-all;
Michal Simek6603e1c2016-04-07 13:04:15 +0200311 status = "okay";
Michal Simekad200322023-10-23 09:21:53 +0200312 num-cs = <2>;
Michal Simekeacca2f2021-08-06 13:30:19 +0200313 flash@0 {
314 compatible = "n25q128a11", "jedec,spi-nor";
Michal Simekad200322023-10-23 09:21:53 +0200315 reg = <0>, <1>;
316 parallel-memories = /bits/ 64 <0x1000000 0x1000000>; /* 16MB */
Michal Simekeacca2f2021-08-06 13:30:19 +0200317 spi-tx-bus-width = <1>;
318 spi-rx-bus-width = <4>;
319 spi-max-frequency = <50000000>;
320 };
Michal Simek6603e1c2016-04-07 13:04:15 +0200321};
322
Michal Simeke2612e12015-07-22 11:12:10 +0200323&sdhci0 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700324 bootph-all;
Michal Simeke2612e12015-07-22 11:12:10 +0200325 status = "okay";
326 pinctrl-names = "default";
327 pinctrl-0 = <&pinctrl_sdhci0_default>;
328};
329
330&uart1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700331 bootph-all;
Michal Simeke2612e12015-07-22 11:12:10 +0200332 status = "okay";
333 pinctrl-names = "default";
334 pinctrl-0 = <&pinctrl_uart1_default>;
335};
336
337&usb0 {
338 status = "okay";
339 dr_mode = "host";
340 usb-phy = <&usb_phy0>;
341 pinctrl-names = "default";
342 pinctrl-0 = <&pinctrl_usb0_default>;
Jagannadha Sutradharudu Tekifc0d22b2014-01-09 01:48:29 +0530343};
Michal Simek6e5c0192018-02-21 17:03:55 +0100344
345&watchdog0 {
346 reset-on-timeout;
347};