Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

arm: dts: lpc32xx: add USB clock controller

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>

+9
+9
arch/arm/boot/dts/lpc32xx.dtsi
··· 92 92 compatible = "nxp,ohci-nxp", "usb-ohci"; 93 93 reg = <0x0 0x300>; 94 94 interrupts = <0x3b 0>; 95 + clocks = <&usbclk LPC32XX_USB_CLK_HOST>; 95 96 status = "disabled"; 96 97 }; 97 98 ··· 100 99 compatible = "nxp,lpc3220-udc"; 101 100 reg = <0x0 0x300>; 102 101 interrupts = <0x3d 0>, <0x3e 0>, <0x3c 0>, <0x3a 0>; 102 + clocks = <&usbclk LPC32XX_USB_CLK_DEVICE>; 103 103 status = "disabled"; 104 104 }; 105 105 ··· 108 106 compatible = "nxp,pnx-i2c"; 109 107 reg = <0x300 0x100>; 110 108 interrupts = <0x3f 0>; 109 + clocks = <&usbclk LPC32XX_USB_CLK_I2C>; 111 110 #address-cells = <1>; 112 111 #size-cells = <0>; 113 112 pnx,timeout = <0x64>; 113 + }; 114 + 115 + usbclk: clock-controller@f00 { 116 + compatible = "nxp,lpc3220-usb-clk"; 117 + reg = <0xf00 0x100>; 118 + #clock-cells = <1>; 114 119 }; 115 120 }; 116 121