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
28 lines
415 B
Plaintext
28 lines
415 B
Plaintext
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
/*
|
|
* Copyright (C) 2019 Icenowy Zheng <icenowy@aosc.io>
|
|
*/
|
|
|
|
#include "sun8i-v3s.dtsi"
|
|
|
|
&ccu {
|
|
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";
|
|
};
|