arm64: dts: X-Gene: Do not reset or enable/disable clock for AHB block
[deliverable/linux.git] / arch / arm64 / boot / dts / apm / apm-shadowcat.dtsi
CommitLineData
e144dc5b
FK
1/*
2 * dts file for AppliedMicro (APM) X-Gene Shadowcat SOC
3 *
4 * Copyright (C) 2015, Applied Micro Circuits Corporation
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation; either version 2 of
9 * the License, or (at your option) any later version.
10 */
11
12/ {
13 compatible = "apm,xgene-shadowcat";
14 interrupt-parent = <&gic>;
15 #address-cells = <2>;
16 #size-cells = <2>;
17
18 cpus {
19 #address-cells = <2>;
20 #size-cells = <0>;
21
22 cpu@000 {
23 device_type = "cpu";
24 compatible = "apm,strega", "arm,armv8";
25 reg = <0x0 0x000>;
26 enable-method = "spin-table";
27 cpu-release-addr = <0x1 0x0000fff8>;
28 };
29 cpu@001 {
30 device_type = "cpu";
31 compatible = "apm,strega", "arm,armv8";
32 reg = <0x0 0x001>;
33 enable-method = "spin-table";
34 cpu-release-addr = <0x1 0x0000fff8>;
35 };
36 cpu@100 {
37 device_type = "cpu";
38 compatible = "apm,strega", "arm,armv8";
39 reg = <0x0 0x100>;
40 enable-method = "spin-table";
41 cpu-release-addr = <0x1 0x0000fff8>;
42 };
43 cpu@101 {
44 device_type = "cpu";
45 compatible = "apm,strega", "arm,armv8";
46 reg = <0x0 0x101>;
47 enable-method = "spin-table";
48 cpu-release-addr = <0x1 0x0000fff8>;
49 };
50 cpu@200 {
51 device_type = "cpu";
52 compatible = "apm,strega", "arm,armv8";
53 reg = <0x0 0x200>;
54 enable-method = "spin-table";
55 cpu-release-addr = <0x1 0x0000fff8>;
56 };
57 cpu@201 {
58 device_type = "cpu";
59 compatible = "apm,strega", "arm,armv8";
60 reg = <0x0 0x201>;
61 enable-method = "spin-table";
62 cpu-release-addr = <0x1 0x0000fff8>;
63 };
64 cpu@300 {
65 device_type = "cpu";
66 compatible = "apm,strega", "arm,armv8";
67 reg = <0x0 0x300>;
68 enable-method = "spin-table";
69 cpu-release-addr = <0x1 0x0000fff8>;
70 };
71 cpu@301 {
72 device_type = "cpu";
73 compatible = "apm,strega", "arm,armv8";
74 reg = <0x0 0x301>;
75 enable-method = "spin-table";
76 cpu-release-addr = <0x1 0x0000fff8>;
77 };
78 };
79
80 gic: interrupt-controller@78090000 {
81 compatible = "arm,cortex-a15-gic";
82 #interrupt-cells = <3>;
83 #address-cells = <2>;
84 #size-cells = <2>;
85 interrupt-controller;
86 interrupts = <1 9 0xf04>; /* GIC Maintenence IRQ */
87 ranges = <0 0 0 0x79000000 0x0 0x800000>; /* MSI Range */
88 reg = <0x0 0x78090000 0x0 0x10000>, /* GIC Dist */
89 <0x0 0x780A0000 0x0 0x20000>, /* GIC CPU */
90 <0x0 0x780C0000 0x0 0x10000>, /* GIC VCPU Control */
91 <0x0 0x780E0000 0x0 0x20000>; /* GIC VCPU */
92 };
93
94 pmu {
95 compatible = "arm,armv8-pmuv3";
96 interrupts = <1 12 0xff04>;
97 };
98
99 timer {
100 compatible = "arm,armv8-timer";
101 interrupts = <1 0 0xff04>, /* Secure Phys IRQ */
102 <1 13 0xff04>, /* Non-secure Phys IRQ */
103 <1 14 0xff04>, /* Virt IRQ */
104 <1 15 0xff04>; /* Hyp IRQ */
105 clock-frequency = <50000000>;
106 };
107
108 soc {
109 compatible = "simple-bus";
110 #address-cells = <2>;
111 #size-cells = <2>;
112 ranges;
113
114 clocks {
115 #address-cells = <2>;
116 #size-cells = <2>;
117 ranges;
118
119 refclk: refclk {
120 compatible = "fixed-clock";
121 #clock-cells = <1>;
122 clock-frequency = <100000000>;
123 clock-output-names = "refclk";
124 };
125
126 socpll: socpll@17000120 {
127 compatible = "apm,xgene-socpll-clock";
128 #clock-cells = <1>;
129 clocks = <&refclk 0>;
130 reg = <0x0 0x17000120 0x0 0x1000>;
131 clock-output-names = "socpll";
132 };
133
134 socplldiv2: socplldiv2 {
135 compatible = "fixed-factor-clock";
136 #clock-cells = <1>;
137 clocks = <&socpll 0>;
138 clock-mult = <1>;
139 clock-div = <2>;
140 clock-output-names = "socplldiv2";
141 };
142
b0e7a85a 143 ahbclk: ahbclk@17000000 {
0ae8c000
DD
144 compatible = "apm,xgene-device-clock";
145 #clock-cells = <1>;
146 clocks = <&socplldiv2 0>;
b0e7a85a
DD
147 reg = <0x0 0x17000000 0x0 0x2000>;
148 reg-names = "div-reg";
0ae8c000
DD
149 divider-offset = <0x164>;
150 divider-width = <0x5>;
151 divider-shift = <0x0>;
152 clock-output-names = "ahbclk";
153 };
154
155 sdioclk: sdioclk@1f2ac000 {
156 compatible = "apm,xgene-device-clock";
157 #clock-cells = <1>;
158 clocks = <&socplldiv2 0>;
159 reg = <0x0 0x1f2ac000 0x0 0x1000
160 0x0 0x17000000 0x0 0x2000>;
161 reg-names = "csr-reg", "div-reg";
162 csr-offset = <0x0>;
163 csr-mask = <0x2>;
164 enable-offset = <0x8>;
165 enable-mask = <0x2>;
166 divider-offset = <0x178>;
167 divider-width = <0x8>;
168 divider-shift = <0x0>;
169 clock-output-names = "sdioclk";
170 };
171
e144dc5b
FK
172 pcie0clk: pcie0clk@1f2bc000 {
173 compatible = "apm,xgene-device-clock";
174 #clock-cells = <1>;
175 clocks = <&socplldiv2 0>;
176 reg = <0x0 0x1f2bc000 0x0 0x1000>;
177 reg-names = "csr-reg";
178 clock-output-names = "pcie0clk";
179 };
180
181 xge0clk: xge0clk@1f61c000 {
182 compatible = "apm,xgene-device-clock";
183 #clock-cells = <1>;
184 clocks = <&socplldiv2 0>;
185 reg = <0x0 0x1f61c000 0x0 0x1000>;
186 reg-names = "csr-reg";
187 enable-mask = <0x3>;
188 csr-mask = <0x3>;
189 clock-output-names = "xge0clk";
190 };
191
192 xge1clk: xge1clk@1f62c000 {
193 compatible = "apm,xgene-device-clock";
194 #clock-cells = <1>;
195 clocks = <&socplldiv2 0>;
196 reg = <0x0 0x1f62c000 0x0 0x1000>;
197 reg-names = "csr-reg";
198 enable-mask = <0x3>;
199 csr-mask = <0x3>;
200 clock-output-names = "xge1clk";
201 };
202 };
203
991c1292
DD
204 scu: system-clk-controller@17000000 {
205 compatible = "apm,xgene-scu","syscon";
206 reg = <0x0 0x17000000 0x0 0x400>;
207 };
208
209 reboot: reboot@17000014 {
210 compatible = "syscon-reboot";
211 regmap = <&scu>;
212 offset = <0x14>;
213 mask = <0x1>;
214 };
215
e144dc5b
FK
216 serial0: serial@10600000 {
217 device_type = "serial";
218 compatible = "ns16550";
219 reg = <0 0x10600000 0x0 0x1000>;
220 reg-shift = <2>;
221 clock-frequency = <10000000>;
222 interrupt-parent = <&gic>;
223 interrupts = <0x0 0x4c 0x4>;
224 };
225
226 sata1: sata@1a000000 {
227 compatible = "apm,xgene-ahci";
228 reg = <0x0 0x1a000000 0x0 0x1000>,
229 <0x0 0x1f200000 0x0 0x1000>,
230 <0x0 0x1f20d000 0x0 0x1000>,
231 <0x0 0x1f20e000 0x0 0x1000>;
232 interrupts = <0x0 0x5a 0x4>;
233 dma-coherent;
234 };
235
236 sata2: sata@1a200000 {
237 compatible = "apm,xgene-ahci";
238 reg = <0x0 0x1a200000 0x0 0x1000>,
239 <0x0 0x1f210000 0x0 0x1000>,
240 <0x0 0x1f21d000 0x0 0x1000>,
241 <0x0 0x1f21e000 0x0 0x1000>;
242 interrupts = <0x0 0x5b 0x4>;
243 dma-coherent;
244 };
245
246 sata3: sata@1a400000 {
247 compatible = "apm,xgene-ahci";
248 reg = <0x0 0x1a400000 0x0 0x1000>,
249 <0x0 0x1f220000 0x0 0x1000>,
250 <0x0 0x1f22d000 0x0 0x1000>,
251 <0x0 0x1f22e000 0x0 0x1000>;
252 interrupts = <0x0 0x5c 0x4>;
253 dma-coherent;
254 };
255
0ae8c000
DD
256 mmc0: mmc@1c000000 {
257 compatible = "arasan,sdhci-4.9a";
258 reg = <0x0 0x1c000000 0x0 0x100>;
259 interrupts = <0x0 0x49 0x4>;
260 dma-coherent;
261 no-1-8-v;
262 clock-names = "clk_xin", "clk_ahb";
263 clocks = <&sdioclk 0>, <&ahbclk 0>;
264 };
265
5fc86b51
DD
266 sbgpio: sbgpio@17001000{
267 compatible = "apm,xgene-gpio-sb";
268 reg = <0x0 0x17001000 0x0 0x400>;
269 #gpio-cells = <2>;
270 gpio-controller;
271 interrupts = <0x0 0x28 0x1>,
272 <0x0 0x29 0x1>,
273 <0x0 0x2a 0x1>,
274 <0x0 0x2b 0x1>,
275 <0x0 0x2c 0x1>,
276 <0x0 0x2d 0x1>,
277 <0x0 0x2e 0x1>,
278 <0x0 0x2f 0x1>;
279 };
280
e144dc5b
FK
281 sgenet0: ethernet@1f610000 {
282 compatible = "apm,xgene2-sgenet";
283 status = "disabled";
284 reg = <0x0 0x1f610000 0x0 0x10000>,
285 <0x0 0x1f600000 0x0 0Xd100>,
286 <0x0 0x20000000 0x0 0X20000>;
287 interrupts = <0 96 4>,
288 <0 97 4>;
289 dma-coherent;
290 clocks = <&xge0clk 0>;
291 local-mac-address = [00 01 73 00 00 01];
292 phy-connection-type = "sgmii";
293 };
294
295 xgenet1: ethernet@1f620000 {
296 compatible = "apm,xgene2-xgenet";
297 status = "disabled";
298 reg = <0x0 0x1f620000 0x0 0x10000>,
299 <0x0 0x1f600000 0x0 0Xd100>,
300 <0x0 0x20000000 0x0 0X220000>;
301 interrupts = <0 108 4>,
302 <0 109 4>;
303 port-id = <1>;
304 dma-coherent;
305 clocks = <&xge1clk 0>;
306 local-mac-address = [00 01 73 00 00 02];
307 phy-connection-type = "xgmii";
308 };
309 };
310};
This page took 0.066327 seconds and 5 git commands to generate.