1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
3 // Device Tree file for LX2160A BLUEBOX3
5 // Copyright 2020-2021 NXP
9 #include "fsl-lx2160a.dtsi"
12 model = "NXP Layerscape LX2160ABLUEBOX3";
13 compatible = "fsl,lx2160a-bluebox3", "fsl,lx2160a";
23 stdout-path = "serial0:115200n8";
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>;
40 max-bitrate = <5000000>;
48 max-bitrate = <5000000>;
57 phy-handle = <&aqr113c_phy1>;
59 managed = "in-band-status";
63 phy-handle = <&aqr113c_phy2>;
65 managed = "in-band-status";
69 phy-handle = <&aqr113c_phy3>;
71 managed = "in-band-status";
75 phy-handle = <&aqr113c_phy4>;
77 managed = "in-band-status";
103 aqr113c_phy2: ethernet-phy@0 {
104 compatible = "ethernet-phy-ieee802.3-c45";
107 interrupts-extended = <&extirq 3 IRQ_TYPE_LEVEL_LOW>;
110 aqr113c_phy1: ethernet-phy@8 {
111 compatible = "ethernet-phy-ieee802.3-c45";
114 interrupts-extended = <&extirq 2 IRQ_TYPE_LEVEL_LOW>;
117 sw1_mii3_phy: ethernet-phy@5 {
119 compatible = "ethernet-phy-id004d.d072";
121 interrupts-extended = <&extirq 6 IRQ_TYPE_LEVEL_LOW>;
124 sw2_mii3_phy: ethernet-phy@6 {
126 compatible = "ethernet-phy-id004d.d072";
128 interrupts-extended = <&extirq 7 IRQ_TYPE_LEVEL_LOW>;
135 aqr113c_phy4: ethernet-phy@0 {
136 compatible = "ethernet-phy-ieee802.3-c45";
139 interrupts-extended = <&extirq 5 IRQ_TYPE_LEVEL_LOW>;
142 aqr113c_phy3: ethernet-phy@8 {
143 compatible = "ethernet-phy-ieee802.3-c45";
146 interrupts-extended = <&extirq 4 IRQ_TYPE_LEVEL_LOW>;
168 mt35xu512aba0: flash@0 {
169 compatible = "jedec,spi-nor";
170 #address-cells = <1>;
174 spi-max-frequency = <50000000>;
175 spi-rx-bus-width = <8>;
176 spi-tx-bus-width = <8>;
179 mt35xu512aba1: flash@1 {
180 compatible = "jedec,spi-nor";
181 #address-cells = <1>;
185 spi-max-frequency = <50000000>;
186 spi-rx-bus-width = <8>;
187 spi-tx-bus-width = <8>;
195 compatible = "nxp,pca9547";
197 #address-cells = <1>;
201 #address-cells = <1>;
206 compatible = "ti,ina220";
208 shunt-resistor = <500>;
213 #address-cells = <1>;
217 temp2: temperature-sensor@48 {
218 compatible = "nxp,sa56004";
220 vcc-supply = <&sb_3v3>;
221 #thermal-sensor-cells = <1>;
224 temp1: temperature-sensor@4c {
225 compatible = "nxp,sa56004";
227 vcc-supply = <&sb_3v3>;
228 #thermal-sensor-cells = <1>;
233 #address-cells = <1>;
238 compatible = "nxp,pcf2129";
240 interrupts-extended = <&extirq 11 IRQ_TYPE_LEVEL_LOW>;
245 #address-cells = <1>;
250 compatible = "nxp,pca9547";
252 #address-cells = <1>;
256 #address-cells = <1>;
261 compatible = "nxp,sc18is602b";
263 #address-cells = <1>;
276 compatible = "nxp,pca9846";
278 #address-cells = <1>;
282 #address-cells = <1>;
286 /* The I2C multiplexer and temperature sensors are on
290 compatible = "nxp,pca9548";
292 #address-cells = <1>;
296 #address-cells = <1>;
300 q12: temperature-sensor@4c {
301 compatible = "nxp,sa56004";
303 vcc-supply = <&sb_3v3>;
304 #thermal-sensor-cells = <1>;
309 #address-cells = <1>;
313 q11: temperature-sensor@4c {
314 compatible = "nxp,sa56004";
316 vcc-supply = <&sb_3v3>;
317 #thermal-sensor-cells = <1>;
320 q13: temperature-sensor@48 {
321 compatible = "nxp,sa56004";
323 vcc-supply = <&sb_3v3>;
324 #thermal-sensor-cells = <1>;
327 q14: temperature-sensor@4a {
328 compatible = "nxp,sa56004";
330 vcc-supply = <&sb_3v3>;
331 #thermal-sensor-cells = <1>;
356 sw1: ethernet-switch@0 {
357 compatible = "nxp,sja1110a";
359 spi-max-frequency = <4000000>;
364 #address-cells = <1>;
367 /* Microcontroller port */
387 ethernet = <&dpmac17>;
388 phy-mode = "rgmii-id";
389 rx-internal-delay-ps = <2000>;
390 tx-internal-delay-ps = <2000>;
401 phy-mode = "rgmii-id";
402 phy-handle = <&sw1_mii3_phy>;
419 phy-mode = "internal";
420 phy-handle = <&sw1_port5_base_t1_phy>;
426 phy-mode = "internal";
427 phy-handle = <&sw1_port6_base_t1_phy>;
433 phy-mode = "internal";
434 phy-handle = <&sw1_port7_base_t1_phy>;
440 phy-mode = "internal";
441 phy-handle = <&sw1_port8_base_t1_phy>;
447 phy-mode = "internal";
448 phy-handle = <&sw1_port9_base_t1_phy>;
454 phy-mode = "internal";
455 phy-handle = <&sw1_port10_base_t1_phy>;
460 #address-cells = <1>;
464 compatible = "nxp,sja1110-base-t1-mdio";
465 #address-cells = <1>;
469 sw1_port5_base_t1_phy: ethernet-phy@1 {
470 compatible = "ethernet-phy-ieee802.3-c45";
474 sw1_port6_base_t1_phy: ethernet-phy@2 {
475 compatible = "ethernet-phy-ieee802.3-c45";
479 sw1_port7_base_t1_phy: ethernet-phy@3 {
480 compatible = "ethernet-phy-ieee802.3-c45";
484 sw1_port8_base_t1_phy: ethernet-phy@4 {
485 compatible = "ethernet-phy-ieee802.3-c45";
489 sw1_port9_base_t1_phy: ethernet-phy@5 {
490 compatible = "ethernet-phy-ieee802.3-c45";
494 sw1_port10_base_t1_phy: ethernet-phy@6 {
495 compatible = "ethernet-phy-ieee802.3-c45";
502 sw2: ethernet-switch@2 {
503 compatible = "nxp,sja1110a";
505 spi-max-frequency = <4000000>;
510 #address-cells = <1>;
513 /* Microcontroller port */
532 ethernet = <&dpmac18>;
533 phy-mode = "rgmii-id";
534 rx-internal-delay-ps = <2000>;
535 tx-internal-delay-ps = <2000>;
546 phy-mode = "rgmii-id";
547 phy-handle = <&sw2_mii3_phy>;
553 phy-mode = "2500base-x";
564 phy-mode = "internal";
565 phy-handle = <&sw2_port5_base_t1_phy>;
571 phy-mode = "internal";
572 phy-handle = <&sw2_port6_base_t1_phy>;
578 phy-mode = "internal";
579 phy-handle = <&sw2_port7_base_t1_phy>;
585 phy-mode = "internal";
586 phy-handle = <&sw2_port8_base_t1_phy>;
592 phy-mode = "internal";
593 phy-handle = <&sw2_port9_base_t1_phy>;
599 phy-mode = "internal";
600 phy-handle = <&sw2_port10_base_t1_phy>;
605 #address-cells = <1>;
609 compatible = "nxp,sja1110-base-t1-mdio";
610 #address-cells = <1>;
614 sw2_port5_base_t1_phy: ethernet-phy@1 {
615 compatible = "ethernet-phy-ieee802.3-c45";
619 sw2_port6_base_t1_phy: ethernet-phy@2 {
620 compatible = "ethernet-phy-ieee802.3-c45";
624 sw2_port7_base_t1_phy: ethernet-phy@3 {
625 compatible = "ethernet-phy-ieee802.3-c45";
629 sw2_port8_base_t1_phy: ethernet-phy@4 {
630 compatible = "ethernet-phy-ieee802.3-c45";
634 sw2_port9_base_t1_phy: ethernet-phy@5 {
635 compatible = "ethernet-phy-ieee802.3-c45";
639 sw2_port10_base_t1_phy: ethernet-phy@6 {
640 compatible = "ethernet-phy-ieee802.3-c45";