ARM: dts: lpc18xx: add creg-clk node
authorJoachim Eastwood <manabian@gmail.com>
Mon, 27 Apr 2015 22:41:09 +0000 (00:41 +0200)
committerJoachim Eastwood <manabian@gmail.com>
Tue, 29 Mar 2016 14:52:34 +0000 (16:52 +0200)
Add node for the creg clock controller and change the input
clock on cgu to use it.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
arch/arm/boot/dts/lpc18xx.dtsi

index 053a1f54f4bba4d397b8d75ed0268e0661449f64..0b59eae1608dc4f9c04c3c58263cd2cb5e739d9f 100644 (file)
                        clocks = <&ccu1 CLK_CPU_CREG>;
                        resets = <&rgu 5>;
 
+                       creg_clk: clock-controller {
+                               compatible = "nxp,lpc1850-creg-clk";
+                               clocks = <&xtal32>;
+                               #clock-cells = <1>;
+                       };
+
                        usb0_otg_phy: phy@004 {
                                compatible = "nxp,lpc1850-usb-otg-phy";
                                clocks = <&ccu1 CLK_USB0>;
                        compatible = "nxp,lpc1850-cgu";
                        reg = <0x40050000 0x1000>;
                        #clock-cells = <1>;
-                       clocks = <&xtal>, <&xtal32>, <&enet_rx_clk>, <&enet_tx_clk>, <&gp_clkin>;
+                       clocks = <&xtal>, <&creg_clk 1>, <&enet_rx_clk>, <&enet_tx_clk>, <&gp_clkin>;
                };
 
                ccu1: clock-controller@40051000 {