]> git.ipfire.org Git - people/ms/linux.git/commitdiff
sunxi: dt: nanopi-r1 add usb-ethernet node
authorArne Fitzenreiter <arne_f@ipfire.org>
Fri, 5 Nov 2021 08:59:53 +0000 (09:59 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 28 Sep 2022 09:39:23 +0000 (09:39 +0000)
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
arch/arm/boot/dts/sun8i-h3-nanopi-r1.dts

index 42cd1131adf3d098fb434c9e4126a6d88d870db1..4fa6b86566a3058fa149a5e69490b531a92fe17a 100644 (file)
@@ -15,7 +15,8 @@
        aliases {
                serial1 = &uart1;
                ethernet0 = &emac;
-               ethernet1 = &wifi;
+               ethernet1 = &usbr8152;
+               ethernet2 = &wifi;
        };
 
        reg_gmac_3v3: gmac-3v3 {
        cpu-supply = <&reg_vdd_cpux>;
 };
 
+
 &ehci1 {
        status = "okay";
+       #address-cells = <1>;
+       #size-cells = <0>;
+       usbr8152: usbether@1 {
+               compatible = "usb0bda,8152";
+               reg = <1>;
+    };
 };
 
 &ehci2 {
 };
 
 &ohci1 {
-       status = "okay";
+       status = "disabled";
 };
 
 &ohci2 {