summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorJoachim Eastwood <manabian@gmail.com>2015-04-28 00:41:09 +0200
committerJoachim Eastwood <manabian@gmail.com>2016-03-29 16:52:34 +0200
commit52d7c42664e6348fbe5fc062590bb8f152b65d94 (patch)
tree0daaba4eb6f00157a5c51dc871ed6482b5c24dd6 /arch/arm
parentf55532a0c0b8bb6148f4e07853b876ef73bc69ca (diff)
downloadblackbird-obmc-linux-52d7c42664e6348fbe5fc062590bb8f152b65d94.tar.gz
blackbird-obmc-linux-52d7c42664e6348fbe5fc062590bb8f152b65d94.zip
ARM: dts: lpc18xx: add creg-clk node
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>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/lpc18xx.dtsi8
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/lpc18xx.dtsi b/arch/arm/boot/dts/lpc18xx.dtsi
index 053a1f54f4bb..0b59eae1608d 100644
--- a/arch/arm/boot/dts/lpc18xx.dtsi
+++ b/arch/arm/boot/dts/lpc18xx.dtsi
@@ -195,6 +195,12 @@
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>;
@@ -213,7 +219,7 @@
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 {
OpenPOWER on IntegriCloud