1 // SPDX-License-Identifier: GPL-2.0 OR MIT
3 * Copyright 2014 Carlo Caione <carlo@caione.org>
6 #include <dt-bindings/interrupt-controller/irq.h>
7 #include <dt-bindings/interrupt-controller/arm-gic.h>
12 interrupt-parent = <&gic>;
15 compatible = "simple-bus";
21 compatible = "simple-bus";
22 reg = <0xc1100000 0x200000>;
25 ranges = <0x0 0xc1100000 0x200000>;
27 hhi: system-controller@4000 {
28 compatible = "amlogic,meson-hhi-sysctrl",
35 compatible = "amlogic,meson-mx-assist", "syscon";
40 compatible = "amlogic,meson-rng";
45 compatible = "amlogic,meson6-uart", "amlogic,meson-uart";
47 interrupts = <GIC_SPI 26 IRQ_TYPE_EDGE_RISING>;
52 compatible = "amlogic,meson6-uart", "amlogic,meson-uart";
54 interrupts = <GIC_SPI 75 IRQ_TYPE_EDGE_RISING>;
59 compatible = "amlogic,meson6-i2c";
61 interrupts = <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>;
68 compatible = "amlogic,meson-pwm";
75 compatible = "amlogic,meson-pwm";
82 compatible = "amlogic,meson-saradc";
84 #io-channel-cells = <1>;
85 interrupts = <GIC_SPI 73 IRQ_TYPE_EDGE_RISING>;
90 compatible = "amlogic,meson6-uart", "amlogic,meson-uart";
92 interrupts = <GIC_SPI 93 IRQ_TYPE_EDGE_RISING>;
97 compatible = "amlogic,meson6-i2c";
99 interrupts = <GIC_SPI 128 IRQ_TYPE_EDGE_RISING>;
100 #address-cells = <1>;
106 compatible = "amlogic,meson-mx-usb2-phy";
113 compatible = "amlogic,meson-mx-usb2-phy";
120 compatible = "amlogic,meson-mx-sdio";
122 interrupts = <GIC_SPI 28 IRQ_TYPE_EDGE_RISING>;
123 #address-cells = <1>;
129 compatible = "amlogic,meson6-spifc";
131 #address-cells = <1>;
137 compatible = "amlogic,meson-mx-sdhc";
139 interrupts = <GIC_SPI 78 IRQ_TYPE_EDGE_RISING>;
143 gpio_intc: interrupt-controller@9880 {
144 compatible = "amlogic,meson-gpio-intc";
146 interrupt-controller;
147 #interrupt-cells = <2>;
148 amlogic,channel-interrupts = <64 65 66 67 68 69 70 71>;
153 compatible = "amlogic,meson6-wdt";
155 interrupts = <GIC_SPI 0 IRQ_TYPE_EDGE_RISING>;
158 timer_abcde: timer@9940 {
159 compatible = "amlogic,meson6-timer";
161 interrupts = <GIC_SPI 10 IRQ_TYPE_EDGE_RISING>,
162 <GIC_SPI 11 IRQ_TYPE_EDGE_RISING>,
163 <GIC_SPI 6 IRQ_TYPE_EDGE_RISING>,
164 <GIC_SPI 29 IRQ_TYPE_EDGE_RISING>;
168 L2: cache-controller@c4200000 {
169 compatible = "arm,pl310-cache";
170 reg = <0xc4200000 0x1000>;
175 periph: bus@c4300000 {
176 compatible = "simple-bus";
177 reg = <0xc4300000 0x10000>;
178 #address-cells = <1>;
180 ranges = <0x0 0xc4300000 0x10000>;
182 gic: interrupt-controller@1000 {
183 compatible = "arm,cortex-a9-gic";
184 reg = <0x1000 0x1000>,
186 interrupt-controller;
187 #interrupt-cells = <3>;
191 aobus: aobus@c8100000 {
192 compatible = "simple-bus";
193 reg = <0xc8100000 0x100000>;
194 #address-cells = <1>;
196 ranges = <0x0 0xc8100000 0x100000>;
198 ir_receiver: ir-receiver@480 {
199 compatible= "amlogic,meson6-ir";
201 interrupts = <GIC_SPI 15 IRQ_TYPE_EDGE_RISING>;
205 uart_AO: serial@4c0 {
206 compatible = "amlogic,meson6-uart", "amlogic,meson-ao-uart", "amlogic,meson-uart";
208 interrupts = <GIC_SPI 90 IRQ_TYPE_EDGE_RISING>;
213 compatible = "amlogic,meson6-i2c";
215 interrupts = <GIC_SPI 92 IRQ_TYPE_EDGE_RISING>;
216 #address-cells = <1>;
222 compatible = "amlogic,meson6-rtc";
224 interrupts = <GIC_SPI 72 IRQ_TYPE_EDGE_RISING>;
225 #address-cells = <1>;
232 compatible = "snps,dwc2";
233 #address-cells = <1>;
235 reg = <0xc9040000 0x40000>;
236 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
238 phy-names = "usb2-phy";
239 g-rx-fifo-size = <512>;
240 g-np-tx-fifo-size = <500>;
241 g-tx-fifo-size = <256 192 128 128 128>;
247 compatible = "snps,dwc2";
248 #address-cells = <1>;
250 reg = <0xc90c0000 0x40000>;
251 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
253 phy-names = "usb2-phy";
258 ethmac: ethernet@c9410000 {
259 compatible = "amlogic,meson6-dwmac", "snps,dwmac";
260 reg = <0xc9410000 0x10000
262 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
263 interrupt-names = "macirq";
267 ahb_sram: sram@d9000000 {
268 compatible = "mmio-sram";
269 reg = <0xd9000000 0x20000>;
270 #address-cells = <1>;
272 ranges = <0 0xd9000000 0x20000>;
275 bootrom: bootrom@d9040000 {
276 compatible = "amlogic,meson-mx-bootrom", "syscon";
277 reg = <0xd9040000 0x10000>;
280 secbus: secbus@da000000 {
281 compatible = "simple-bus";
282 reg = <0xda000000 0x6000>;
283 #address-cells = <1>;
285 ranges = <0x0 0xda000000 0x6000>;
288 compatible = "amlogic,meson6-efuse";
290 #address-cells = <1>;
297 compatible = "fixed-clock";
298 clock-frequency = <24000000>;
299 clock-output-names = "xtal";