arm64: dts: renesas: Add compatible properties to KSZ9031 Ethernet PHYs
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 9 Sep 2021 08:49:44 +0000 (10:49 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 28 Sep 2021 07:45:22 +0000 (09:45 +0200)
Add compatible values to Ethernet PHY subnodes representing Micrel
KSZ9031 PHYs on R-Car Gen3 boards.  This allows software to identify the
PHY model at any time, regardless of the state of the PHY reset line.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/07bd7e04dda9e84cde0664980f0b1a6d69e03109.1631174218.git.geert+renesas@glider.be
arch/arm64/boot/dts/renesas/draak.dtsi
arch/arm64/boot/dts/renesas/ebisu.dtsi
arch/arm64/boot/dts/renesas/r8a77970-eagle.dts
arch/arm64/boot/dts/renesas/r8a77970-v3msk.dts
arch/arm64/boot/dts/renesas/r8a77980-condor.dts
arch/arm64/boot/dts/renesas/r8a77980-v3hsk.dts
arch/arm64/boot/dts/renesas/r8a779a0-falcon.dts
arch/arm64/boot/dts/renesas/salvator-common.dtsi
arch/arm64/boot/dts/renesas/ulcb.dtsi

index ff799ab73f8a479d2a53a317fddcb92b1ba73735..5f5a0bb2da86cc576814117a8d84d62266184e24 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 = <&gpio5>;
index 54f88bb7e5920296acf68d54d0f3e1b4033ea8cd..0fdfc67cb965afd9fdd937c6e91d5d1ef7957701 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>;
index d24da54f312b9085dabe59d5eb30f2af4968e937..c7451973f8a5b2a7b5bc5025df0b0345f7c18690 100644 (file)
@@ -92,6 +92,8 @@
        status = "okay";
 
        phy0: ethernet-phy@0 {
+               compatible = "ethernet-phy-id0022.1622",
+                            "ethernet-phy-ieee802.3-c22";
                rxc-skew-ps = <1500>;
                reg = <0>;
                interrupt-parent = <&gpio1>;
index 2426e533128ceb427c0ca7ab2f1722675a97c451..2f77ec4ed7e16166ade07b6e24ccc9be5b45449d 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 = <&gpio1>;
index edf7f2a2f958787c9ef653b92be2fa66a4b1864b..4cb5bfa6932d5809ce4039e76a20652d4fb02f45 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 = <&gpio4>;
index 7838dcee313627050b919fae48d9cdaea4cbcbf3..ca69d1b1d67af0476bce814fb5de0919b3407b1e 100644 (file)
        status = "okay";
 
        phy0: ethernet-phy@0 {
+               compatible = "ethernet-phy-id0022.1622",
+                            "ethernet-phy-ieee802.3-c22";
                reg = <0>;
                interrupt-parent = <&gpio4>;
                interrupts = <23 IRQ_TYPE_LEVEL_LOW>;
index dc671ff57ec7678a8406c26f7aa176c9aa802768..e46dc9aa0a43a60f72f94cf910adc0a4ee19ac78 100644 (file)
@@ -27,6 +27,8 @@
        status = "okay";
 
        phy0: ethernet-phy@0 {
+               compatible = "ethernet-phy-id0022.1622",
+                            "ethernet-phy-ieee802.3-c22";
                rxc-skew-ps = <1500>;
                reg = <0>;
                interrupt-parent = <&gpio4>;
index eb1f3b82300b1601af23f063dd9ec9980e8054d0..df2d69075ffd548248a9557da43567497c67fe0a 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>;
index 1f177af3eb9dfa37fa7e3d08b4e824628c1550dd..7edffe7f8cfa326fb53b28da07b4bd067cdb296a 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>;