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>
8 #include <dt-bindings/sound/meson-aiu.h>
13 interrupt-parent = <&gic>;
16 compatible = "iio-hwmon";
17 io-channels = <&saradc 8>;
21 compatible = "simple-bus";
27 compatible = "simple-bus";
28 reg = <0xc1100000 0x200000>;
31 ranges = <0x0 0xc1100000 0x200000>;
33 hhi: system-controller@4000 {
34 compatible = "amlogic,meson-hhi-sysctrl",
40 aiu: audio-controller@5400 {
41 compatible = "amlogic,aiu";
42 #sound-dai-cells = <2>;
43 sound-name-prefix = "AIU";
45 interrupts = <GIC_SPI 48 IRQ_TYPE_EDGE_RISING>,
46 <GIC_SPI 50 IRQ_TYPE_EDGE_RISING>;
47 interrupt-names = "i2s", "spdif";
52 compatible = "amlogic,meson-mx-assist", "syscon";
57 compatible = "amlogic,meson-rng";
62 compatible = "amlogic,meson6-uart";
64 interrupts = <GIC_SPI 26 IRQ_TYPE_EDGE_RISING>;
70 compatible = "amlogic,meson6-uart";
72 interrupts = <GIC_SPI 75 IRQ_TYPE_EDGE_RISING>;
77 compatible = "amlogic,meson6-i2c";
79 interrupts = <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>;
86 compatible = "amlogic,meson-pwm";
93 compatible = "amlogic,meson-pwm";
100 compatible = "amlogic,meson-saradc";
102 #io-channel-cells = <1>;
103 interrupts = <GIC_SPI 73 IRQ_TYPE_EDGE_RISING>;
107 uart_C: serial@8700 {
108 compatible = "amlogic,meson6-uart";
110 interrupts = <GIC_SPI 93 IRQ_TYPE_EDGE_RISING>;
115 compatible = "amlogic,meson6-i2c";
117 interrupts = <GIC_SPI 128 IRQ_TYPE_EDGE_RISING>;
118 #address-cells = <1>;
124 compatible = "amlogic,meson-mx-usb2-phy";
131 compatible = "amlogic,meson-mx-usb2-phy";
138 compatible = "amlogic,meson-mx-sdio";
140 interrupts = <GIC_SPI 28 IRQ_TYPE_EDGE_RISING>;
141 #address-cells = <1>;
147 compatible = "amlogic,meson6-spifc";
149 #address-cells = <1>;
155 compatible = "amlogic,meson-mx-sdhc";
157 interrupts = <GIC_SPI 78 IRQ_TYPE_EDGE_RISING>;
161 gpio_intc: interrupt-controller@9880 {
162 compatible = "amlogic,meson-gpio-intc";
164 interrupt-controller;
165 #interrupt-cells = <2>;
166 amlogic,channel-interrupts = <64 65 66 67 68 69 70 71>;
171 compatible = "amlogic,meson6-wdt";
173 interrupts = <GIC_SPI 0 IRQ_TYPE_EDGE_RISING>;
176 timer_abcde: timer@9940 {
177 compatible = "amlogic,meson6-timer";
179 interrupts = <GIC_SPI 10 IRQ_TYPE_EDGE_RISING>,
180 <GIC_SPI 11 IRQ_TYPE_EDGE_RISING>,
181 <GIC_SPI 6 IRQ_TYPE_EDGE_RISING>,
182 <GIC_SPI 29 IRQ_TYPE_EDGE_RISING>;
186 L2: cache-controller@c4200000 {
187 compatible = "arm,pl310-cache";
188 reg = <0xc4200000 0x1000>;
193 periph: bus@c4300000 {
194 compatible = "simple-bus";
195 reg = <0xc4300000 0x10000>;
196 #address-cells = <1>;
198 ranges = <0x0 0xc4300000 0x10000>;
200 gic: interrupt-controller@1000 {
201 compatible = "arm,cortex-a9-gic";
202 reg = <0x1000 0x1000>,
204 interrupt-controller;
205 #interrupt-cells = <3>;
209 aobus: bus@c8100000 {
210 compatible = "simple-bus";
211 reg = <0xc8100000 0x100000>;
212 #address-cells = <1>;
214 ranges = <0x0 0xc8100000 0x100000>;
216 ao_arc_rproc: remoteproc@1c {
217 compatible = "amlogic,meson-mx-ao-arc";
218 reg = <0x1c 0x8>, <0x38 0x8>;
219 reg-names = "remap", "cpu";
223 ir_receiver: ir-receiver@480 {
224 compatible = "amlogic,meson6-ir";
226 interrupts = <GIC_SPI 15 IRQ_TYPE_EDGE_RISING>;
230 uart_AO: serial@4c0 {
231 compatible = "amlogic,meson6-uart", "amlogic,meson-ao-uart";
233 interrupts = <GIC_SPI 90 IRQ_TYPE_EDGE_RISING>;
238 compatible = "amlogic,meson6-i2c";
240 interrupts = <GIC_SPI 92 IRQ_TYPE_EDGE_RISING>;
241 #address-cells = <1>;
247 compatible = "amlogic,meson6-rtc";
249 interrupts = <GIC_SPI 72 IRQ_TYPE_EDGE_RISING>;
250 #address-cells = <1>;
257 compatible = "snps,dwc2";
258 #address-cells = <1>;
260 reg = <0xc9040000 0x40000>;
261 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
263 phy-names = "usb2-phy";
264 g-rx-fifo-size = <512>;
265 g-np-tx-fifo-size = <500>;
266 g-tx-fifo-size = <256 192 128 128 128>;
272 compatible = "snps,dwc2";
273 #address-cells = <1>;
275 reg = <0xc90c0000 0x40000>;
276 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
278 phy-names = "usb2-phy";
283 ethmac: ethernet@c9410000 {
284 compatible = "amlogic,meson6-dwmac", "snps,dwmac";
285 reg = <0xc9410000 0x10000
287 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
288 interrupt-names = "macirq";
292 ahb_sram: sram@d9000000 {
293 compatible = "mmio-sram";
294 reg = <0xd9000000 0x20000>;
295 #address-cells = <1>;
297 ranges = <0 0xd9000000 0x20000>;
300 bootrom: bootrom@d9040000 {
301 compatible = "amlogic,meson-mx-bootrom", "syscon";
302 reg = <0xd9040000 0x10000>;
305 secbus: bus@da000000 {
306 compatible = "simple-bus";
307 reg = <0xda000000 0x6000>;
308 #address-cells = <1>;
310 ranges = <0x0 0xda000000 0x6000>;
313 compatible = "amlogic,meson6-efuse";
315 #address-cells = <1>;
321 thermal_sensor: thermal-sensor {
322 compatible = "generic-adc-thermal";
323 #thermal-sensor-cells = <0>;
324 io-channels = <&saradc 8>;
325 io-channel-names = "sensor-channel";
329 compatible = "fixed-clock";
330 clock-frequency = <24000000>;
331 clock-output-names = "xtal";