Skip to content

Commit 9413b1b

Browse files
committed
Merge branch 'net-cleanup-arc-emac'
Johan Jonker says: ==================== cleanup arc emac The Rockchip emac binding for rk3036/rk3066/rk3188 has been converted to YAML with the ethernet-phy node in a mdio node. This requires some driver fixes by someone that can do hardware testing. In order to make a future fix easier make the driver 'Rockchip only' by removing the obsolete part of the arc emac driver. ==================== Signed-off-by: David S. Miller <[email protected]>
2 parents 86474de + 8a3913c commit 9413b1b

File tree

6 files changed

+2
-154
lines changed

6 files changed

+2
-154
lines changed

Documentation/devicetree/bindings/net/arc_emac.txt

Lines changed: 0 additions & 46 deletions
This file was deleted.

arch/arm/boot/dts/rockchip/rk3066a.dtsi

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,3 @@
879879
&wdt {
880880
compatible = "rockchip,rk3066-wdt", "snps,dw-wdt";
881881
};
882-
883-
&emac {
884-
compatible = "rockchip,rk3066-emac";
885-
};

arch/arm/boot/dts/rockchip/rk3xxx.dtsi

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -194,17 +194,14 @@
194194
};
195195

196196
emac: ethernet@10204000 {
197-
compatible = "snps,arc-emac";
197+
compatible = "rockchip,rk3066-emac";
198198
reg = <0x10204000 0x3c>;
199199
interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
200-
201-
rockchip,grf = <&grf>;
202-
203200
clocks = <&cru HCLK_EMAC>, <&cru SCLK_MAC>;
204201
clock-names = "hclk", "macref";
205202
max-speed = <100>;
206203
phy-mode = "rmii";
207-
204+
rockchip,grf = <&grf>;
208205
status = "disabled";
209206
};
210207

drivers/net/ethernet/arc/Kconfig

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,6 @@ config ARC_EMAC_CORE
2323
select PHYLIB
2424
select CRC32
2525

26-
config ARC_EMAC
27-
tristate "ARC EMAC support"
28-
select ARC_EMAC_CORE
29-
depends on OF_IRQ
30-
depends on ARC || COMPILE_TEST
31-
help
32-
On some legacy ARC (Synopsys) FPGA boards such as ARCAngel4/ML50x
33-
non-standard on-chip ethernet device ARC EMAC 10/100 is used.
34-
Say Y here if you have such a board. If unsure, say N.
35-
3626
config EMAC_ROCKCHIP
3727
tristate "Rockchip EMAC support"
3828
select ARC_EMAC_CORE

drivers/net/ethernet/arc/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,4 @@
55

66
arc_emac-objs := emac_main.o emac_mdio.o
77
obj-$(CONFIG_ARC_EMAC_CORE) += arc_emac.o
8-
obj-$(CONFIG_ARC_EMAC) += emac_arc.o
98
obj-$(CONFIG_EMAC_ROCKCHIP) += emac_rockchip.o

drivers/net/ethernet/arc/emac_arc.c

Lines changed: 0 additions & 88 deletions
This file was deleted.

0 commit comments

Comments
 (0)