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>;
58 compatible = "amlogic,meson6-uart", "amlogic,meson-uart";
60 interrupts = <GIC_SPI 75 IRQ_TYPE_EDGE_RISING>;
65 compatible = "amlogic,meson6-i2c";
67 interrupts = <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>;
74 compatible = "amlogic,meson-pwm";
81 compatible = "amlogic,meson-pwm";
88 compatible = "amlogic,meson-saradc";
90 #io-channel-cells = <1>;
91 interrupts = <GIC_SPI 73 IRQ_TYPE_EDGE_RISING>;
96 compatible = "amlogic,meson6-uart", "amlogic,meson-uart";
98 interrupts = <GIC_SPI 93 IRQ_TYPE_EDGE_RISING>;
103 compatible = "amlogic,meson6-i2c";
105 interrupts = <GIC_SPI 128 IRQ_TYPE_EDGE_RISING>;
106 #address-cells = <1>;
112 compatible = "amlogic,meson-mx-usb2-phy";
119 compatible = "amlogic,meson-mx-usb2-phy";
126 compatible = "amlogic,meson-mx-sdio";
128 interrupts = <GIC_SPI 28 IRQ_TYPE_EDGE_RISING>;
129 #address-cells = <1>;
135 compatible = "amlogic,meson6-spifc";
137 #address-cells = <1>;
143 compatible = "amlogic,meson-mx-sdhc";
145 interrupts = <GIC_SPI 78 IRQ_TYPE_EDGE_RISING>;
149 gpio_intc: interrupt-controller@9880 {
150 compatible = "amlogic,meson-gpio-intc";
152 interrupt-controller;
153 #interrupt-cells = <2>;
154 amlogic,channel-interrupts = <64 65 66 67 68 69 70 71>;
159 compatible = "amlogic,meson6-wdt";
161 interrupts = <GIC_SPI 0 IRQ_TYPE_EDGE_RISING>;
164 timer_abcde: timer@9940 {
165 compatible = "amlogic,meson6-timer";
167 interrupts = <GIC_SPI 10 IRQ_TYPE_EDGE_RISING>,
168 <GIC_SPI 11 IRQ_TYPE_EDGE_RISING>,
169 <GIC_SPI 6 IRQ_TYPE_EDGE_RISING>,
170 <GIC_SPI 29 IRQ_TYPE_EDGE_RISING>;
174 L2: cache-controller@c4200000 {
175 compatible = "arm,pl310-cache";
176 reg = <0xc4200000 0x1000>;
181 periph: bus@c4300000 {
182 compatible = "simple-bus";
183 reg = <0xc4300000 0x10000>;
184 #address-cells = <1>;
186 ranges = <0x0 0xc4300000 0x10000>;
188 gic: interrupt-controller@1000 {
189 compatible = "arm,cortex-a9-gic";
190 reg = <0x1000 0x1000>,
192 interrupt-controller;
193 #interrupt-cells = <3>;
197 aobus: aobus@c8100000 {
198 compatible = "simple-bus";
199 reg = <0xc8100000 0x100000>;
200 #address-cells = <1>;
202 ranges = <0x0 0xc8100000 0x100000>;
204 ao_arc_rproc: remoteproc@1c {
205 compatible= "amlogic,meson-mx-ao-arc";
206 reg = <0x1c 0x8>, <0x38 0x8>;
207 reg-names = "remap", "cpu";
211 ir_receiver: ir-receiver@480 {
212 compatible= "amlogic,meson6-ir";
214 interrupts = <GIC_SPI 15 IRQ_TYPE_EDGE_RISING>;
218 uart_AO: serial@4c0 {
219 compatible = "amlogic,meson6-uart", "amlogic,meson-ao-uart", "amlogic,meson-uart";
221 interrupts = <GIC_SPI 90 IRQ_TYPE_EDGE_RISING>;
226 compatible = "amlogic,meson6-i2c";
228 interrupts = <GIC_SPI 92 IRQ_TYPE_EDGE_RISING>;
229 #address-cells = <1>;
235 compatible = "amlogic,meson6-rtc";
237 interrupts = <GIC_SPI 72 IRQ_TYPE_EDGE_RISING>;
238 #address-cells = <1>;
245 compatible = "snps,dwc2";
246 #address-cells = <1>;
248 reg = <0xc9040000 0x40000>;
249 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
251 phy-names = "usb2-phy";
252 g-rx-fifo-size = <512>;
253 g-np-tx-fifo-size = <500>;
254 g-tx-fifo-size = <256 192 128 128 128>;
260 compatible = "snps,dwc2";
261 #address-cells = <1>;
263 reg = <0xc90c0000 0x40000>;
264 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
266 phy-names = "usb2-phy";
271 ethmac: ethernet@c9410000 {
272 compatible = "amlogic,meson6-dwmac", "snps,dwmac";
273 reg = <0xc9410000 0x10000
275 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
276 interrupt-names = "macirq";
280 ahb_sram: sram@d9000000 {
281 compatible = "mmio-sram";
282 reg = <0xd9000000 0x20000>;
283 #address-cells = <1>;
285 ranges = <0 0xd9000000 0x20000>;
288 bootrom: bootrom@d9040000 {
289 compatible = "amlogic,meson-mx-bootrom", "syscon";
290 reg = <0xd9040000 0x10000>;
293 secbus: secbus@da000000 {
294 compatible = "simple-bus";
295 reg = <0xda000000 0x6000>;
296 #address-cells = <1>;
298 ranges = <0x0 0xda000000 0x6000>;
301 compatible = "amlogic,meson6-efuse";
303 #address-cells = <1>;
309 thermal_sensor: thermal-sensor {
310 compatible = "generic-adc-thermal";
311 #thermal-sensor-cells = <0>;
312 io-channels = <&saradc 8>;
313 io-channel-names = "sensor-channel";
317 compatible = "fixed-clock";
318 clock-frequency = <24000000>;
319 clock-output-names = "xtal";