2 * dts file for Xilinx ZynqMP zc1751-xm015-dc1
4 * (C) Copyright 2015, Xilinx, Inc.
6 * Michal Simek <michal.simek@xilinx.com>
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License as
10 * published by the Free Software Foundation; either version 2 of
11 * the License, or (at your option) any later version.
16 #include "zynqmp.dtsi"
17 #include "zynqmp-clk-ccf.dtsi"
18 #include <dt-bindings/phy/phy.h>
19 #include <dt-bindings/gpio/gpio.h>
20 #include <dt-bindings/pinctrl/pinctrl-zynqmp.h>
23 model = "ZynqMP zc1751-xm015-dc1 RevA";
24 compatible = "xlnx,zynqmp-zc1751", "xlnx,zynqmp";
39 bootargs = "earlycon";
40 stdout-path = "serial0:115200n8";
44 device_type = "memory";
45 reg = <0x0 0x0 0x0 0x80000000>, <0x8 0x00000000 0x0 0x80000000>;
49 /* fpd_dma clk 667MHz, lpd_dma 500MHz */
52 xlnx,include-sg; /* for testing purpose */
53 xlnx,overfetch; /* for testing purpose */
54 xlnx,ratectrl = <0>; /* for testing purpose */
55 xlnx,src-issue = <31>;
60 xlnx,ratectrl = <100>; /* for testing purpose */
61 xlnx,src-issue = <4>; /* for testing purpose */
70 xlnx,include-sg; /* for testing purpose */
79 xlnx,include-sg; /* for testing purpose */
88 xlnx,include-sg; /* for testing purpose */
94 phy-mode = "rgmii-id";
95 pinctrl-names = "default";
96 pinctrl-0 = <&pinctrl_gem3_default>;
104 pinctrl-names = "default";
105 pinctrl-0 = <&pinctrl_gpio_default>;
114 clock-frequency = <400000>;
115 pinctrl-names = "default", "gpio";
116 pinctrl-0 = <&pinctrl_i2c1_default>;
117 pinctrl-1 = <&pinctrl_i2c1_gpio>;
118 scl-gpios = <&gpio 36 GPIO_ACTIVE_HIGH>;
119 sda-gpios = <&gpio 37 GPIO_ACTIVE_HIGH>;
122 compatible = "at,24c64"; /* 24AA64 */
130 compatible = "m25p80"; /* Micron MT25QU512ABB8ESF */
131 #address-cells = <1>;
134 spi-tx-bus-width = <1>;
135 spi-rx-bus-width = <4>;
136 spi-max-frequency = <108000000>; /* Based on DC1 spec */
137 partition@qspi-fsbl-uboot { /* for testing purpose */
138 label = "qspi-fsbl-uboot";
139 reg = <0x0 0x100000>;
141 partition@qspi-linux { /* for testing purpose */
142 label = "qspi-linux";
143 reg = <0x100000 0x500000>;
145 partition@qspi-device-tree { /* for testing purpose */
146 label = "qspi-device-tree";
147 reg = <0x600000 0x20000>;
149 partition@qspi-rootfs { /* for testing purpose */
150 label = "qspi-rootfs";
151 reg = <0x620000 0x5E0000>;
162 /* SATA phy OOB timing settings */
163 ceva,p0-cominit-params = /bits/ 8 <0x1B 0x4D 0x18 0x28>;
164 ceva,p0-comwake-params = /bits/ 8 <0x06 0x19 0x08 0x0E>;
165 ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
166 ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
167 ceva,p1-cominit-params = /bits/ 8 <0x1B 0x4D 0x18 0x28>;
168 ceva,p1-comwake-params = /bits/ 8 <0x06 0x19 0x08 0x0E>;
169 ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
170 ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
171 phy-names = "sata-phy";
172 phys = <&lane3 PHY_TYPE_SATA 1 3 150000000>;
178 pinctrl-names = "default";
179 pinctrl-0 = <&pinctrl_sdhci0_default>;
184 /* SD1 with level shifter */
187 pinctrl-names = "default";
188 pinctrl-0 = <&pinctrl_sdhci1_default>;
198 pinctrl-names = "default";
199 pinctrl-0 = <&pinctrl_uart0_default>;
202 /* ULPI SMSC USB3320 */
205 pinctrl-names = "default";
206 pinctrl-0 = <&pinctrl_usb0_default>;
212 snps,usb3_lpm_capable;
213 phy-names = "usb3-phy";
214 phys = <&lane2 PHY_TYPE_USB3 0 2 26000000>;
223 phy-names = "dp-phy0", "dp-phy1";
224 phys = <&lane1 PHY_TYPE_DP 0 0 27000000>,
225 <&lane0 PHY_TYPE_DP 1 1 27000000>;
245 &xlnx_dp_snd_codec0 {
255 pinctrl_i2c1_default: i2c1-default {
257 groups = "i2c1_9_grp";
262 groups = "i2c1_9_grp";
264 slew-rate = <SLEW_RATE_SLOW>;
265 io-standard = <IO_STANDARD_LVCMOS18>;
269 pinctrl_i2c1_gpio: i2c1-gpio {
271 groups = "gpio0_36_grp", "gpio0_37_grp";
276 groups = "gpio0_36_grp", "gpio0_37_grp";
277 slew-rate = <SLEW_RATE_SLOW>;
278 io-standard = <IO_STANDARD_LVCMOS18>;
282 pinctrl_uart0_default: uart0-default {
284 groups = "uart0_8_grp";
289 groups = "uart0_8_grp";
290 slew-rate = <SLEW_RATE_SLOW>;
291 io-standard = <IO_STANDARD_LVCMOS18>;
305 pinctrl_usb0_default: usb0-default {
307 groups = "usb0_0_grp";
312 groups = "usb0_0_grp";
313 slew-rate = <SLEW_RATE_SLOW>;
314 io-standard = <IO_STANDARD_LVCMOS18>;
318 pins = "MIO52", "MIO53", "MIO55";
323 pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59",
324 "MIO60", "MIO61", "MIO62", "MIO63";
329 pinctrl_gem3_default: gem3-default {
331 function = "ethernet3";
332 groups = "ethernet3_0_grp";
336 groups = "ethernet3_0_grp";
337 slew-rate = <SLEW_RATE_SLOW>;
338 io-standard = <IO_STANDARD_LVCMOS18>;
342 pins = "MIO70", "MIO71", "MIO72", "MIO73", "MIO74",
349 pins = "MIO64", "MIO65", "MIO66", "MIO67", "MIO68",
357 groups = "mdio3_0_grp";
361 groups = "mdio3_0_grp";
362 slew-rate = <SLEW_RATE_SLOW>;
363 io-standard = <IO_STANDARD_LVCMOS18>;
368 pinctrl_sdhci0_default: sdhci0-default {
370 groups = "sdio0_0_grp";
375 groups = "sdio0_0_grp";
376 slew-rate = <SLEW_RATE_SLOW>;
377 io-standard = <IO_STANDARD_LVCMOS18>;
382 groups = "sdio0_0_cd_grp";
383 function = "sdio0_cd";
387 groups = "sdio0_0_cd_grp";
390 slew-rate = <SLEW_RATE_SLOW>;
391 io-standard = <IO_STANDARD_LVCMOS18>;
395 groups = "sdio0_0_wp_grp";
396 function = "sdio0_wp";
400 groups = "sdio0_0_wp_grp";
403 slew-rate = <SLEW_RATE_SLOW>;
404 io-standard = <IO_STANDARD_LVCMOS18>;
408 pinctrl_sdhci1_default: sdhci1-default {
410 groups = "sdio1_0_grp";
415 groups = "sdio1_0_grp";
416 slew-rate = <SLEW_RATE_SLOW>;
417 io-standard = <IO_STANDARD_LVCMOS18>;
422 groups = "sdio1_0_cd_grp";
423 function = "sdio1_cd";
427 groups = "sdio1_0_cd_grp";
430 slew-rate = <SLEW_RATE_SLOW>;
431 io-standard = <IO_STANDARD_LVCMOS18>;
435 groups = "sdio1_0_wp_grp";
436 function = "sdio1_wp";
440 groups = "sdio1_0_wp_grp";
443 slew-rate = <SLEW_RATE_SLOW>;
444 io-standard = <IO_STANDARD_LVCMOS18>;
448 pinctrl_gpio_default: gpio-default {
451 groups = "gpio0_38_grp";
455 groups = "gpio0_38_grp";
457 slew-rate = <SLEW_RATE_SLOW>;
458 io-standard = <IO_STANDARD_LVCMOS18>;