Yuantian Tang | f278a21 | 2019-04-10 16:43:35 +0800 | [diff] [blame] | 1 | // 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 Singh | 5e2fb3e | 2019-11-06 16:38:00 +0530 | [diff] [blame] | 16 | aliases { |
17 | spi0 = &fspi; | ||||
Zhao Qiang | 5c64d07 | 2020-07-14 13:53:36 +0800 | [diff] [blame] | 18 | spi1 = &dspi0; |
19 | spi2 = &dspi1; | ||||
20 | spi3 = &dspi2; | ||||
Kuldeep Singh | 5e2fb3e | 2019-11-06 16:38:00 +0530 | [diff] [blame] | 21 | }; |
22 | |||||
Yuantian Tang | f278a21 | 2019-04-10 16:43:35 +0800 | [diff] [blame] | 23 | }; |
24 | |||||
25 | &dspi0 { | ||||
Zhao Qiang | 5c64d07 | 2020-07-14 13:53:36 +0800 | [diff] [blame] | 26 | bus-num = <0>; |
Yuantian Tang | f278a21 | 2019-04-10 16:43:35 +0800 | [diff] [blame] | 27 | status = "okay"; |
Zhao Qiang | 5c64d07 | 2020-07-14 13:53:36 +0800 | [diff] [blame] | 28 | |
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 Tang | f278a21 | 2019-04-10 16:43:35 +0800 | [diff] [blame] | 57 | }; |
58 | |||||
59 | &dspi1 { | ||||
Zhao Qiang | 5c64d07 | 2020-07-14 13:53:36 +0800 | [diff] [blame] | 60 | bus-num = <0>; |
Yuantian Tang | f278a21 | 2019-04-10 16:43:35 +0800 | [diff] [blame] | 61 | status = "okay"; |
Zhao Qiang | 5c64d07 | 2020-07-14 13:53:36 +0800 | [diff] [blame] | 62 | |
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 Tang | f278a21 | 2019-04-10 16:43:35 +0800 | [diff] [blame] | 91 | }; |
92 | |||||
93 | &dspi2 { | ||||
Zhao Qiang | 5c64d07 | 2020-07-14 13:53:36 +0800 | [diff] [blame] | 94 | bus-num = <0>; |
Yuantian Tang | f278a21 | 2019-04-10 16:43:35 +0800 | [diff] [blame] | 95 | status = "okay"; |
Zhao Qiang | 5c64d07 | 2020-07-14 13:53:36 +0800 | [diff] [blame] | 96 | |
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 Tang | f278a21 | 2019-04-10 16:43:35 +0800 | [diff] [blame] | 106 | }; |
107 | |||||
108 | &esdhc0 { | ||||
109 | status = "okay"; | ||||
110 | }; | ||||
111 | |||||
112 | &esdhc1 { | ||||
113 | status = "okay"; | ||||
Alex Marginean | a3ce94b | 2019-08-07 19:30:03 +0300 | [diff] [blame] | 114 | |
Yuantian Tang | f278a21 | 2019-04-10 16:43:35 +0800 | [diff] [blame] | 115 | }; |
116 | |||||
Kuldeep Singh | 5e2fb3e | 2019-11-06 16:38:00 +0530 | [diff] [blame] | 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 Singh | 3ec7900 | 2020-03-14 18:23:55 +0530 | [diff] [blame] | 126 | spi-rx-bus-width = <8>; |
127 | spi-tx-bus-width = <1>; | ||||
Kuldeep Singh | 5e2fb3e | 2019-11-06 16:38:00 +0530 | [diff] [blame] | 128 | }; |
129 | }; | ||||
130 | |||||
Yuantian Tang | f278a21 | 2019-04-10 16:43:35 +0800 | [diff] [blame] | 131 | &i2c0 { |
132 | status = "okay"; | ||||
Chuanhua Han | 25d9467 | 2019-07-10 15:48:39 +0800 | [diff] [blame] | 133 | u-boot,dm-pre-reloc; |
134 | |||||
Alex Marginean | a3ce94b | 2019-08-07 19:30:03 +0300 | [diff] [blame] | 135 | 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 Han | 25d9467 | 2019-07-10 15:48:39 +0800 | [diff] [blame] | 187 | i2c-mux@77 { |
188 | compatible = "nxp,pca9547"; | ||||
189 | reg = <0x77>; | ||||
190 | #address-cells = <1>; | ||||
191 | #size-cells = <0>; | ||||
192 | }; | ||||
Yuantian Tang | f278a21 | 2019-04-10 16:43:35 +0800 | [diff] [blame] | 193 | }; |
194 | |||||
195 | &i2c1 { | ||||
196 | status = "okay"; | ||||
Chuanhua Han | bd9b074 | 2019-07-10 15:48:40 +0800 | [diff] [blame] | 197 | |
198 | rtc@51 { | ||||
199 | compatible = "pcf2127-rtc"; | ||||
200 | reg = <0x51>; | ||||
201 | }; | ||||
Yuantian Tang | f278a21 | 2019-04-10 16:43:35 +0800 | [diff] [blame] | 202 | }; |
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 Tang | e88cfb0 | 2020-03-19 16:48:25 +0800 | [diff] [blame] | 228 | &lpuart0 { |
229 | status = "okay"; | ||||
230 | }; | ||||
231 | |||||
Yuantian Tang | f278a21 | 2019-04-10 16:43:35 +0800 | [diff] [blame] | 232 | &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 Marginean | b32e9a7 | 2019-07-03 12:11:43 +0300 | [diff] [blame] | 251 | |
252 | &enetc1 { | ||||
253 | status = "okay"; | ||||
Vladimir Oltean | aee4479 | 2021-06-29 20:53:12 +0300 | [diff] [blame] | 254 | phy-mode = "rgmii-id"; |
Alex Marginean | b32e9a7 | 2019-07-03 12:11:43 +0300 | [diff] [blame] | 255 | phy-handle = <&qds_phy0>; |
256 | }; | ||||
257 | |||||
258 | &mdio0 { | ||||
259 | status = "okay"; | ||||
Alex Marginean | b32e9a7 | 2019-07-03 12:11:43 +0300 | [diff] [blame] | 260 | }; |
Alex Marginean | a7fdac7 | 2021-01-27 13:00:00 +0200 | [diff] [blame] | 261 | |
262 | #include "fsl-ls1028a-qds-8xxx-sch-24801.dtsi" | ||||
263 | #include "fsl-ls1028a-qds-x5xx-sch-28021-LBRW.dtsi" |