OSDN Git Service

ARM: dts: omap5-uevm: Allow bootloader to configure USB Ethernet MAC
authorTony Lindgren <tony@atomide.com>
Thu, 5 Jan 2017 16:37:02 +0000 (08:37 -0800)
committerTony Lindgren <tony@atomide.com>
Fri, 6 Jan 2017 16:49:41 +0000 (08:49 -0800)
Note that with 9730 the wiring is different compared to 9514 found on
beagleboard xm for example.

On beagleboard xm we have:

/sys/bus/usb/devices/1-2 hub
/sys/bus/usb/devices/1-2.1 9514

While on omap5-uevm we have:

/sys/bus/usb/devices/1-2 hub
/sys/bus/usb/devices/1-3 9730

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

index a8c7261..0d42c46 100644 (file)
                reg = <0 0x80000000 0 0x7f000000>; /* 2032 MB */
        };
 
+       aliases {
+               ethernet = &ethernet;
+       };
+
        leds {
                compatible = "gpio-leds";
                led1 {
        >;
 };
 
+&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,9730";
+               reg = <3>;
+       };
+};
+
 &wlcore {
        compatible = "ti,wl1837";
 };