blob: 751717028b50cba9ac37e131db3dbbc65c790cb9 [file] [log] [blame]
Michal Simek44303df2015-10-30 15:39:18 +01001/*
2 * dts file for Xilinx ZynqMP ep108 development board
3 *
4 * (C) Copyright 2014 - 2015, Xilinx, Inc.
5 *
6 * Michal Simek <michal.simek@xilinx.com>
7 *
8 * SPDX-License-Identifier: GPL-2.0+
9 */
10
11/dts-v1/;
12
Alistair Francis02e782c2016-02-25 09:30:03 -080013#include "zynqmp.dtsi"
14#include "zynqmp-ep108-clk.dtsi"
Michal Simek44303df2015-10-30 15:39:18 +010015
16/ {
17 model = "ZynqMP EP108";
18
19 aliases {
Michal Simekbeaf7952016-02-23 09:30:15 +010020 mmc0 = &sdhci0;
21 mmc1 = &sdhci1;
Michal Simek44303df2015-10-30 15:39:18 +010022 serial0 = &uart0;
23 spi0 = &qspi;
24 spi1 = &spi0;
25 spi2 = &spi1;
Michal Simeka84de482016-04-07 15:06:07 +020026 usb0 = &usb0;
27 usb1 = &usb1;
Michal Simek44303df2015-10-30 15:39:18 +010028 };
29
30 chosen {
31 stdout-path = "serial0:115200n8";
32 };
33
Michal Simekc926e6f2016-11-11 13:21:04 +010034 memory@0 {
Michal Simek44303df2015-10-30 15:39:18 +010035 device_type = "memory";
Michal Simek85d11422016-04-07 15:07:38 +020036 reg = <0x0 0x0 0x0 0x40000000>;
Michal Simek44303df2015-10-30 15:39:18 +010037 };
38};
39
40&can0 {
41 status = "okay";
42};
43
44&gem0 {
45 status = "okay";
46 phy-handle = <&phy0>;
47 phy-mode = "rgmii-id";
Michal Simekcb9dcc62016-01-14 13:11:51 +010048 phy0: phy@0 {
Michal Simek44303df2015-10-30 15:39:18 +010049 reg = <0>;
50 max-speed = <100>;
51 };
52};
53
54&gpio {
55 status = "okay";
56};
57
58&i2c0 {
59 status = "okay";
60 clock-frequency = <400000>;
61 eeprom@54 {
62 compatible = "at,24c64";
63 reg = <0x54>;
64 };
65};
66
67&i2c1 {
68 status = "okay";
69 clock-frequency = <400000>;
70 eeprom@55 {
71 compatible = "at,24c64";
72 reg = <0x55>;
73 };
74};
75
Punnaiah Choudary Kalluri45212022015-11-05 22:21:14 +053076&nand0 {
77 status = "okay";
78 arasan,has-mdma;
79 num-cs = <1>;
80
81 partition@0 { /* for testing purpose */
82 label = "nand-fsbl-uboot";
83 reg = <0x0 0x0 0x400000>;
84 };
85 partition@1 { /* for testing purpose */
86 label = "nand-linux";
87 reg = <0x0 0x400000 0x1400000>;
88 };
89 partition@2 { /* for testing purpose */
90 label = "nand-device-tree";
91 reg = <0x0 0x1800000 0x400000>;
92 };
93 partition@3 { /* for testing purpose */
94 label = "nand-rootfs";
95 reg = <0x0 0x1C00000 0x1400000>;
96 };
97 partition@4 { /* for testing purpose */
98 label = "nand-bitstream";
99 reg = <0x0 0x3000000 0x400000>;
100 };
101 partition@5 { /* for testing purpose */
102 label = "nand-misc";
103 reg = <0x0 0x3400000 0xFCC00000>;
104 };
105};
106
Michal Simek44303df2015-10-30 15:39:18 +0100107&qspi {
108 status = "okay";
109 flash@0 {
Ranjit Waghmodeeaae2b52015-12-02 10:06:58 +0530110 compatible = "m25p80";
Michal Simek44303df2015-10-30 15:39:18 +0100111 #address-cells = <1>;
112 #size-cells = <1>;
113 reg = <0x0>;
114 spi-tx-bus-width = <1>;
115 spi-rx-bus-width = <4>;
116 spi-max-frequency = <10000000>;
117 partition@qspi-fsbl-uboot { /* for testing purpose */
118 label = "qspi-fsbl-uboot";
119 reg = <0x0 0x100000>;
120 };
121 partition@qspi-linux { /* for testing purpose */
122 label = "qspi-linux";
123 reg = <0x100000 0x500000>;
124 };
125 partition@qspi-device-tree { /* for testing purpose */
126 label = "qspi-device-tree";
127 reg = <0x600000 0x20000>;
128 };
129 partition@qspi-rootfs { /* for testing purpose */
130 label = "qspi-rootfs";
131 reg = <0x620000 0x5E0000>;
132 };
133 };
134};
135
136&sata {
137 status = "okay";
138 ceva,broken-gen2;
Anurag Kumar Vulishaac8f6912015-11-05 17:21:37 +0530139 /* SATA Phy OOB timing settings */
140 ceva,p0-cominit-params = /bits/ 8 <0x0F 0x25 0x18 0x29>;
141 ceva,p0-comwake-params = /bits/ 8 <0x04 0x0B 0x08 0x0F>;
142 ceva,p0-burst-params = /bits/ 8 <0x0A 0x08 0x4A 0x06>;
143 ceva,p0-retry-params = /bits/ 16 <0x0216 0x7F06>;
144 ceva,p1-cominit-params = /bits/ 8 <0x0F 0x25 0x18 0x29>;
145 ceva,p1-comwake-params = /bits/ 8 <0x04 0x0B 0x08 0x0F>;
146 ceva,p1-burst-params = /bits/ 8 <0x0A 0x08 0x4A 0x06>;
147 ceva,p1-retry-params = /bits/ 16 <0x0216 0x7F06>;
Michal Simek44303df2015-10-30 15:39:18 +0100148};
149
150&sdhci0 {
151 status = "okay";
P L Sai Krishnab8bf5532016-01-07 14:57:27 +0530152 bus-width = <8>;
Michal Simek44303df2015-10-30 15:39:18 +0100153};
154
155&sdhci1 {
156 status = "okay";
157};
158
159&spi0 {
160 status = "okay";
161 num-cs = <1>;
162 spi0_flash0: spi0_flash0@0 {
163 compatible = "m25p80";
164 #address-cells = <1>;
165 #size-cells = <1>;
166 spi-max-frequency = <50000000>;
167 reg = <0>;
168
169 spi0_flash0@00000000 {
170 label = "spi0_flash0";
171 reg = <0x0 0x100000>;
172 };
173 };
174};
175
176&spi1 {
177 status = "okay";
178 num-cs = <1>;
179 spi1_flash0: spi1_flash0@0 {
180 compatible = "m25p80";
181 #address-cells = <1>;
182 #size-cells = <1>;
183 spi-max-frequency = <50000000>;
184 reg = <0>;
185
186 spi1_flash0@00000000 {
187 label = "spi1_flash0";
188 reg = <0x0 0x100000>;
189 };
190 };
191};
192
193&uart0 {
194 status = "okay";
195};
196
197&usb0 {
198 status = "okay";
Michal Simeka84de482016-04-07 15:06:07 +0200199};
200
201&dwc3_0 {
202 status = "okay";
Michal Simek44303df2015-10-30 15:39:18 +0100203 dr_mode = "peripheral";
204 maximum-speed = "high-speed";
205};
206
207&usb1 {
208 status = "okay";
Michal Simeka84de482016-04-07 15:06:07 +0200209};
210
211&dwc3_1 {
212 status = "okay";
Michal Simek44303df2015-10-30 15:39:18 +0100213 dr_mode = "host";
214 maximum-speed = "high-speed";
215};
216
217&watchdog0 {
218 status = "okay";
219};
220
221&xlnx_dp {
222 xlnx,max-pclock-frequency = <200000>;
223};
224
225&xlnx_dpdma {
226 xlnx,axi-clock-freq = <200000000>;
227};