diff options
author | Loc Ho <lho@apm.com> | 2013-06-26 13:56:10 -0400 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2013-10-07 14:22:15 -0400 |
commit | 3eb15d84e355f4ea1acf0eaba11ca173de342107 (patch) | |
tree | ed61b6c2b6283b962d0ea5e63fc99a4cc5b6af72 /arch/arm64/boot | |
parent | 308964caeebc45eb7723c87818076f61fa1a2e1b (diff) |
clk: arm64: Add DTS clock entry for APM X-Gene Storm SoC
clk: arm64: Add DTS clock entry for APM X-Gene Storm SoC with reference to
reference, PCP PLL, SoC PLL, and Ethernet clocks.
Signed-off-by: Loc Ho <lho@apm.com>
Signed-off-by: Kumar Sankaran <ksankaran@apm.com>
Signed-off-by: Vinayak Kale <vkale@apm.com>
Signed-off-by: Feng Kan <fkan@apm.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'arch/arm64/boot')
-rw-r--r-- | arch/arm64/boot/dts/apm-storm.dtsi | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/apm-storm.dtsi b/arch/arm64/boot/dts/apm-storm.dtsi index bfdc57834929..d37d7369e260 100644 --- a/arch/arm64/boot/dts/apm-storm.dtsi +++ b/arch/arm64/boot/dts/apm-storm.dtsi | |||
@@ -103,6 +103,81 @@ | |||
103 | #size-cells = <2>; | 103 | #size-cells = <2>; |
104 | ranges; | 104 | ranges; |
105 | 105 | ||
106 | clocks { | ||
107 | #address-cells = <2>; | ||
108 | #size-cells = <2>; | ||
109 | ranges; | ||
110 | refclk: refclk { | ||
111 | compatible = "fixed-clock"; | ||
112 | #clock-cells = <1>; | ||
113 | clock-frequency = <100000000>; | ||
114 | clock-output-names = "refclk"; | ||
115 | }; | ||
116 | |||
117 | pcppll: pcppll@17000100 { | ||
118 | compatible = "apm,xgene-pcppll-clock"; | ||
119 | #clock-cells = <1>; | ||
120 | clocks = <&refclk 0>; | ||
121 | clock-names = "pcppll"; | ||
122 | reg = <0x0 0x17000100 0x0 0x1000>; | ||
123 | clock-output-names = "pcppll"; | ||
124 | type = <0>; | ||
125 | }; | ||
126 | |||
127 | socpll: socpll@17000120 { | ||
128 | compatible = "apm,xgene-socpll-clock"; | ||
129 | #clock-cells = <1>; | ||
130 | clocks = <&refclk 0>; | ||
131 | clock-names = "socpll"; | ||
132 | reg = <0x0 0x17000120 0x0 0x1000>; | ||
133 | clock-output-names = "socpll"; | ||
134 | type = <1>; | ||
135 | }; | ||
136 | |||
137 | socplldiv2: socplldiv2 { | ||
138 | compatible = "fixed-factor-clock"; | ||
139 | #clock-cells = <1>; | ||
140 | clocks = <&socpll 0>; | ||
141 | clock-names = "socplldiv2"; | ||
142 | clock-mult = <1>; | ||
143 | clock-div = <2>; | ||
144 | clock-output-names = "socplldiv2"; | ||
145 | }; | ||
146 | |||
147 | qmlclk: qmlclk { | ||
148 | compatible = "apm,xgene-device-clock"; | ||
149 | #clock-cells = <1>; | ||
150 | clocks = <&socplldiv2 0>; | ||
151 | clock-names = "qmlclk"; | ||
152 | reg = <0x0 0x1703C000 0x0 0x1000>; | ||
153 | reg-names = "csr-reg"; | ||
154 | clock-output-names = "qmlclk"; | ||
155 | }; | ||
156 | |||
157 | ethclk: ethclk { | ||
158 | compatible = "apm,xgene-device-clock"; | ||
159 | #clock-cells = <1>; | ||
160 | clocks = <&socplldiv2 0>; | ||
161 | clock-names = "ethclk"; | ||
162 | reg = <0x0 0x17000000 0x0 0x1000>; | ||
163 | reg-names = "div-reg"; | ||
164 | divider-offset = <0x238>; | ||
165 | divider-width = <0x9>; | ||
166 | divider-shift = <0x0>; | ||
167 | clock-output-names = "ethclk"; | ||
168 | }; | ||
169 | |||
170 | eth8clk: eth8clk { | ||
171 | compatible = "apm,xgene-device-clock"; | ||
172 | #clock-cells = <1>; | ||
173 | clocks = <ðclk 0>; | ||
174 | clock-names = "eth8clk"; | ||
175 | reg = <0x0 0x1702C000 0x0 0x1000>; | ||
176 | reg-names = "csr-reg"; | ||
177 | clock-output-names = "eth8clk"; | ||
178 | }; | ||
179 | }; | ||
180 | |||
106 | serial0: serial@1c020000 { | 181 | serial0: serial@1c020000 { |
107 | device_type = "serial"; | 182 | device_type = "serial"; |
108 | compatible = "ns16550"; | 183 | compatible = "ns16550"; |