ARM: dts: rockchip: add both clocks to uart nodes
From: Heiko Stuebner <heiko@...> Date: Thu, 26 Jun 2014 16:06:12 +0200
Commit-Message
Use the newly ammended dw_8250 clock binding to define both the baudclk as well as the pclk supplying the ip. Signed-off-by: Heiko Stuebner <heiko@...>
Patch-Comment
arch/arm/boot/dts/rk3xxx.dtsi | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-)
Statistics
- 8 lines added
- 4 lines removed
Changes
------------------------ arch/arm/boot/dts/rk3xxx.dtsi -------------------------
index d3fa4d1..989c337 100644
@@ -75,7 +75,8 @@
interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
reg-shift = <2>;
reg-io-width = <1>;
+ clock-names = "baudclk", "apb_pclk";
+ clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>;
status = "disabled";
};
@@ -85,7 +86,8 @@
interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
reg-shift = <2>;
reg-io-width = <1>;
+ clock-names = "baudclk", "apb_pclk";
+ clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>;
status = "disabled";
};
@@ -207,7 +209,8 @@
interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
reg-shift = <2>;
reg-io-width = <1>;
+ clock-names = "baudclk", "apb_pclk";
+ clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>;
status = "disabled";
};
@@ -217,7 +220,8 @@
interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
reg-shift = <2>;
reg-io-width = <1>;
+ clock-names = "baudclk", "apb_pclk";
+ clocks = <&cru SCLK_UART3>, <&cru PCLK_UART3>;
status = "disabled";
};
};