ARM: dts: i.MX27: Add USB nodes
authorAlexander Shiyan <shc_work@mail.ru>
Sat, 22 Feb 2014 09:32:33 +0000 (13:32 +0400)
committerShawn Guo <shawn.guo@linaro.org>
Mon, 24 Feb 2014 03:04:50 +0000 (11:04 +0800)
This patch adds the missing (Universal serial bus) USB devicetree
nodes for i.MX27 CPUs.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/boot/dts/imx27.dtsi

index 2763cae4b957163c6c76069c1940d731a88fd8dd..6279e0b4f7683106439c062209e3c9101f0ea7ad 100644 (file)
                };
        };
 
+       usbphy {
+               compatible = "simple-bus";
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               usbphy0: usbphy@0 {
+                       compatible = "usb-nop-xceiv";
+                       reg = <0>;
+                       clocks = <&clks 75>;
+                       clock-names = "main_clk";
+               };
+
+               usbphy2: usbphy@2 {
+                       compatible = "usb-nop-xceiv";
+                       reg = <2>;
+                       clocks = <&clks 75>;
+                       clock-names = "main_clk";
+               };
+       };
+
        soc {
                #address-cells = <1>;
                #size-cells = <1>;
                                iram = <&iram>;
                        };
 
+                       usbotg: usb@10024000 {
+                               compatible = "fsl,imx27-usb";
+                               reg = <0x10024000 0x200>;
+                               interrupts = <56>;
+                               clocks = <&clks 15>;
+                               fsl,usbmisc = <&usbmisc 0>;
+                               fsl,usbphy = <&usbphy0>;
+                               status = "disabled";
+                       };
+
+                       usbh1: usb@10024200 {
+                               compatible = "fsl,imx27-usb";
+                               reg = <0x10024200 0x200>;
+                               interrupts = <54>;
+                               clocks = <&clks 15>;
+                               fsl,usbmisc = <&usbmisc 1>;
+                               status = "disabled";
+                       };
+
+                       usbh2: usb@10024400 {
+                               compatible = "fsl,imx27-usb";
+                               reg = <0x10024400 0x200>;
+                               interrupts = <55>;
+                               clocks = <&clks 15>;
+                               fsl,usbmisc = <&usbmisc 2>;
+                               fsl,usbphy = <&usbphy2>;
+                               status = "disabled";
+                       };
+
+                       usbmisc: usbmisc@10024600 {
+                               #index-cells = <1>;
+                               compatible = "fsl,imx27-usbmisc";
+                               reg = <0x10024600 0x200>;
+                               clocks = <&clks 62>;
+                       };
+
                        sahara2: sahara@10025000 {
                                compatible = "fsl,imx27-sahara";
                                reg = <0x10025000 0x1000>;