arm: dts: lx2160a: add external MDIO nodes
authorIoana Ciornei <ioana.ciornei@nxp.com>
Wed, 18 Mar 2020 14:47:41 +0000 (16:47 +0200)
committerPriyanka Jain <priyanka.jain@nxp.com>
Wed, 29 Apr 2020 05:40:54 +0000 (11:10 +0530)
Add the External MDIO device nodes found in the WRIOP global memory
region. This is needed for management of external PHYs.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/arm/dts/fsl-lx2160a.dtsi

index 42ce4379eceb3b7726e263177b92b692e58de1a6..15f18bc4a5f769db893f447d8ba89933a689dd7c 100644 (file)
                bus-range = <0x0 0xff>;
                ranges = <0x82000000 0x0 0x40000000 0xa8 0x40000000 0x0 0x40000000>;
        };
+
+       /* WRIOP0: 0x8b8_0000, E-MDIO1: 0x1_6000 */
+       emdio1: mdio@8b96000 {
+               compatible = "fsl,ls-mdio";
+               reg = <0x0 0x8b96000 0x0 0x1000>;
+               interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+               status = "disabled";
+       };
+
+       /* WRIOP0: 0x8b8_0000, E-MDIO2: 0x1_7000 */
+       emdio2: mdio@8b97000 {
+               compatible = "fsl,ls-mdio";
+               reg = <0x0 0x8b97000 0x0 0x1000>;
+               interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+               status = "disabled";
+       };
 };