blob: da89ff96e98cd16436c40086d7d19f86ca699422 [file] [log] [blame]
Yuantian Tang473bbc42019-04-10 16:43:35 +08001// SPDX-License-Identifier: GPL-2.0+ OR X11
2/*
3 * NXP ls1028AQDS device tree source
4 *
5 * Copyright 2019 NXP
6 *
7 */
8
9/dts-v1/;
10
11#include "fsl-ls1028a.dtsi"
12
13/ {
14 model = "NXP Layerscape 1028a QDS Board";
15 compatible = "fsl,ls1028a-qds", "fsl,ls1028a";
Kuldeep Singhbaab2462019-11-06 16:38:00 +053016 aliases {
17 spi0 = &fspi;
Zhao Qiang8ef4ff02020-07-14 13:53:36 +080018 spi1 = &dspi0;
19 spi2 = &dspi1;
20 spi3 = &dspi2;
Kuldeep Singhbaab2462019-11-06 16:38:00 +053021 };
22
Yuantian Tang473bbc42019-04-10 16:43:35 +080023};
24
25&dspi0 {
Zhao Qiang8ef4ff02020-07-14 13:53:36 +080026 bus-num = <0>;
Yuantian Tang473bbc42019-04-10 16:43:35 +080027 status = "okay";
Zhao Qiang8ef4ff02020-07-14 13:53:36 +080028
29 dflash0: sst25wf040b {
30 #address-cells = <1>;
31 #size-cells = <1>;
32 compatible = "spi-flash";
33 spi-max-frequency = <3000000>;
34 spi-cpol;
35 spi-cpha;
36 reg = <0>;
37 };
38
39 dflash1: en25s64 {
40 #address-cells = <1>;
41 #size-cells = <1>;
42 compatible = "spi-flash";
43 spi-max-frequency = <3000000>;
44 spi-cpol;
45 spi-cpha;
46 reg = <1>;
47 };
48 dflash2: n25q128a {
49 #address-cells = <1>;
50 #size-cells = <1>;
51 compatible = "spi-flash";
52 spi-max-frequency = <3000000>;
53 spi-cpol;
54 spi-cpha;
55 reg = <2>;
56 };
Yuantian Tang473bbc42019-04-10 16:43:35 +080057};
58
59&dspi1 {
Zhao Qiang8ef4ff02020-07-14 13:53:36 +080060 bus-num = <0>;
Yuantian Tang473bbc42019-04-10 16:43:35 +080061 status = "okay";
Zhao Qiang8ef4ff02020-07-14 13:53:36 +080062
63 dflash3: sst25wf040b {
64 #address-cells = <1>;
65 #size-cells = <1>;
66 compatible = "spi-flash";
67 spi-max-frequency = <3000000>;
68 spi-cpol;
69 spi-cpha;
70 reg = <0>;
71 };
72
73 dflash4: en25s64 {
74 #address-cells = <1>;
75 #size-cells = <1>;
76 compatible = "spi-flash";
77 spi-max-frequency = <3000000>;
78 spi-cpol;
79 spi-cpha;
80 reg = <1>;
81 };
82 dflash5: n25q128a {
83 #address-cells = <1>;
84 #size-cells = <1>;
85 compatible = "spi-flash";
86 spi-max-frequency = <3000000>;
87 spi-cpol;
88 spi-cpha;
89 reg = <2>;
90 };
Yuantian Tang473bbc42019-04-10 16:43:35 +080091};
92
93&dspi2 {
Zhao Qiang8ef4ff02020-07-14 13:53:36 +080094 bus-num = <0>;
Yuantian Tang473bbc42019-04-10 16:43:35 +080095 status = "okay";
Zhao Qiang8ef4ff02020-07-14 13:53:36 +080096
97 dflash8: en25s64 {
98 #address-cells = <1>;
99 #size-cells = <1>;
100 compatible = "spi-flash";
101 spi-max-frequency = <3000000>;
102 spi-cpol;
103 spi-cpha;
104 reg = <0>;
105 };
Yuantian Tang473bbc42019-04-10 16:43:35 +0800106};
107
108&esdhc0 {
109 status = "okay";
110};
111
112&esdhc1 {
113 status = "okay";
Alex Marginean679cd542019-08-07 19:30:03 +0300114
Kuldeep Singhbaab2462019-11-06 16:38:00 +0530115};
116
117&fspi {
118 status = "okay";
119
120 mt35xu02g0: flash@0 {
121 #address-cells = <1>;
122 #size-cells = <1>;
123 compatible = "jedec,spi-nor";
124 spi-max-frequency = <50000000>;
125 reg = <0>;
Kuldeep Singhf1b22292020-03-14 18:23:55 +0530126 spi-rx-bus-width = <8>;
127 spi-tx-bus-width = <1>;
Kuldeep Singhbaab2462019-11-06 16:38:00 +0530128 };
Yuantian Tang473bbc42019-04-10 16:43:35 +0800129};
130
131&i2c0 {
132 status = "okay";
Chuanhua Hanc6c006a2019-07-10 15:48:39 +0800133 u-boot,dm-pre-reloc;
134
Alex Marginean679cd542019-08-07 19:30:03 +0300135 fpga@66 {
136 #address-cells = <1>;
137 #size-cells = <0>;
138 compatible = "simple-mfd";
139 reg = <0x66>;
140
141 mux-mdio@54 {
142 #address-cells = <1>;
143 #size-cells = <0>;
144 compatible = "mdio-mux-i2creg";
145 reg = <0x54>;
146 #mux-control-cells = <1>;
147 mux-reg-masks = <0x54 0xf0>;
148 mdio-parent-bus = <&mdio0>;
149
150 /* on-board MDIO with a single RGMII PHY */
151 mdio@00 {
152 #address-cells = <1>;
153 #size-cells = <0>;
154 reg = <0x00>;
155
156 qds_phy0: phy@5 {
157 reg = <5>;
158 };
159 };
160 /* slot 1 */
161 slot1: mdio@40 {
162 #address-cells = <1>;
163 #size-cells = <0>;
164 reg = <0x40>;
165 };
166 /* slot 2 */
167 slot2: mdio@50 {
168 #address-cells = <1>;
169 #size-cells = <0>;
170 reg = <0x50>;
171 };
172 /* slot 3 */
173 slot3: mdio@60 {
174 #address-cells = <1>;
175 #size-cells = <0>;
176 reg = <0x60>;
177 };
178 /* slot 4 */
179 slot4: mdio@70 {
180 #address-cells = <1>;
181 #size-cells = <0>;
182 reg = <0x70>;
183 };
184 };
185 };
186
Chuanhua Hanc6c006a2019-07-10 15:48:39 +0800187 i2c-mux@77 {
188 compatible = "nxp,pca9547";
189 reg = <0x77>;
190 #address-cells = <1>;
191 #size-cells = <0>;
192 };
Yuantian Tang473bbc42019-04-10 16:43:35 +0800193};
194
195&i2c1 {
196 status = "okay";
Chuanhua Han7657bc32019-07-10 15:48:40 +0800197
198 rtc@51 {
199 compatible = "pcf2127-rtc";
200 reg = <0x51>;
201 };
Yuantian Tang473bbc42019-04-10 16:43:35 +0800202};
203
204&i2c2 {
205 status = "okay";
206};
207
208&i2c3 {
209 status = "okay";
210};
211
212&i2c4 {
213 status = "okay";
214};
215
216&i2c5 {
217 status = "okay";
218};
219
220&i2c6 {
221 status = "okay";
222};
223
224&i2c7 {
225 status = "okay";
226};
227
Yuantian Tangc04a7142020-03-19 16:48:25 +0800228&lpuart0 {
229 status = "okay";
230};
231
Yuantian Tang473bbc42019-04-10 16:43:35 +0800232&sata {
233 status = "okay";
234};
235
236&serial0 {
237 status = "okay";
238};
239
240&serial1 {
241 status = "okay";
242};
243
244&usb1 {
245 status = "okay";
246};
247
248&usb2 {
249 status = "okay";
250};
Alex Marginean3be715e2019-07-03 12:11:43 +0300251
252&enetc1 {
253 status = "okay";
254 phy-mode = "rgmii";
255 phy-handle = <&qds_phy0>;
256};
257
258&mdio0 {
259 status = "okay";
Alex Marginean3be715e2019-07-03 12:11:43 +0300260};
Alex Marginean72f3aa52021-01-27 13:00:00 +0200261
262#include "fsl-ls1028a-qds-8xxx-sch-24801.dtsi"
263#include "fsl-ls1028a-qds-x5xx-sch-28021-LBRW.dtsi"