blob: a9bac1dec03e827ebdaa81c59319a0e628df929e [file] [log] [blame]
Michal Simek316a9f22018-03-28 15:00:25 +02001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * dts file for Xilinx ZynqMP zc1751-xm017-dc3
4 *
Michal Simek8676f512021-06-03 10:47:04 +02005 * (C) Copyright 2016 - 2021, Xilinx, Inc.
Michal Simek316a9f22018-03-28 15:00:25 +02006 *
7 * Michal Simek <michal.simek@xilinx.com>
8 */
9
10/dts-v1/;
11
12#include "zynqmp.dtsi"
13#include "zynqmp-clk-ccf.dtsi"
14
15/ {
16 model = "ZynqMP zc1751-xm017-dc3 RevA";
17 compatible = "xlnx,zynqmp-zc1751", "xlnx,zynqmp";
18
19 aliases {
20 ethernet0 = &gem0;
Michal Simek316a9f22018-03-28 15:00:25 +020021 i2c0 = &i2c0;
22 i2c1 = &i2c1;
23 mmc0 = &sdhci1;
24 rtc0 = &rtc;
25 serial0 = &uart0;
26 serial1 = &uart1;
27 usb0 = &usb0;
28 usb1 = &usb1;
29 };
30
31 chosen {
32 bootargs = "earlycon";
33 stdout-path = "serial0:115200n8";
34 };
35
36 memory@0 {
37 device_type = "memory";
38 reg = <0x0 0x0 0x0 0x80000000>, <0x8 0x00000000 0x0 0x80000000>;
39 };
40};
41
42&fpd_dma_chan1 {
43 status = "okay";
44};
45
46&fpd_dma_chan2 {
47 status = "okay";
48};
49
50&fpd_dma_chan3 {
51 status = "okay";
52};
53
54&fpd_dma_chan4 {
55 status = "okay";
56};
57
58&fpd_dma_chan5 {
59 status = "okay";
60};
61
62&fpd_dma_chan6 {
63 status = "okay";
64};
65
66&fpd_dma_chan7 {
67 status = "okay";
68};
69
70&fpd_dma_chan8 {
71 status = "okay";
72};
73
74&gem0 {
75 status = "okay";
76 phy-handle = <&phy0>;
77 phy-mode = "rgmii-id";
Michal Simek393decf2019-08-08 12:44:22 +020078 phy0: ethernet-phy@0 { /* VSC8211 */
Michal Simek316a9f22018-03-28 15:00:25 +020079 reg = <0>;
80 };
81};
82
83&gpio {
84 status = "okay";
85};
86
87/* just eeprom here */
88&i2c0 {
89 status = "okay";
90 clock-frequency = <400000>;
91
92 tca6416_u26: gpio@20 {
93 compatible = "ti,tca6416";
94 reg = <0x20>;
95 gpio-controller;
96 #gpio-cells = <2>;
97 /* IRQ not connected */
98 };
99
100 rtc@68 {
101 compatible = "dallas,ds1339";
102 reg = <0x68>;
103 };
104};
105
106/* eeprom24c02 and SE98A temp chip pca9306 */
107&i2c1 {
108 status = "okay";
109 clock-frequency = <400000>;
110};
111
112/* MT29F64G08AECDBJ4-6 */
113&nand0 {
114 status = "okay";
115 arasan,has-mdma;
116 num-cs = <2>;
117
118 partition@0 { /* for testing purpose */
119 label = "nand-fsbl-uboot";
120 reg = <0x0 0x0 0x400000>;
121 };
122 partition@1 { /* for testing purpose */
123 label = "nand-linux";
124 reg = <0x0 0x400000 0x1400000>;
125 };
126 partition@2 { /* for testing purpose */
127 label = "nand-device-tree";
128 reg = <0x0 0x1800000 0x400000>;
129 };
130 partition@3 { /* for testing purpose */
131 label = "nand-rootfs";
132 reg = <0x0 0x1C00000 0x1400000>;
133 };
134 partition@4 { /* for testing purpose */
135 label = "nand-bitstream";
136 reg = <0x0 0x3000000 0x400000>;
137 };
138 partition@5 { /* for testing purpose */
139 label = "nand-misc";
140 reg = <0x0 0x3400000 0xFCC00000>;
141 };
142
143 partition@6 { /* for testing purpose */
144 label = "nand1-fsbl-uboot";
145 reg = <0x1 0x0 0x400000>;
146 };
147 partition@7 { /* for testing purpose */
148 label = "nand1-linux";
149 reg = <0x1 0x400000 0x1400000>;
150 };
151 partition@8 { /* for testing purpose */
152 label = "nand1-device-tree";
153 reg = <0x1 0x1800000 0x400000>;
154 };
155 partition@9 { /* for testing purpose */
156 label = "nand1-rootfs";
157 reg = <0x1 0x1C00000 0x1400000>;
158 };
159 partition@10 { /* for testing purpose */
160 label = "nand1-bitstream";
161 reg = <0x1 0x3000000 0x400000>;
162 };
163 partition@11 { /* for testing purpose */
164 label = "nand1-misc";
165 reg = <0x1 0x3400000 0xFCC00000>;
166 };
167};
168
169&rtc {
170 status = "okay";
171};
172
173&sata {
174 status = "okay";
175 /* SATA phy OOB timing settings */
176 ceva,p0-cominit-params = /bits/ 8 <0x1B 0x4D 0x18 0x28>;
177 ceva,p0-comwake-params = /bits/ 8 <0x06 0x19 0x08 0x0E>;
178 ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
179 ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
180 ceva,p1-cominit-params = /bits/ 8 <0x1B 0x4D 0x18 0x28>;
181 ceva,p1-comwake-params = /bits/ 8 <0x06 0x19 0x08 0x0E>;
182 ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
183 ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
184};
185
186&sdhci1 { /* emmc with some settings */
187 status = "okay";
188};
189
190/* main */
191&uart0 {
192 status = "okay";
193};
194
195/* DB9 */
196&uart1 {
197 status = "okay";
198};
199
200&usb0 {
201 status = "okay";
Michal Simek06c5e0f2021-06-11 08:52:25 +0200202};
203
204&dwc3_0 {
205 status = "okay";
Michal Simek316a9f22018-03-28 15:00:25 +0200206 dr_mode = "host";
Michal Simek06c5e0f2021-06-11 08:52:25 +0200207 snps,usb3_lpm_capable;
208 maximum-speed = "super-speed";
Michal Simek316a9f22018-03-28 15:00:25 +0200209};
210
211/* ULPI SMSC USB3320 */
212&usb1 {
213 status = "okay";
Michal Simek06c5e0f2021-06-11 08:52:25 +0200214};
215
216&dwc3_1 {
217 status = "okay";
Michal Simek316a9f22018-03-28 15:00:25 +0200218 dr_mode = "host";
Michal Simek06c5e0f2021-06-11 08:52:25 +0200219 snps,usb3_lpm_capable;
220 maximum-speed = "super-speed";
Michal Simek316a9f22018-03-28 15:00:25 +0200221};