ARM: sun4i: dt: Add USB host nodes to pcduino.dts
authorHans de Goede <hdegoede@redhat.com>
Sat, 1 Mar 2014 19:26:30 +0000 (20:26 +0100)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 4 Mar 2014 16:45:23 +0000 (17:45 +0100)
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun4i-a10-pcduino.dts

index f5692a3b80db399b8147245be7126a36ef3ebaf1..255b47e7019c10278ca03b6e87c7ac48b970a7fd 100644 (file)
@@ -12,6 +12,7 @@
 
 /dts-v1/;
 /include/ "sun4i-a10.dtsi"
+/include/ "sunxi-common-regulators.dtsi"
 
 / {
        model = "LinkSprite pcDuino";
                        };
                };
 
+               usbphy: phy@01c13400 {
+                       usb1_vbus-supply = <&reg_usb1_vbus>;
+                       usb2_vbus-supply = <&reg_usb2_vbus>;
+                       status = "okay";
+               };
+
+               ehci0: usb@01c14000 {
+                       status = "okay";
+               };
+
+               ohci0: usb@01c14400 {
+                       status = "okay";
+               };
+
+               ehci1: usb@01c1c000 {
+                       status = "okay";
+               };
+
+               ohci1: usb@01c1c400 {
+                       status = "okay";
+               };
+
                uart0: serial@01c28000 {
                        pinctrl-names = "default";
                        pinctrl-0 = <&uart0_pins_a>;
                        status = "okay";
                };
        };
+
+       reg_usb1_vbus: usb1-vbus {
+               status = "okay";
+       };
+
+       reg_usb2_vbus: usb2-vbus {
+               status = "okay";
+       };
 };