1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2017 Amlogic, Inc. All rights reserved.
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/interrupt-controller/irq.h>
8 #include <dt-bindings/interrupt-controller/arm-gic.h>
9 #include <dt-bindings/clock/axg-audio-clkc.h>
10 #include <dt-bindings/clock/axg-clkc.h>
11 #include <dt-bindings/clock/axg-aoclkc.h>
12 #include <dt-bindings/gpio/meson-axg-gpio.h>
13 #include <dt-bindings/reset/amlogic,meson-axg-reset.h>
16 compatible = "amlogic,meson-axg";
18 interrupt-parent = <&gic>;
27 /* 16 MiB reserved for Hardware ROM Firmware */
28 hwrom_reserved: hwrom@0 {
29 reg = <0x0 0x0 0x0 0x1000000>;
33 /* Alternate 3 MiB reserved for ARM Trusted Firmware (BL31) */
34 secmon_reserved: secmon@5000000 {
35 reg = <0x0 0x05000000 0x0 0x300000>;
41 #address-cells = <0x2>;
46 compatible = "arm,cortex-a53", "arm,armv8";
48 enable-method = "psci";
49 next-level-cache = <&l2>;
54 compatible = "arm,cortex-a53", "arm,armv8";
56 enable-method = "psci";
57 next-level-cache = <&l2>;
62 compatible = "arm,cortex-a53", "arm,armv8";
64 enable-method = "psci";
65 next-level-cache = <&l2>;
70 compatible = "arm,cortex-a53", "arm,armv8";
72 enable-method = "psci";
73 next-level-cache = <&l2>;
82 compatible = "arm,cortex-a53-pmu";
83 interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>,
84 <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>,
85 <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>,
86 <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
87 interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
91 compatible = "arm,psci-1.0";
95 tdmif_a: audio-controller@0 {
96 compatible = "amlogic,axg-tdm-iface";
97 #sound-dai-cells = <0>;
98 sound-name-prefix = "TDM_A";
99 clocks = <&clkc_audio AUD_CLKID_MST_A_MCLK>,
100 <&clkc_audio AUD_CLKID_MST_A_SCLK>,
101 <&clkc_audio AUD_CLKID_MST_A_LRCLK>;
102 clock-names = "mclk", "sclk", "lrclk";
106 tdmif_b: audio-controller@1 {
107 compatible = "amlogic,axg-tdm-iface";
108 #sound-dai-cells = <0>;
109 sound-name-prefix = "TDM_B";
110 clocks = <&clkc_audio AUD_CLKID_MST_B_MCLK>,
111 <&clkc_audio AUD_CLKID_MST_B_SCLK>,
112 <&clkc_audio AUD_CLKID_MST_B_LRCLK>;
113 clock-names = "mclk", "sclk", "lrclk";
117 tdmif_c: audio-controller@2 {
118 compatible = "amlogic,axg-tdm-iface";
119 #sound-dai-cells = <0>;
120 sound-name-prefix = "TDM_C";
121 clocks = <&clkc_audio AUD_CLKID_MST_C_MCLK>,
122 <&clkc_audio AUD_CLKID_MST_C_SCLK>,
123 <&clkc_audio AUD_CLKID_MST_C_LRCLK>;
124 clock-names = "mclk", "sclk", "lrclk";
129 compatible = "arm,armv8-timer";
130 interrupts = <GIC_PPI 13
131 (GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>,
133 (GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>,
135 (GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>,
137 (GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>;
141 compatible = "fixed-clock";
142 clock-frequency = <24000000>;
143 clock-output-names = "xtal";
147 ao_alt_xtal: ao_alt_xtal-clk {
148 compatible = "fixed-clock";
149 clock-frequency = <32000000>;
150 clock-output-names = "ao_alt_xtal";
155 compatible = "simple-bus";
156 #address-cells = <2>;
161 compatible = "simple-bus";
162 reg = <0x0 0xffe00000 0x0 0x200000>;
163 #address-cells = <2>;
165 ranges = <0x0 0x0 0x0 0xffe00000 0x0 0x200000>;
168 compatible = "amlogic,meson-axg-mmc";
169 reg = <0x0 0x5000 0x0 0x2000>;
170 interrupts = <GIC_SPI 217 IRQ_TYPE_EDGE_RISING>;
172 clocks = <&clkc CLKID_SD_EMMC_B>,
173 <&clkc CLKID_SD_EMMC_B_CLK0>,
174 <&clkc CLKID_FCLK_DIV2>;
175 clock-names = "core", "clkin0", "clkin1";
176 resets = <&reset RESET_SD_EMMC_B>;
179 sd_emmc_c: mmc@7000 {
180 compatible = "amlogic,meson-axg-mmc";
181 reg = <0x0 0x7000 0x0 0x2000>;
182 interrupts = <GIC_SPI 218 IRQ_TYPE_EDGE_RISING>;
184 clocks = <&clkc CLKID_SD_EMMC_C>,
185 <&clkc CLKID_SD_EMMC_C_CLK0>,
186 <&clkc CLKID_FCLK_DIV2>;
187 clock-names = "core", "clkin0", "clkin1";
188 resets = <&reset RESET_SD_EMMC_C>;
192 audio: bus@ff642000 {
193 compatible = "simple-bus";
194 reg = <0x0 0xff642000 0x0 0x2000>;
195 #address-cells = <2>;
197 ranges = <0x0 0x0 0x0 0xff642000 0x0 0x2000>;
199 clkc_audio: clock-controller@0 {
200 compatible = "amlogic,axg-audio-clkc";
201 reg = <0x0 0x0 0x0 0xb4>;
204 clocks = <&clkc CLKID_AUDIO>,
209 <&clkc CLKID_HIFI_PLL>,
210 <&clkc CLKID_FCLK_DIV3>,
211 <&clkc CLKID_FCLK_DIV4>,
212 <&clkc CLKID_GP0_PLL>;
213 clock-names = "pclk",
223 resets = <&reset RESET_AUDIO>;
226 arb: reset-controller@280 {
227 compatible = "amlogic,meson-axg-audio-arb";
228 reg = <0x0 0x280 0x0 0x4>;
230 clocks = <&clkc_audio AUD_CLKID_DDR_ARB>;
233 tdmin_a: audio-controller@300 {
234 compatible = "amlogic,axg-tdmin";
235 reg = <0x0 0x300 0x0 0x40>;
236 sound-name-prefix = "TDMIN_A";
237 clocks = <&clkc_audio AUD_CLKID_TDMIN_A>,
238 <&clkc_audio AUD_CLKID_TDMIN_A_SCLK>,
239 <&clkc_audio AUD_CLKID_TDMIN_A_SCLK_SEL>,
240 <&clkc_audio AUD_CLKID_TDMIN_A_LRCLK>,
241 <&clkc_audio AUD_CLKID_TDMIN_A_LRCLK>;
242 clock-names = "pclk", "sclk", "sclk_sel",
243 "lrclk", "lrclk_sel";
247 tdmin_b: audio-controller@340 {
248 compatible = "amlogic,axg-tdmin";
249 reg = <0x0 0x340 0x0 0x40>;
250 sound-name-prefix = "TDMIN_B";
251 clocks = <&clkc_audio AUD_CLKID_TDMIN_B>,
252 <&clkc_audio AUD_CLKID_TDMIN_B_SCLK>,
253 <&clkc_audio AUD_CLKID_TDMIN_B_SCLK_SEL>,
254 <&clkc_audio AUD_CLKID_TDMIN_B_LRCLK>,
255 <&clkc_audio AUD_CLKID_TDMIN_B_LRCLK>;
256 clock-names = "pclk", "sclk", "sclk_sel",
257 "lrclk", "lrclk_sel";
261 tdmin_c: audio-controller@380 {
262 compatible = "amlogic,axg-tdmin";
263 reg = <0x0 0x380 0x0 0x40>;
264 sound-name-prefix = "TDMIN_C";
265 clocks = <&clkc_audio AUD_CLKID_TDMIN_C>,
266 <&clkc_audio AUD_CLKID_TDMIN_C_SCLK>,
267 <&clkc_audio AUD_CLKID_TDMIN_C_SCLK_SEL>,
268 <&clkc_audio AUD_CLKID_TDMIN_C_LRCLK>,
269 <&clkc_audio AUD_CLKID_TDMIN_C_LRCLK>;
270 clock-names = "pclk", "sclk", "sclk_sel",
271 "lrclk", "lrclk_sel";
275 tdmin_lb: audio-controller@3c0 {
276 compatible = "amlogic,axg-tdmin";
277 reg = <0x0 0x3c0 0x0 0x40>;
278 sound-name-prefix = "TDMIN_LB";
279 clocks = <&clkc_audio AUD_CLKID_TDMIN_LB>,
280 <&clkc_audio AUD_CLKID_TDMIN_LB_SCLK>,
281 <&clkc_audio AUD_CLKID_TDMIN_LB_SCLK_SEL>,
282 <&clkc_audio AUD_CLKID_TDMIN_LB_LRCLK>,
283 <&clkc_audio AUD_CLKID_TDMIN_LB_LRCLK>;
284 clock-names = "pclk", "sclk", "sclk_sel",
285 "lrclk", "lrclk_sel";
289 spdifout: audio-controller@480 {
290 compatible = "amlogic,axg-spdifout";
291 reg = <0x0 0x480 0x0 0x50>;
292 #sound-dai-cells = <0>;
293 sound-name-prefix = "SPDIFOUT";
294 clocks = <&clkc_audio AUD_CLKID_SPDIFOUT>,
295 <&clkc_audio AUD_CLKID_SPDIFOUT_CLK>;
296 clock-names = "pclk", "mclk";
300 tdmout_a: audio-controller@500 {
301 compatible = "amlogic,axg-tdmout";
302 reg = <0x0 0x500 0x0 0x40>;
303 sound-name-prefix = "TDMOUT_A";
304 clocks = <&clkc_audio AUD_CLKID_TDMOUT_A>,
305 <&clkc_audio AUD_CLKID_TDMOUT_A_SCLK>,
306 <&clkc_audio AUD_CLKID_TDMOUT_A_SCLK_SEL>,
307 <&clkc_audio AUD_CLKID_TDMOUT_A_LRCLK>,
308 <&clkc_audio AUD_CLKID_TDMOUT_A_LRCLK>;
309 clock-names = "pclk", "sclk", "sclk_sel",
310 "lrclk", "lrclk_sel";
314 tdmout_b: audio-controller@540 {
315 compatible = "amlogic,axg-tdmout";
316 reg = <0x0 0x540 0x0 0x40>;
317 sound-name-prefix = "TDMOUT_B";
318 clocks = <&clkc_audio AUD_CLKID_TDMOUT_B>,
319 <&clkc_audio AUD_CLKID_TDMOUT_B_SCLK>,
320 <&clkc_audio AUD_CLKID_TDMOUT_B_SCLK_SEL>,
321 <&clkc_audio AUD_CLKID_TDMOUT_B_LRCLK>,
322 <&clkc_audio AUD_CLKID_TDMOUT_B_LRCLK>;
323 clock-names = "pclk", "sclk", "sclk_sel",
324 "lrclk", "lrclk_sel";
328 tdmout_c: audio-controller@580 {
329 compatible = "amlogic,axg-tdmout";
330 reg = <0x0 0x580 0x0 0x40>;
331 sound-name-prefix = "TDMOUT_C";
332 clocks = <&clkc_audio AUD_CLKID_TDMOUT_C>,
333 <&clkc_audio AUD_CLKID_TDMOUT_C_SCLK>,
334 <&clkc_audio AUD_CLKID_TDMOUT_C_SCLK_SEL>,
335 <&clkc_audio AUD_CLKID_TDMOUT_C_LRCLK>,
336 <&clkc_audio AUD_CLKID_TDMOUT_C_LRCLK>;
337 clock-names = "pclk", "sclk", "sclk_sel",
338 "lrclk", "lrclk_sel";
344 compatible = "simple-bus";
345 reg = <0x0 0xffd00000 0x0 0x25000>;
346 #address-cells = <2>;
348 ranges = <0x0 0x0 0x0 0xffd00000 0x0 0x25000>;
350 gpio_intc: interrupt-controller@f080 {
351 compatible = "amlogic,meson-gpio-intc";
352 reg = <0x0 0xf080 0x0 0x10>;
353 interrupt-controller;
354 #interrupt-cells = <2>;
355 amlogic,channel-interrupts = <64 65 66 67 68 69 70 71>;
360 compatible = "amlogic,meson-axg-ee-pwm";
361 reg = <0x0 0x1b000 0x0 0x20>;
367 compatible = "amlogic,meson-axg-ee-pwm";
368 reg = <0x0 0x1a000 0x0 0x20>;
373 reset: reset-controller@1004 {
374 compatible = "amlogic,meson-axg-reset";
375 reg = <0x0 0x01004 0x0 0x9c>;
380 compatible = "amlogic,meson-axg-spicc";
381 reg = <0x0 0x13000 0x0 0x3c>;
382 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
383 clocks = <&clkc CLKID_SPICC0>;
384 clock-names = "core";
385 #address-cells = <1>;
391 compatible = "amlogic,meson-axg-spicc";
392 reg = <0x0 0x15000 0x0 0x3c>;
393 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
394 clocks = <&clkc CLKID_SPICC1>;
395 clock-names = "core";
396 #address-cells = <1>;
402 compatible = "amlogic,meson-axg-i2c";
403 reg = <0x0 0x1f000 0x0 0x20>;
404 interrupts = <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>;
405 clocks = <&clkc CLKID_I2C>;
406 #address-cells = <1>;
412 compatible = "amlogic,meson-axg-i2c";
413 reg = <0x0 0x1e000 0x0 0x20>;
414 interrupts = <GIC_SPI 214 IRQ_TYPE_EDGE_RISING>;
415 clocks = <&clkc CLKID_I2C>;
416 #address-cells = <1>;
422 compatible = "amlogic,meson-axg-i2c";
423 reg = <0x0 0x1d000 0x0 0x20>;
424 interrupts = <GIC_SPI 215 IRQ_TYPE_EDGE_RISING>;
425 clocks = <&clkc CLKID_I2C>;
426 #address-cells = <1>;
432 compatible = "amlogic,meson-axg-i2c";
433 reg = <0x0 0x1c000 0x0 0x20>;
434 interrupts = <GIC_SPI 39 IRQ_TYPE_EDGE_RISING>;
435 clocks = <&clkc CLKID_I2C>;
436 #address-cells = <1>;
441 uart_A: serial@24000 {
442 compatible = "amlogic,meson-gx-uart";
443 reg = <0x0 0x24000 0x0 0x18>;
444 interrupts = <GIC_SPI 26 IRQ_TYPE_EDGE_RISING>;
446 clocks = <&xtal>, <&clkc CLKID_UART0>, <&xtal>;
447 clock-names = "xtal", "pclk", "baud";
450 uart_B: serial@23000 {
451 compatible = "amlogic,meson-gx-uart";
452 reg = <0x0 0x23000 0x0 0x18>;
453 interrupts = <GIC_SPI 75 IRQ_TYPE_EDGE_RISING>;
455 clocks = <&xtal>, <&clkc CLKID_UART1>, <&xtal>;
456 clock-names = "xtal", "pclk", "baud";
460 ethmac: ethernet@ff3f0000 {
461 compatible = "amlogic,meson-gxbb-dwmac", "snps,dwmac";
462 reg = <0x0 0xff3f0000 0x0 0x10000
463 0x0 0xff634540 0x0 0x8>;
464 interrupts = <GIC_SPI 8 IRQ_TYPE_EDGE_RISING>;
465 interrupt-names = "macirq";
466 clocks = <&clkc CLKID_ETH>,
467 <&clkc CLKID_FCLK_DIV2>,
469 clock-names = "stmmaceth", "clkin0", "clkin1";
473 gic: interrupt-controller@ffc01000 {
474 compatible = "arm,gic-400";
475 reg = <0x0 0xffc01000 0 0x1000>,
476 <0x0 0xffc02000 0 0x2000>,
477 <0x0 0xffc04000 0 0x2000>,
478 <0x0 0xffc06000 0 0x2000>;
479 interrupt-controller;
480 interrupts = <GIC_PPI 9
481 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>;
482 #interrupt-cells = <3>;
483 #address-cells = <0>;
486 hiubus: bus@ff63c000 {
487 compatible = "simple-bus";
488 reg = <0x0 0xff63c000 0x0 0x1c00>;
489 #address-cells = <2>;
491 ranges = <0x0 0x0 0x0 0xff63c000 0x0 0x1c00>;
493 sysctrl: system-controller@0 {
494 compatible = "amlogic,meson-axg-hhi-sysctrl", "syscon", "simple-mfd";
497 clkc: clock-controller {
498 compatible = "amlogic,axg-clkc";
504 mailbox: mailbox@ff63dc00 {
505 compatible = "amlogic,meson-gx-mhu", "amlogic,meson-gxbb-mhu";
506 reg = <0 0xff63dc00 0 0x400>;
507 interrupts = <GIC_SPI 208 IRQ_TYPE_EDGE_RISING>,
508 <GIC_SPI 209 IRQ_TYPE_EDGE_RISING>,
509 <GIC_SPI 210 IRQ_TYPE_EDGE_RISING>;
513 periphs: periphs@ff634000 {
514 compatible = "simple-bus";
515 reg = <0x0 0xff634000 0x0 0x2000>;
516 #address-cells = <2>;
518 ranges = <0x0 0x0 0x0 0xff634000 0x0 0x2000>;
521 compatible = "amlogic,meson-rng";
522 reg = <0x0 0x18 0x0 0x4>;
523 clocks = <&clkc CLKID_RNG0>;
524 clock-names = "core";
527 pinctrl_periphs: pinctrl@480 {
528 compatible = "amlogic,meson-axg-periphs-pinctrl";
529 #address-cells = <2>;
534 reg = <0x0 0x00480 0x0 0x40>,
535 <0x0 0x004e8 0x0 0x14>,
536 <0x0 0x00520 0x0 0x14>,
537 <0x0 0x00430 0x0 0x3c>;
538 reg-names = "mux", "pull", "pull-enable", "gpio";
541 gpio-ranges = <&pinctrl_periphs 0 0 86>;
546 groups = "emmc_nand_d0",
561 emmc_clk_gate_pins: emmc_clk_gate {
564 function = "gpio_periphs";
584 sdio_clk_gate_pins: sdio_clk_gate {
587 function = "gpio_periphs";
595 eth_rmii_x_pins: eth-x-rmii {
597 groups = "eth_mdio_x",
599 "eth_rgmii_rx_clk_x",
610 eth_rmii_y_pins: eth-y-rmii {
612 groups = "eth_mdio_y",
614 "eth_rgmii_rx_clk_y",
625 eth_rgmii_x_pins: eth-x-rgmii {
627 groups = "eth_mdio_x",
629 "eth_rgmii_rx_clk_x",
645 eth_rgmii_y_pins: eth-y-rgmii {
647 groups = "eth_mdio_y",
649 "eth_rgmii_rx_clk_y",
665 pdm_dclk_a14_pins: pdm_dclk_a14 {
667 groups = "pdm_dclk_a14";
672 pdm_dclk_a19_pins: pdm_dclk_a19 {
674 groups = "pdm_dclk_a19";
679 pdm_din0_pins: pdm_din0 {
686 pdm_din1_pins: pdm_din1 {
693 pdm_din2_pins: pdm_din2 {
700 pdm_din3_pins: pdm_din3 {
707 pwm_a_a_pins: pwm_a_a {
714 pwm_a_x18_pins: pwm_a_x18 {
716 groups = "pwm_a_x18";
721 pwm_a_x20_pins: pwm_a_x20 {
723 groups = "pwm_a_x20";
728 pwm_a_z_pins: pwm_a_z {
735 pwm_b_a_pins: pwm_b_a {
742 pwm_b_x_pins: pwm_b_x {
749 pwm_b_z_pins: pwm_b_z {
756 pwm_c_a_pins: pwm_c_a {
763 pwm_c_x10_pins: pwm_c_x10 {
765 groups = "pwm_c_x10";
770 pwm_c_x17_pins: pwm_c_x17 {
772 groups = "pwm_c_x17";
777 pwm_d_x11_pins: pwm_d_x11 {
779 groups = "pwm_d_x11";
784 pwm_d_x16_pins: pwm_d_x16 {
786 groups = "pwm_d_x16";
791 spdif_in_z_pins: spdif_in_z {
793 groups = "spdif_in_z";
794 function = "spdif_in";
798 spdif_in_a1_pins: spdif_in_a1 {
800 groups = "spdif_in_a1";
801 function = "spdif_in";
805 spdif_in_a7_pins: spdif_in_a7 {
807 groups = "spdif_in_a7";
808 function = "spdif_in";
812 spdif_in_a19_pins: spdif_in_a19 {
814 groups = "spdif_in_a19";
815 function = "spdif_in";
819 spdif_in_a20_pins: spdif_in_a20 {
821 groups = "spdif_in_a20";
822 function = "spdif_in";
826 spdif_out_z_pins: spdif_out_z {
828 groups = "spdif_out_z";
829 function = "spdif_out";
833 spdif_out_a1_pins: spdif_out_a1 {
835 groups = "spdif_out_a1";
836 function = "spdif_out";
840 spdif_out_a11_pins: spdif_out_a11 {
842 groups = "spdif_out_a11";
843 function = "spdif_out";
847 spdif_out_a19_pins: spdif_out_a19 {
849 groups = "spdif_out_a19";
850 function = "spdif_out";
854 spdif_out_a20_pins: spdif_out_a20 {
856 groups = "spdif_out_a20";
857 function = "spdif_out";
863 groups = "spi0_miso",
870 spi0_ss0_pins: spi0_ss0 {
877 spi0_ss1_pins: spi0_ss1 {
884 spi0_ss2_pins: spi0_ss2 {
892 spi1_a_pins: spi1_a {
894 groups = "spi1_miso_a",
901 spi1_ss0_a_pins: spi1_ss0_a {
903 groups = "spi1_ss0_a";
908 spi1_ss1_pins: spi1_ss1 {
915 spi1_x_pins: spi1_x {
917 groups = "spi1_miso_x",
924 spi1_ss0_x_pins: spi1_ss0_x {
926 groups = "spi1_ss0_x";
939 i2c1_z_pins: i2c1_z {
941 groups = "i2c1_sck_z",
947 i2c1_x_pins: i2c1_x {
949 groups = "i2c1_sck_x",
955 i2c2_x_pins: i2c2_x {
957 groups = "i2c2_sck_x",
963 i2c2_a_pins: i2c2_a {
965 groups = "i2c2_sck_a",
971 i2c3_a6_pins: i2c3_a6 {
973 groups = "i2c3_sda_a6",
979 i2c3_a12_pins: i2c3_a12 {
981 groups = "i2c3_sda_a12",
987 i2c3_a19_pins: i2c3_a19 {
989 groups = "i2c3_sda_a19",
995 uart_a_pins: uart_a {
997 groups = "uart_tx_a",
1003 uart_a_cts_rts_pins: uart_a_cts_rts {
1005 groups = "uart_cts_a",
1007 function = "uart_a";
1011 uart_b_x_pins: uart_b_x {
1013 groups = "uart_tx_b_x",
1015 function = "uart_b";
1019 uart_b_x_cts_rts_pins: uart_b_x_cts_rts {
1021 groups = "uart_cts_b_x",
1023 function = "uart_b";
1027 uart_b_z_pins: uart_b_z {
1029 groups = "uart_tx_b_z",
1031 function = "uart_b";
1035 uart_b_z_cts_rts_pins: uart_b_z_cts_rts {
1037 groups = "uart_cts_b_z",
1039 function = "uart_b";
1043 uart_ao_b_z_pins: uart_ao_b_z {
1045 groups = "uart_ao_tx_b_z",
1047 function = "uart_ao_b_z";
1051 uart_ao_b_z_cts_rts_pins: uart_ao_b_z_cts_rts {
1053 groups = "uart_ao_cts_b_z",
1055 function = "uart_ao_b_z";
1059 mclk_b_pins: mclk_b {
1062 function = "mclk_b";
1066 mclk_c_pins: mclk_c {
1069 function = "mclk_c";
1073 tdma_sclk_pins: tdma_sclk {
1075 groups = "tdma_sclk";
1080 tdma_sclk_slv_pins: tdma_sclk_slv {
1082 groups = "tdma_sclk_slv";
1087 tdma_fs_pins: tdma_fs {
1094 tdma_fs_slv_pins: tdma_fs_slv {
1096 groups = "tdma_fs_slv";
1101 tdma_din0_pins: tdma_din0 {
1103 groups = "tdma_din0";
1108 tdma_dout0_x14_pins: tdma_dout0_x14 {
1110 groups = "tdma_dout0_x14";
1115 tdma_dout0_x15_pins: tdma_dout0_x15 {
1117 groups = "tdma_dout0_x15";
1122 tdma_dout1_pins: tdma_dout1 {
1124 groups = "tdma_dout1";
1129 tdma_din1_pins: tdma_din1 {
1131 groups = "tdma_din1";
1136 tdmb_sclk_pins: tdmb_sclk {
1138 groups = "tdmb_sclk";
1143 tdmb_sclk_slv_pins: tdmb_sclk_slv {
1145 groups = "tdmb_sclk_slv";
1150 tdmb_fs_pins: tdmb_fs {
1157 tdmb_fs_slv_pins: tdmb_fs_slv {
1159 groups = "tdmb_fs_slv";
1164 tdmb_din0_pins: tdmb_din0 {
1166 groups = "tdmb_din0";
1171 tdmb_dout0_pins: tdmb_dout0 {
1173 groups = "tdmb_dout0";
1178 tdmb_din1_pins: tdmb_din1 {
1180 groups = "tdmb_din1";
1185 tdmb_dout1_pins: tdmb_dout1 {
1187 groups = "tdmb_dout1";
1192 tdmb_din2_pins: tdmb_din2 {
1194 groups = "tdmb_din2";
1199 tdmb_dout2_pins: tdmb_dout2 {
1201 groups = "tdmb_dout2";
1206 tdmb_din3_pins: tdmb_din3 {
1208 groups = "tdmb_din3";
1213 tdmb_dout3_pins: tdmb_dout3 {
1215 groups = "tdmb_dout3";
1220 tdmc_sclk_pins: tdmc_sclk {
1222 groups = "tdmc_sclk";
1227 tdmc_sclk_slv_pins: tdmc_sclk_slv {
1229 groups = "tdmc_sclk_slv";
1234 tdmc_fs_pins: tdmc_fs {
1241 tdmc_fs_slv_pins: tdmc_fs_slv {
1243 groups = "tdmc_fs_slv";
1248 tdmc_din0_pins: tdmc_din0 {
1250 groups = "tdmc_din0";
1255 tdmc_dout0_pins: tdmc_dout0 {
1257 groups = "tdmc_dout0";
1262 tdmc_din1_pins: tdmc_din1 {
1264 groups = "tdmc_din1";
1269 tdmc_dout1_pins: tdmc_dout1 {
1271 groups = "tdmc_dout1";
1276 tdmc_din2_pins: tdmc_din2 {
1278 groups = "tdmc_din2";
1283 tdmc_dout2_pins: tdmc_dout2 {
1285 groups = "tdmc_dout2";
1290 tdmc_din3_pins: tdmc_din3 {
1292 groups = "tdmc_din3";
1297 tdmc_dout3_pins: tdmc_dout3 {
1299 groups = "tdmc_dout3";
1306 sram: sram@fffc0000 {
1307 compatible = "amlogic,meson-axg-sram", "mmio-sram";
1308 reg = <0x0 0xfffc0000 0x0 0x20000>;
1309 #address-cells = <1>;
1311 ranges = <0 0x0 0xfffc0000 0x20000>;
1313 cpu_scp_lpri: scp-shmem@0 {
1314 compatible = "amlogic,meson-axg-scp-shmem";
1315 reg = <0x13000 0x400>;
1318 cpu_scp_hpri: scp-shmem@200 {
1319 compatible = "amlogic,meson-axg-scp-shmem";
1320 reg = <0x13400 0x400>;
1324 aobus: bus@ff800000 {
1325 compatible = "simple-bus";
1326 reg = <0x0 0xff800000 0x0 0x100000>;
1327 #address-cells = <2>;
1329 ranges = <0x0 0x0 0x0 0xff800000 0x0 0x100000>;
1331 sysctrl_AO: sys-ctrl@0 {
1332 compatible = "amlogic,meson-axg-ao-sysctrl", "syscon", "simple-mfd";
1333 reg = <0x0 0x0 0x0 0x100>;
1335 clkc_AO: clock-controller {
1336 compatible = "amlogic,meson-axg-aoclkc";
1342 pinctrl_aobus: pinctrl@14 {
1343 compatible = "amlogic,meson-axg-aobus-pinctrl";
1344 #address-cells = <2>;
1349 reg = <0x0 0x00014 0x0 0x8>,
1350 <0x0 0x0002c 0x0 0x4>,
1351 <0x0 0x00024 0x0 0x8>;
1352 reg-names = "mux", "pull", "gpio";
1355 gpio-ranges = <&pinctrl_aobus 0 0 15>;
1358 i2c_ao_sck_4_pins: i2c_ao_sck_4 {
1360 groups = "i2c_ao_sck_4";
1361 function = "i2c_ao";
1365 i2c_ao_sck_8_pins: i2c_ao_sck_8 {
1367 groups = "i2c_ao_sck_8";
1368 function = "i2c_ao";
1372 i2c_ao_sck_10_pins: i2c_ao_sck_10 {
1374 groups = "i2c_ao_sck_10";
1375 function = "i2c_ao";
1379 i2c_ao_sda_5_pins: i2c_ao_sda_5 {
1381 groups = "i2c_ao_sda_5";
1382 function = "i2c_ao";
1386 i2c_ao_sda_9_pins: i2c_ao_sda_9 {
1388 groups = "i2c_ao_sda_9";
1389 function = "i2c_ao";
1393 i2c_ao_sda_11_pins: i2c_ao_sda_11 {
1395 groups = "i2c_ao_sda_11";
1396 function = "i2c_ao";
1400 remote_input_ao_pins: remote_input_ao {
1402 groups = "remote_input_ao";
1403 function = "remote_input_ao";
1407 uart_ao_a_pins: uart_ao_a {
1409 groups = "uart_ao_tx_a",
1411 function = "uart_ao_a";
1415 uart_ao_a_cts_rts_pins: uart_ao_a_cts_rts {
1417 groups = "uart_ao_cts_a",
1419 function = "uart_ao_a";
1423 uart_ao_b_pins: uart_ao_b {
1425 groups = "uart_ao_tx_b",
1427 function = "uart_ao_b";
1431 uart_ao_b_cts_rts_pins: uart_ao_b_cts_rts {
1433 groups = "uart_ao_cts_b",
1435 function = "uart_ao_b";
1440 sec_AO: ao-secure@140 {
1441 compatible = "amlogic,meson-gx-ao-secure", "syscon";
1442 reg = <0x0 0x140 0x0 0x140>;
1443 amlogic,has-chip-id;
1446 pwm_AO_ab: pwm@7000 {
1447 compatible = "amlogic,meson-axg-ao-pwm";
1448 reg = <0x0 0x07000 0x0 0x20>;
1450 status = "disabled";
1453 pwm_AO_cd: pwm@2000 {
1454 compatible = "amlogic,meson-axg-ao-pwm";
1455 reg = <0x0 0x02000 0x0 0x20>;
1457 status = "disabled";
1461 compatible = "amlogic,meson-axg-i2c";
1462 reg = <0x0 0x05000 0x0 0x20>;
1463 interrupts = <GIC_SPI 195 IRQ_TYPE_EDGE_RISING>;
1464 clocks = <&clkc CLKID_AO_I2C>;
1465 #address-cells = <1>;
1467 status = "disabled";
1470 uart_AO: serial@3000 {
1471 compatible = "amlogic,meson-gx-uart", "amlogic,meson-ao-uart";
1472 reg = <0x0 0x3000 0x0 0x18>;
1473 interrupts = <GIC_SPI 193 IRQ_TYPE_EDGE_RISING>;
1474 clocks = <&xtal>, <&clkc_AO CLKID_AO_UART1>, <&xtal>;
1475 clock-names = "xtal", "pclk", "baud";
1476 status = "disabled";
1479 uart_AO_B: serial@4000 {
1480 compatible = "amlogic,meson-gx-uart", "amlogic,meson-ao-uart";
1481 reg = <0x0 0x4000 0x0 0x18>;
1482 interrupts = <GIC_SPI 197 IRQ_TYPE_EDGE_RISING>;
1483 clocks = <&xtal>, <&clkc_AO CLKID_AO_UART2>, <&xtal>;
1484 clock-names = "xtal", "pclk", "baud";
1485 status = "disabled";
1489 compatible = "amlogic,meson-gxbb-ir";
1490 reg = <0x0 0x8000 0x0 0x20>;
1491 interrupts = <GIC_SPI 196 IRQ_TYPE_EDGE_RISING>;
1492 status = "disabled";
1496 compatible = "amlogic,meson-axg-saradc",
1497 "amlogic,meson-saradc";
1498 reg = <0x0 0x9000 0x0 0x38>;
1499 #io-channel-cells = <1>;
1500 interrupts = <GIC_SPI 73 IRQ_TYPE_EDGE_RISING>;
1502 <&clkc_AO CLKID_AO_SAR_ADC>,
1503 <&clkc_AO CLKID_AO_SAR_ADC_CLK>,
1504 <&clkc_AO CLKID_AO_SAR_ADC_SEL>;
1505 clock-names = "clkin", "core", "adc_clk", "adc_sel";
1506 status = "disabled";