ARM: dts: imx6q-sabrelite: add usbmisc device
authorRichard Zhao <richard.zhao@freescale.com>
Fri, 14 Sep 2012 06:42:45 +0000 (14:42 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Mon, 17 Sep 2012 07:12:51 +0000 (15:12 +0800)
- add usbmisc device
- set property fsl,usbmisc for usb controllers
- set disable-over-current for imx6q-sabrelite usb otg

Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/boot/dts/imx6q-sabrelite.dts
arch/arm/boot/dts/imx6q.dtsi

index 0fb29ca7a9e16abf1d5b681365af3bf1e845c8a4..0cb7dcd63c9eaea304be837111aa71c4d5b00b87 100644 (file)
@@ -68,6 +68,7 @@
                aips-bus@02100000 { /* AIPS2 */
                        usb@02184000 { /* USB OTG */
                                vbus-supply = <&reg_usb_otg_vbus>;
+                               disable-over-current;
                                status = "okay";
                        };
 
index e45476dc6d32a61599054de95b44eca66e433ec8..b40c0ddd2648f99588a9ad56dd24172ea4f1886c 100644 (file)
                                interrupts = <0 43 0x04>;
                                clocks = <&clks 162>;
                                fsl,usbphy = <&usbphy1>;
+                               fsl,usbmisc = <&usbmisc 0>;
                                status = "disabled";
                        };
 
                                interrupts = <0 40 0x04>;
                                clocks = <&clks 162>;
                                fsl,usbphy = <&usbphy2>;
+                               fsl,usbmisc = <&usbmisc 1>;
                                status = "disabled";
                        };
 
                                reg = <0x02184400 0x200>;
                                interrupts = <0 41 0x04>;
                                clocks = <&clks 162>;
+                               fsl,usbmisc = <&usbmisc 2>;
                                status = "disabled";
                        };
 
                                reg = <0x02184600 0x200>;
                                interrupts = <0 42 0x04>;
                                clocks = <&clks 162>;
+                               fsl,usbmisc = <&usbmisc 3>;
                                status = "disabled";
                        };
 
+                       usbmisc: usbmisc@02184800 {
+                               #index-cells = <1>;
+                               compatible = "fsl,imx6q-usbmisc";
+                               reg = <0x02184800 0x200>;
+                               clocks = <&clks 162>;
+                       };
+
                        ethernet@02188000 {
                                compatible = "fsl,imx6q-fec";
                                reg = <0x02188000 0x4000>;