arm64: dts: imx8mm: Update Data Modul i.MX8M Mini eDM SBC DT to rev.A01
authorMarek Vasut <marex@denx.de>
Sun, 18 Aug 2024 20:29:52 +0000 (22:29 +0200)
committerShawn Guo <shawnguo@kernel.org>
Wed, 4 Sep 2024 09:36:19 +0000 (17:36 +0800)
Update the DT to match newest Data Modul i.MX8M Mini eDM SBC rev.A01
board which implements PHY changes. Keep some of the rev.900 PHY node
in the DT so that a DTO can be used to support rev.900 boards easily.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mm-data-modul-edm-sbc.dts

index b1f2beb40a98f00d8c9a5c003f1530a8e6eb654e..472c584fb3bd294dce18341ce1afc277be1c3825 100644 (file)
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_fec1>;
        phy-mode = "rgmii-id";
-       phy-handle = <&fec1_phy>;
+       phy-handle = <&fec1_phy_bcm>;
        phy-supply = <&buck4_reg>;
        fsl,magic-packet;
        status = "okay";
                #size-cells = <0>;
 
                /* Atheros AR8031 PHY */
-               fec1_phy: ethernet-phy@0 {
+               fec1_phy_ath: ethernet-phy@0 {
                        compatible = "ethernet-phy-ieee802.3-c22";
                        reg = <0>;
                        /*
                        reset-deassert-us = <10000>;
                        qca,keep-pll-enabled;
                        vddio-supply = <&vddio>;
+                       status = "disabled";
 
                        vddio: vddio-regulator {
                                regulator-name = "VDDIO";
                                regulator-name = "VDDH";
                        };
                };
+
+               /* Broadcom BCM54213PE PHY */
+               fec1_phy_bcm: ethernet-phy@1 {
+                       compatible = "ethernet-phy-ieee802.3-c22";
+                       reg = <1>;
+                       /*
+                        * Dedicated ENET_INT# and ENET_WOL# signals are
+                        * unused, the PHY does not provide cable detect
+                        * interrupt.
+                        */
+                       reset-gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
+                       reset-assert-us = <10000>;
+                       reset-deassert-us = <10000>;
+               };
        };
 };