ARM: dts: imx6qdl-sr-som: update phy configuration for som revision 1.9
authorJosua Mayer <josua@solid-run.com>
Tue, 17 May 2022 08:54:31 +0000 (11:54 +0300)
committerJakub Kicinski <kuba@kernel.org>
Thu, 19 May 2022 02:58:30 +0000 (19:58 -0700)
Since SoM revision 1.9 the PHY has been replaced with an ADIN1300,
add an entry for it next to the original.

As Russell King pointed out, additional phy nodes cause warnings like:
mdio_bus 2188000.ethernet-1: MDIO device at address 1 is missing
To avoid this the new node has its status set to disabled. U-Boot will
be modified to enable the appropriate phy node after probing.

The existing ar8035 nodes have to stay enabled by default to avoid
breaking existing systems when they update Linux only.

Co-developed-by: Alvaro Karsz <alvaro.karsz@solid-run.com>
Signed-off-by: Alvaro Karsz <alvaro.karsz@solid-run.com>
Signed-off-by: Josua Mayer <josua@solid-run.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
arch/arm/boot/dts/imx6qdl-sr-som.dtsi

index f86efd0ccc4047021662011948b9a593ea872643..ce543e325cd3079d9dc08c5a5a9d6dca0edb847b 100644 (file)
                        qca,clk-out-frequency = <125000000>;
                        qca,smarteee-tw-us-1g = <24>;
                };
+
+               /*
+                * ADIN1300 (som rev 1.9 or later) is always at address 1. It
+                * will be enabled automatically by U-Boot if detected.
+                */
+               ethernet-phy@1 {
+                       reg = <1>;
+                       adi,phy-output-clock = "125mhz-free-running";
+                       status = "disabled";
+               };
        };
 };