From f25b19a828b40809385d4cd3c645f6011964c3ff Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Fri, 5 Nov 2021 09:59:53 +0100 Subject: [PATCH] sunxi: dt: nanopi-r1 add usb-ethernet node Signed-off-by: Arne Fitzenreiter --- arch/arm/boot/dts/sun8i-h3-nanopi-r1.dts | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/sun8i-h3-nanopi-r1.dts b/arch/arm/boot/dts/sun8i-h3-nanopi-r1.dts index 42cd1131adf3d..4fa6b86566a30 100644 --- a/arch/arm/boot/dts/sun8i-h3-nanopi-r1.dts +++ b/arch/arm/boot/dts/sun8i-h3-nanopi-r1.dts @@ -15,7 +15,8 @@ aliases { serial1 = &uart1; ethernet0 = &emac; - ethernet1 = &wifi; + ethernet1 = &usbr8152; + ethernet2 = &wifi; }; reg_gmac_3v3: gmac-3v3 { @@ -69,8 +70,15 @@ cpu-supply = <®_vdd_cpux>; }; + &ehci1 { status = "okay"; + #address-cells = <1>; + #size-cells = <0>; + usbr8152: usbether@1 { + compatible = "usb0bda,8152"; + reg = <1>; + }; }; &ehci2 { @@ -121,7 +129,7 @@ }; &ohci1 { - status = "okay"; + status = "disabled"; }; &ohci2 { -- 2.47.3