Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: renesas: Add compatible properties to KSZ9031 Ethernet PHYs

Add compatible values to Ethernet PHY subnodes representing Micrel
KSZ9031 PHYs on RZ/G1 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>
Tested-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/ce8ae6b199fa244315a008ae31891a808ca1948d.1631174218.git.geert+renesas@glider.be

+8
+2
arch/arm/boot/dts/iwg20d-q7-common.dtsi
··· 158 158 status = "okay"; 159 159 160 160 phy3: ethernet-phy@3 { 161 + compatible = "ethernet-phy-id0022.1622", 162 + "ethernet-phy-ieee802.3-c22"; 161 163 reg = <3>; 162 164 micrel,led-mode = <1>; 163 165 };
+2
arch/arm/boot/dts/r8a7742-iwg21d-q7.dts
··· 175 175 status = "okay"; 176 176 177 177 phy3: ethernet-phy@3 { 178 + compatible = "ethernet-phy-id0022.1622", 179 + "ethernet-phy-ieee802.3-c22"; 178 180 reg = <3>; 179 181 micrel,led-mode = <1>; 180 182 };
+2
arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts
··· 123 123 * On some older versions of the platform (before R4.0) the phy address 124 124 * may be 1 or 3. The address is fixed to 3 for R4.0 onwards. 125 125 */ 126 + compatible = "ethernet-phy-id0022.1622", 127 + "ethernet-phy-ieee802.3-c22"; 126 128 reg = <3>; 127 129 micrel,led-mode = <1>; 128 130 };
+2
arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts
··· 79 79 status = "okay"; 80 80 81 81 phy3: ethernet-phy@3 { 82 + compatible = "ethernet-phy-id0022.1622", 83 + "ethernet-phy-ieee802.3-c22"; 82 84 reg = <3>; 83 85 interrupt-parent = <&gpio5>; 84 86 interrupts = <16 IRQ_TYPE_LEVEL_LOW>;