ARM: dts: pandaboard: Allow bootloader to configure USB Ethernet MAC
authorTony Lindgren <tony@atomide.com>
Thu, 5 Jan 2017 16:37:01 +0000 (08:37 -0800)
committerTony Lindgren <tony@atomide.com>
Fri, 6 Jan 2017 16:49:35 +0000 (08:49 -0800)
Inspired by a patch for beagleboard xm by Laurent Pinchart
<laurent.pinchart@ideasonboard.com>, similar patch also works for
pandaboard. The only difference is that the hub is address 1 instead
of 2.

Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/omap4-panda-common.dtsi

index 1673689..edbc409 100644 (file)
@@ -16,6 +16,7 @@
        aliases {
                display0 = &dvi0;
                display1 = &hdmi0;
+               ethernet = &ethernet;
        };
 
        leds: leds {
 
 &usbhsehci {
        phys = <&hsusb1_phy>;
+
+       #address-cells = <1>;
+       #size-cells = <0>;
+
+       hub@1 {
+               compatible = "usb424,9514";
+               reg = <1>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               ethernet: usbether@1 {
+                       compatible = "usb424,ec00";
+                       reg = <1>;
+               };
+       };
 };
 
 &dss {