ARM: dts: omap5-igep0050: Allow bootloader to configure USB Ethernet MAC
authorTony Lindgren <tony@atomide.com>
Thu, 5 Jan 2017 16:37:03 +0000 (08:37 -0800)
committerTony Lindgren <tony@atomide.com>
Fri, 6 Jan 2017 16:49:47 +0000 (08:49 -0800)
This is slightly different wiring compared to omap5-uevm or pandaboard:

/sys/bus/usb/devices/3-2 hub
/sys/bus/usb/devices/3-2.3 7500

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

index 8fc19218057e0c4dc36ee013c8213c663d102db6..fef2a446b61c32113704a2a782ec89443d250a29 100644 (file)
                reg = <0x0 0x80000000 0 0x7f000000>;    /* 2032 MB */
        };
 
+       aliases {
+               ethernet = &ethernet;
+       };
+
        gpio_keys {
                compatible = "gpio-keys";
                pinctrl-0 = <&power_button_pin>;
                OMAP5_IOPAD(0x1ca, PIN_OUTPUT | MUX_MODE6)      /* perslimbus2_clock.gpio5_145 */
        >;
 };
+
+&usbhsehci {
+       #address-cells = <1>;
+       #size-cells = <0>;
+
+       hub@2 {
+               compatible = "usb424,3503";
+               reg = <2>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               ethernet: usbether@3 {
+                       compatible = "usb424,7500";
+                       reg = <3>;
+               };
+       };
+};