2 * dts file for Xilinx ZynqMP zc1751-xm016-dc2
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/gpio/gpio.h>
19 #include <dt-bindings/pinctrl/pinctrl-zynqmp.h>
22 model = "ZynqMP zc1751-xm016-dc2 RevA";
23 compatible = "xlnx,zynqmp-zc1751", "xlnx,zynqmp";
40 bootargs = "earlycon";
41 stdout-path = "serial0:115200n8";
45 device_type = "memory";
46 reg = <0x0 0x0 0x0 0x80000000>, <0x8 0x00000000 0x0 0x80000000>;
52 pinctrl-names = "default";
53 pinctrl-0 = <&pinctrl_can0_default>;
58 pinctrl-names = "default";
59 pinctrl-0 = <&pinctrl_can1_default>;
62 /* fpd_dma clk 667MHz, lpd_dma 500MHz */
65 xlnx,include-sg; /* for testing purpose */
66 xlnx,overfetch; /* for testing purpose */
67 xlnx,ratectrl = <0>; /* for testing purpose */
68 xlnx,src-issue = <31>;
73 xlnx,ratectrl = <100>; /* for testing purpose */
74 xlnx,src-issue = <4>; /* for testing purpose */
83 xlnx,include-sg; /* for testing purpose */
92 xlnx,include-sg; /* for testing purpose */
101 xlnx,include-sg; /* for testing purpose */
106 phy-handle = <&phy0>;
107 phy-mode = "rgmii-id";
108 pinctrl-names = "default";
109 pinctrl-0 = <&pinctrl_gem2_default>;
112 ti,rx-internal-delay = <0x8>;
113 ti,tx-internal-delay = <0xa>;
114 ti,fifo-depth = <0x1>;
115 ti,rxctrl-strap-worka;
125 clock-frequency = <400000>;
126 pinctrl-names = "default", "gpio";
127 pinctrl-0 = <&pinctrl_i2c0_default>;
128 pinctrl-1 = <&pinctrl_i2c0_gpio>;
129 scl-gpios = <&gpio 6 GPIO_ACTIVE_HIGH>;
130 sda-gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
132 tca6416_u26: gpio@20 {
133 compatible = "ti,tca6416";
137 /* IRQ not connected */
141 compatible = "dallas,ds1339";
148 pinctrl-names = "default";
149 pinctrl-0 = <&pinctrl_nand0_default>;
154 #address-cells = <0x2>;
157 partition@0 { /* for testing purpose */
158 label = "nand-fsbl-uboot";
159 reg = <0x0 0x0 0x400000>;
161 partition@1 { /* for testing purpose */
162 label = "nand-linux";
163 reg = <0x0 0x400000 0x1400000>;
165 partition@2 { /* for testing purpose */
166 label = "nand-device-tree";
167 reg = <0x0 0x1800000 0x400000>;
169 partition@3 { /* for testing purpose */
170 label = "nand-rootfs";
171 reg = <0x0 0x1c00000 0x1400000>;
173 partition@4 { /* for testing purpose */
174 label = "nand-bitstream";
175 reg = <0x0 0x3000000 0x400000>;
177 partition@5 { /* for testing purpose */
179 reg = <0x0 0x3400000 0xfcc00000>;
184 #address-cells = <0x2>;
187 partition@0 { /* for testing purpose */
188 label = "nand1-fsbl-uboot";
189 reg = <0x0 0x0 0x400000>;
191 partition@1 { /* for testing purpose */
192 label = "nand1-linux";
193 reg = <0x0 0x400000 0x1400000>;
195 partition@2 { /* for testing purpose */
196 label = "nand1-device-tree";
197 reg = <0x0 0x1800000 0x400000>;
199 partition@3 { /* for testing purpose */
200 label = "nand1-rootfs";
201 reg = <0x0 0x1c00000 0x1400000>;
203 partition@4 { /* for testing purpose */
204 label = "nand1-bitstream";
205 reg = <0x0 0x3000000 0x400000>;
207 partition@5 { /* for testing purpose */
208 label = "nand1-misc";
209 reg = <0x0 0x3400000 0xfcc00000>;
221 pinctrl-names = "default";
222 pinctrl-0 = <&pinctrl_spi0_default>;
224 spi0_flash0: spi0_flash0@0 {
225 compatible = "m25p80";
226 #address-cells = <1>;
228 spi-max-frequency = <50000000>;
232 label = "spi0_flash0";
233 reg = <0x0 0x100000>;
241 pinctrl-names = "default";
242 pinctrl-0 = <&pinctrl_spi1_default>;
244 spi1_flash0: spi1_flash0@0 {
245 compatible = "mtd_dataflash";
246 #address-cells = <1>;
248 spi-max-frequency = <20000000>;
252 label = "spi1_flash0";
258 /* ULPI SMSC USB3320 */
261 pinctrl-names = "default";
262 pinctrl-0 = <&pinctrl_usb1_default>;
272 pinctrl-names = "default";
273 pinctrl-0 = <&pinctrl_uart0_default>;
278 pinctrl-names = "default";
279 pinctrl-0 = <&pinctrl_uart1_default>;
284 pinctrl_can0_default: can0-default {
287 groups = "can0_9_grp";
291 groups = "can0_9_grp";
292 slew-rate = <SLEW_RATE_SLOW>;
293 io-standard = <IO_STANDARD_LVCMOS18>;
307 pinctrl_can1_default: can1-default {
310 groups = "can1_8_grp";
314 groups = "can1_8_grp";
315 slew-rate = <SLEW_RATE_SLOW>;
316 io-standard = <IO_STANDARD_LVCMOS18>;
330 pinctrl_i2c0_default: i2c0-default {
332 groups = "i2c0_1_grp";
337 groups = "i2c0_1_grp";
339 slew-rate = <SLEW_RATE_SLOW>;
340 io-standard = <IO_STANDARD_LVCMOS18>;
344 pinctrl_i2c0_gpio: i2c0-gpio {
346 groups = "gpio0_6_grp", "gpio0_7_grp";
351 groups = "gpio0_6_grp", "gpio0_7_grp";
352 slew-rate = <SLEW_RATE_SLOW>;
353 io-standard = <IO_STANDARD_LVCMOS18>;
357 pinctrl_uart0_default: uart0-default {
359 groups = "uart0_10_grp";
364 groups = "uart0_10_grp";
365 slew-rate = <SLEW_RATE_SLOW>;
366 io-standard = <IO_STANDARD_LVCMOS18>;
380 pinctrl_uart1_default: uart1-default {
382 groups = "uart1_10_grp";
387 groups = "uart1_10_grp";
388 slew-rate = <SLEW_RATE_SLOW>;
389 io-standard = <IO_STANDARD_LVCMOS18>;
403 pinctrl_usb1_default: usb1-default {
405 groups = "usb1_0_grp";
410 groups = "usb1_0_grp";
411 slew-rate = <SLEW_RATE_SLOW>;
412 io-standard = <IO_STANDARD_LVCMOS18>;
416 pins = "MIO64", "MIO65", "MIO67";
421 pins = "MIO66", "MIO68", "MIO69", "MIO70", "MIO71",
422 "MIO72", "MIO73", "MIO74", "MIO75";
427 pinctrl_gem2_default: gem2-default {
429 function = "ethernet2";
430 groups = "ethernet2_0_grp";
434 groups = "ethernet2_0_grp";
435 slew-rate = <SLEW_RATE_SLOW>;
436 io-standard = <IO_STANDARD_LVCMOS18>;
440 pins = "MIO58", "MIO59", "MIO60", "MIO61", "MIO62",
447 pins = "MIO52", "MIO53", "MIO54", "MIO55", "MIO56",
455 groups = "mdio2_0_grp";
459 groups = "mdio2_0_grp";
460 slew-rate = <SLEW_RATE_SLOW>;
461 io-standard = <IO_STANDARD_LVCMOS18>;
466 pinctrl_nand0_default: nand0-default {
468 groups = "nand0_0_grp";
473 groups = "nand0_0_grp";
478 groups = "nand0_0_ce_grp";
479 function = "nand0_ce";
483 groups = "nand0_0_ce_grp";
488 groups = "nand0_0_rb_grp";
489 function = "nand0_rb";
493 groups = "nand0_0_rb_grp";
498 groups = "nand0_0_dqs_grp";
499 function = "nand0_dqs";
503 groups = "nand0_0_dqs_grp";
508 pinctrl_spi0_default: spi0-default {
510 groups = "spi0_0_grp";
515 groups = "spi0_0_grp";
517 slew-rate = <SLEW_RATE_SLOW>;
518 io-standard = <IO_STANDARD_LVCMOS18>;
522 groups = "spi0_0_ss0_grp", "spi0_0_ss1_grp",
524 function = "spi0_ss";
528 groups = "spi0_0_ss0_grp", "spi0_0_ss1_grp",
534 pinctrl_spi1_default: spi1-default {
536 groups = "spi1_3_grp";
541 groups = "spi1_3_grp";
543 slew-rate = <SLEW_RATE_SLOW>;
544 io-standard = <IO_STANDARD_LVCMOS18>;
548 groups = "spi1_3_ss0_grp", "spi1_3_ss1_grp",
550 function = "spi1_ss";
554 groups = "spi1_3_ss0_grp", "spi1_3_ss1_grp",