ARM: dts: renesas: Fix SMSC Ethernet compatible values
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 9 Sep 2021 07:52:36 +0000 (09:52 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 28 Sep 2021 07:44:10 +0000 (09:44 +0200)
According to schematics, and confirmed by ID_REV register contents, the
Ethernet controllers on various development board are not SMSC LAN9220,
but different variants:
  - KZM-A9-Dual and KZM-A9-GT: LAN9221,
  - Bock-W and Marzen: LAN89218AQ.

Update the compatible values accordingly.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/59c142176f795b3541c935df43ab11cecd77cc61.1631173813.git.geert+renesas@glider.be
arch/arm/boot/dts/emev2-kzm9d.dts
arch/arm/boot/dts/r8a7778-bockw.dts
arch/arm/boot/dts/r8a7779-marzen.dts
arch/arm/boot/dts/sh73a0-kzm9g.dts

index 0a27f03..89495dd 100644 (file)
@@ -80,7 +80,7 @@
        };
 
        ethernet@20000000 {
-               compatible = "smsc,lan9220", "smsc,lan9115";
+               compatible = "smsc,lan9221", "smsc,lan9115";
                reg = <0x20000000 0x10000>;
                phy-mode = "mii";
                interrupt-parent = <&gpio0>;
index 6c7b07c..9b65d24 100644 (file)
@@ -63,7 +63,7 @@
 
 &bsc {
        ethernet@18300000 {
-               compatible = "smsc,lan9220", "smsc,lan9115";
+               compatible = "smsc,lan89218", "smsc,lan9115";
                reg = <0x18300000 0x1000>;
 
                phy-mode = "mii";
index 4658453..5f05f2b 100644 (file)
@@ -52,7 +52,7 @@
        };
 
        ethernet@18000000 {
-               compatible = "smsc,lan9220", "smsc,lan9115";
+               compatible = "smsc,lan89218", "smsc,lan9115";
                reg = <0x18000000 0x100>;
                pinctrl-0 = <&ethernet_pins>;
                pinctrl-names = "default";
index 5a8d92a..98897f7 100644 (file)
 
 &bsc {
        ethernet@10000000 {
-               compatible = "smsc,lan9220", "smsc,lan9115";
+               compatible = "smsc,lan9221", "smsc,lan9115";
                reg = <0x10000000 0x100>;
                phy-mode = "mii";
                interrupt-parent = <&irqpin0>;