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>;
14 L2: l2-cache-controller@c4200000 {
15 compatible = "arm,pl310-cache";
16 reg = <0xc4200000 0x1000>;
22 compatible = "simple-bus";
28 compatible = "simple-bus";
29 reg = <0xc1100000 0x200000>;
32 ranges = <0x0 0xc1100000 0x200000>;
34 hhi: system-controller@4000 {
35 compatible = "amlogic,meson-hhi-sysctrl",
42 compatible = "amlogic,meson-mx-assist", "syscon";
47 compatible = "amlogic,meson-rng";
52 compatible = "amlogic,meson6-uart", "amlogic,meson-uart";
54 interrupts = <GIC_SPI 26 IRQ_TYPE_EDGE_RISING>;
59 compatible = "amlogic,meson6-uart", "amlogic,meson-uart";
61 interrupts = <GIC_SPI 75 IRQ_TYPE_EDGE_RISING>;
66 compatible = "amlogic,meson6-i2c";
68 interrupts = <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>;
75 compatible = "amlogic,meson-pwm";
82 compatible = "amlogic,meson-pwm";
89 compatible = "amlogic,meson-saradc";
91 #io-channel-cells = <1>;
92 interrupts = <GIC_SPI 73 IRQ_TYPE_EDGE_RISING>;
97 compatible = "amlogic,meson6-uart", "amlogic,meson-uart";
99 interrupts = <GIC_SPI 93 IRQ_TYPE_EDGE_RISING>;
104 compatible = "amlogic,meson6-i2c";
106 interrupts = <GIC_SPI 128 IRQ_TYPE_EDGE_RISING>;
107 #address-cells = <1>;
113 compatible = "amlogic,meson-mx-usb2-phy";
120 compatible = "amlogic,meson-mx-usb2-phy";
127 compatible = "amlogic,meson-mx-sdio";
129 interrupts = <GIC_SPI 28 IRQ_TYPE_EDGE_RISING>;
130 #address-cells = <1>;
136 compatible = "amlogic,meson6-spifc";
138 #address-cells = <1>;
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 periph: bus@c4300000 {
169 compatible = "simple-bus";
170 reg = <0xc4300000 0x10000>;
171 #address-cells = <1>;
173 ranges = <0x0 0xc4300000 0x10000>;
175 gic: interrupt-controller@1000 {
176 compatible = "arm,cortex-a9-gic";
177 reg = <0x1000 0x1000>,
179 interrupt-controller;
180 #interrupt-cells = <3>;
184 aobus: aobus@c8100000 {
185 compatible = "simple-bus";
186 reg = <0xc8100000 0x100000>;
187 #address-cells = <1>;
189 ranges = <0x0 0xc8100000 0x100000>;
191 ir_receiver: ir-receiver@480 {
192 compatible= "amlogic,meson6-ir";
194 interrupts = <GIC_SPI 15 IRQ_TYPE_EDGE_RISING>;
198 uart_AO: serial@4c0 {
199 compatible = "amlogic,meson6-uart", "amlogic,meson-ao-uart", "amlogic,meson-uart";
201 interrupts = <GIC_SPI 90 IRQ_TYPE_EDGE_RISING>;
206 compatible = "amlogic,meson6-i2c";
208 interrupts = <GIC_SPI 92 IRQ_TYPE_EDGE_RISING>;
209 #address-cells = <1>;
215 compatible = "amlogic,meson6-rtc";
217 interrupts = <GIC_SPI 72 IRQ_TYPE_EDGE_RISING>;
218 #address-cells = <1>;
225 compatible = "snps,dwc2";
226 #address-cells = <1>;
228 reg = <0xc9040000 0x40000>;
229 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
231 phy-names = "usb2-phy";
237 compatible = "snps,dwc2";
238 #address-cells = <1>;
240 reg = <0xc90c0000 0x40000>;
241 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
243 phy-names = "usb2-phy";
248 ethmac: ethernet@c9410000 {
249 compatible = "amlogic,meson6-dwmac", "snps,dwmac";
250 reg = <0xc9410000 0x10000
252 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
253 interrupt-names = "macirq";
257 ahb_sram: sram@d9000000 {
258 compatible = "mmio-sram";
259 reg = <0xd9000000 0x20000>;
260 #address-cells = <1>;
262 ranges = <0 0xd9000000 0x20000>;
265 bootrom: bootrom@d9040000 {
266 compatible = "amlogic,meson-mx-bootrom", "syscon";
267 reg = <0xd9040000 0x10000>;
270 secbus: secbus@da000000 {
271 compatible = "simple-bus";
272 reg = <0xda000000 0x6000>;
273 #address-cells = <1>;
275 ranges = <0x0 0xda000000 0x6000>;
278 compatible = "amlogic,meson6-efuse";
280 #address-cells = <1>;