blob: 9f6b11180e76b3a07d2d5f4aee55fb34a2b68ae0 [file] [log] [blame]
Michal Simek54b896f2015-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 Francis65aaf112016-02-25 09:30:03 -080013#include "zynqmp.dtsi"
14#include "zynqmp-ep108-clk.dtsi"
Michal Simek54b896f2015-10-30 15:39:18 +010015
16/ {
17 model = "ZynqMP EP108";
18
19 aliases {
Michal Simekea795042016-02-23 09:30:15 +010020 mmc0 = &sdhci0;
21 mmc1 = &sdhci1;
Michal Simek54b896f2015-10-30 15:39:18 +010022 serial0 = &uart0;
23 spi0 = &qspi;
24 spi1 = &spi0;
25 spi2 = &spi1;
Michal Simek13111a12016-04-07 15:06:07 +020026 usb0 = &usb0;
27 usb1 = &usb1;
Michal Simek54b896f2015-10-30 15:39:18 +010028 };
29
30 chosen {
Michal Simek1ff1da62016-12-16 13:08:55 +010031 bootargs = "earlycon";
Michal Simek54b896f2015-10-30 15:39:18 +010032 stdout-path = "serial0:115200n8";
33 };
34
Michal Simek79c1cbf2016-11-11 13:21:04 +010035 memory@0 {
Michal Simek54b896f2015-10-30 15:39:18 +010036 device_type = "memory";
Michal Simekd171c752016-04-07 15:07:38 +020037 reg = <0x0 0x0 0x0 0x40000000>;
Michal Simek54b896f2015-10-30 15:39:18 +010038 };
39};
40
41&can0 {
42 status = "okay";
43};
44
Naga Sureshkumar Relli8edf53d2016-04-12 11:46:11 +053045&can1 {
46 status = "okay";
47};
48
Michal Simek54b896f2015-10-30 15:39:18 +010049&gem0 {
50 status = "okay";
51 phy-handle = <&phy0>;
52 phy-mode = "rgmii-id";
Michal Simekb7c56ef2016-01-14 13:11:51 +010053 phy0: phy@0 {
Michal Simek54b896f2015-10-30 15:39:18 +010054 reg = <0>;
55 max-speed = <100>;
56 };
57};
58
59&gpio {
60 status = "okay";
61};
62
63&i2c0 {
64 status = "okay";
65 clock-frequency = <400000>;
66 eeprom@54 {
67 compatible = "at,24c64";
68 reg = <0x54>;
69 };
70};
71
72&i2c1 {
73 status = "okay";
74 clock-frequency = <400000>;
75 eeprom@55 {
76 compatible = "at,24c64";
77 reg = <0x55>;
78 };
79};
80
Punnaiah Choudary Kalluri3a9dfcf2015-11-05 22:21:14 +053081&nand0 {
82 status = "okay";
83 arasan,has-mdma;
84 num-cs = <1>;
85
86 partition@0 { /* for testing purpose */
87 label = "nand-fsbl-uboot";
88 reg = <0x0 0x0 0x400000>;
89 };
90 partition@1 { /* for testing purpose */
91 label = "nand-linux";
92 reg = <0x0 0x400000 0x1400000>;
93 };
94 partition@2 { /* for testing purpose */
95 label = "nand-device-tree";
96 reg = <0x0 0x1800000 0x400000>;
97 };
98 partition@3 { /* for testing purpose */
99 label = "nand-rootfs";
100 reg = <0x0 0x1C00000 0x1400000>;
101 };
102 partition@4 { /* for testing purpose */
103 label = "nand-bitstream";
104 reg = <0x0 0x3000000 0x400000>;
105 };
106 partition@5 { /* for testing purpose */
107 label = "nand-misc";
108 reg = <0x0 0x3400000 0xFCC00000>;
109 };
110};
111
Michal Simek54b896f2015-10-30 15:39:18 +0100112&qspi {
113 status = "okay";
114 flash@0 {
Ranjit Waghmodeaebee4f2015-12-02 10:06:58 +0530115 compatible = "m25p80";
Michal Simek54b896f2015-10-30 15:39:18 +0100116 #address-cells = <1>;
117 #size-cells = <1>;
118 reg = <0x0>;
119 spi-tx-bus-width = <1>;
120 spi-rx-bus-width = <4>;
121 spi-max-frequency = <10000000>;
122 partition@qspi-fsbl-uboot { /* for testing purpose */
123 label = "qspi-fsbl-uboot";
124 reg = <0x0 0x100000>;
125 };
126 partition@qspi-linux { /* for testing purpose */
127 label = "qspi-linux";
128 reg = <0x100000 0x500000>;
129 };
130 partition@qspi-device-tree { /* for testing purpose */
131 label = "qspi-device-tree";
132 reg = <0x600000 0x20000>;
133 };
134 partition@qspi-rootfs { /* for testing purpose */
135 label = "qspi-rootfs";
136 reg = <0x620000 0x5E0000>;
137 };
138 };
139};
140
141&sata {
142 status = "okay";
143 ceva,broken-gen2;
Anurag Kumar Vulisha8386b642015-11-05 17:21:37 +0530144 /* SATA Phy OOB timing settings */
145 ceva,p0-cominit-params = /bits/ 8 <0x0F 0x25 0x18 0x29>;
146 ceva,p0-comwake-params = /bits/ 8 <0x04 0x0B 0x08 0x0F>;
147 ceva,p0-burst-params = /bits/ 8 <0x0A 0x08 0x4A 0x06>;
148 ceva,p0-retry-params = /bits/ 16 <0x0216 0x7F06>;
149 ceva,p1-cominit-params = /bits/ 8 <0x0F 0x25 0x18 0x29>;
150 ceva,p1-comwake-params = /bits/ 8 <0x04 0x0B 0x08 0x0F>;
151 ceva,p1-burst-params = /bits/ 8 <0x0A 0x08 0x4A 0x06>;
152 ceva,p1-retry-params = /bits/ 16 <0x0216 0x7F06>;
Michal Simek54b896f2015-10-30 15:39:18 +0100153};
154
155&sdhci0 {
156 status = "okay";
P L Sai Krishnac345e712016-01-07 14:57:27 +0530157 bus-width = <8>;
Sai Krishna Potthuri02550fb2016-08-16 14:41:35 +0530158 xlnx,mio_bank = <2>;
Michal Simek54b896f2015-10-30 15:39:18 +0100159};
160
161&sdhci1 {
162 status = "okay";
Sai Krishna Potthuri02550fb2016-08-16 14:41:35 +0530163 xlnx,mio_bank = <1>;
Michal Simek54b896f2015-10-30 15:39:18 +0100164};
165
166&spi0 {
167 status = "okay";
168 num-cs = <1>;
169 spi0_flash0: spi0_flash0@0 {
170 compatible = "m25p80";
171 #address-cells = <1>;
172 #size-cells = <1>;
173 spi-max-frequency = <50000000>;
174 reg = <0>;
175
176 spi0_flash0@00000000 {
177 label = "spi0_flash0";
178 reg = <0x0 0x100000>;
179 };
180 };
181};
182
183&spi1 {
184 status = "okay";
185 num-cs = <1>;
186 spi1_flash0: spi1_flash0@0 {
187 compatible = "m25p80";
188 #address-cells = <1>;
189 #size-cells = <1>;
190 spi-max-frequency = <50000000>;
191 reg = <0>;
192
193 spi1_flash0@00000000 {
194 label = "spi1_flash0";
195 reg = <0x0 0x100000>;
196 };
197 };
198};
199
200&uart0 {
201 status = "okay";
202};
203
204&usb0 {
205 status = "okay";
Michal Simek13111a12016-04-07 15:06:07 +0200206};
207
208&dwc3_0 {
209 status = "okay";
Michal Simek54b896f2015-10-30 15:39:18 +0100210 dr_mode = "peripheral";
211 maximum-speed = "high-speed";
212};
213
214&usb1 {
215 status = "okay";
Michal Simek13111a12016-04-07 15:06:07 +0200216};
217
218&dwc3_1 {
219 status = "okay";
Michal Simek54b896f2015-10-30 15:39:18 +0100220 dr_mode = "host";
221 maximum-speed = "high-speed";
222};
223
224&watchdog0 {
225 status = "okay";
226};
227
228&xlnx_dp {
229 xlnx,max-pclock-frequency = <200000>;
230};
231
232&xlnx_dpdma {
233 xlnx,axi-clock-freq = <200000000>;
234};