Debian Codegraph @

arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts

raw
1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
2 //
3 // Device Tree file for LX2160ARDB
4 //
5 // Copyright 2018-2020 NXP
6
7 /dts-v1/;
8
9 #include "fsl-lx2160a-rev2.dtsi"
10
11 / {
12 model = "NXP Layerscape LX2160ARDB";
13 compatible = "fsl,lx2160a-rdb", "fsl,lx2160a";
14
15 aliases {
16 crypto = &crypto;
17 mmc0 = &esdhc0;
18 mmc1 = &esdhc1;
19 serial0 = &uart0;
20 };
21
22 chosen {
23 stdout-path = "serial0:115200n8";
24 };
25
26 sb_3v3: regulator-sb3v3 {
27 compatible = "regulator-fixed";
28 regulator-name = "MC34717-3.3VSB";
29 regulator-min-microvolt = <3300000>;
30 regulator-max-microvolt = <3300000>;
31 regulator-boot-on;
32 regulator-always-on;
33 };
34
35 sfp2: sfp-2 {
36 compatible = "sff,sfp";
37 i2c-bus = <&sfp2_i2c>;
38 maximum-power-milliwatt = <2000>;
39 /* Leave commented out if using DPMAC_LINK_TYPE_FIXED mode */
40 /* tx-disable-gpios = <&sfp2_csr 0 GPIO_ACTIVE_HIGH>; */
41 los-gpios = <&sfp2_csr 4 GPIO_ACTIVE_HIGH>;
42 tx-fault-gpios = <&sfp2_csr 5 GPIO_ACTIVE_HIGH>;
43 mod-def0-gpios = <&sfp2_csr 7 GPIO_ACTIVE_LOW>;
44 };
45
46 sfp3: sfp-3 {
47 compatible = "sff,sfp";
48 i2c-bus = <&sfp3_i2c>;
49 maximum-power-milliwatt = <2000>;
50 /* Leave commented out if using DPMAC_LINK_TYPE_FIXED mode */
51 /* tx-disable-gpios = <&sfp3_csr 0 GPIO_ACTIVE_HIGH>; */
52 los-gpios = <&sfp3_csr 4 GPIO_ACTIVE_HIGH>;
53 tx-fault-gpios = <&sfp3_csr 5 GPIO_ACTIVE_HIGH>;
54 mod-def0-gpios = <&sfp3_csr 7 GPIO_ACTIVE_LOW>;
55 };
56 };
57
58 &crypto {
59 status = "okay";
60 };
61
62 &dpmac3 {
63 phy-handle = <&aquantia_phy1>;
64 phy-connection-type = "usxgmii";
65 managed = "in-band-status";
66 };
67
68 &dpmac4 {
69 phy-handle = <&aquantia_phy2>;
70 phy-connection-type = "usxgmii";
71 managed = "in-band-status";
72 };
73
74 &dpmac5 {
75 phy-handle = <&inphi_phy>;
76 };
77
78 &dpmac6 {
79 phy-handle = <&inphi_phy>;
80 };
81
82 &dpmac17 {
83 phy-handle = <&rgmii_phy1>;
84 phy-connection-type = "rgmii-id";
85 };
86
87 &dpmac18 {
88 phy-handle = <&rgmii_phy2>;
89 phy-connection-type = "rgmii-id";
90 };
91
92 &emdio1 {
93 status = "okay";
94
95 rgmii_phy1: ethernet-phy@1 {
96 /* AR8035 PHY */
97 compatible = "ethernet-phy-id004d.d072";
98 interrupts-extended = <&extirq 4 IRQ_TYPE_LEVEL_LOW>;
99 reg = <0x1>;
100 eee-broken-1000t;
101 };
102
103 rgmii_phy2: ethernet-phy@2 {
104 /* AR8035 PHY */
105 compatible = "ethernet-phy-id004d.d072";
106 interrupts-extended = <&extirq 5 IRQ_TYPE_LEVEL_LOW>;
107 reg = <0x2>;
108 eee-broken-1000t;
109 };
110
111 aquantia_phy1: ethernet-phy@4 {
112 /* AQR107 PHY */
113 compatible = "ethernet-phy-ieee802.3-c45";
114 interrupts-extended = <&extirq 2 IRQ_TYPE_LEVEL_LOW>;
115 reg = <0x4>;
116 };
117
118 aquantia_phy2: ethernet-phy@5 {
119 /* AQR107 PHY */
120 compatible = "ethernet-phy-ieee802.3-c45";
121 interrupts-extended = <&extirq 3 IRQ_TYPE_LEVEL_LOW>;
122 reg = <0x5>;
123 };
124 };
125
126 &can0 {
127 status = "okay";
128
129 can-transceiver {
130 max-bitrate = <5000000>;
131 };
132 };
133
134 &can1 {
135 status = "okay";
136
137 can-transceiver {
138 max-bitrate = <5000000>;
139 };
140 };
141
142 &emdio2 {
143 status = "okay";
144
145 inphi_phy: ethernet-phy@0 {
146 compatible = "ethernet-phy-id0210.7440";
147 reg = <0x0>;
148 };
149 };
150
151 &esdhc0 {
152 sd-uhs-sdr104;
153 sd-uhs-sdr50;
154 sd-uhs-sdr25;
155 sd-uhs-sdr12;
156 status = "okay";
157 };
158
159 &esdhc1 {
160 mmc-hs200-1_8v;
161 mmc-hs400-1_8v;
162 bus-width = <8>;
163 status = "okay";
164 };
165
166 &fspi {
167 status = "okay";
168
169 mt35xu512aba0: flash@0 {
170 #address-cells = <1>;
171 #size-cells = <1>;
172 compatible = "jedec,spi-nor";
173 m25p,fast-read;
174 spi-max-frequency = <50000000>;
175 reg = <0>;
176 spi-rx-bus-width = <8>;
177 spi-tx-bus-width = <8>;
178 };
179
180 mt35xu512aba1: flash@1 {
181 #address-cells = <1>;
182 #size-cells = <1>;
183 compatible = "jedec,spi-nor";
184 m25p,fast-read;
185 spi-max-frequency = <50000000>;
186 reg = <1>;
187 spi-rx-bus-width = <8>;
188 spi-tx-bus-width = <8>;
189 };
190 };
191
192 &i2c0 {
193 status = "okay";
194
195 cpld@66 {
196 compatible = "fsl,lx2160ardb-fpga";
197 reg = <0x66>;
198 #address-cells = <1>;
199 #size-cells = <0>;
200
201 sfp2_csr: gpio@19 {
202 compatible = "fsl,lx2160ardb-fpga-gpio-sfp";
203 reg = <0x19>;
204 gpio-controller;
205 #gpio-cells = <2>;
206 gpio-line-names =
207 "SFP2_TX_EN", "",
208 "", "",
209 "SFP2_RX_LOS", "SFP2_TX_FAULT",
210 "", "SFP2_MOD_ABS";
211 };
212
213 sfp3_csr: gpio@1a {
214 compatible = "fsl,lx2160ardb-fpga-gpio-sfp";
215 reg = <0x1a>;
216 gpio-controller;
217 #gpio-cells = <2>;
218 gpio-line-names =
219 "SFP3_TX_EN", "",
220 "", "",
221 "SFP3_RX_LOS", "SFP3_TX_FAULT",
222 "", "SFP3_MOD_ABS";
223 };
224 };
225
226 i2c-mux@77 {
227 compatible = "nxp,pca9547";
228 reg = <0x77>;
229 #address-cells = <1>;
230 #size-cells = <0>;
231
232 i2c@2 {
233 #address-cells = <1>;
234 #size-cells = <0>;
235 reg = <0x2>;
236
237 power-monitor@40 {
238 compatible = "ti,ina220";
239 reg = <0x40>;
240 shunt-resistor = <500>;
241 };
242 };
243
244 i2c@3 {
245 #address-cells = <1>;
246 #size-cells = <0>;
247 reg = <0x3>;
248
249 temperature-sensor@4c {
250 compatible = "nxp,sa56004";
251 reg = <0x4c>;
252 vcc-supply = <&sb_3v3>;
253 };
254
255 temperature-sensor@4d {
256 compatible = "nxp,sa56004";
257 reg = <0x4d>;
258 vcc-supply = <&sb_3v3>;
259 };
260 };
261
262 i2c@7 {
263 reg = <0x7>;
264 #address-cells = <1>;
265 #size-cells = <0>;
266
267 i2c-mux@75 {
268 compatible = "nxp,pca9547";
269 reg = <0x75>;
270 #address-cells = <1>;
271 #size-cells = <0>;
272
273 sfp2_i2c: i2c@4 {
274 reg = <0x4>;
275 #address-cells = <1>;
276 #size-cells = <0>;
277 };
278
279 sfp3_i2c: i2c@5 {
280 reg = <0x5>;
281 #address-cells = <1>;
282 #size-cells = <0>;
283 };
284 };
285 };
286 };
287 };
288
289 &i2c4 {
290 status = "okay";
291
292 rtc@51 {
293 compatible = "nxp,pcf2129";
294 reg = <0x51>;
295 /* IRQ_RTC_B -> IRQ08, active low */
296 interrupts-extended = <&extirq 8 IRQ_TYPE_LEVEL_LOW>;
297 };
298 };
299
300 &optee {
301 status = "okay";
302 };
303
304 &pcs_mdio3 {
305 status = "okay";
306 };
307
308 &pcs_mdio4 {
309 status = "okay";
310 };
311
312 &sata0 {
313 status = "okay";
314 };
315
316 &sata1 {
317 status = "okay";
318 };
319
320 &sata2 {
321 status = "okay";
322 };
323
324 &sata3 {
325 status = "okay";
326 };
327
328 &uart0 {
329 status = "okay";
330 };
331
332 &uart1 {
333 status = "okay";
334 };
335
336 &usb0 {
337 status = "okay";
338 };
339
340 &usb1 {
341 status = "okay";
342 };