1114abfe1SNeil Armstrong// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
29d59b708SYixun Lan/*
39d59b708SYixun Lan * Copyright (c) 2017 Amlogic, Inc. All rights reserved.
49d59b708SYixun Lan */
59d59b708SYixun Lan
69d59b708SYixun Lan#include <dt-bindings/gpio/gpio.h>
79d59b708SYixun Lan#include <dt-bindings/interrupt-controller/irq.h>
89d59b708SYixun Lan#include <dt-bindings/interrupt-controller/arm-gic.h>
906b7a631SYixun Lan#include <dt-bindings/clock/axg-clkc.h>
10221cf34bSNan Li#include <dt-bindings/gpio/meson-axg-gpio.h>
119d59b708SYixun Lan
129d59b708SYixun Lan/ {
139d59b708SYixun Lan	compatible = "amlogic,meson-axg";
149d59b708SYixun Lan
159d59b708SYixun Lan	interrupt-parent = <&gic>;
169d59b708SYixun Lan	#address-cells = <2>;
179d59b708SYixun Lan	#size-cells = <2>;
189d59b708SYixun Lan
199d59b708SYixun Lan	reserved-memory {
209d59b708SYixun Lan		#address-cells = <2>;
219d59b708SYixun Lan		#size-cells = <2>;
229d59b708SYixun Lan		ranges;
239d59b708SYixun Lan
249d59b708SYixun Lan		/* 16 MiB reserved for Hardware ROM Firmware */
259d59b708SYixun Lan		hwrom_reserved: hwrom@0 {
269d59b708SYixun Lan			reg = <0x0 0x0 0x0 0x1000000>;
279d59b708SYixun Lan			no-map;
289d59b708SYixun Lan		};
299d59b708SYixun Lan
309d59b708SYixun Lan		/* Alternate 3 MiB reserved for ARM Trusted Firmware (BL31) */
31a5494aedSArnd Bergmann		secmon_reserved: secmon@5000000 {
329d59b708SYixun Lan			reg = <0x0 0x05000000 0x0 0x300000>;
339d59b708SYixun Lan			no-map;
349d59b708SYixun Lan		};
359d59b708SYixun Lan	};
369d59b708SYixun Lan
379d59b708SYixun Lan	cpus {
389d59b708SYixun Lan		#address-cells = <0x2>;
399d59b708SYixun Lan		#size-cells = <0x0>;
409d59b708SYixun Lan
419d59b708SYixun Lan		cpu0: cpu@0 {
429d59b708SYixun Lan			device_type = "cpu";
439d59b708SYixun Lan			compatible = "arm,cortex-a53", "arm,armv8";
449d59b708SYixun Lan			reg = <0x0 0x0>;
459d59b708SYixun Lan			enable-method = "psci";
469d59b708SYixun Lan			next-level-cache = <&l2>;
479d59b708SYixun Lan		};
489d59b708SYixun Lan
499d59b708SYixun Lan		cpu1: cpu@1 {
509d59b708SYixun Lan			device_type = "cpu";
519d59b708SYixun Lan			compatible = "arm,cortex-a53", "arm,armv8";
529d59b708SYixun Lan			reg = <0x0 0x1>;
539d59b708SYixun Lan			enable-method = "psci";
549d59b708SYixun Lan			next-level-cache = <&l2>;
559d59b708SYixun Lan		};
569d59b708SYixun Lan
579d59b708SYixun Lan		cpu2: cpu@2 {
589d59b708SYixun Lan			device_type = "cpu";
599d59b708SYixun Lan			compatible = "arm,cortex-a53", "arm,armv8";
609d59b708SYixun Lan			reg = <0x0 0x2>;
619d59b708SYixun Lan			enable-method = "psci";
629d59b708SYixun Lan			next-level-cache = <&l2>;
639d59b708SYixun Lan		};
649d59b708SYixun Lan
659d59b708SYixun Lan		cpu3: cpu@3 {
669d59b708SYixun Lan			device_type = "cpu";
679d59b708SYixun Lan			compatible = "arm,cortex-a53", "arm,armv8";
689d59b708SYixun Lan			reg = <0x0 0x3>;
699d59b708SYixun Lan			enable-method = "psci";
709d59b708SYixun Lan			next-level-cache = <&l2>;
719d59b708SYixun Lan		};
729d59b708SYixun Lan
739d59b708SYixun Lan		l2: l2-cache0 {
749d59b708SYixun Lan			compatible = "cache";
759d59b708SYixun Lan		};
769d59b708SYixun Lan	};
779d59b708SYixun Lan
789d59b708SYixun Lan	arm-pmu {
799d59b708SYixun Lan		compatible = "arm,cortex-a53-pmu";
809d59b708SYixun Lan		interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>,
819d59b708SYixun Lan			     <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>,
829d59b708SYixun Lan			     <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>,
839d59b708SYixun Lan			     <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
849d59b708SYixun Lan		interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
859d59b708SYixun Lan	};
869d59b708SYixun Lan
879d59b708SYixun Lan	psci {
889d59b708SYixun Lan		compatible = "arm,psci-1.0";
899d59b708SYixun Lan		method = "smc";
909d59b708SYixun Lan	};
919d59b708SYixun Lan
929d59b708SYixun Lan	timer {
939d59b708SYixun Lan		compatible = "arm,armv8-timer";
949d59b708SYixun Lan		interrupts = <GIC_PPI 13
959d59b708SYixun Lan			(GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>,
969d59b708SYixun Lan			     <GIC_PPI 14
979d59b708SYixun Lan			(GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>,
989d59b708SYixun Lan			     <GIC_PPI 11
999d59b708SYixun Lan			(GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>,
1009d59b708SYixun Lan			     <GIC_PPI 10
1019d59b708SYixun Lan			(GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>;
1029d59b708SYixun Lan	};
1039d59b708SYixun Lan
1049d59b708SYixun Lan	xtal: xtal-clk {
1059d59b708SYixun Lan		compatible = "fixed-clock";
1069d59b708SYixun Lan		clock-frequency = <24000000>;
1079d59b708SYixun Lan		clock-output-names = "xtal";
1089d59b708SYixun Lan		#clock-cells = <0>;
1099d59b708SYixun Lan	};
1109d59b708SYixun Lan
1119d59b708SYixun Lan	soc {
1129d59b708SYixun Lan		compatible = "simple-bus";
1139d59b708SYixun Lan		#address-cells = <2>;
1149d59b708SYixun Lan		#size-cells = <2>;
1159d59b708SYixun Lan		ranges;
1169d59b708SYixun Lan
117221cf34bSNan Li		apb: apb@ffe00000 {
118221cf34bSNan Li			compatible = "simple-bus";
119221cf34bSNan Li			reg = <0x0 0xffe00000 0x0 0x200000>;
120221cf34bSNan Li			#address-cells = <2>;
121221cf34bSNan Li			#size-cells = <2>;
122221cf34bSNan Li			ranges = <0x0 0x0 0x0 0xffe00000 0x0 0x200000>;
123221cf34bSNan Li
124221cf34bSNan Li			sd_emmc_b: sd@5000 {
125221cf34bSNan Li				compatible = "amlogic,meson-axg-mmc";
126221cf34bSNan Li				reg = <0x0 0x5000 0x0 0x2000>;
127221cf34bSNan Li				interrupts = <GIC_SPI 217 IRQ_TYPE_EDGE_RISING>;
128221cf34bSNan Li				status = "disabled";
129221cf34bSNan Li				clocks = <&clkc CLKID_SD_EMMC_B>,
130221cf34bSNan Li					<&clkc CLKID_SD_EMMC_B_CLK0>,
131221cf34bSNan Li					<&clkc CLKID_FCLK_DIV2>;
132221cf34bSNan Li				clock-names = "core", "clkin0", "clkin1";
133221cf34bSNan Li			};
134221cf34bSNan Li
135221cf34bSNan Li			sd_emmc_c: mmc@7000 {
136221cf34bSNan Li				compatible = "amlogic,meson-axg-mmc";
137221cf34bSNan Li				reg = <0x0 0x7000 0x0 0x2000>;
138221cf34bSNan Li				interrupts = <GIC_SPI 218 IRQ_TYPE_EDGE_RISING>;
139221cf34bSNan Li				status = "disabled";
140221cf34bSNan Li				clocks = <&clkc CLKID_SD_EMMC_C>,
141221cf34bSNan Li					<&clkc CLKID_SD_EMMC_C_CLK0>,
142221cf34bSNan Li					<&clkc CLKID_FCLK_DIV2>;
143221cf34bSNan Li				clock-names = "core", "clkin0", "clkin1";
144221cf34bSNan Li			};
145221cf34bSNan Li		};
146221cf34bSNan Li
1470cb6c604SKevin Hilman		cbus: bus@ffd00000 {
1489d59b708SYixun Lan			compatible = "simple-bus";
1499d59b708SYixun Lan			reg = <0x0 0xffd00000 0x0 0x25000>;
1509d59b708SYixun Lan			#address-cells = <2>;
1519d59b708SYixun Lan			#size-cells = <2>;
1529d59b708SYixun Lan			ranges = <0x0 0x0 0x0 0xffd00000 0x0 0x25000>;
1539d59b708SYixun Lan
154b0e59f94SYixun Lan			gpio_intc: interrupt-controller@f080 {
155b0e59f94SYixun Lan				compatible = "amlogic,meson-gpio-intc";
156b0e59f94SYixun Lan				reg = <0x0 0xf080 0x0 0x10>;
157b0e59f94SYixun Lan				interrupt-controller;
158b0e59f94SYixun Lan				#interrupt-cells = <2>;
159b0e59f94SYixun Lan				amlogic,channel-interrupts = <64 65 66 67 68 69 70 71>;
160b0e59f94SYixun Lan				status = "disabled";
161b0e59f94SYixun Lan			};
162b0e59f94SYixun Lan
1634a81e5ddSJian Hu			pwm_ab: pwm@1b000 {
1644a81e5ddSJian Hu				compatible = "amlogic,meson-axg-ee-pwm";
1654a81e5ddSJian Hu				reg = <0x0 0x1b000 0x0 0x20>;
1664a81e5ddSJian Hu				#pwm-cells = <3>;
1674a81e5ddSJian Hu				status = "disabled";
1684a81e5ddSJian Hu			};
1694a81e5ddSJian Hu
1704a81e5ddSJian Hu			pwm_cd: pwm@1a000 {
1714a81e5ddSJian Hu				compatible = "amlogic,meson-axg-ee-pwm";
1724a81e5ddSJian Hu				reg = <0x0 0x1a000 0x0 0x20>;
1734a81e5ddSJian Hu				#pwm-cells = <3>;
1744a81e5ddSJian Hu				status = "disabled";
1754a81e5ddSJian Hu			};
1764a81e5ddSJian Hu
17743b9f617SYixun Lan			reset: reset-controller@1004 {
17843b9f617SYixun Lan				compatible = "amlogic,meson-axg-reset";
17943b9f617SYixun Lan				reg = <0x0 0x01004 0x0 0x9c>;
18043b9f617SYixun Lan				#reset-cells = <1>;
18143b9f617SYixun Lan			};
18243b9f617SYixun Lan
1838ae4284eSSunny Luo			spicc0: spi@13000 {
1848ae4284eSSunny Luo				compatible = "amlogic,meson-axg-spicc";
1858ae4284eSSunny Luo				reg = <0x0 0x13000 0x0 0x3c>;
1868ae4284eSSunny Luo				interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
1878ae4284eSSunny Luo				clocks = <&clkc CLKID_SPICC0>;
1888ae4284eSSunny Luo				clock-names = "core";
1898ae4284eSSunny Luo				#address-cells = <1>;
1908ae4284eSSunny Luo				#size-cells = <0>;
1918ae4284eSSunny Luo				status = "disabled";
1928ae4284eSSunny Luo			};
1938ae4284eSSunny Luo
1948ae4284eSSunny Luo			spicc1: spi@15000 {
1958ae4284eSSunny Luo				compatible = "amlogic,meson-axg-spicc";
1968ae4284eSSunny Luo				reg = <0x0 0x15000 0x0 0x3c>;
1978ae4284eSSunny Luo				interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
1988ae4284eSSunny Luo				clocks = <&clkc CLKID_SPICC1>;
1998ae4284eSSunny Luo				clock-names = "core";
2008ae4284eSSunny Luo				#address-cells = <1>;
2018ae4284eSSunny Luo				#size-cells = <0>;
2028ae4284eSSunny Luo				status = "disabled";
2038ae4284eSSunny Luo			};
2048ae4284eSSunny Luo
205dc6f858eSJian Hu			i2c0: i2c@1f000 {
206dc6f858eSJian Hu				compatible = "amlogic,meson-axg-i2c";
207dc6f858eSJian Hu				status = "disabled";
208dc6f858eSJian Hu				reg = <0x0 0x1f000 0x0 0x20>;
209dc6f858eSJian Hu				interrupts = <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>,
210dc6f858eSJian Hu					<GIC_SPI 47 IRQ_TYPE_EDGE_RISING>;
211dc6f858eSJian Hu				#address-cells = <1>;
212dc6f858eSJian Hu				#size-cells = <0>;
213dc6f858eSJian Hu				clocks = <&clkc CLKID_I2C>;
214dc6f858eSJian Hu				clock-names = "clk_i2c";
215dc6f858eSJian Hu			};
216dc6f858eSJian Hu
217dc6f858eSJian Hu			i2c1: i2c@1e000 {
218dc6f858eSJian Hu				compatible = "amlogic,meson-axg-i2c";
219dc6f858eSJian Hu				#address-cells = <1>;
220dc6f858eSJian Hu				#size-cells = <0>;
221dc6f858eSJian Hu				reg = <0x0 0x1e000 0x0 0x20>;
222dc6f858eSJian Hu				status = "disabled";
223dc6f858eSJian Hu				interrupts = <GIC_SPI 214 IRQ_TYPE_EDGE_RISING>,
224dc6f858eSJian Hu					<GIC_SPI 48 IRQ_TYPE_EDGE_RISING>;
225dc6f858eSJian Hu				clocks = <&clkc CLKID_I2C>;
226dc6f858eSJian Hu				clock-names = "clk_i2c";
227dc6f858eSJian Hu			};
228dc6f858eSJian Hu
229dc6f858eSJian Hu			i2c2: i2c@1d000 {
230dc6f858eSJian Hu				compatible = "amlogic,meson-axg-i2c";
231dc6f858eSJian Hu				status = "disabled";
232dc6f858eSJian Hu				reg = <0x0 0x1d000 0x0 0x20>;
233dc6f858eSJian Hu				interrupts = <GIC_SPI 215 IRQ_TYPE_EDGE_RISING>,
234dc6f858eSJian Hu					<GIC_SPI 49 IRQ_TYPE_EDGE_RISING>;
235dc6f858eSJian Hu				#address-cells = <1>;
236dc6f858eSJian Hu				#size-cells = <0>;
237dc6f858eSJian Hu				clocks = <&clkc CLKID_I2C>;
238dc6f858eSJian Hu				clock-names = "clk_i2c";
239dc6f858eSJian Hu			};
240dc6f858eSJian Hu
241dc6f858eSJian Hu			i2c3: i2c@1c000 {
242dc6f858eSJian Hu				compatible = "amlogic,meson-axg-i2c";
243dc6f858eSJian Hu				status = "disabled";
244dc6f858eSJian Hu				reg = <0x0 0x1c000 0x0 0x20>;
245dc6f858eSJian Hu				interrupts = <GIC_SPI 39 IRQ_TYPE_EDGE_RISING>,
246dc6f858eSJian Hu					<GIC_SPI 50 IRQ_TYPE_EDGE_RISING>;
247dc6f858eSJian Hu				#address-cells = <1>;
248dc6f858eSJian Hu				#size-cells = <0>;
249dc6f858eSJian Hu				clocks = <&clkc CLKID_I2C>;
250dc6f858eSJian Hu				clock-names = "clk_i2c";
251dc6f858eSJian Hu			};
252dc6f858eSJian Hu
2539d59b708SYixun Lan			uart_A: serial@24000 {
25458662130SYixun Lan				compatible = "amlogic,meson-gx-uart";
25577f5cdbdSYixun Lan				reg = <0x0 0x24000 0x0 0x18>;
2569d59b708SYixun Lan				interrupts = <GIC_SPI 26 IRQ_TYPE_EDGE_RISING>;
2579d59b708SYixun Lan				status = "disabled";
25858662130SYixun Lan				clocks = <&xtal>, <&clkc CLKID_UART0>, <&xtal>;
25958662130SYixun Lan				clock-names = "xtal", "pclk", "baud";
2609d59b708SYixun Lan			};
2619d59b708SYixun Lan
2629d59b708SYixun Lan			uart_B: serial@23000 {
26358662130SYixun Lan				compatible = "amlogic,meson-gx-uart";
26477f5cdbdSYixun Lan				reg = <0x0 0x23000 0x0 0x18>;
2659d59b708SYixun Lan				interrupts = <GIC_SPI 75 IRQ_TYPE_EDGE_RISING>;
2669d59b708SYixun Lan				status = "disabled";
26758662130SYixun Lan				clocks = <&xtal>, <&clkc CLKID_UART1>, <&xtal>;
26858662130SYixun Lan				clock-names = "xtal", "pclk", "baud";
2699d59b708SYixun Lan			};
2709d59b708SYixun Lan		};
2719d59b708SYixun Lan
27229390d27SYixun Lan		ethmac: ethernet@ff3f0000 {
27329390d27SYixun Lan			compatible = "amlogic,meson-gxbb-dwmac", "snps,dwmac";
27429390d27SYixun Lan			reg = <0x0 0xff3f0000 0x0 0x10000
27529390d27SYixun Lan				0x0 0xff634540 0x0 0x8>;
27629390d27SYixun Lan			interrupts = <GIC_SPI 8 IRQ_TYPE_EDGE_RISING>;
27729390d27SYixun Lan			interrupt-names = "macirq";
27829390d27SYixun Lan			clocks = <&clkc CLKID_ETH>,
27929390d27SYixun Lan				 <&clkc CLKID_FCLK_DIV2>,
28029390d27SYixun Lan				 <&clkc CLKID_MPLL2>;
28129390d27SYixun Lan			clock-names = "stmmaceth", "clkin0", "clkin1";
28229390d27SYixun Lan			status = "disabled";
28329390d27SYixun Lan		};
28429390d27SYixun Lan
2859d59b708SYixun Lan		gic: interrupt-controller@ffc01000 {
2869d59b708SYixun Lan			compatible = "arm,gic-400";
2879d59b708SYixun Lan			reg = <0x0 0xffc01000 0 0x1000>,
2889d59b708SYixun Lan			      <0x0 0xffc02000 0 0x2000>,
2899d59b708SYixun Lan			      <0x0 0xffc04000 0 0x2000>,
2909d59b708SYixun Lan			      <0x0 0xffc06000 0 0x2000>;
2919d59b708SYixun Lan			interrupt-controller;
2929d59b708SYixun Lan			interrupts = <GIC_PPI 9
2939d59b708SYixun Lan				(GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>;
2949d59b708SYixun Lan			#interrupt-cells = <3>;
2959d59b708SYixun Lan			#address-cells = <0>;
2969d59b708SYixun Lan		};
2979d59b708SYixun Lan
298abfc18f9SQiufang Dai		hiubus: bus@ff63c000 {
299abfc18f9SQiufang Dai			compatible = "simple-bus";
300abfc18f9SQiufang Dai			reg = <0x0 0xff63c000 0x0 0x1c00>;
301abfc18f9SQiufang Dai			#address-cells = <2>;
302abfc18f9SQiufang Dai			#size-cells = <2>;
303abfc18f9SQiufang Dai			ranges = <0x0 0x0 0x0 0xff63c000 0x0 0x1c00>;
304abfc18f9SQiufang Dai
305cc4d6641SJerome Brunet			sysctrl: system-controller@0 {
306cc4d6641SJerome Brunet				compatible = "amlogic,meson-axg-hhi-sysctrl", "syscon", "simple-mfd";
307cc4d6641SJerome Brunet				reg = <0 0 0 0x400>;
308cc4d6641SJerome Brunet
309cc4d6641SJerome Brunet				clkc: clock-controller {
310abfc18f9SQiufang Dai					compatible = "amlogic,axg-clkc";
311abfc18f9SQiufang Dai					#clock-cells = <1>;
312cc4d6641SJerome Brunet				};
313abfc18f9SQiufang Dai			};
314abfc18f9SQiufang Dai		};
315abfc18f9SQiufang Dai
3169d59b708SYixun Lan		mailbox: mailbox@ff63dc00 {
3179d59b708SYixun Lan			compatible = "amlogic,meson-gx-mhu", "amlogic,meson-gxbb-mhu";
3189d59b708SYixun Lan			reg = <0 0xff63dc00 0 0x400>;
3199d59b708SYixun Lan			interrupts = <GIC_SPI 208 IRQ_TYPE_EDGE_RISING>,
3209d59b708SYixun Lan				     <GIC_SPI 209 IRQ_TYPE_EDGE_RISING>,
3219d59b708SYixun Lan				     <GIC_SPI 210 IRQ_TYPE_EDGE_RISING>;
3229d59b708SYixun Lan			#mbox-cells = <1>;
3239d59b708SYixun Lan		};
3249d59b708SYixun Lan
325de05ded6SXingyu Chen		periphs: periphs@ff634000 {
326de05ded6SXingyu Chen			compatible = "simple-bus";
327de05ded6SXingyu Chen			reg = <0x0 0xff634000 0x0 0x2000>;
328de05ded6SXingyu Chen			#address-cells = <2>;
329de05ded6SXingyu Chen			#size-cells = <2>;
330de05ded6SXingyu Chen			ranges = <0x0 0x0 0x0 0xff634000 0x0 0x2000>;
331de05ded6SXingyu Chen
332eafd53d3SJerome Brunet			hwrng: rng {
333eafd53d3SJerome Brunet				compatible = "amlogic,meson-rng";
334eafd53d3SJerome Brunet				reg = <0x0 0x18 0x0 0x4>;
335eafd53d3SJerome Brunet				clocks = <&clkc CLKID_RNG0>;
336eafd53d3SJerome Brunet				clock-names = "core";
337eafd53d3SJerome Brunet			};
338eafd53d3SJerome Brunet
339de05ded6SXingyu Chen			pinctrl_periphs: pinctrl@480 {
340de05ded6SXingyu Chen				compatible = "amlogic,meson-axg-periphs-pinctrl";
341de05ded6SXingyu Chen				#address-cells = <2>;
342de05ded6SXingyu Chen				#size-cells = <2>;
343de05ded6SXingyu Chen				ranges;
344de05ded6SXingyu Chen
345de05ded6SXingyu Chen				gpio: bank@480 {
346de05ded6SXingyu Chen					reg = <0x0 0x00480 0x0 0x40>,
347de05ded6SXingyu Chen						<0x0 0x004e8 0x0 0x14>,
348de05ded6SXingyu Chen						<0x0 0x00520 0x0 0x14>,
349de05ded6SXingyu Chen						<0x0 0x00430 0x0 0x3c>;
350de05ded6SXingyu Chen					reg-names = "mux", "pull", "pull-enable", "gpio";
351de05ded6SXingyu Chen					gpio-controller;
352de05ded6SXingyu Chen					#gpio-cells = <2>;
353de05ded6SXingyu Chen					gpio-ranges = <&pinctrl_periphs 0 0 86>;
354de05ded6SXingyu Chen				};
3554a81e5ddSJian Hu
356221cf34bSNan Li				emmc_pins: emmc {
357221cf34bSNan Li					mux {
358221cf34bSNan Li						groups = "emmc_nand_d0",
359221cf34bSNan Li							"emmc_nand_d1",
360221cf34bSNan Li							"emmc_nand_d2",
361221cf34bSNan Li							"emmc_nand_d3",
362221cf34bSNan Li							"emmc_nand_d4",
363221cf34bSNan Li							"emmc_nand_d5",
364221cf34bSNan Li							"emmc_nand_d6",
365221cf34bSNan Li							"emmc_nand_d7",
366221cf34bSNan Li							"emmc_clk",
367221cf34bSNan Li							"emmc_cmd",
368221cf34bSNan Li							"emmc_ds";
369221cf34bSNan Li						function = "emmc";
370221cf34bSNan Li					};
371221cf34bSNan Li				};
372221cf34bSNan Li
373221cf34bSNan Li				emmc_clk_gate_pins: emmc_clk_gate {
374221cf34bSNan Li					mux {
375221cf34bSNan Li						groups = "BOOT_8";
376221cf34bSNan Li						function = "gpio_periphs";
377221cf34bSNan Li					};
378221cf34bSNan Li					cfg-pull-down {
379221cf34bSNan Li						pins = "BOOT_8";
380221cf34bSNan Li						bias-pull-down;
381221cf34bSNan Li					};
382221cf34bSNan Li				};
383221cf34bSNan Li
384221cf34bSNan Li				sdio_pins: sdio {
385221cf34bSNan Li					mux {
386221cf34bSNan Li						groups = "sdio_d0",
387221cf34bSNan Li							"sdio_d1",
388221cf34bSNan Li							"sdio_d2",
389221cf34bSNan Li							"sdio_d3",
390221cf34bSNan Li							"sdio_cmd",
391221cf34bSNan Li							"sdio_clk";
392221cf34bSNan Li						function = "sdio";
393221cf34bSNan Li					};
394221cf34bSNan Li				};
395221cf34bSNan Li
396221cf34bSNan Li				sdio_clk_gate_pins: sdio_clk_gate {
397221cf34bSNan Li					mux {
398221cf34bSNan Li						groups = "GPIOX_4";
399221cf34bSNan Li						function = "gpio_periphs";
400221cf34bSNan Li					};
401221cf34bSNan Li					cfg-pull-down {
402221cf34bSNan Li						pins = "GPIOX_4";
403221cf34bSNan Li						bias-pull-down;
404221cf34bSNan Li					};
405221cf34bSNan Li				};
406221cf34bSNan Li
407777fa58dSYixun Lan				eth_rmii_x_pins: eth-x-rmii {
408777fa58dSYixun Lan					mux {
409777fa58dSYixun Lan						groups = "eth_mdio_x",
410777fa58dSYixun Lan						       "eth_mdc_x",
411777fa58dSYixun Lan						       "eth_rgmii_rx_clk_x",
412777fa58dSYixun Lan						       "eth_rx_dv_x",
413777fa58dSYixun Lan						       "eth_rxd0_x",
414777fa58dSYixun Lan						       "eth_rxd1_x",
415777fa58dSYixun Lan						       "eth_txen_x",
416777fa58dSYixun Lan						       "eth_txd0_x",
417777fa58dSYixun Lan						       "eth_txd1_x";
418777fa58dSYixun Lan						function = "eth";
419777fa58dSYixun Lan					};
420777fa58dSYixun Lan				};
421777fa58dSYixun Lan
422777fa58dSYixun Lan				eth_rmii_y_pins: eth-y-rmii {
423777fa58dSYixun Lan					mux {
424777fa58dSYixun Lan						groups = "eth_mdio_y",
425777fa58dSYixun Lan						       "eth_mdc_y",
426777fa58dSYixun Lan						       "eth_rgmii_rx_clk_y",
427777fa58dSYixun Lan						       "eth_rx_dv_y",
428777fa58dSYixun Lan						       "eth_rxd0_y",
429777fa58dSYixun Lan						       "eth_rxd1_y",
430777fa58dSYixun Lan						       "eth_txen_y",
431777fa58dSYixun Lan						       "eth_txd0_y",
432777fa58dSYixun Lan						       "eth_txd1_y";
433777fa58dSYixun Lan						function = "eth";
434777fa58dSYixun Lan					};
435777fa58dSYixun Lan				};
436777fa58dSYixun Lan
43729390d27SYixun Lan				eth_rgmii_x_pins: eth-x-rgmii {
43829390d27SYixun Lan					mux {
43929390d27SYixun Lan						groups = "eth_mdio_x",
44029390d27SYixun Lan						       "eth_mdc_x",
44129390d27SYixun Lan						       "eth_rgmii_rx_clk_x",
44229390d27SYixun Lan						       "eth_rx_dv_x",
44329390d27SYixun Lan						       "eth_rxd0_x",
44429390d27SYixun Lan						       "eth_rxd1_x",
44529390d27SYixun Lan						       "eth_rxd2_rgmii",
44629390d27SYixun Lan						       "eth_rxd3_rgmii",
44729390d27SYixun Lan						       "eth_rgmii_tx_clk",
44829390d27SYixun Lan						       "eth_txen_x",
44929390d27SYixun Lan						       "eth_txd0_x",
45029390d27SYixun Lan						       "eth_txd1_x",
45129390d27SYixun Lan						       "eth_txd2_rgmii",
45229390d27SYixun Lan						       "eth_txd3_rgmii";
45329390d27SYixun Lan						function = "eth";
45429390d27SYixun Lan					};
45529390d27SYixun Lan				};
45629390d27SYixun Lan
45729390d27SYixun Lan				eth_rgmii_y_pins: eth-y-rgmii {
45829390d27SYixun Lan					mux {
45929390d27SYixun Lan						groups = "eth_mdio_y",
46029390d27SYixun Lan						       "eth_mdc_y",
46129390d27SYixun Lan						       "eth_rgmii_rx_clk_y",
46229390d27SYixun Lan						       "eth_rx_dv_y",
46329390d27SYixun Lan						       "eth_rxd0_y",
46429390d27SYixun Lan						       "eth_rxd1_y",
46529390d27SYixun Lan						       "eth_rxd2_rgmii",
46629390d27SYixun Lan						       "eth_rxd3_rgmii",
46729390d27SYixun Lan						       "eth_rgmii_tx_clk",
46829390d27SYixun Lan						       "eth_txen_y",
46929390d27SYixun Lan						       "eth_txd0_y",
47029390d27SYixun Lan						       "eth_txd1_y",
47129390d27SYixun Lan						       "eth_txd2_rgmii",
47229390d27SYixun Lan						       "eth_txd3_rgmii";
47329390d27SYixun Lan						function = "eth";
47429390d27SYixun Lan					};
47529390d27SYixun Lan				};
47629390d27SYixun Lan
4774a81e5ddSJian Hu				pwm_a_a_pins: pwm_a_a {
4784a81e5ddSJian Hu					mux {
4794a81e5ddSJian Hu						groups = "pwm_a_a";
4804a81e5ddSJian Hu						function = "pwm_a";
4814a81e5ddSJian Hu					};
4824a81e5ddSJian Hu				};
4834a81e5ddSJian Hu
4844a81e5ddSJian Hu				pwm_a_x18_pins: pwm_a_x18 {
4854a81e5ddSJian Hu					mux {
4864a81e5ddSJian Hu						groups = "pwm_a_x18";
4874a81e5ddSJian Hu						function = "pwm_a";
4884a81e5ddSJian Hu					};
4894a81e5ddSJian Hu				};
4904a81e5ddSJian Hu
4914a81e5ddSJian Hu				pwm_a_x20_pins: pwm_a_x20 {
4924a81e5ddSJian Hu					mux {
4934a81e5ddSJian Hu						groups = "pwm_a_x20";
4944a81e5ddSJian Hu						function = "pwm_a";
4954a81e5ddSJian Hu					};
4964a81e5ddSJian Hu				};
4974a81e5ddSJian Hu
4984a81e5ddSJian Hu				pwm_a_z_pins: pwm_a_z {
4994a81e5ddSJian Hu					mux {
5004a81e5ddSJian Hu						groups = "pwm_a_z";
5014a81e5ddSJian Hu						function = "pwm_a";
5024a81e5ddSJian Hu					};
5034a81e5ddSJian Hu				};
5044a81e5ddSJian Hu
5054a81e5ddSJian Hu				pwm_b_a_pins: pwm_b_a {
5064a81e5ddSJian Hu					mux {
5074a81e5ddSJian Hu						groups = "pwm_b_a";
5084a81e5ddSJian Hu						function = "pwm_b";
5094a81e5ddSJian Hu					};
5104a81e5ddSJian Hu				};
5114a81e5ddSJian Hu
5124a81e5ddSJian Hu				pwm_b_x_pins: pwm_b_x {
5134a81e5ddSJian Hu					mux {
5144a81e5ddSJian Hu						groups = "pwm_b_x";
5154a81e5ddSJian Hu						function = "pwm_b";
5164a81e5ddSJian Hu					};
5174a81e5ddSJian Hu				};
5184a81e5ddSJian Hu
5194a81e5ddSJian Hu				pwm_b_z_pins: pwm_b_z {
5204a81e5ddSJian Hu					mux {
5214a81e5ddSJian Hu						groups = "pwm_b_z";
5224a81e5ddSJian Hu						function = "pwm_b";
5234a81e5ddSJian Hu					};
5244a81e5ddSJian Hu				};
5254a81e5ddSJian Hu
5264a81e5ddSJian Hu				pwm_c_a_pins: pwm_c_a {
5274a81e5ddSJian Hu					mux {
5284a81e5ddSJian Hu						groups = "pwm_c_a";
5294a81e5ddSJian Hu						function = "pwm_c";
5304a81e5ddSJian Hu					};
5314a81e5ddSJian Hu				};
5324a81e5ddSJian Hu
5334a81e5ddSJian Hu				pwm_c_x10_pins: pwm_c_x10 {
5344a81e5ddSJian Hu					mux {
5354a81e5ddSJian Hu						groups = "pwm_c_x10";
5364a81e5ddSJian Hu						function = "pwm_c";
5374a81e5ddSJian Hu					};
5384a81e5ddSJian Hu				};
5394a81e5ddSJian Hu
5404a81e5ddSJian Hu				pwm_c_x17_pins: pwm_c_x17 {
5414a81e5ddSJian Hu					mux {
5424a81e5ddSJian Hu						groups = "pwm_c_x17";
5434a81e5ddSJian Hu						function = "pwm_c";
5444a81e5ddSJian Hu					};
5454a81e5ddSJian Hu				};
5464a81e5ddSJian Hu
5474a81e5ddSJian Hu				pwm_d_x11_pins: pwm_d_x11 {
5484a81e5ddSJian Hu					mux {
5494a81e5ddSJian Hu						groups = "pwm_d_x11";
5504a81e5ddSJian Hu						function = "pwm_d";
5514a81e5ddSJian Hu					};
5524a81e5ddSJian Hu				};
5534a81e5ddSJian Hu
5544a81e5ddSJian Hu				pwm_d_x16_pins: pwm_d_x16 {
5554a81e5ddSJian Hu					mux {
5564a81e5ddSJian Hu						groups = "pwm_d_x16";
5574a81e5ddSJian Hu						function = "pwm_d";
5584a81e5ddSJian Hu					};
5594a81e5ddSJian Hu				};
5608ae4284eSSunny Luo
5618ae4284eSSunny Luo				spi0_pins: spi0 {
5628ae4284eSSunny Luo					mux {
5638ae4284eSSunny Luo						groups = "spi0_miso",
5648ae4284eSSunny Luo							"spi0_mosi",
5658ae4284eSSunny Luo							"spi0_clk";
5668ae4284eSSunny Luo						function = "spi0";
5678ae4284eSSunny Luo					};
5688ae4284eSSunny Luo				};
5698ae4284eSSunny Luo
5708ae4284eSSunny Luo				spi0_ss0_pins: spi0_ss0 {
5718ae4284eSSunny Luo					mux {
5728ae4284eSSunny Luo						groups = "spi0_ss0";
5738ae4284eSSunny Luo						function = "spi0";
5748ae4284eSSunny Luo					};
5758ae4284eSSunny Luo				};
5768ae4284eSSunny Luo
5778ae4284eSSunny Luo				spi0_ss1_pins: spi0_ss1 {
5788ae4284eSSunny Luo					mux {
5798ae4284eSSunny Luo						groups = "spi0_ss1";
5808ae4284eSSunny Luo						function = "spi0";
5818ae4284eSSunny Luo					};
5828ae4284eSSunny Luo				};
5838ae4284eSSunny Luo
5848ae4284eSSunny Luo				spi0_ss2_pins: spi0_ss2 {
5858ae4284eSSunny Luo					mux {
5868ae4284eSSunny Luo						groups = "spi0_ss2";
5878ae4284eSSunny Luo						function = "spi0";
5888ae4284eSSunny Luo					};
5898ae4284eSSunny Luo				};
5908ae4284eSSunny Luo
5918ae4284eSSunny Luo
5928ae4284eSSunny Luo				spi1_a_pins: spi1_a {
5938ae4284eSSunny Luo					mux {
5948ae4284eSSunny Luo						groups = "spi1_miso_a",
5958ae4284eSSunny Luo							"spi1_mosi_a",
5968ae4284eSSunny Luo							"spi1_clk_a";
5978ae4284eSSunny Luo						function = "spi1";
5988ae4284eSSunny Luo					};
5998ae4284eSSunny Luo				};
6008ae4284eSSunny Luo
6018ae4284eSSunny Luo				spi1_ss0_a_pins: spi1_ss0_a {
6028ae4284eSSunny Luo					mux {
6038ae4284eSSunny Luo						groups = "spi1_ss0_a";
6048ae4284eSSunny Luo						function = "spi1";
6058ae4284eSSunny Luo					};
6068ae4284eSSunny Luo				};
6078ae4284eSSunny Luo
6088ae4284eSSunny Luo				spi1_ss1_pins: spi1_ss1 {
6098ae4284eSSunny Luo					mux {
6108ae4284eSSunny Luo						groups = "spi1_ss1";
6118ae4284eSSunny Luo						function = "spi1";
6128ae4284eSSunny Luo					};
6138ae4284eSSunny Luo				};
6148ae4284eSSunny Luo
6158ae4284eSSunny Luo				spi1_x_pins: spi1_x {
6168ae4284eSSunny Luo					mux {
6178ae4284eSSunny Luo						groups = "spi1_miso_x",
6188ae4284eSSunny Luo							"spi1_mosi_x",
6198ae4284eSSunny Luo							"spi1_clk_x";
6208ae4284eSSunny Luo						function = "spi1";
6218ae4284eSSunny Luo					};
6228ae4284eSSunny Luo				};
6238ae4284eSSunny Luo
6248ae4284eSSunny Luo				spi1_ss0_x_pins: spi1_ss0_x {
6258ae4284eSSunny Luo					mux {
6268ae4284eSSunny Luo						groups = "spi1_ss0_x";
6278ae4284eSSunny Luo						function = "spi1";
6288ae4284eSSunny Luo					};
6298ae4284eSSunny Luo				};
6308a7669a5SJian Hu
6318a7669a5SJian Hu				i2c0_pins: i2c0 {
6328a7669a5SJian Hu					mux {
6338a7669a5SJian Hu						groups = "i2c0_sck",
6348a7669a5SJian Hu							"i2c0_sda";
6358a7669a5SJian Hu						function = "i2c0";
6368a7669a5SJian Hu					};
6378a7669a5SJian Hu				};
6388a7669a5SJian Hu
6398a7669a5SJian Hu				i2c1_z_pins: i2c1_z {
6408a7669a5SJian Hu					mux {
6418a7669a5SJian Hu						groups = "i2c1_sck_z",
6428a7669a5SJian Hu							"i2c1_sda_z";
6438a7669a5SJian Hu						function = "i2c1";
6448a7669a5SJian Hu					};
6458a7669a5SJian Hu				};
6468a7669a5SJian Hu
6478a7669a5SJian Hu				i2c1_x_pins: i2c1_x {
6488a7669a5SJian Hu					mux {
6498a7669a5SJian Hu						groups = "i2c1_sck_x",
6508a7669a5SJian Hu							"i2c1_sda_x";
6518a7669a5SJian Hu						function = "i2c1";
6528a7669a5SJian Hu					};
6538a7669a5SJian Hu				};
6548a7669a5SJian Hu
6558a7669a5SJian Hu				i2c2_x_pins: i2c2_x {
6568a7669a5SJian Hu					mux {
6578a7669a5SJian Hu						groups = "i2c2_sck_x",
6588a7669a5SJian Hu							"i2c2_sda_x";
6598a7669a5SJian Hu						function = "i2c2";
6608a7669a5SJian Hu					};
6618a7669a5SJian Hu				};
6628a7669a5SJian Hu
6638a7669a5SJian Hu				i2c2_a_pins: i2c2_a {
6648a7669a5SJian Hu					mux {
6658a7669a5SJian Hu						groups = "i2c2_sck_a",
6668a7669a5SJian Hu							"i2c2_sda_a";
6678a7669a5SJian Hu						function = "i2c2";
6688a7669a5SJian Hu					};
6698a7669a5SJian Hu				};
6708a7669a5SJian Hu
6718a7669a5SJian Hu				i2c3_a6_pins: i2c3_a6 {
6728a7669a5SJian Hu					mux {
6738a7669a5SJian Hu						groups = "i2c3_sda_a6",
6748a7669a5SJian Hu							"i2c3_sck_a7";
6758a7669a5SJian Hu						function = "i2c3";
6768a7669a5SJian Hu					};
6778a7669a5SJian Hu				};
6788a7669a5SJian Hu
6798a7669a5SJian Hu				i2c3_a12_pins: i2c3_a12 {
6808a7669a5SJian Hu					mux {
6818a7669a5SJian Hu						groups = "i2c3_sda_a12",
6828a7669a5SJian Hu							"i2c3_sck_a13";
6838a7669a5SJian Hu						function = "i2c3";
6848a7669a5SJian Hu					};
6858a7669a5SJian Hu				};
6868a7669a5SJian Hu
6878a7669a5SJian Hu				i2c3_a19_pins: i2c3_a19 {
6888a7669a5SJian Hu					mux {
6898a7669a5SJian Hu						groups = "i2c3_sda_a19",
6908a7669a5SJian Hu							"i2c3_sck_a20";
6918a7669a5SJian Hu						function = "i2c3";
6928a7669a5SJian Hu					};
6938a7669a5SJian Hu				};
6944eae66a6SYixun Lan
6954eae66a6SYixun Lan				uart_a_pins: uart_a {
6964eae66a6SYixun Lan					mux {
6974eae66a6SYixun Lan						groups = "uart_tx_a",
6984eae66a6SYixun Lan							"uart_rx_a";
6994eae66a6SYixun Lan						function = "uart_a";
7004eae66a6SYixun Lan					};
7014eae66a6SYixun Lan				};
7024eae66a6SYixun Lan
7034eae66a6SYixun Lan				uart_a_cts_rts_pins: uart_a_cts_rts {
7044eae66a6SYixun Lan					mux {
7054eae66a6SYixun Lan						groups = "uart_cts_a",
7064eae66a6SYixun Lan							"uart_rts_a";
7074eae66a6SYixun Lan						function = "uart_a";
7084eae66a6SYixun Lan					};
7094eae66a6SYixun Lan				};
7104eae66a6SYixun Lan
7114eae66a6SYixun Lan				uart_b_x_pins: uart_b_x {
7124eae66a6SYixun Lan					mux {
7134eae66a6SYixun Lan						groups = "uart_tx_b_x",
7144eae66a6SYixun Lan							"uart_rx_b_x";
7154eae66a6SYixun Lan						function = "uart_b";
7164eae66a6SYixun Lan					};
7174eae66a6SYixun Lan				};
7184eae66a6SYixun Lan
7194eae66a6SYixun Lan				uart_b_x_cts_rts_pins: uart_b_x_cts_rts {
7204eae66a6SYixun Lan					mux {
7214eae66a6SYixun Lan						groups = "uart_cts_b_x",
7224eae66a6SYixun Lan							"uart_rts_b_x";
7234eae66a6SYixun Lan						function = "uart_b";
7244eae66a6SYixun Lan					};
7254eae66a6SYixun Lan				};
7264eae66a6SYixun Lan
7274eae66a6SYixun Lan				uart_b_z_pins: uart_b_z {
7284eae66a6SYixun Lan					mux {
7294eae66a6SYixun Lan						groups = "uart_tx_b_z",
7304eae66a6SYixun Lan							"uart_rx_b_z";
7314eae66a6SYixun Lan						function = "uart_b";
7324eae66a6SYixun Lan					};
7334eae66a6SYixun Lan				};
7344eae66a6SYixun Lan
7354eae66a6SYixun Lan				uart_b_z_cts_rts_pins: uart_b_z_cts_rts {
7364eae66a6SYixun Lan					mux {
7374eae66a6SYixun Lan						groups = "uart_cts_b_z",
7384eae66a6SYixun Lan							"uart_rts_b_z";
7394eae66a6SYixun Lan						function = "uart_b";
7404eae66a6SYixun Lan					};
7414eae66a6SYixun Lan				};
7424eae66a6SYixun Lan
7434eae66a6SYixun Lan				uart_ao_b_z_pins: uart_ao_b_z {
7444eae66a6SYixun Lan					mux {
7454eae66a6SYixun Lan						groups = "uart_ao_tx_b_z",
7464eae66a6SYixun Lan							"uart_ao_rx_b_z";
7474eae66a6SYixun Lan						function = "uart_ao_b_z";
7484eae66a6SYixun Lan					};
7494eae66a6SYixun Lan				};
7504eae66a6SYixun Lan
7514eae66a6SYixun Lan				uart_ao_b_z_cts_rts_pins: uart_ao_b_z_cts_rts {
7524eae66a6SYixun Lan					mux {
7534eae66a6SYixun Lan						groups = "uart_ao_cts_b_z",
7544eae66a6SYixun Lan							"uart_ao_rts_b_z";
7554eae66a6SYixun Lan						function = "uart_ao_b_z";
7564eae66a6SYixun Lan					};
7574eae66a6SYixun Lan				};
758de05ded6SXingyu Chen			};
759de05ded6SXingyu Chen		};
760de05ded6SXingyu Chen
7619d59b708SYixun Lan		sram: sram@fffc0000 {
7629d59b708SYixun Lan			compatible = "amlogic,meson-axg-sram", "mmio-sram";
7639d59b708SYixun Lan			reg = <0x0 0xfffc0000 0x0 0x20000>;
7649d59b708SYixun Lan			#address-cells = <1>;
7659d59b708SYixun Lan			#size-cells = <1>;
7669d59b708SYixun Lan			ranges = <0 0x0 0xfffc0000 0x20000>;
7679d59b708SYixun Lan
7689d59b708SYixun Lan			cpu_scp_lpri: scp-shmem@0 {
7699d59b708SYixun Lan				compatible = "amlogic,meson-axg-scp-shmem";
7709d59b708SYixun Lan				reg = <0x13000 0x400>;
7719d59b708SYixun Lan			};
7729d59b708SYixun Lan
7739d59b708SYixun Lan			cpu_scp_hpri: scp-shmem@200 {
7749d59b708SYixun Lan				compatible = "amlogic,meson-axg-scp-shmem";
7759d59b708SYixun Lan				reg = <0x13400 0x400>;
7769d59b708SYixun Lan			};
7779d59b708SYixun Lan		};
7789d59b708SYixun Lan
7790cb6c604SKevin Hilman		aobus: bus@ff800000 {
7809d59b708SYixun Lan			compatible = "simple-bus";
7819d59b708SYixun Lan			reg = <0x0 0xff800000 0x0 0x100000>;
7829d59b708SYixun Lan			#address-cells = <2>;
7839d59b708SYixun Lan			#size-cells = <2>;
7849d59b708SYixun Lan			ranges = <0x0 0x0 0x0 0xff800000 0x0 0x100000>;
7859d59b708SYixun Lan
786de05ded6SXingyu Chen			pinctrl_aobus: pinctrl@14 {
787de05ded6SXingyu Chen				compatible = "amlogic,meson-axg-aobus-pinctrl";
788de05ded6SXingyu Chen				#address-cells = <2>;
789de05ded6SXingyu Chen				#size-cells = <2>;
790de05ded6SXingyu Chen				ranges;
791de05ded6SXingyu Chen
792de05ded6SXingyu Chen				gpio_ao: bank@14 {
793de05ded6SXingyu Chen					reg = <0x0 0x00014 0x0 0x8>,
794de05ded6SXingyu Chen						<0x0 0x0002c 0x0 0x4>,
795de05ded6SXingyu Chen						<0x0 0x00024 0x0 0x8>;
796de05ded6SXingyu Chen					reg-names = "mux", "pull", "gpio";
797de05ded6SXingyu Chen					gpio-controller;
798de05ded6SXingyu Chen					#gpio-cells = <2>;
799de05ded6SXingyu Chen					gpio-ranges = <&pinctrl_aobus 0 0 15>;
800de05ded6SXingyu Chen				};
8017bd46a79SYixun Lan
8027bd46a79SYixun Lan				remote_input_ao_pins: remote_input_ao {
8037bd46a79SYixun Lan					mux {
8047bd46a79SYixun Lan						groups = "remote_input_ao";
8057bd46a79SYixun Lan						function = "remote_input_ao";
8067bd46a79SYixun Lan					};
8077bd46a79SYixun Lan				};
8084eae66a6SYixun Lan
8094eae66a6SYixun Lan				uart_ao_a_pins: uart_ao_a {
8104eae66a6SYixun Lan					mux {
8114eae66a6SYixun Lan						groups = "uart_ao_tx_a",
8124eae66a6SYixun Lan							"uart_ao_rx_a";
8134eae66a6SYixun Lan						function = "uart_ao_a";
8144eae66a6SYixun Lan					};
8154eae66a6SYixun Lan				};
8164eae66a6SYixun Lan
8174eae66a6SYixun Lan				uart_ao_a_cts_rts_pins: uart_ao_a_cts_rts {
8184eae66a6SYixun Lan					mux {
8194eae66a6SYixun Lan						groups = "uart_ao_cts_a",
8204eae66a6SYixun Lan							"uart_ao_rts_a";
8214eae66a6SYixun Lan						function = "uart_ao_a";
8224eae66a6SYixun Lan					};
8234eae66a6SYixun Lan				};
8244eae66a6SYixun Lan
8254eae66a6SYixun Lan				uart_ao_b_pins: uart_ao_b {
8264eae66a6SYixun Lan					mux {
8274eae66a6SYixun Lan						groups = "uart_ao_tx_b",
8284eae66a6SYixun Lan							"uart_ao_rx_b";
8294eae66a6SYixun Lan						function = "uart_ao_b";
8304eae66a6SYixun Lan					};
8314eae66a6SYixun Lan				};
8324eae66a6SYixun Lan
8334eae66a6SYixun Lan				uart_ao_b_cts_rts_pins: uart_ao_b_cts_rts {
8344eae66a6SYixun Lan					mux {
8354eae66a6SYixun Lan						groups = "uart_ao_cts_b",
8364eae66a6SYixun Lan							"uart_ao_rts_b";
8374eae66a6SYixun Lan						function = "uart_ao_b";
8384eae66a6SYixun Lan					};
8394eae66a6SYixun Lan				};
840de05ded6SXingyu Chen			};
841de05ded6SXingyu Chen
842a04c18cbSJerome Brunet			sec_AO: ao-secure@140 {
843a04c18cbSJerome Brunet				compatible = "amlogic,meson-gx-ao-secure", "syscon";
844a04c18cbSJerome Brunet				reg = <0x0 0x140 0x0 0x140>;
845a04c18cbSJerome Brunet				amlogic,has-chip-id;
846a04c18cbSJerome Brunet			};
847a04c18cbSJerome Brunet
8484a81e5ddSJian Hu			pwm_AO_ab: pwm@7000 {
8494a81e5ddSJian Hu				compatible = "amlogic,meson-axg-ao-pwm";
8504a81e5ddSJian Hu				reg = <0x0 0x07000 0x0 0x20>;
8514a81e5ddSJian Hu				#pwm-cells = <3>;
8524a81e5ddSJian Hu				status = "disabled";
8534a81e5ddSJian Hu			};
8544a81e5ddSJian Hu
8554a81e5ddSJian Hu			pwm_AO_cd: pwm@2000 {
856b4ff05caSJerome Brunet				compatible = "amlogic,meson-axg-ao-pwm";
8574a81e5ddSJian Hu				reg = <0x0 0x02000  0x0 0x20>;
8584a81e5ddSJian Hu				#pwm-cells = <3>;
8594a81e5ddSJian Hu				status = "disabled";
8604a81e5ddSJian Hu			};
8614a81e5ddSJian Hu
862dc6f858eSJian Hu			i2c_AO: i2c@5000 {
863dc6f858eSJian Hu				compatible = "amlogic,meson-axg-i2c";
864dc6f858eSJian Hu				status = "disabled";
865dc6f858eSJian Hu				reg = <0x0 0x05000 0x0 0x20>;
866dc6f858eSJian Hu				interrupts = <GIC_SPI 195 IRQ_TYPE_EDGE_RISING>;
867dc6f858eSJian Hu				#address-cells = <1>;
868dc6f858eSJian Hu				#size-cells = <0>;
869dc6f858eSJian Hu				clocks = <&clkc CLKID_I2C>;
870dc6f858eSJian Hu				clock-names = "clk_i2c";
871dc6f858eSJian Hu			};
872dc6f858eSJian Hu
8739d59b708SYixun Lan			uart_AO: serial@3000 {
8749d59b708SYixun Lan				compatible = "amlogic,meson-gx-uart", "amlogic,meson-ao-uart";
8759d59b708SYixun Lan				reg = <0x0 0x3000 0x0 0x18>;
8769d59b708SYixun Lan				interrupts = <GIC_SPI 193 IRQ_TYPE_EDGE_RISING>;
87706b7a631SYixun Lan				clocks = <&xtal>, <&clkc CLKID_CLK81>, <&xtal>;
8789d59b708SYixun Lan				clock-names = "xtal", "pclk", "baud";
8799d59b708SYixun Lan				status = "disabled";
8809d59b708SYixun Lan			};
8819d59b708SYixun Lan
8829d59b708SYixun Lan			uart_AO_B: serial@4000 {
8839d59b708SYixun Lan				compatible = "amlogic,meson-gx-uart", "amlogic,meson-ao-uart";
8849d59b708SYixun Lan				reg = <0x0 0x4000 0x0 0x18>;
8859d59b708SYixun Lan				interrupts = <GIC_SPI 197 IRQ_TYPE_EDGE_RISING>;
88606b7a631SYixun Lan				clocks = <&xtal>, <&clkc CLKID_CLK81>, <&xtal>;
8879d59b708SYixun Lan				clock-names = "xtal", "pclk", "baud";
8889d59b708SYixun Lan				status = "disabled";
8899d59b708SYixun Lan			};
8907bd46a79SYixun Lan
8917bd46a79SYixun Lan			ir: ir@8000 {
8927bd46a79SYixun Lan				compatible = "amlogic,meson-gxbb-ir";
8937bd46a79SYixun Lan				reg = <0x0 0x8000 0x0 0x20>;
8947bd46a79SYixun Lan				interrupts = <GIC_SPI 196 IRQ_TYPE_EDGE_RISING>;
8957bd46a79SYixun Lan				status = "disabled";
8967bd46a79SYixun Lan			};
8979d59b708SYixun Lan		};
8989d59b708SYixun Lan	};
8999d59b708SYixun Lan};
900