]> git.sur5r.net Git - u-boot/blob - arch/arm/dts/zynqmp-ep108.dts
ARM64: zynqmp: Enable can1 for ep108
[u-boot] / arch / arm / dts / zynqmp-ep108.dts
1 /*
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
13 #include "zynqmp.dtsi"
14 #include "zynqmp-ep108-clk.dtsi"
15
16 / {
17         model = "ZynqMP EP108";
18
19         aliases {
20                 mmc0 = &sdhci0;
21                 mmc1 = &sdhci1;
22                 serial0 = &uart0;
23                 spi0 = &qspi;
24                 spi1 = &spi0;
25                 spi2 = &spi1;
26                 usb0 = &usb0;
27                 usb1 = &usb1;
28         };
29
30         chosen {
31                 stdout-path = "serial0:115200n8";
32         };
33
34         memory@0 {
35                 device_type = "memory";
36                 reg = <0x0 0x0 0x0 0x40000000>;
37         };
38 };
39
40 &can0 {
41         status = "okay";
42 };
43
44 &can1 {
45         status = "okay";
46 };
47
48 &gem0 {
49         status = "okay";
50         phy-handle = <&phy0>;
51         phy-mode = "rgmii-id";
52         phy0: phy@0 {
53                 reg = <0>;
54                 max-speed = <100>;
55         };
56 };
57
58 &gpio {
59         status = "okay";
60 };
61
62 &i2c0 {
63         status = "okay";
64         clock-frequency = <400000>;
65         eeprom@54 {
66                 compatible = "at,24c64";
67                 reg = <0x54>;
68         };
69 };
70
71 &i2c1 {
72         status = "okay";
73         clock-frequency = <400000>;
74         eeprom@55 {
75                 compatible = "at,24c64";
76                 reg = <0x55>;
77         };
78 };
79
80 &nand0 {
81         status = "okay";
82         arasan,has-mdma;
83         num-cs = <1>;
84
85         partition@0 {   /* for testing purpose */
86                 label = "nand-fsbl-uboot";
87                 reg = <0x0 0x0 0x400000>;
88         };
89         partition@1 {   /* for testing purpose */
90                 label = "nand-linux";
91                 reg = <0x0 0x400000 0x1400000>;
92         };
93         partition@2 {   /* for testing purpose */
94                 label = "nand-device-tree";
95                 reg = <0x0 0x1800000 0x400000>;
96         };
97         partition@3 {   /* for testing purpose */
98                 label = "nand-rootfs";
99                 reg = <0x0 0x1C00000 0x1400000>;
100         };
101         partition@4 {   /* for testing purpose */
102                 label = "nand-bitstream";
103                 reg = <0x0 0x3000000 0x400000>;
104         };
105         partition@5 {   /* for testing purpose */
106                 label = "nand-misc";
107                 reg = <0x0 0x3400000 0xFCC00000>;
108         };
109 };
110
111 &qspi {
112         status = "okay";
113         flash@0 {
114                 compatible = "m25p80";
115                 #address-cells = <1>;
116                 #size-cells = <1>;
117                 reg = <0x0>;
118                 spi-tx-bus-width = <1>;
119                 spi-rx-bus-width = <4>;
120                 spi-max-frequency = <10000000>;
121                 partition@qspi-fsbl-uboot { /* for testing purpose */
122                         label = "qspi-fsbl-uboot";
123                         reg = <0x0 0x100000>;
124                 };
125                 partition@qspi-linux { /* for testing purpose */
126                         label = "qspi-linux";
127                         reg = <0x100000 0x500000>;
128                 };
129                 partition@qspi-device-tree { /* for testing purpose */
130                         label = "qspi-device-tree";
131                         reg = <0x600000 0x20000>;
132                 };
133                 partition@qspi-rootfs { /* for testing purpose */
134                         label = "qspi-rootfs";
135                         reg = <0x620000 0x5E0000>;
136                 };
137         };
138 };
139
140 &sata {
141         status = "okay";
142         ceva,broken-gen2;
143         /* SATA Phy OOB timing settings */
144         ceva,p0-cominit-params = /bits/ 8 <0x0F 0x25 0x18 0x29>;
145         ceva,p0-comwake-params = /bits/ 8 <0x04 0x0B 0x08 0x0F>;
146         ceva,p0-burst-params = /bits/ 8 <0x0A 0x08 0x4A 0x06>;
147         ceva,p0-retry-params = /bits/ 16 <0x0216 0x7F06>;
148         ceva,p1-cominit-params = /bits/ 8 <0x0F 0x25 0x18 0x29>;
149         ceva,p1-comwake-params = /bits/ 8 <0x04 0x0B 0x08 0x0F>;
150         ceva,p1-burst-params = /bits/ 8 <0x0A 0x08 0x4A 0x06>;
151         ceva,p1-retry-params = /bits/ 16 <0x0216 0x7F06>;
152 };
153
154 &sdhci0 {
155         status = "okay";
156         bus-width = <8>;
157 };
158
159 &sdhci1 {
160         status = "okay";
161 };
162
163 &spi0 {
164         status = "okay";
165         num-cs = <1>;
166         spi0_flash0: spi0_flash0@0 {
167                 compatible = "m25p80";
168                 #address-cells = <1>;
169                 #size-cells = <1>;
170                 spi-max-frequency = <50000000>;
171                 reg = <0>;
172
173                 spi0_flash0@00000000 {
174                         label = "spi0_flash0";
175                         reg = <0x0 0x100000>;
176                 };
177         };
178 };
179
180 &spi1 {
181         status = "okay";
182         num-cs = <1>;
183         spi1_flash0: spi1_flash0@0 {
184                 compatible = "m25p80";
185                 #address-cells = <1>;
186                 #size-cells = <1>;
187                 spi-max-frequency = <50000000>;
188                 reg = <0>;
189
190                 spi1_flash0@00000000 {
191                         label = "spi1_flash0";
192                         reg = <0x0 0x100000>;
193                 };
194         };
195 };
196
197 &uart0 {
198         status = "okay";
199 };
200
201 &usb0 {
202         status = "okay";
203 };
204
205 &dwc3_0 {
206         status = "okay";
207         dr_mode = "peripheral";
208         maximum-speed = "high-speed";
209 };
210
211 &usb1 {
212         status = "okay";
213 };
214
215 &dwc3_1 {
216         status = "okay";
217         dr_mode = "host";
218         maximum-speed = "high-speed";
219 };
220
221 &watchdog0 {
222         status = "okay";
223 };
224
225 &xlnx_dp {
226         xlnx,max-pclock-frequency = <200000>;
227 };
228
229 &xlnx_dpdma {
230         xlnx,axi-clock-freq = <200000000>;
231 };