summaryrefslogtreecommitdiff
path: root/arch/arm/dts/sun8i-h3-orangepi-plus2e.dts
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2018-04-04 01:31:18 +0100
committerJagan Teki <jagan@amarulasolutions.com>2018-04-04 11:31:35 +0530
commite88d2a57f3a01c774471e32bf35d871682cfffe8 (patch)
tree75c8d5d60eaa59b314bba7dced6c7f5d14444c8d /arch/arm/dts/sun8i-h3-orangepi-plus2e.dts
parent06a57f656b606906d541426845a81d4de4aa491c (diff)
arm: dts: sunxi: update H3 to new EMAC binding
The U-Boot driver for the sun8i-emac was using some preliminary DT binding. Now since Linux got its own driver in v4.15 and our driver can now cope with both bindings, let's convert the DT nodes used by the various H3 boards over to the new bindings used by the kernel. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Acked-by: Maxime Ripard <maxime.ripard@bootlin.com> Reviewed-by: Jagan Teki <jagan@openedev.com>
Diffstat (limited to 'arch/arm/dts/sun8i-h3-orangepi-plus2e.dts')
-rw-r--r--arch/arm/dts/sun8i-h3-orangepi-plus2e.dts9
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/arm/dts/sun8i-h3-orangepi-plus2e.dts b/arch/arm/dts/sun8i-h3-orangepi-plus2e.dts
index f97b040b35..51aaf49b6d 100644
--- a/arch/arm/dts/sun8i-h3-orangepi-plus2e.dts
+++ b/arch/arm/dts/sun8i-h3-orangepi-plus2e.dts
@@ -69,8 +69,15 @@
pinctrl-names = "default";
pinctrl-0 = <&emac_rgmii_pins>;
phy-supply = <&reg_gmac_3v3>;
+ phy-handle = <&ext_rgmii_phy>;
phy-mode = "rgmii";
- /delete-property/allwinner,use-internal-phy;
+};
+
+&external_mdio {
+ ext_rgmii_phy: ethernet-phy@1 {
+ compatible = "ethernet-phy-ieee802.3-c22";
+ reg = <1>;
+ };
};
&pio {