aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2013-05-23 05:09:57 -0400
committerLinus Walleij <linus.walleij@linaro.org>2013-06-17 07:54:36 -0400
commit14c2607144c11653b27a423ead0703ffaa65d0b1 (patch)
tree7b1f7d80d388374400037b7eda93e0c37de88267 /arch
parent4cc4f6d1815133ad81de49e65da567f9a2c47cc3 (diff)
clk: move the U300 fixed and fixed-factor to DT
This converts the fixed and fixed-factor clocks in the U300 platform to register themselves from the device tree. Acked-by: Mike Turquette <mturquette@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/ste-u300.dts44
1 files changed, 44 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/ste-u300.dts b/arch/arm/boot/dts/ste-u300.dts
index 644befd5ea8f..203ec1fcbc10 100644
--- a/arch/arm/boot/dts/ste-u300.dts
+++ b/arch/arm/boot/dts/ste-u300.dts
@@ -33,6 +33,49 @@
33 syscon: syscon@c0011000 { 33 syscon: syscon@c0011000 {
34 compatible = "stericsson,u300-syscon"; 34 compatible = "stericsson,u300-syscon";
35 reg = <0xc0011000 0x1000>; 35 reg = <0xc0011000 0x1000>;
36 clk32: app_32_clk@32k {
37 #clock-cells = <0>;
38 compatible = "fixed-clock";
39 clock-frequency = <32768>;
40 };
41 pll13: pll13@13M {
42 #clock-cells = <0>;
43 compatible = "fixed-clock";
44 clock-frequency = <13000000>;
45 };
46 pll208: pll208@208M {
47 #clock-cells = <0>;
48 compatible = "fixed-clock";
49 clock-frequency = <208000000>;
50 };
51 app208: app_208_clk@208M {
52 #clock-cells = <0>;
53 compatible = "fixed-factor-clock";
54 clock-div = <1>;
55 clock-mult = <1>;
56 clocks = <&pll208>;
57 };
58 app104: app_104_clk@104M {
59 #clock-cells = <0>;
60 compatible = "fixed-factor-clock";
61 clock-div = <2>;
62 clock-mult = <1>;
63 clocks = <&pll208>;
64 };
65 app52: app_52_clk@52M {
66 #clock-cells = <0>;
67 compatible = "fixed-factor-clock";
68 clock-div = <4>;
69 clock-mult = <1>;
70 clocks = <&pll208>;
71 };
72 app26: app_26_clk@26M {
73 #clock-cells = <0>;
74 compatible = "fixed-factor-clock";
75 clock-div = <2>;
76 clock-mult = <1>;
77 clocks = <&app52>;
78 };
36 }; 79 };
37 80
38 timer: timer@c0014000 { 81 timer: timer@c0014000 {
@@ -65,6 +108,7 @@
65 reg = <0xc0012000 0x1000>; 108 reg = <0xc0012000 0x1000>;
66 interrupt-parent = <&vicb>; 109 interrupt-parent = <&vicb>;
67 interrupts = <3>; 110 interrupts = <3>;
111 clocks = <&clk32>;
68 }; 112 };
69 113
70 rtc: rtc@c0017000 { 114 rtc: rtc@c0017000 {