ARM: dts: rockchip: rk3xxx: fix emac node
authorJohan Jonker <jbx6244@gmail.com>
Tue, 18 Jun 2024 16:13:56 +0000 (18:13 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Jun 2024 09:07:17 +0000 (10:07 +0100)
In the combined DT of rk3066a/rk3188 the emac node uses as place holder
the compatible string "snps,arc-emac". The last real user nSIM_700
of the "snps,arc-emac" compatible string in a driver was removed in 2019.
Rockchip emac nodes don't make use of this common fall back string.
In order to removed unused driver code replace this string with
"rockchip,rk3066-emac".
As we are there remove the blank lines and sort.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/arm/boot/dts/rockchip/rk3066a.dtsi
arch/arm/boot/dts/rockchip/rk3xxx.dtsi

index 30139f21de64d0e3a11fc510e54e49e508c69fa9..51ae0418a7dbff94306ab98e4d13ea09c4d68ccd 100644 (file)
 &wdt {
        compatible = "rockchip,rk3066-wdt", "snps,dw-wdt";
 };
-
-&emac {
-       compatible = "rockchip,rk3066-emac";
-};
index f37137f298d5f1605d0fb491624c363ea42adb8f..e6a78bcf916382841b59900be3a6c84603950926 100644 (file)
        };
 
        emac: ethernet@10204000 {
-               compatible = "snps,arc-emac";
+               compatible = "rockchip,rk3066-emac";
                reg = <0x10204000 0x3c>;
                interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
-
-               rockchip,grf = <&grf>;
-
                clocks = <&cru HCLK_EMAC>, <&cru SCLK_MAC>;
                clock-names = "hclk", "macref";
                max-speed = <100>;
                phy-mode = "rmii";
-
+               rockchip,grf = <&grf>;
                status = "disabled";
        };