aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/wm8505.dtsi
diff options
context:
space:
mode:
authorTony Prisk <linux@prisktech.co.nz>2013-05-10 17:44:58 +1200
committerTony Prisk <linux@prisktech.co.nz>2013-05-12 20:31:15 +1200
commit9e7b6d3eda8551912b0cf9507ca5f489a476d522 (patch)
tree668e16d24fbdde20ce575218bd2a175f7bf4e182 /arch/arm/boot/dts/wm8505.dtsi
parentdts: vt8500: Populate missing PLL nodes (diff)
downloadlinux-dev-9e7b6d3eda8551912b0cf9507ca5f489a476d522.tar.xz
linux-dev-9e7b6d3eda8551912b0cf9507ca5f489a476d522.zip
dts: vt8500: Add ARM, AHB, APB and DDR clock nodes to SoC files
Add support for the ARM, AHB, APB and DDR clocks found on the WM8505, WM8650, WM8750 and WM8850 SoCs. These clocks are gateable, but the enable part of the clock definition is left out as there are no users for these clocks, and we don't want them being disabled at boot, but it does provide users the ability to check the current rate of these clocks. Signed-off-by: Tony Prisk <linux@prisktech.co.nz>
Diffstat (limited to 'arch/arm/boot/dts/wm8505.dtsi')
-rw-r--r--arch/arm/boot/dts/wm8505.dtsi28
1 files changed, 28 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/wm8505.dtsi b/arch/arm/boot/dts/wm8505.dtsi
index 702d866b6f57..a1a854b8a454 100644
--- a/arch/arm/boot/dts/wm8505.dtsi
+++ b/arch/arm/boot/dts/wm8505.dtsi
@@ -109,6 +109,34 @@
reg = <0x20c>;
};
+ clkarm: arm {
+ #clock-cells = <0>;
+ compatible = "via,vt8500-device-clock";
+ clocks = <&plla>;
+ divisor-reg = <0x300>;
+ };
+
+ clkahb: ahb {
+ #clock-cells = <0>;
+ compatible = "via,vt8500-device-clock";
+ clocks = <&pllb>;
+ divisor-reg = <0x304>;
+ };
+
+ clkapb: apb {
+ #clock-cells = <0>;
+ compatible = "via,vt8500-device-clock";
+ clocks = <&pllb>;
+ divisor-reg = <0x350>;
+ };
+
+ clkddr: ddr {
+ #clock-cells = <0>;
+ compatible = "via,vt8500-device-clock";
+ clocks = <&plld>;
+ divisor-reg = <0x310>;
+ };
+
clkuart0: uart0 {
#clock-cells = <0>;
compatible = "via,vt8500-device-clock";