ARM: dts: imx35.dtsi: change the clock information for usb
authorPeter Chen <peter.chen@freescale.com>
Fri, 19 Feb 2016 09:35:04 +0000 (17:35 +0800)
committerShawn Guo <shawnguo@kernel.org>
Mon, 29 Feb 2016 08:17:44 +0000 (16:17 +0800)
For imx35, it needs three clocks to let the controller work,
the old code is wrong, and the usbmisc does not include
clock handling code any more.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx35.dtsi

index ed3dc3391d1c54e41803b32b059d06f82771aae9..14e1320d9f843a0b1baa83882694915568361301 100644 (file)
                                compatible = "fsl,imx35-usb", "fsl,imx27-usb";
                                reg = <0x53ff4000 0x0200>;
                                interrupts = <37>;
-                               clocks = <&clks 73>;
+                               clocks = <&clks 9>, <&clks 73>, <&clks 28>;
+                               clock-names = "ipg", "ahb", "per";
                                fsl,usbmisc = <&usbmisc 0>;
                                fsl,usbphy = <&usbphy0>;
                                status = "disabled";
                                compatible = "fsl,imx35-usb", "fsl,imx27-usb";
                                reg = <0x53ff4400 0x0200>;
                                interrupts = <35>;
-                               clocks = <&clks 73>;
+                               clocks = <&clks 9>, <&clks 73>, <&clks 28>;
+                               clock-names = "ipg", "ahb", "per";
                                fsl,usbmisc = <&usbmisc 1>;
                                fsl,usbphy = <&usbphy1>;
                                dr_mode = "host";
                        usbmisc: usbmisc@53ff4600 {
                                #index-cells = <1>;
                                compatible = "fsl,imx35-usbmisc";
-                               clocks = <&clks 9>, <&clks 73>, <&clks 28>;
-                               clock-names = "ipg", "ahb", "per";
                                reg = <0x53ff4600 0x00f>;
                        };
                };