]> git.ipfire.org Git - people/arne_f/kernel.git/commitdiff
sunxi: update ipfire nano dt
authorArne Fitzenreiter <arne_f@ipfire.org>
Fri, 9 Mar 2018 21:38:44 +0000 (22:38 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Fri, 14 May 2021 13:17:19 +0000 (15:17 +0200)
This is still not finished because at the moment the layout is not
finalized. For testing this set the mac of a Realtek 8152 at the
first port of a hub on ehci3.
USB2 is disabled because the USB/mSATA is not populated on
the testhardware.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
arch/arm/boot/dts/sun8i-h2-plus-ipfire-nano.dts

index 4244ac813654cfe1bbff0af55372578684319cb9..d17fa57081a9d6a8e2b903bc202965d9bd92c5e5 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *   Copyright (C) 2016 Arne Fitzenreiter <arne_f@ipfire.org>
+ *   Copyright (C) 2018 Arne Fitzenreiter <arne_f@ipfire.org>
  *  
  *   based on sun8i-h2-plus-nanopi-duo
  *
@@ -56,6 +56,7 @@
 
        aliases {
                ethernet0 = &emac;
+               ethernet1 = &usbr8152;
                ethernet2 = &xr819;
                serial0 = &uart0;
        };
 };
 
 &ehci2 {
-       status = "okay";
+       status = "disabled";
+
 };
 
 &ohci2 {
-       status = "okay";
+       status = "disabled";
 };
 
 &ehci3 {
        status = "okay";
+
+       #address-cells = <1>;
+       #size-cells = <0>;
+       hub1@1 {
+               compatible = "usb1a40,0101";
+               reg = <1>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               usbr8152: usbether@1 {
+                       compatible = "usb0bda,8152";
+                       reg = <1>;
+               };
+       };
 };
 
 &ohci3 {