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 = "iio-hwmon";
16 io-channels = <&saradc 8>;
20 compatible = "simple-bus";
26 compatible = "simple-bus";
27 reg = <0xc1100000 0x200000>;
30 ranges = <0x0 0xc1100000 0x200000>;
32 hhi: system-controller@4000 {
33 compatible = "amlogic,meson-hhi-sysctrl",
40 compatible = "amlogic,meson-mx-assist", "syscon";
45 compatible = "amlogic,meson-rng";
50 compatible = "amlogic,meson6-uart", "amlogic,meson-uart";
52 interrupts = <GIC_SPI 26 IRQ_TYPE_EDGE_RISING>;
57 compatible = "amlogic,meson6-uart", "amlogic,meson-uart";
59 interrupts = <GIC_SPI 75 IRQ_TYPE_EDGE_RISING>;
64 compatible = "amlogic,meson6-i2c";
66 interrupts = <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>;
73 compatible = "amlogic,meson-pwm";
80 compatible = "amlogic,meson-pwm";
87 compatible = "amlogic,meson-saradc";
89 #io-channel-cells = <1>;
90 interrupts = <GIC_SPI 73 IRQ_TYPE_EDGE_RISING>;
95 compatible = "amlogic,meson6-uart", "amlogic,meson-uart";
97 interrupts = <GIC_SPI 93 IRQ_TYPE_EDGE_RISING>;
102 compatible = "amlogic,meson6-i2c";
104 interrupts = <GIC_SPI 128 IRQ_TYPE_EDGE_RISING>;
105 #address-cells = <1>;
111 compatible = "amlogic,meson-mx-usb2-phy";
118 compatible = "amlogic,meson-mx-usb2-phy";
125 compatible = "amlogic,meson-mx-sdio";
127 interrupts = <GIC_SPI 28 IRQ_TYPE_EDGE_RISING>;
128 #address-cells = <1>;
134 compatible = "amlogic,meson6-spifc";
136 #address-cells = <1>;
142 compatible = "amlogic,meson-mx-sdhc";
144 interrupts = <GIC_SPI 78 IRQ_TYPE_EDGE_RISING>;
148 gpio_intc: interrupt-controller@9880 {
149 compatible = "amlogic,meson-gpio-intc";
151 interrupt-controller;
152 #interrupt-cells = <2>;
153 amlogic,channel-interrupts = <64 65 66 67 68 69 70 71>;
158 compatible = "amlogic,meson6-wdt";
160 interrupts = <GIC_SPI 0 IRQ_TYPE_EDGE_RISING>;
163 timer_abcde: timer@9940 {
164 compatible = "amlogic,meson6-timer";
166 interrupts = <GIC_SPI 10 IRQ_TYPE_EDGE_RISING>,
167 <GIC_SPI 11 IRQ_TYPE_EDGE_RISING>,
168 <GIC_SPI 6 IRQ_TYPE_EDGE_RISING>,
169 <GIC_SPI 29 IRQ_TYPE_EDGE_RISING>;
173 L2: cache-controller@c4200000 {
174 compatible = "arm,pl310-cache";
175 reg = <0xc4200000 0x1000>;
180 periph: bus@c4300000 {
181 compatible = "simple-bus";
182 reg = <0xc4300000 0x10000>;
183 #address-cells = <1>;
185 ranges = <0x0 0xc4300000 0x10000>;
187 gic: interrupt-controller@1000 {
188 compatible = "arm,cortex-a9-gic";
189 reg = <0x1000 0x1000>,
191 interrupt-controller;
192 #interrupt-cells = <3>;
196 aobus: aobus@c8100000 {
197 compatible = "simple-bus";
198 reg = <0xc8100000 0x100000>;
199 #address-cells = <1>;
201 ranges = <0x0 0xc8100000 0x100000>;
203 ao_arc_rproc: remoteproc@1c {
204 compatible= "amlogic,meson-mx-ao-arc";
205 reg = <0x1c 0x8>, <0x38 0x8>;
206 reg-names = "remap", "cpu";
210 ir_receiver: ir-receiver@480 {
211 compatible= "amlogic,meson6-ir";
213 interrupts = <GIC_SPI 15 IRQ_TYPE_EDGE_RISING>;
217 uart_AO: serial@4c0 {
218 compatible = "amlogic,meson6-uart", "amlogic,meson-ao-uart", "amlogic,meson-uart";
220 interrupts = <GIC_SPI 90 IRQ_TYPE_EDGE_RISING>;
225 compatible = "amlogic,meson6-i2c";
227 interrupts = <GIC_SPI 92 IRQ_TYPE_EDGE_RISING>;
228 #address-cells = <1>;
234 compatible = "amlogic,meson6-rtc";
236 interrupts = <GIC_SPI 72 IRQ_TYPE_EDGE_RISING>;
237 #address-cells = <1>;
244 compatible = "snps,dwc2";
245 #address-cells = <1>;
247 reg = <0xc9040000 0x40000>;
248 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
250 phy-names = "usb2-phy";
251 g-rx-fifo-size = <512>;
252 g-np-tx-fifo-size = <500>;
253 g-tx-fifo-size = <256 192 128 128 128>;
259 compatible = "snps,dwc2";
260 #address-cells = <1>;
262 reg = <0xc90c0000 0x40000>;
263 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
265 phy-names = "usb2-phy";
270 ethmac: ethernet@c9410000 {
271 compatible = "amlogic,meson6-dwmac", "snps,dwmac";
272 reg = <0xc9410000 0x10000
274 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
275 interrupt-names = "macirq";
279 ahb_sram: sram@d9000000 {
280 compatible = "mmio-sram";
281 reg = <0xd9000000 0x20000>;
282 #address-cells = <1>;
284 ranges = <0 0xd9000000 0x20000>;
287 bootrom: bootrom@d9040000 {
288 compatible = "amlogic,meson-mx-bootrom", "syscon";
289 reg = <0xd9040000 0x10000>;
292 secbus: secbus@da000000 {
293 compatible = "simple-bus";
294 reg = <0xda000000 0x6000>;
295 #address-cells = <1>;
297 ranges = <0x0 0xda000000 0x6000>;
300 compatible = "amlogic,meson6-efuse";
302 #address-cells = <1>;
308 thermal_sensor: thermal-sensor {
309 compatible = "generic-adc-thermal";
310 #thermal-sensor-cells = <0>;
311 io-channels = <&saradc 8>;
312 io-channel-names = "sensor-channel";
316 compatible = "fixed-clock";
317 clock-frequency = <24000000>;
318 clock-output-names = "xtal";