summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/sun8i-v3.dtsi
diff options
context:
space:
mode:
authorIcenowy Zheng <icenowy@aosc.io>2020-09-23 03:57:03 +0300
committerMaxime Ripard <maxime@cerno.tech>2020-09-28 13:09:21 +0300
commit02ed6bb83ec3f99806b0f3471c7ee1a02525e236 (patch)
treedfeae292d108b24e3e56e47e3002b55cce7e2f72 /arch/arm/boot/dts/sun8i-v3.dtsi
parent96820e359e25c7a61c4c8b994745aaa9d9db6a5e (diff)
downloadlinux-02ed6bb83ec3f99806b0f3471c7ee1a02525e236.tar.xz
ARM: dts: sun8i: V3/V3s/S3/S3L: add Ethernet support
The Allwinner V3/V3s/S3L/SoChip S3 Ethernet MAC and internal PHY is quite similar to the ones on Allwinner H3, except for V3s the external MII is not wired out. Add ethernet support to V3/V3s/S3/S3L. Signed-off-by: Icenowy Zheng <icenowy@aosc.io> Signed-off-by: Maxime Ripard <maxime@cerno.tech> Link: https://lore.kernel.org/r/20200923005709.147966-2-icenowy@aosc.io
Diffstat (limited to 'arch/arm/boot/dts/sun8i-v3.dtsi')
-rw-r--r--arch/arm/boot/dts/sun8i-v3.dtsi13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun8i-v3.dtsi b/arch/arm/boot/dts/sun8i-v3.dtsi
index 6ae8645ade50..ca4672ed2e02 100644
--- a/arch/arm/boot/dts/sun8i-v3.dtsi
+++ b/arch/arm/boot/dts/sun8i-v3.dtsi
@@ -9,6 +9,19 @@
compatible = "allwinner,sun8i-v3-ccu";
};
+&emac {
+ /delete-property/ phy-handle;
+ /delete-property/ phy-mode;
+};
+
+&mdio_mux {
+ external_mdio: mdio@2 {
+ reg = <2>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ };
+};
+
&pio {
compatible = "allwinner,sun8i-v3-pinctrl";
};