123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662 |
- // SPDX-License-Identifier: (GPL-2.0 OR MIT)
- //
- // Device Tree file for LX2160A BLUEBOX3
- //
- // Copyright 2020-2021 NXP
- /dts-v1/;
- #include "fsl-lx2160a.dtsi"
- / {
- model = "NXP Layerscape LX2160ABLUEBOX3";
- compatible = "fsl,lx2160a-bluebox3", "fsl,lx2160a";
- aliases {
- crypto = &crypto;
- mmc0 = &esdhc0;
- mmc1 = &esdhc1;
- serial0 = &uart0;
- };
- chosen {
- stdout-path = "serial0:115200n8";
- };
- sb_3v3: regulator-sb3v3 {
- compatible = "regulator-fixed";
- regulator-name = "MC34717-3.3VSB";
- regulator-min-microvolt = <3300000>;
- regulator-max-microvolt = <3300000>;
- regulator-boot-on;
- regulator-always-on;
- };
- };
- &can0 {
- status = "okay";
- can-transceiver {
- max-bitrate = <5000000>;
- };
- };
- &can1 {
- status = "okay";
- can-transceiver {
- max-bitrate = <5000000>;
- };
- };
- &crypto {
- status = "okay";
- };
- &dpmac5 {
- phy-handle = <&aqr113c_phy1>;
- phy-mode = "usxgmii";
- managed = "in-band-status";
- };
- &dpmac6 {
- phy-handle = <&aqr113c_phy2>;
- phy-mode = "usxgmii";
- managed = "in-band-status";
- };
- &dpmac9 {
- phy-handle = <&aqr113c_phy3>;
- phy-mode = "usxgmii";
- managed = "in-band-status";
- };
- &dpmac10 {
- phy-handle = <&aqr113c_phy4>;
- phy-mode = "usxgmii";
- managed = "in-band-status";
- };
- &dpmac17 {
- phy-mode = "rgmii";
- status = "okay";
- fixed-link {
- speed = <1000>;
- full-duplex;
- };
- };
- &dpmac18 {
- phy-mode = "rgmii";
- status = "okay";
- fixed-link {
- speed = <1000>;
- full-duplex;
- };
- };
- &emdio1 {
- status = "okay";
- aqr113c_phy2: ethernet-phy@0 {
- compatible = "ethernet-phy-ieee802.3-c45";
- reg = <0x0>;
- /* IRQ_10G_PHY2 */
- interrupts-extended = <&extirq 3 IRQ_TYPE_LEVEL_LOW>;
- };
- aqr113c_phy1: ethernet-phy@8 {
- compatible = "ethernet-phy-ieee802.3-c45";
- reg = <0x8>;
- /* IRQ_10G_PHY1 */
- interrupts-extended = <&extirq 2 IRQ_TYPE_LEVEL_LOW>;
- };
- sw1_mii3_phy: ethernet-phy@5 {
- /* AR8035 */
- compatible = "ethernet-phy-id004d.d072";
- reg = <0x5>;
- interrupts-extended = <&extirq 6 IRQ_TYPE_LEVEL_LOW>;
- };
- sw2_mii3_phy: ethernet-phy@6 {
- /* AR8035 */
- compatible = "ethernet-phy-id004d.d072";
- reg = <0x6>;
- interrupts-extended = <&extirq 7 IRQ_TYPE_LEVEL_LOW>;
- };
- };
- &emdio2 {
- status = "okay";
- aqr113c_phy4: ethernet-phy@0 {
- compatible = "ethernet-phy-ieee802.3-c45";
- reg = <0x0>;
- /* IRQ_10G_PHY4 */
- interrupts-extended = <&extirq 5 IRQ_TYPE_LEVEL_LOW>;
- };
- aqr113c_phy3: ethernet-phy@8 {
- compatible = "ethernet-phy-ieee802.3-c45";
- reg = <0x8>;
- /* IRQ_10G_PHY3 */
- interrupts-extended = <&extirq 4 IRQ_TYPE_LEVEL_LOW>;
- };
- };
- &esdhc0 {
- sd-uhs-sdr104;
- sd-uhs-sdr50;
- sd-uhs-sdr25;
- sd-uhs-sdr12;
- status = "okay";
- };
- &esdhc1 {
- mmc-hs200-1_8v;
- mmc-hs400-1_8v;
- bus-width = <8>;
- status = "okay";
- };
- &fspi {
- status = "okay";
- mt35xu512aba0: flash@0 {
- compatible = "jedec,spi-nor";
- #address-cells = <1>;
- #size-cells = <1>;
- reg = <0>;
- m25p,fast-read;
- spi-max-frequency = <50000000>;
- spi-rx-bus-width = <8>;
- spi-tx-bus-width = <8>;
- };
- mt35xu512aba1: flash@1 {
- compatible = "jedec,spi-nor";
- #address-cells = <1>;
- #size-cells = <1>;
- reg = <1>;
- m25p,fast-read;
- spi-max-frequency = <50000000>;
- spi-rx-bus-width = <8>;
- spi-tx-bus-width = <8>;
- };
- };
- &i2c0 {
- status = "okay";
- i2c-mux@77 {
- compatible = "nxp,pca9547";
- reg = <0x77>;
- #address-cells = <1>;
- #size-cells = <0>;
- i2c@2 {
- #address-cells = <1>;
- #size-cells = <0>;
- reg = <0x2>;
- power-monitor@40 {
- compatible = "ti,ina220";
- reg = <0x40>;
- shunt-resistor = <500>;
- };
- };
- i2c@3 {
- #address-cells = <1>;
- #size-cells = <0>;
- reg = <0x3>;
- temp2: temperature-sensor@48 {
- compatible = "nxp,sa56004";
- reg = <0x48>;
- vcc-supply = <&sb_3v3>;
- #thermal-sensor-cells = <1>;
- };
- temp1: temperature-sensor@4c {
- compatible = "nxp,sa56004";
- reg = <0x4c>;
- vcc-supply = <&sb_3v3>;
- #thermal-sensor-cells = <1>;
- };
- };
- i2c@4 {
- #address-cells = <1>;
- #size-cells = <0>;
- reg = <0x4>;
- rtc@51 {
- compatible = "nxp,pcf2129";
- reg = <0x51>;
- interrupts-extended = <&extirq 11 IRQ_TYPE_LEVEL_LOW>;
- };
- };
- i2c@7 {
- #address-cells = <1>;
- #size-cells = <0>;
- reg = <0x7>;
- i2c-mux@75 {
- compatible = "nxp,pca9547";
- reg = <0x75>;
- #address-cells = <1>;
- #size-cells = <0>;
- i2c@0 {
- #address-cells = <1>;
- #size-cells = <0>;
- reg = <0x0>;
- spi_bridge: spi@28 {
- compatible = "nxp,sc18is602b";
- reg = <0x28>;
- #address-cells = <1>;
- #size-cells = <0>;
- };
- };
- };
- };
- };
- };
- &i2c5 {
- status = "okay";
- i2c-mux@77 {
- compatible = "nxp,pca9846";
- reg = <0x77>;
- #address-cells = <1>;
- #size-cells = <0>;
- i2c@1 {
- #address-cells = <1>;
- #size-cells = <0>;
- reg = <0x1>;
- /* The I2C multiplexer and temperature sensors are on
- * the T6 riser card.
- */
- i2c-mux@70 {
- compatible = "nxp,pca9548";
- reg = <0x70>;
- #address-cells = <1>;
- #size-cells = <0>;
- i2c@6 {
- #address-cells = <1>;
- #size-cells = <0>;
- reg = <0x6>;
- q12: temperature-sensor@4c {
- compatible = "nxp,sa56004";
- reg = <0x4c>;
- vcc-supply = <&sb_3v3>;
- #thermal-sensor-cells = <1>;
- };
- };
- i2c@7 {
- #address-cells = <1>;
- #size-cells = <0>;
- reg = <0x7>;
- q11: temperature-sensor@4c {
- compatible = "nxp,sa56004";
- reg = <0x4c>;
- vcc-supply = <&sb_3v3>;
- #thermal-sensor-cells = <1>;
- };
- q13: temperature-sensor@48 {
- compatible = "nxp,sa56004";
- reg = <0x48>;
- vcc-supply = <&sb_3v3>;
- #thermal-sensor-cells = <1>;
- };
- q14: temperature-sensor@4a {
- compatible = "nxp,sa56004";
- reg = <0x4a>;
- vcc-supply = <&sb_3v3>;
- #thermal-sensor-cells = <1>;
- };
- };
- };
- };
- };
- };
- &pcs_mdio5 {
- status = "okay";
- };
- &pcs_mdio6 {
- status = "okay";
- };
- &pcs_mdio9 {
- status = "okay";
- };
- &pcs_mdio10 {
- status = "okay";
- };
- &spi_bridge {
- sw1: ethernet-switch@0 {
- compatible = "nxp,sja1110a";
- reg = <0>;
- spi-max-frequency = <4000000>;
- spi-cpol;
- dsa,member = <0 0>;
- ethernet-ports {
- #address-cells = <1>;
- #size-cells = <0>;
- /* Microcontroller port */
- port@0 {
- reg = <0>;
- status = "disabled";
- };
- /* SW1_P1 */
- port@1 {
- reg = <1>;
- label = "con_2x20";
- phy-mode = "sgmii";
- fixed-link {
- speed = <1000>;
- full-duplex;
- };
- };
- port@2 {
- reg = <2>;
- ethernet = <&dpmac17>;
- phy-mode = "rgmii-id";
- rx-internal-delay-ps = <2000>;
- tx-internal-delay-ps = <2000>;
- fixed-link {
- speed = <1000>;
- full-duplex;
- };
- };
- port@3 {
- reg = <3>;
- label = "1ge_p1";
- phy-mode = "rgmii-id";
- phy-handle = <&sw1_mii3_phy>;
- };
- sw1p4: port@4 {
- reg = <4>;
- link = <&sw2p1>;
- phy-mode = "sgmii";
- fixed-link {
- speed = <1000>;
- full-duplex;
- };
- };
- port@5 {
- reg = <5>;
- label = "trx1";
- phy-mode = "internal";
- phy-handle = <&sw1_port5_base_t1_phy>;
- };
- port@6 {
- reg = <6>;
- label = "trx2";
- phy-mode = "internal";
- phy-handle = <&sw1_port6_base_t1_phy>;
- };
- port@7 {
- reg = <7>;
- label = "trx3";
- phy-mode = "internal";
- phy-handle = <&sw1_port7_base_t1_phy>;
- };
- port@8 {
- reg = <8>;
- label = "trx4";
- phy-mode = "internal";
- phy-handle = <&sw1_port8_base_t1_phy>;
- };
- port@9 {
- reg = <9>;
- label = "trx5";
- phy-mode = "internal";
- phy-handle = <&sw1_port9_base_t1_phy>;
- };
- port@a {
- reg = <10>;
- label = "trx6";
- phy-mode = "internal";
- phy-handle = <&sw1_port10_base_t1_phy>;
- };
- };
- mdios {
- #address-cells = <1>;
- #size-cells = <0>;
- mdio@0 {
- compatible = "nxp,sja1110-base-t1-mdio";
- #address-cells = <1>;
- #size-cells = <0>;
- reg = <0>;
- sw1_port5_base_t1_phy: ethernet-phy@1 {
- compatible = "ethernet-phy-ieee802.3-c45";
- reg = <0x1>;
- };
- sw1_port6_base_t1_phy: ethernet-phy@2 {
- compatible = "ethernet-phy-ieee802.3-c45";
- reg = <0x2>;
- };
- sw1_port7_base_t1_phy: ethernet-phy@3 {
- compatible = "ethernet-phy-ieee802.3-c45";
- reg = <0x3>;
- };
- sw1_port8_base_t1_phy: ethernet-phy@4 {
- compatible = "ethernet-phy-ieee802.3-c45";
- reg = <0x4>;
- };
- sw1_port9_base_t1_phy: ethernet-phy@5 {
- compatible = "ethernet-phy-ieee802.3-c45";
- reg = <0x5>;
- };
- sw1_port10_base_t1_phy: ethernet-phy@6 {
- compatible = "ethernet-phy-ieee802.3-c45";
- reg = <0x6>;
- };
- };
- };
- };
- sw2: ethernet-switch@2 {
- compatible = "nxp,sja1110a";
- reg = <2>;
- spi-max-frequency = <4000000>;
- spi-cpol;
- dsa,member = <0 1>;
- ethernet-ports {
- #address-cells = <1>;
- #size-cells = <0>;
- /* Microcontroller port */
- port@0 {
- reg = <0>;
- status = "disabled";
- };
- sw2p1: port@1 {
- reg = <1>;
- link = <&sw1p4>;
- phy-mode = "sgmii";
- fixed-link {
- speed = <1000>;
- full-duplex;
- };
- };
- port@2 {
- reg = <2>;
- ethernet = <&dpmac18>;
- phy-mode = "rgmii-id";
- rx-internal-delay-ps = <2000>;
- tx-internal-delay-ps = <2000>;
- fixed-link {
- speed = <1000>;
- full-duplex;
- };
- };
- port@3 {
- reg = <3>;
- label = "1ge_p2";
- phy-mode = "rgmii-id";
- phy-handle = <&sw2_mii3_phy>;
- };
- port@4 {
- reg = <4>;
- label = "to_sw3";
- phy-mode = "2500base-x";
- fixed-link {
- speed = <2500>;
- full-duplex;
- };
- };
- port@5 {
- reg = <5>;
- label = "trx7";
- phy-mode = "internal";
- phy-handle = <&sw2_port5_base_t1_phy>;
- };
- port@6 {
- reg = <6>;
- label = "trx8";
- phy-mode = "internal";
- phy-handle = <&sw2_port6_base_t1_phy>;
- };
- port@7 {
- reg = <7>;
- label = "trx9";
- phy-mode = "internal";
- phy-handle = <&sw2_port7_base_t1_phy>;
- };
- port@8 {
- reg = <8>;
- label = "trx10";
- phy-mode = "internal";
- phy-handle = <&sw2_port8_base_t1_phy>;
- };
- port@9 {
- reg = <9>;
- label = "trx11";
- phy-mode = "internal";
- phy-handle = <&sw2_port9_base_t1_phy>;
- };
- port@a {
- reg = <10>;
- label = "trx12";
- phy-mode = "internal";
- phy-handle = <&sw2_port10_base_t1_phy>;
- };
- };
- mdios {
- #address-cells = <1>;
- #size-cells = <0>;
- mdio@0 {
- compatible = "nxp,sja1110-base-t1-mdio";
- #address-cells = <1>;
- #size-cells = <0>;
- reg = <0>;
- sw2_port5_base_t1_phy: ethernet-phy@1 {
- compatible = "ethernet-phy-ieee802.3-c45";
- reg = <0x1>;
- };
- sw2_port6_base_t1_phy: ethernet-phy@2 {
- compatible = "ethernet-phy-ieee802.3-c45";
- reg = <0x2>;
- };
- sw2_port7_base_t1_phy: ethernet-phy@3 {
- compatible = "ethernet-phy-ieee802.3-c45";
- reg = <0x3>;
- };
- sw2_port8_base_t1_phy: ethernet-phy@4 {
- compatible = "ethernet-phy-ieee802.3-c45";
- reg = <0x4>;
- };
- sw2_port9_base_t1_phy: ethernet-phy@5 {
- compatible = "ethernet-phy-ieee802.3-c45";
- reg = <0x5>;
- };
- sw2_port10_base_t1_phy: ethernet-phy@6 {
- compatible = "ethernet-phy-ieee802.3-c45";
- reg = <0x6>;
- };
- };
- };
- };
- };
- &uart0 {
- status = "okay";
- };
- &uart1 {
- status = "okay";
- };
- &usb0 {
- status = "okay";
- };
- &usb1 {
- status = "okay";
- };
|