From 38428f71c379e6d449b412258236469bf831f2dd Mon Sep 17 00:00:00 2001 From: Chris Blake Date: Wed, 16 Aug 2017 11:43:57 -0500 Subject: [PATCH] sunxi: nanopi-h5: Fix ethernet MDIO address On the NanoPi Neo2, ethernet is on MDIO address 7, not 1. Copied from Linux 4.13 at https://github.com/torvalds/linux/commit/63b956875a1ab695c1768758e25694420dd53a37 --- arch/arm/dts/sun50i-h5-nanopi-neo2.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/sun50i-h5-nanopi-neo2.dts b/arch/arm/dts/sun50i-h5-nanopi-neo2.dts index 967855fa54ba..dfca9c621c46 100644 --- a/arch/arm/dts/sun50i-h5-nanopi-neo2.dts +++ b/arch/arm/dts/sun50i-h5-nanopi-neo2.dts @@ -141,7 +141,7 @@ phy = <&phy1>; status = "okay"; - phy1: ethernet-phy@1 { - reg = <1>; + phy1: ethernet-phy@7 { + reg = <7>; }; };