1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2017 Andreas Färber
6 #include <dt-bindings/clock/actions,s900-cmu.h>
7 #include <dt-bindings/interrupt-controller/arm-gic.h>
8 #include <dt-bindings/reset/actions,s900-reset.h>
11 compatible = "actions,s900";
12 interrupt-parent = <&gic>;
22 compatible = "arm,cortex-a53";
24 enable-method = "psci";
29 compatible = "arm,cortex-a53";
31 enable-method = "psci";
36 compatible = "arm,cortex-a53";
38 enable-method = "psci";
43 compatible = "arm,cortex-a53";
45 enable-method = "psci";
55 reg = <0x0 0x1f000000 0x0 0x1000000>;
61 compatible = "arm,psci-0.2";
66 compatible = "arm,cortex-a53-pmu";
67 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
68 <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>,
69 <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>,
70 <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
71 interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
75 compatible = "arm,armv8-timer";
76 interrupts = <GIC_PPI 13
77 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
79 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
81 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
83 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
87 compatible = "fixed-clock";
88 clock-frequency = <24000000>;
93 compatible = "fixed-clock";
94 clock-frequency = <32768>;
99 compatible = "fixed-clock";
100 clock-frequency = <24000000>;
105 compatible = "simple-bus";
106 #address-cells = <2>;
110 gic: interrupt-controller@e00f1000 {
111 compatible = "arm,gic-400";
112 reg = <0x0 0xe00f1000 0x0 0x1000>,
113 <0x0 0xe00f2000 0x0 0x2000>,
114 <0x0 0xe00f4000 0x0 0x2000>,
115 <0x0 0xe00f6000 0x0 0x2000>;
116 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
117 interrupt-controller;
118 #interrupt-cells = <3>;
121 uart0: serial@e0120000 {
122 compatible = "actions,s900-uart", "actions,owl-uart";
123 reg = <0x0 0xe0120000 0x0 0x2000>;
124 clocks = <&cmu CLK_UART0>;
125 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
129 uart1: serial@e0122000 {
130 compatible = "actions,s900-uart", "actions,owl-uart";
131 reg = <0x0 0xe0122000 0x0 0x2000>;
132 clocks = <&cmu CLK_UART1>;
133 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
137 uart2: serial@e0124000 {
138 compatible = "actions,s900-uart", "actions,owl-uart";
139 reg = <0x0 0xe0124000 0x0 0x2000>;
140 clocks = <&cmu CLK_UART2>;
141 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
145 uart3: serial@e0126000 {
146 compatible = "actions,s900-uart", "actions,owl-uart";
147 reg = <0x0 0xe0126000 0x0 0x2000>;
148 clocks = <&cmu CLK_UART3>;
149 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
153 uart4: serial@e0128000 {
154 compatible = "actions,s900-uart", "actions,owl-uart";
155 reg = <0x0 0xe0128000 0x0 0x2000>;
156 clocks = <&cmu CLK_UART4>;
157 interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
161 uart5: serial@e012a000 {
162 compatible = "actions,s900-uart", "actions,owl-uart";
163 reg = <0x0 0xe012a000 0x0 0x2000>;
164 clocks = <&cmu CLK_UART5>;
165 interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
169 uart6: serial@e012c000 {
170 compatible = "actions,s900-uart", "actions,owl-uart";
171 reg = <0x0 0xe012c000 0x0 0x2000>;
172 clocks = <&cmu CLK_UART6>;
173 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
177 sps: power-controller@e012e000 {
178 compatible = "actions,s900-sps";
179 reg = <0x0 0xe012e000 0x0 0x2000>;
180 #power-domain-cells = <1>;
183 cmu: clock-controller@e0160000 {
184 compatible = "actions,s900-cmu";
185 reg = <0x0 0xe0160000 0x0 0x1000>;
186 clocks = <&hosc>, <&losc>;
192 compatible = "actions,s900-i2c";
193 reg = <0 0xe0170000 0 0x1000>;
194 clocks = <&cmu CLK_I2C0>;
195 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
196 #address-cells = <1>;
202 compatible = "actions,s900-i2c";
203 reg = <0 0xe0172000 0 0x1000>;
204 clocks = <&cmu CLK_I2C1>;
205 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
206 #address-cells = <1>;
212 compatible = "actions,s900-i2c";
213 reg = <0 0xe0174000 0 0x1000>;
214 clocks = <&cmu CLK_I2C2>;
215 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
216 #address-cells = <1>;
222 compatible = "actions,s900-i2c";
223 reg = <0 0xe0176000 0 0x1000>;
224 clocks = <&cmu CLK_I2C3>;
225 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
226 #address-cells = <1>;
232 compatible = "actions,s900-i2c";
233 reg = <0 0xe0178000 0 0x1000>;
234 clocks = <&cmu CLK_I2C4>;
235 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
236 #address-cells = <1>;
242 compatible = "actions,s900-i2c";
243 reg = <0 0xe017a000 0 0x1000>;
244 clocks = <&cmu CLK_I2C5>;
245 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
246 #address-cells = <1>;
251 pinctrl: pinctrl@e01b0000 {
252 compatible = "actions,s900-pinctrl";
253 reg = <0x0 0xe01b0000 0x0 0x1000>;
254 clocks = <&cmu CLK_GPIO>;
256 gpio-ranges = <&pinctrl 0 0 146>;
258 interrupt-controller;
259 #interrupt-cells = <2>;
260 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>,
261 <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>,
262 <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>,
263 <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
264 <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
265 <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
268 timer: timer@e0228000 {
269 compatible = "actions,s900-timer";
270 reg = <0x0 0xe0228000 0x0 0x8000>;
271 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
272 interrupt-names = "timer1";
275 dma: dma-controller@e0260000 {
276 compatible = "actions,s900-dma";
277 reg = <0x0 0xe0260000 0x0 0x1000>;
278 interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
279 <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
280 <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
281 <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
285 clocks = <&cmu CLK_DMAC>;