]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: renesas: Add compatible properties to KSZ9031 Ethernet PHYs on Salvator...
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Sun, 17 Sep 2023 11:49:30 +0000 (13:49 +0200)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Sun, 17 Sep 2023 11:56:34 +0000 (13:56 +0200)
Add compatible values to Ethernet PHY subnodes representing Micrel
KSZ9031 PHYs on R-Car Gen3 Salvator-X boards. This allows software
to identify the PHY model at any time, regardless of the state of
the PHY reset line.

This is a fix for missed addition of these properties on Salvator-X
boards.

Ported from Linux kernel commit 722d55f3a9bd810f3a1a31916cc74e2915a994ce .

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
arch/arm/dts/salvator-common.dtsi

index 98bbcafc8c0d030ccd89372028603ad05ec4ea0c..23fdd1115b21fcaca032f441e4a27790800587bb 100644 (file)
        status = "okay";
 
        phy0: ethernet-phy@0 {
+               compatible = "ethernet-phy-id0022.1622",
+                            "ethernet-phy-ieee802.3-c22";
                rxc-skew-ps = <1500>;
                reg = <0>;
                interrupt-parent = <&gpio2>;