arm: dts: lpc32xx: add USB clock controller
authorVladimir Zapolskiy <vz@mleia.com>
Fri, 20 Nov 2015 01:05:07 +0000 (03:05 +0200)
committerVladimir Zapolskiy <vz@mleia.com>
Thu, 11 Feb 2016 01:06:16 +0000 (03:06 +0200)
The change adds device node of LPC32xx USB clock controller and adds
clock properties to USB OHCI, USB device and I2C controller to USB phy
device nodes.

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
arch/arm/boot/dts/lpc32xx.dtsi

index 792468e..db02eb0 100644 (file)
@@ -92,6 +92,7 @@
                                compatible = "nxp,ohci-nxp", "usb-ohci";
                                reg = <0x0 0x300>;
                                interrupts = <0x3b 0>;
+                               clocks = <&usbclk LPC32XX_USB_CLK_HOST>;
                                status = "disabled";
                        };
 
                                compatible = "nxp,lpc3220-udc";
                                reg = <0x0 0x300>;
                                interrupts = <0x3d 0>, <0x3e 0>, <0x3c 0>, <0x3a 0>;
+                               clocks = <&usbclk LPC32XX_USB_CLK_DEVICE>;
                                status = "disabled";
                        };
 
                                compatible = "nxp,pnx-i2c";
                                reg = <0x300 0x100>;
                                interrupts = <0x3f 0>;
+                               clocks = <&usbclk LPC32XX_USB_CLK_I2C>;
                                #address-cells = <1>;
                                #size-cells = <0>;
                                pnx,timeout = <0x64>;
                        };
+
+                       usbclk: clock-controller@f00 {
+                               compatible = "nxp,lpc3220-usb-clk";
+                               reg = <0xf00 0x100>;
+                               #clock-cells = <1>;
+                       };
                };
 
                clcd: clcd@31040000 {