2 * dts file for AppliedMicro (APM) X-Gene Storm SOC
4 * Copyright (C) 2013, Applied Micro Circuits Corporation
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.
13 compatible = "apm,xgene-storm";
14 interrupt-parent = <&gic>;
24 compatible = "apm,potenza", "arm,armv8";
26 enable-method = "spin-table";
27 cpu-release-addr = <0x1 0x0000fff8>;
31 compatible = "apm,potenza", "arm,armv8";
33 enable-method = "spin-table";
34 cpu-release-addr = <0x1 0x0000fff8>;
38 compatible = "apm,potenza", "arm,armv8";
40 enable-method = "spin-table";
41 cpu-release-addr = <0x1 0x0000fff8>;
45 compatible = "apm,potenza", "arm,armv8";
47 enable-method = "spin-table";
48 cpu-release-addr = <0x1 0x0000fff8>;
52 compatible = "apm,potenza", "arm,armv8";
54 enable-method = "spin-table";
55 cpu-release-addr = <0x1 0x0000fff8>;
59 compatible = "apm,potenza", "arm,armv8";
61 enable-method = "spin-table";
62 cpu-release-addr = <0x1 0x0000fff8>;
66 compatible = "apm,potenza", "arm,armv8";
68 enable-method = "spin-table";
69 cpu-release-addr = <0x1 0x0000fff8>;
73 compatible = "apm,potenza", "arm,armv8";
75 enable-method = "spin-table";
76 cpu-release-addr = <0x1 0x0000fff8>;
80 gic: interrupt-controller@78010000 {
81 compatible = "arm,cortex-a15-gic";
82 #interrupt-cells = <3>;
84 reg = <0x0 0x78010000 0x0 0x1000>, /* GIC Dist */
85 <0x0 0x78020000 0x0 0x1000>, /* GIC CPU */
86 <0x0 0x78040000 0x0 0x2000>, /* GIC VCPU Control */
87 <0x0 0x78060000 0x0 0x2000>; /* GIC VCPU */
88 interrupts = <1 9 0xf04>; /* GIC Maintenence IRQ */
92 compatible = "arm,armv8-timer";
93 interrupts = <1 0 0xff01>, /* Secure Phys IRQ */
94 <1 13 0xff01>, /* Non-secure Phys IRQ */
95 <1 14 0xff01>, /* Virt IRQ */
96 <1 15 0xff01>; /* Hyp IRQ */
97 clock-frequency = <50000000>;
101 compatible = "simple-bus";
102 #address-cells = <2>;
107 #address-cells = <2>;
111 compatible = "fixed-clock";
113 clock-frequency = <100000000>;
114 clock-output-names = "refclk";
117 pcppll: pcppll@17000100 {
118 compatible = "apm,xgene-pcppll-clock";
120 clocks = <&refclk 0>;
121 clock-names = "pcppll";
122 reg = <0x0 0x17000100 0x0 0x1000>;
123 clock-output-names = "pcppll";
127 socpll: socpll@17000120 {
128 compatible = "apm,xgene-socpll-clock";
130 clocks = <&refclk 0>;
131 clock-names = "socpll";
132 reg = <0x0 0x17000120 0x0 0x1000>;
133 clock-output-names = "socpll";
137 socplldiv2: socplldiv2 {
138 compatible = "fixed-factor-clock";
140 clocks = <&socpll 0>;
141 clock-names = "socplldiv2";
144 clock-output-names = "socplldiv2";
148 compatible = "apm,xgene-device-clock";
150 clocks = <&socplldiv2 0>;
151 clock-names = "qmlclk";
152 reg = <0x0 0x1703C000 0x0 0x1000>;
153 reg-names = "csr-reg";
154 clock-output-names = "qmlclk";
158 compatible = "apm,xgene-device-clock";
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";
171 compatible = "apm,xgene-device-clock";
173 clocks = <ðclk 0>;
174 clock-names = "eth8clk";
175 reg = <0x0 0x1702C000 0x0 0x1000>;
176 reg-names = "csr-reg";
177 clock-output-names = "eth8clk";
180 sataphy1clk: sataphy1clk@1f21c000 {
181 compatible = "apm,xgene-device-clock";
183 clocks = <&socplldiv2 0>;
184 reg = <0x0 0x1f21c000 0x0 0x1000>;
185 reg-names = "csr-reg";
186 clock-output-names = "sataphy1clk";
190 enable-offset = <0x0>;
191 enable-mask = <0x06>;
194 sataphy2clk: sataphy1clk@1f22c000 {
195 compatible = "apm,xgene-device-clock";
197 clocks = <&socplldiv2 0>;
198 reg = <0x0 0x1f22c000 0x0 0x1000>;
199 reg-names = "csr-reg";
200 clock-output-names = "sataphy2clk";
204 enable-offset = <0x0>;
205 enable-mask = <0x06>;
208 sataphy3clk: sataphy1clk@1f23c000 {
209 compatible = "apm,xgene-device-clock";
211 clocks = <&socplldiv2 0>;
212 reg = <0x0 0x1f23c000 0x0 0x1000>;
213 reg-names = "csr-reg";
214 clock-output-names = "sataphy3clk";
218 enable-offset = <0x0>;
219 enable-mask = <0x06>;
223 serial0: serial@1c020000 {
224 device_type = "serial";
225 compatible = "ns16550";
226 reg = <0 0x1c020000 0x0 0x1000>;
228 clock-frequency = <10000000>; /* Updated by bootloader */
229 interrupt-parent = <&gic>;
230 interrupts = <0x0 0x4c 0x4>;
234 compatible = "apm,xgene-phy";
235 reg = <0x0 0x1f21a000 0x0 0x100>;
237 clocks = <&sataphy1clk 0>;
239 apm,tx-boost-gain = <30 30 30 30 30 30>;
240 apm,tx-eye-tuning = <2 10 10 2 10 10>;
244 compatible = "apm,xgene-phy";
245 reg = <0x0 0x1f22a000 0x0 0x100>;
247 clocks = <&sataphy2clk 0>;
249 apm,tx-boost-gain = <30 30 30 30 30 30>;
250 apm,tx-eye-tuning = <1 10 10 2 10 10>;
254 compatible = "apm,xgene-phy";
255 reg = <0x0 0x1f23a000 0x0 0x100>;
257 clocks = <&sataphy3clk 0>;
259 apm,tx-boost-gain = <31 31 31 31 31 31>;
260 apm,tx-eye-tuning = <2 10 10 2 10 10>;