Commit a8bd4d7a authored by Johan Jonker's avatar Johan Jonker Committed by David S. Miller
Browse files

ARM: dts: rockchip: rk3xxx: fix emac node



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: default avatarJohan Jonker <jbx6244@gmail.com>
Reviewed-by: default avatarHeiko Stuebner <heiko@sntech.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 86474dee
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -879,7 +879,3 @@ &vpu {
&wdt {
	compatible = "rockchip,rk3066-wdt", "snps,dw-wdt";
};

&emac {
	compatible = "rockchip,rk3066-emac";
};
+2 −5
Original line number Diff line number Diff line
@@ -194,17 +194,14 @@ usb_host: usb@101c0000 {
	};

	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";
	};