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>
10e03421ecSQiufang Dai#include <dt-bindings/clock/axg-aoclkc.h>
11221cf34bSNan Li#include <dt-bindings/gpio/meson-axg-gpio.h>
12098e5303SJerome Brunet#include <dt-bindings/reset/amlogic,meson-axg-reset.h>
139d59b708SYixun Lan
149d59b708SYixun Lan/ {
159d59b708SYixun Lan	compatible = "amlogic,meson-axg";
169d59b708SYixun Lan
179d59b708SYixun Lan	interrupt-parent = <&gic>;
189d59b708SYixun Lan	#address-cells = <2>;
199d59b708SYixun Lan	#size-cells = <2>;
209d59b708SYixun Lan
219d59b708SYixun Lan	reserved-memory {
229d59b708SYixun Lan		#address-cells = <2>;
239d59b708SYixun Lan		#size-cells = <2>;
249d59b708SYixun Lan		ranges;
259d59b708SYixun Lan
269d59b708SYixun Lan		/* 16 MiB reserved for Hardware ROM Firmware */
279d59b708SYixun Lan		hwrom_reserved: hwrom@0 {
289d59b708SYixun Lan			reg = <0x0 0x0 0x0 0x1000000>;
299d59b708SYixun Lan			no-map;
309d59b708SYixun Lan		};
319d59b708SYixun Lan
329d59b708SYixun Lan		/* Alternate 3 MiB reserved for ARM Trusted Firmware (BL31) */
33a5494aedSArnd Bergmann		secmon_reserved: secmon@5000000 {
349d59b708SYixun Lan			reg = <0x0 0x05000000 0x0 0x300000>;
359d59b708SYixun Lan			no-map;
369d59b708SYixun Lan		};
379d59b708SYixun Lan	};
389d59b708SYixun Lan
399d59b708SYixun Lan	cpus {
409d59b708SYixun Lan		#address-cells = <0x2>;
419d59b708SYixun Lan		#size-cells = <0x0>;
429d59b708SYixun Lan
439d59b708SYixun Lan		cpu0: cpu@0 {
449d59b708SYixun Lan			device_type = "cpu";
459d59b708SYixun Lan			compatible = "arm,cortex-a53", "arm,armv8";
469d59b708SYixun Lan			reg = <0x0 0x0>;
479d59b708SYixun Lan			enable-method = "psci";
489d59b708SYixun Lan			next-level-cache = <&l2>;
499d59b708SYixun Lan		};
509d59b708SYixun Lan
519d59b708SYixun Lan		cpu1: cpu@1 {
529d59b708SYixun Lan			device_type = "cpu";
539d59b708SYixun Lan			compatible = "arm,cortex-a53", "arm,armv8";
549d59b708SYixun Lan			reg = <0x0 0x1>;
559d59b708SYixun Lan			enable-method = "psci";
569d59b708SYixun Lan			next-level-cache = <&l2>;
579d59b708SYixun Lan		};
589d59b708SYixun Lan
599d59b708SYixun Lan		cpu2: cpu@2 {
609d59b708SYixun Lan			device_type = "cpu";
619d59b708SYixun Lan			compatible = "arm,cortex-a53", "arm,armv8";
629d59b708SYixun Lan			reg = <0x0 0x2>;
639d59b708SYixun Lan			enable-method = "psci";
649d59b708SYixun Lan			next-level-cache = <&l2>;
659d59b708SYixun Lan		};
669d59b708SYixun Lan
679d59b708SYixun Lan		cpu3: cpu@3 {
689d59b708SYixun Lan			device_type = "cpu";
699d59b708SYixun Lan			compatible = "arm,cortex-a53", "arm,armv8";
709d59b708SYixun Lan			reg = <0x0 0x3>;
719d59b708SYixun Lan			enable-method = "psci";
729d59b708SYixun Lan			next-level-cache = <&l2>;
739d59b708SYixun Lan		};
749d59b708SYixun Lan
759d59b708SYixun Lan		l2: l2-cache0 {
769d59b708SYixun Lan			compatible = "cache";
779d59b708SYixun Lan		};
789d59b708SYixun Lan	};
799d59b708SYixun Lan
809d59b708SYixun Lan	arm-pmu {
819d59b708SYixun Lan		compatible = "arm,cortex-a53-pmu";
829d59b708SYixun Lan		interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>,
839d59b708SYixun Lan			     <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>,
849d59b708SYixun Lan			     <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>,
859d59b708SYixun Lan			     <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
869d59b708SYixun Lan		interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
879d59b708SYixun Lan	};
889d59b708SYixun Lan
899d59b708SYixun Lan	psci {
909d59b708SYixun Lan		compatible = "arm,psci-1.0";
919d59b708SYixun Lan		method = "smc";
929d59b708SYixun Lan	};
939d59b708SYixun Lan
949d59b708SYixun Lan	timer {
959d59b708SYixun Lan		compatible = "arm,armv8-timer";
969d59b708SYixun Lan		interrupts = <GIC_PPI 13
979d59b708SYixun Lan			(GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>,
989d59b708SYixun Lan			     <GIC_PPI 14
999d59b708SYixun Lan			(GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>,
1009d59b708SYixun Lan			     <GIC_PPI 11
1019d59b708SYixun Lan			(GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>,
1029d59b708SYixun Lan			     <GIC_PPI 10
1039d59b708SYixun Lan			(GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>;
1049d59b708SYixun Lan	};
1059d59b708SYixun Lan
1069d59b708SYixun Lan	xtal: xtal-clk {
1079d59b708SYixun Lan		compatible = "fixed-clock";
1089d59b708SYixun Lan		clock-frequency = <24000000>;
1099d59b708SYixun Lan		clock-output-names = "xtal";
1109d59b708SYixun Lan		#clock-cells = <0>;
1119d59b708SYixun Lan	};
1129d59b708SYixun Lan
1135e395e14SYixun Lan	ao_alt_xtal: ao_alt_xtal-clk {
1145e395e14SYixun Lan		compatible = "fixed-clock";
1155e395e14SYixun Lan		clock-frequency = <32000000>;
1165e395e14SYixun Lan		clock-output-names = "ao_alt_xtal";
1175e395e14SYixun Lan		#clock-cells = <0>;
1185e395e14SYixun Lan	};
1195e395e14SYixun Lan
1209d59b708SYixun Lan	soc {
1219d59b708SYixun Lan		compatible = "simple-bus";
1229d59b708SYixun Lan		#address-cells = <2>;
1239d59b708SYixun Lan		#size-cells = <2>;
1249d59b708SYixun Lan		ranges;
1259d59b708SYixun Lan
126221cf34bSNan Li		apb: apb@ffe00000 {
127221cf34bSNan Li			compatible = "simple-bus";
128221cf34bSNan Li			reg = <0x0 0xffe00000 0x0 0x200000>;
129221cf34bSNan Li			#address-cells = <2>;
130221cf34bSNan Li			#size-cells = <2>;
131221cf34bSNan Li			ranges = <0x0 0x0 0x0 0xffe00000 0x0 0x200000>;
132221cf34bSNan Li
133221cf34bSNan Li			sd_emmc_b: sd@5000 {
134221cf34bSNan Li				compatible = "amlogic,meson-axg-mmc";
135221cf34bSNan Li				reg = <0x0 0x5000 0x0 0x2000>;
136221cf34bSNan Li				interrupts = <GIC_SPI 217 IRQ_TYPE_EDGE_RISING>;
137221cf34bSNan Li				status = "disabled";
138221cf34bSNan Li				clocks = <&clkc CLKID_SD_EMMC_B>,
139221cf34bSNan Li					<&clkc CLKID_SD_EMMC_B_CLK0>,
140221cf34bSNan Li					<&clkc CLKID_FCLK_DIV2>;
141221cf34bSNan Li				clock-names = "core", "clkin0", "clkin1";
142098e5303SJerome Brunet				resets = <&reset RESET_SD_EMMC_B>;
143221cf34bSNan Li			};
144221cf34bSNan Li
145221cf34bSNan Li			sd_emmc_c: mmc@7000 {
146221cf34bSNan Li				compatible = "amlogic,meson-axg-mmc";
147221cf34bSNan Li				reg = <0x0 0x7000 0x0 0x2000>;
148221cf34bSNan Li				interrupts = <GIC_SPI 218 IRQ_TYPE_EDGE_RISING>;
149221cf34bSNan Li				status = "disabled";
150221cf34bSNan Li				clocks = <&clkc CLKID_SD_EMMC_C>,
151221cf34bSNan Li					<&clkc CLKID_SD_EMMC_C_CLK0>,
152221cf34bSNan Li					<&clkc CLKID_FCLK_DIV2>;
153221cf34bSNan Li				clock-names = "core", "clkin0", "clkin1";
154098e5303SJerome Brunet				resets = <&reset RESET_SD_EMMC_C>;
155221cf34bSNan Li			};
156221cf34bSNan Li		};
157221cf34bSNan Li
1580cb6c604SKevin Hilman		cbus: bus@ffd00000 {
1599d59b708SYixun Lan			compatible = "simple-bus";
1609d59b708SYixun Lan			reg = <0x0 0xffd00000 0x0 0x25000>;
1619d59b708SYixun Lan			#address-cells = <2>;
1629d59b708SYixun Lan			#size-cells = <2>;
1639d59b708SYixun Lan			ranges = <0x0 0x0 0x0 0xffd00000 0x0 0x25000>;
1649d59b708SYixun Lan
165b0e59f94SYixun Lan			gpio_intc: interrupt-controller@f080 {
166b0e59f94SYixun Lan				compatible = "amlogic,meson-gpio-intc";
167b0e59f94SYixun Lan				reg = <0x0 0xf080 0x0 0x10>;
168b0e59f94SYixun Lan				interrupt-controller;
169b0e59f94SYixun Lan				#interrupt-cells = <2>;
170b0e59f94SYixun Lan				amlogic,channel-interrupts = <64 65 66 67 68 69 70 71>;
171b0e59f94SYixun Lan				status = "disabled";
172b0e59f94SYixun Lan			};
173b0e59f94SYixun Lan
1744a81e5ddSJian Hu			pwm_ab: pwm@1b000 {
1754a81e5ddSJian Hu				compatible = "amlogic,meson-axg-ee-pwm";
1764a81e5ddSJian Hu				reg = <0x0 0x1b000 0x0 0x20>;
1774a81e5ddSJian Hu				#pwm-cells = <3>;
1784a81e5ddSJian Hu				status = "disabled";
1794a81e5ddSJian Hu			};
1804a81e5ddSJian Hu
1814a81e5ddSJian Hu			pwm_cd: pwm@1a000 {
1824a81e5ddSJian Hu				compatible = "amlogic,meson-axg-ee-pwm";
1834a81e5ddSJian Hu				reg = <0x0 0x1a000 0x0 0x20>;
1844a81e5ddSJian Hu				#pwm-cells = <3>;
1854a81e5ddSJian Hu				status = "disabled";
1864a81e5ddSJian Hu			};
1874a81e5ddSJian Hu
18843b9f617SYixun Lan			reset: reset-controller@1004 {
18943b9f617SYixun Lan				compatible = "amlogic,meson-axg-reset";
19043b9f617SYixun Lan				reg = <0x0 0x01004 0x0 0x9c>;
19143b9f617SYixun Lan				#reset-cells = <1>;
19243b9f617SYixun Lan			};
19343b9f617SYixun Lan
1948ae4284eSSunny Luo			spicc0: spi@13000 {
1958ae4284eSSunny Luo				compatible = "amlogic,meson-axg-spicc";
1968ae4284eSSunny Luo				reg = <0x0 0x13000 0x0 0x3c>;
1978ae4284eSSunny Luo				interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
1988ae4284eSSunny Luo				clocks = <&clkc CLKID_SPICC0>;
1998ae4284eSSunny Luo				clock-names = "core";
2008ae4284eSSunny Luo				#address-cells = <1>;
2018ae4284eSSunny Luo				#size-cells = <0>;
2028ae4284eSSunny Luo				status = "disabled";
2038ae4284eSSunny Luo			};
2048ae4284eSSunny Luo
2058ae4284eSSunny Luo			spicc1: spi@15000 {
2068ae4284eSSunny Luo				compatible = "amlogic,meson-axg-spicc";
2078ae4284eSSunny Luo				reg = <0x0 0x15000 0x0 0x3c>;
2088ae4284eSSunny Luo				interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
2098ae4284eSSunny Luo				clocks = <&clkc CLKID_SPICC1>;
2108ae4284eSSunny Luo				clock-names = "core";
2118ae4284eSSunny Luo				#address-cells = <1>;
2128ae4284eSSunny Luo				#size-cells = <0>;
2138ae4284eSSunny Luo				status = "disabled";
2148ae4284eSSunny Luo			};
2158ae4284eSSunny Luo
216dc6f858eSJian Hu			i2c0: i2c@1f000 {
217dc6f858eSJian Hu				compatible = "amlogic,meson-axg-i2c";
218dc6f858eSJian Hu				reg = <0x0 0x1f000 0x0 0x20>;
2192b6ff972SJerome Brunet				interrupts = <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>;
2202b6ff972SJerome Brunet				clocks = <&clkc CLKID_I2C>;
221dc6f858eSJian Hu				#address-cells = <1>;
222dc6f858eSJian Hu				#size-cells = <0>;
2232b6ff972SJerome Brunet				status = "disabled";
224dc6f858eSJian Hu			};
225dc6f858eSJian Hu
226dc6f858eSJian Hu			i2c1: i2c@1e000 {
227dc6f858eSJian Hu				compatible = "amlogic,meson-axg-i2c";
2282b6ff972SJerome Brunet				reg = <0x0 0x1e000 0x0 0x20>;
2292b6ff972SJerome Brunet				interrupts = <GIC_SPI 214 IRQ_TYPE_EDGE_RISING>;
2302b6ff972SJerome Brunet				clocks = <&clkc CLKID_I2C>;
231dc6f858eSJian Hu				#address-cells = <1>;
232dc6f858eSJian Hu				#size-cells = <0>;
233dc6f858eSJian Hu				status = "disabled";
234dc6f858eSJian Hu			};
235dc6f858eSJian Hu
236dc6f858eSJian Hu			i2c2: i2c@1d000 {
237dc6f858eSJian Hu				compatible = "amlogic,meson-axg-i2c";
238dc6f858eSJian Hu				reg = <0x0 0x1d000 0x0 0x20>;
2392b6ff972SJerome Brunet				interrupts = <GIC_SPI 215 IRQ_TYPE_EDGE_RISING>;
2402b6ff972SJerome Brunet				clocks = <&clkc CLKID_I2C>;
241dc6f858eSJian Hu				#address-cells = <1>;
242dc6f858eSJian Hu				#size-cells = <0>;
2432b6ff972SJerome Brunet				status = "disabled";
244dc6f858eSJian Hu			};
245dc6f858eSJian Hu
246dc6f858eSJian Hu			i2c3: i2c@1c000 {
247dc6f858eSJian Hu				compatible = "amlogic,meson-axg-i2c";
248dc6f858eSJian Hu				reg = <0x0 0x1c000 0x0 0x20>;
2492b6ff972SJerome Brunet				interrupts = <GIC_SPI 39 IRQ_TYPE_EDGE_RISING>;
2502b6ff972SJerome Brunet				clocks = <&clkc CLKID_I2C>;
251dc6f858eSJian Hu				#address-cells = <1>;
252dc6f858eSJian Hu				#size-cells = <0>;
2532b6ff972SJerome Brunet				status = "disabled";
254dc6f858eSJian Hu			};
255dc6f858eSJian Hu
2569d59b708SYixun Lan			uart_A: serial@24000 {
25758662130SYixun Lan				compatible = "amlogic,meson-gx-uart";
25877f5cdbdSYixun Lan				reg = <0x0 0x24000 0x0 0x18>;
2599d59b708SYixun Lan				interrupts = <GIC_SPI 26 IRQ_TYPE_EDGE_RISING>;
2609d59b708SYixun Lan				status = "disabled";
26158662130SYixun Lan				clocks = <&xtal>, <&clkc CLKID_UART0>, <&xtal>;
26258662130SYixun Lan				clock-names = "xtal", "pclk", "baud";
2639d59b708SYixun Lan			};
2649d59b708SYixun Lan
2659d59b708SYixun Lan			uart_B: serial@23000 {
26658662130SYixun Lan				compatible = "amlogic,meson-gx-uart";
26777f5cdbdSYixun Lan				reg = <0x0 0x23000 0x0 0x18>;
2689d59b708SYixun Lan				interrupts = <GIC_SPI 75 IRQ_TYPE_EDGE_RISING>;
2699d59b708SYixun Lan				status = "disabled";
27058662130SYixun Lan				clocks = <&xtal>, <&clkc CLKID_UART1>, <&xtal>;
27158662130SYixun Lan				clock-names = "xtal", "pclk", "baud";
2729d59b708SYixun Lan			};
2739d59b708SYixun Lan		};
2749d59b708SYixun Lan
27529390d27SYixun Lan		ethmac: ethernet@ff3f0000 {
27629390d27SYixun Lan			compatible = "amlogic,meson-gxbb-dwmac", "snps,dwmac";
27729390d27SYixun Lan			reg = <0x0 0xff3f0000 0x0 0x10000
27829390d27SYixun Lan				0x0 0xff634540 0x0 0x8>;
27929390d27SYixun Lan			interrupts = <GIC_SPI 8 IRQ_TYPE_EDGE_RISING>;
28029390d27SYixun Lan			interrupt-names = "macirq";
28129390d27SYixun Lan			clocks = <&clkc CLKID_ETH>,
28229390d27SYixun Lan				 <&clkc CLKID_FCLK_DIV2>,
28329390d27SYixun Lan				 <&clkc CLKID_MPLL2>;
28429390d27SYixun Lan			clock-names = "stmmaceth", "clkin0", "clkin1";
28529390d27SYixun Lan			status = "disabled";
28629390d27SYixun Lan		};
28729390d27SYixun Lan
2889d59b708SYixun Lan		gic: interrupt-controller@ffc01000 {
2899d59b708SYixun Lan			compatible = "arm,gic-400";
2909d59b708SYixun Lan			reg = <0x0 0xffc01000 0 0x1000>,
2919d59b708SYixun Lan			      <0x0 0xffc02000 0 0x2000>,
2929d59b708SYixun Lan			      <0x0 0xffc04000 0 0x2000>,
2939d59b708SYixun Lan			      <0x0 0xffc06000 0 0x2000>;
2949d59b708SYixun Lan			interrupt-controller;
2959d59b708SYixun Lan			interrupts = <GIC_PPI 9
2969d59b708SYixun Lan				(GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>;
2979d59b708SYixun Lan			#interrupt-cells = <3>;
2989d59b708SYixun Lan			#address-cells = <0>;
2999d59b708SYixun Lan		};
3009d59b708SYixun Lan
301abfc18f9SQiufang Dai		hiubus: bus@ff63c000 {
302abfc18f9SQiufang Dai			compatible = "simple-bus";
303abfc18f9SQiufang Dai			reg = <0x0 0xff63c000 0x0 0x1c00>;
304abfc18f9SQiufang Dai			#address-cells = <2>;
305abfc18f9SQiufang Dai			#size-cells = <2>;
306abfc18f9SQiufang Dai			ranges = <0x0 0x0 0x0 0xff63c000 0x0 0x1c00>;
307abfc18f9SQiufang Dai
308cc4d6641SJerome Brunet			sysctrl: system-controller@0 {
309cc4d6641SJerome Brunet				compatible = "amlogic,meson-axg-hhi-sysctrl", "syscon", "simple-mfd";
310cc4d6641SJerome Brunet				reg = <0 0 0 0x400>;
311cc4d6641SJerome Brunet
312cc4d6641SJerome Brunet				clkc: clock-controller {
313abfc18f9SQiufang Dai					compatible = "amlogic,axg-clkc";
314abfc18f9SQiufang Dai					#clock-cells = <1>;
315cc4d6641SJerome Brunet				};
316abfc18f9SQiufang Dai			};
317abfc18f9SQiufang Dai		};
318abfc18f9SQiufang Dai
3199d59b708SYixun Lan		mailbox: mailbox@ff63dc00 {
3209d59b708SYixun Lan			compatible = "amlogic,meson-gx-mhu", "amlogic,meson-gxbb-mhu";
3219d59b708SYixun Lan			reg = <0 0xff63dc00 0 0x400>;
3229d59b708SYixun Lan			interrupts = <GIC_SPI 208 IRQ_TYPE_EDGE_RISING>,
3239d59b708SYixun Lan				     <GIC_SPI 209 IRQ_TYPE_EDGE_RISING>,
3249d59b708SYixun Lan				     <GIC_SPI 210 IRQ_TYPE_EDGE_RISING>;
3259d59b708SYixun Lan			#mbox-cells = <1>;
3269d59b708SYixun Lan		};
3279d59b708SYixun Lan
328de05ded6SXingyu Chen		periphs: periphs@ff634000 {
329de05ded6SXingyu Chen			compatible = "simple-bus";
330de05ded6SXingyu Chen			reg = <0x0 0xff634000 0x0 0x2000>;
331de05ded6SXingyu Chen			#address-cells = <2>;
332de05ded6SXingyu Chen			#size-cells = <2>;
333de05ded6SXingyu Chen			ranges = <0x0 0x0 0x0 0xff634000 0x0 0x2000>;
334de05ded6SXingyu Chen
335eafd53d3SJerome Brunet			hwrng: rng {
336eafd53d3SJerome Brunet				compatible = "amlogic,meson-rng";
337eafd53d3SJerome Brunet				reg = <0x0 0x18 0x0 0x4>;
338eafd53d3SJerome Brunet				clocks = <&clkc CLKID_RNG0>;
339eafd53d3SJerome Brunet				clock-names = "core";
340eafd53d3SJerome Brunet			};
341eafd53d3SJerome Brunet
342de05ded6SXingyu Chen			pinctrl_periphs: pinctrl@480 {
343de05ded6SXingyu Chen				compatible = "amlogic,meson-axg-periphs-pinctrl";
344de05ded6SXingyu Chen				#address-cells = <2>;
345de05ded6SXingyu Chen				#size-cells = <2>;
346de05ded6SXingyu Chen				ranges;
347de05ded6SXingyu Chen
348de05ded6SXingyu Chen				gpio: bank@480 {
349de05ded6SXingyu Chen					reg = <0x0 0x00480 0x0 0x40>,
350de05ded6SXingyu Chen						<0x0 0x004e8 0x0 0x14>,
351de05ded6SXingyu Chen						<0x0 0x00520 0x0 0x14>,
352de05ded6SXingyu Chen						<0x0 0x00430 0x0 0x3c>;
353de05ded6SXingyu Chen					reg-names = "mux", "pull", "pull-enable", "gpio";
354de05ded6SXingyu Chen					gpio-controller;
355de05ded6SXingyu Chen					#gpio-cells = <2>;
356de05ded6SXingyu Chen					gpio-ranges = <&pinctrl_periphs 0 0 86>;
357de05ded6SXingyu Chen				};
3584a81e5ddSJian Hu
359221cf34bSNan Li				emmc_pins: emmc {
360221cf34bSNan Li					mux {
361221cf34bSNan Li						groups = "emmc_nand_d0",
362221cf34bSNan Li							"emmc_nand_d1",
363221cf34bSNan Li							"emmc_nand_d2",
364221cf34bSNan Li							"emmc_nand_d3",
365221cf34bSNan Li							"emmc_nand_d4",
366221cf34bSNan Li							"emmc_nand_d5",
367221cf34bSNan Li							"emmc_nand_d6",
368221cf34bSNan Li							"emmc_nand_d7",
369221cf34bSNan Li							"emmc_clk",
370221cf34bSNan Li							"emmc_cmd",
371221cf34bSNan Li							"emmc_ds";
372221cf34bSNan Li						function = "emmc";
373221cf34bSNan Li					};
374221cf34bSNan Li				};
375221cf34bSNan Li
376221cf34bSNan Li				emmc_clk_gate_pins: emmc_clk_gate {
377221cf34bSNan Li					mux {
378221cf34bSNan Li						groups = "BOOT_8";
379221cf34bSNan Li						function = "gpio_periphs";
380221cf34bSNan Li					};
381221cf34bSNan Li					cfg-pull-down {
382221cf34bSNan Li						pins = "BOOT_8";
383221cf34bSNan Li						bias-pull-down;
384221cf34bSNan Li					};
385221cf34bSNan Li				};
386221cf34bSNan Li
387221cf34bSNan Li				sdio_pins: sdio {
388221cf34bSNan Li					mux {
389221cf34bSNan Li						groups = "sdio_d0",
390221cf34bSNan Li							"sdio_d1",
391221cf34bSNan Li							"sdio_d2",
392221cf34bSNan Li							"sdio_d3",
393221cf34bSNan Li							"sdio_cmd",
394221cf34bSNan Li							"sdio_clk";
395221cf34bSNan Li						function = "sdio";
396221cf34bSNan Li					};
397221cf34bSNan Li				};
398221cf34bSNan Li
399221cf34bSNan Li				sdio_clk_gate_pins: sdio_clk_gate {
400221cf34bSNan Li					mux {
401221cf34bSNan Li						groups = "GPIOX_4";
402221cf34bSNan Li						function = "gpio_periphs";
403221cf34bSNan Li					};
404221cf34bSNan Li					cfg-pull-down {
405221cf34bSNan Li						pins = "GPIOX_4";
406221cf34bSNan Li						bias-pull-down;
407221cf34bSNan Li					};
408221cf34bSNan Li				};
409221cf34bSNan Li
410777fa58dSYixun Lan				eth_rmii_x_pins: eth-x-rmii {
411777fa58dSYixun Lan					mux {
412777fa58dSYixun Lan						groups = "eth_mdio_x",
413777fa58dSYixun Lan						       "eth_mdc_x",
414777fa58dSYixun Lan						       "eth_rgmii_rx_clk_x",
415777fa58dSYixun Lan						       "eth_rx_dv_x",
416777fa58dSYixun Lan						       "eth_rxd0_x",
417777fa58dSYixun Lan						       "eth_rxd1_x",
418777fa58dSYixun Lan						       "eth_txen_x",
419777fa58dSYixun Lan						       "eth_txd0_x",
420777fa58dSYixun Lan						       "eth_txd1_x";
421777fa58dSYixun Lan						function = "eth";
422777fa58dSYixun Lan					};
423777fa58dSYixun Lan				};
424777fa58dSYixun Lan
425777fa58dSYixun Lan				eth_rmii_y_pins: eth-y-rmii {
426777fa58dSYixun Lan					mux {
427777fa58dSYixun Lan						groups = "eth_mdio_y",
428777fa58dSYixun Lan						       "eth_mdc_y",
429777fa58dSYixun Lan						       "eth_rgmii_rx_clk_y",
430777fa58dSYixun Lan						       "eth_rx_dv_y",
431777fa58dSYixun Lan						       "eth_rxd0_y",
432777fa58dSYixun Lan						       "eth_rxd1_y",
433777fa58dSYixun Lan						       "eth_txen_y",
434777fa58dSYixun Lan						       "eth_txd0_y",
435777fa58dSYixun Lan						       "eth_txd1_y";
436777fa58dSYixun Lan						function = "eth";
437777fa58dSYixun Lan					};
438777fa58dSYixun Lan				};
439777fa58dSYixun Lan
44029390d27SYixun Lan				eth_rgmii_x_pins: eth-x-rgmii {
44129390d27SYixun Lan					mux {
44229390d27SYixun Lan						groups = "eth_mdio_x",
44329390d27SYixun Lan						       "eth_mdc_x",
44429390d27SYixun Lan						       "eth_rgmii_rx_clk_x",
44529390d27SYixun Lan						       "eth_rx_dv_x",
44629390d27SYixun Lan						       "eth_rxd0_x",
44729390d27SYixun Lan						       "eth_rxd1_x",
44829390d27SYixun Lan						       "eth_rxd2_rgmii",
44929390d27SYixun Lan						       "eth_rxd3_rgmii",
45029390d27SYixun Lan						       "eth_rgmii_tx_clk",
45129390d27SYixun Lan						       "eth_txen_x",
45229390d27SYixun Lan						       "eth_txd0_x",
45329390d27SYixun Lan						       "eth_txd1_x",
45429390d27SYixun Lan						       "eth_txd2_rgmii",
45529390d27SYixun Lan						       "eth_txd3_rgmii";
45629390d27SYixun Lan						function = "eth";
45729390d27SYixun Lan					};
45829390d27SYixun Lan				};
45929390d27SYixun Lan
46029390d27SYixun Lan				eth_rgmii_y_pins: eth-y-rgmii {
46129390d27SYixun Lan					mux {
46229390d27SYixun Lan						groups = "eth_mdio_y",
46329390d27SYixun Lan						       "eth_mdc_y",
46429390d27SYixun Lan						       "eth_rgmii_rx_clk_y",
46529390d27SYixun Lan						       "eth_rx_dv_y",
46629390d27SYixun Lan						       "eth_rxd0_y",
46729390d27SYixun Lan						       "eth_rxd1_y",
46829390d27SYixun Lan						       "eth_rxd2_rgmii",
46929390d27SYixun Lan						       "eth_rxd3_rgmii",
47029390d27SYixun Lan						       "eth_rgmii_tx_clk",
47129390d27SYixun Lan						       "eth_txen_y",
47229390d27SYixun Lan						       "eth_txd0_y",
47329390d27SYixun Lan						       "eth_txd1_y",
47429390d27SYixun Lan						       "eth_txd2_rgmii",
47529390d27SYixun Lan						       "eth_txd3_rgmii";
47629390d27SYixun Lan						function = "eth";
47729390d27SYixun Lan					};
47829390d27SYixun Lan				};
47929390d27SYixun Lan
4804a81e5ddSJian Hu				pwm_a_a_pins: pwm_a_a {
4814a81e5ddSJian Hu					mux {
4824a81e5ddSJian Hu						groups = "pwm_a_a";
4834a81e5ddSJian Hu						function = "pwm_a";
4844a81e5ddSJian Hu					};
4854a81e5ddSJian Hu				};
4864a81e5ddSJian Hu
4874a81e5ddSJian Hu				pwm_a_x18_pins: pwm_a_x18 {
4884a81e5ddSJian Hu					mux {
4894a81e5ddSJian Hu						groups = "pwm_a_x18";
4904a81e5ddSJian Hu						function = "pwm_a";
4914a81e5ddSJian Hu					};
4924a81e5ddSJian Hu				};
4934a81e5ddSJian Hu
4944a81e5ddSJian Hu				pwm_a_x20_pins: pwm_a_x20 {
4954a81e5ddSJian Hu					mux {
4964a81e5ddSJian Hu						groups = "pwm_a_x20";
4974a81e5ddSJian Hu						function = "pwm_a";
4984a81e5ddSJian Hu					};
4994a81e5ddSJian Hu				};
5004a81e5ddSJian Hu
5014a81e5ddSJian Hu				pwm_a_z_pins: pwm_a_z {
5024a81e5ddSJian Hu					mux {
5034a81e5ddSJian Hu						groups = "pwm_a_z";
5044a81e5ddSJian Hu						function = "pwm_a";
5054a81e5ddSJian Hu					};
5064a81e5ddSJian Hu				};
5074a81e5ddSJian Hu
5084a81e5ddSJian Hu				pwm_b_a_pins: pwm_b_a {
5094a81e5ddSJian Hu					mux {
5104a81e5ddSJian Hu						groups = "pwm_b_a";
5114a81e5ddSJian Hu						function = "pwm_b";
5124a81e5ddSJian Hu					};
5134a81e5ddSJian Hu				};
5144a81e5ddSJian Hu
5154a81e5ddSJian Hu				pwm_b_x_pins: pwm_b_x {
5164a81e5ddSJian Hu					mux {
5174a81e5ddSJian Hu						groups = "pwm_b_x";
5184a81e5ddSJian Hu						function = "pwm_b";
5194a81e5ddSJian Hu					};
5204a81e5ddSJian Hu				};
5214a81e5ddSJian Hu
5224a81e5ddSJian Hu				pwm_b_z_pins: pwm_b_z {
5234a81e5ddSJian Hu					mux {
5244a81e5ddSJian Hu						groups = "pwm_b_z";
5254a81e5ddSJian Hu						function = "pwm_b";
5264a81e5ddSJian Hu					};
5274a81e5ddSJian Hu				};
5284a81e5ddSJian Hu
5294a81e5ddSJian Hu				pwm_c_a_pins: pwm_c_a {
5304a81e5ddSJian Hu					mux {
5314a81e5ddSJian Hu						groups = "pwm_c_a";
5324a81e5ddSJian Hu						function = "pwm_c";
5334a81e5ddSJian Hu					};
5344a81e5ddSJian Hu				};
5354a81e5ddSJian Hu
5364a81e5ddSJian Hu				pwm_c_x10_pins: pwm_c_x10 {
5374a81e5ddSJian Hu					mux {
5384a81e5ddSJian Hu						groups = "pwm_c_x10";
5394a81e5ddSJian Hu						function = "pwm_c";
5404a81e5ddSJian Hu					};
5414a81e5ddSJian Hu				};
5424a81e5ddSJian Hu
5434a81e5ddSJian Hu				pwm_c_x17_pins: pwm_c_x17 {
5444a81e5ddSJian Hu					mux {
5454a81e5ddSJian Hu						groups = "pwm_c_x17";
5464a81e5ddSJian Hu						function = "pwm_c";
5474a81e5ddSJian Hu					};
5484a81e5ddSJian Hu				};
5494a81e5ddSJian Hu
5504a81e5ddSJian Hu				pwm_d_x11_pins: pwm_d_x11 {
5514a81e5ddSJian Hu					mux {
5524a81e5ddSJian Hu						groups = "pwm_d_x11";
5534a81e5ddSJian Hu						function = "pwm_d";
5544a81e5ddSJian Hu					};
5554a81e5ddSJian Hu				};
5564a81e5ddSJian Hu
5574a81e5ddSJian Hu				pwm_d_x16_pins: pwm_d_x16 {
5584a81e5ddSJian Hu					mux {
5594a81e5ddSJian Hu						groups = "pwm_d_x16";
5604a81e5ddSJian Hu						function = "pwm_d";
5614a81e5ddSJian Hu					};
5624a81e5ddSJian Hu				};
5638ae4284eSSunny Luo
56470d4b64fSJerome Brunet				spdif_out_z_pins: spdif_out_z {
56570d4b64fSJerome Brunet					mux {
56670d4b64fSJerome Brunet						groups = "spdif_out_z";
56770d4b64fSJerome Brunet						function = "spdif_out";
56870d4b64fSJerome Brunet					};
56970d4b64fSJerome Brunet				};
57070d4b64fSJerome Brunet
57170d4b64fSJerome Brunet				spdif_out_a1_pins: spdif_out_a1 {
57270d4b64fSJerome Brunet					mux {
57370d4b64fSJerome Brunet						groups = "spdif_out_a1";
57470d4b64fSJerome Brunet						function = "spdif_out";
57570d4b64fSJerome Brunet					};
57670d4b64fSJerome Brunet				};
57770d4b64fSJerome Brunet
57870d4b64fSJerome Brunet				spdif_out_a7_pins: spdif_out_a7 {
57970d4b64fSJerome Brunet					mux {
58070d4b64fSJerome Brunet						groups = "spdif_out_a7";
58170d4b64fSJerome Brunet						function = "spdif_out";
58270d4b64fSJerome Brunet					};
58370d4b64fSJerome Brunet				};
58470d4b64fSJerome Brunet
58570d4b64fSJerome Brunet				spdif_out_a11_pins: spdif_out_a11 {
58670d4b64fSJerome Brunet					mux {
58770d4b64fSJerome Brunet						groups = "spdif_out_a11";
58870d4b64fSJerome Brunet						function = "spdif_out";
58970d4b64fSJerome Brunet					};
59070d4b64fSJerome Brunet				};
59170d4b64fSJerome Brunet
59270d4b64fSJerome Brunet				spdif_out_a19_pins: spdif_out_a19 {
59370d4b64fSJerome Brunet					mux {
59470d4b64fSJerome Brunet						groups = "spdif_out_a19";
59570d4b64fSJerome Brunet						function = "spdif_out";
59670d4b64fSJerome Brunet					};
59770d4b64fSJerome Brunet				};
59870d4b64fSJerome Brunet
59970d4b64fSJerome Brunet				spdif_out_a20_pins: spdif_out_a20 {
60070d4b64fSJerome Brunet					mux {
60170d4b64fSJerome Brunet						groups = "spdif_out_a20";
60270d4b64fSJerome Brunet						function = "spdif_out";
60370d4b64fSJerome Brunet					};
60470d4b64fSJerome Brunet				};
60570d4b64fSJerome Brunet
6068ae4284eSSunny Luo				spi0_pins: spi0 {
6078ae4284eSSunny Luo					mux {
6088ae4284eSSunny Luo						groups = "spi0_miso",
6098ae4284eSSunny Luo							"spi0_mosi",
6108ae4284eSSunny Luo							"spi0_clk";
6118ae4284eSSunny Luo						function = "spi0";
6128ae4284eSSunny Luo					};
6138ae4284eSSunny Luo				};
6148ae4284eSSunny Luo
6158ae4284eSSunny Luo				spi0_ss0_pins: spi0_ss0 {
6168ae4284eSSunny Luo					mux {
6178ae4284eSSunny Luo						groups = "spi0_ss0";
6188ae4284eSSunny Luo						function = "spi0";
6198ae4284eSSunny Luo					};
6208ae4284eSSunny Luo				};
6218ae4284eSSunny Luo
6228ae4284eSSunny Luo				spi0_ss1_pins: spi0_ss1 {
6238ae4284eSSunny Luo					mux {
6248ae4284eSSunny Luo						groups = "spi0_ss1";
6258ae4284eSSunny Luo						function = "spi0";
6268ae4284eSSunny Luo					};
6278ae4284eSSunny Luo				};
6288ae4284eSSunny Luo
6298ae4284eSSunny Luo				spi0_ss2_pins: spi0_ss2 {
6308ae4284eSSunny Luo					mux {
6318ae4284eSSunny Luo						groups = "spi0_ss2";
6328ae4284eSSunny Luo						function = "spi0";
6338ae4284eSSunny Luo					};
6348ae4284eSSunny Luo				};
6358ae4284eSSunny Luo
6368ae4284eSSunny Luo
6378ae4284eSSunny Luo				spi1_a_pins: spi1_a {
6388ae4284eSSunny Luo					mux {
6398ae4284eSSunny Luo						groups = "spi1_miso_a",
6408ae4284eSSunny Luo							"spi1_mosi_a",
6418ae4284eSSunny Luo							"spi1_clk_a";
6428ae4284eSSunny Luo						function = "spi1";
6438ae4284eSSunny Luo					};
6448ae4284eSSunny Luo				};
6458ae4284eSSunny Luo
6468ae4284eSSunny Luo				spi1_ss0_a_pins: spi1_ss0_a {
6478ae4284eSSunny Luo					mux {
6488ae4284eSSunny Luo						groups = "spi1_ss0_a";
6498ae4284eSSunny Luo						function = "spi1";
6508ae4284eSSunny Luo					};
6518ae4284eSSunny Luo				};
6528ae4284eSSunny Luo
6538ae4284eSSunny Luo				spi1_ss1_pins: spi1_ss1 {
6548ae4284eSSunny Luo					mux {
6558ae4284eSSunny Luo						groups = "spi1_ss1";
6568ae4284eSSunny Luo						function = "spi1";
6578ae4284eSSunny Luo					};
6588ae4284eSSunny Luo				};
6598ae4284eSSunny Luo
6608ae4284eSSunny Luo				spi1_x_pins: spi1_x {
6618ae4284eSSunny Luo					mux {
6628ae4284eSSunny Luo						groups = "spi1_miso_x",
6638ae4284eSSunny Luo							"spi1_mosi_x",
6648ae4284eSSunny Luo							"spi1_clk_x";
6658ae4284eSSunny Luo						function = "spi1";
6668ae4284eSSunny Luo					};
6678ae4284eSSunny Luo				};
6688ae4284eSSunny Luo
6698ae4284eSSunny Luo				spi1_ss0_x_pins: spi1_ss0_x {
6708ae4284eSSunny Luo					mux {
6718ae4284eSSunny Luo						groups = "spi1_ss0_x";
6728ae4284eSSunny Luo						function = "spi1";
6738ae4284eSSunny Luo					};
6748ae4284eSSunny Luo				};
6758a7669a5SJian Hu
6768a7669a5SJian Hu				i2c0_pins: i2c0 {
6778a7669a5SJian Hu					mux {
6788a7669a5SJian Hu						groups = "i2c0_sck",
6798a7669a5SJian Hu							"i2c0_sda";
6808a7669a5SJian Hu						function = "i2c0";
6818a7669a5SJian Hu					};
6828a7669a5SJian Hu				};
6838a7669a5SJian Hu
6848a7669a5SJian Hu				i2c1_z_pins: i2c1_z {
6858a7669a5SJian Hu					mux {
6868a7669a5SJian Hu						groups = "i2c1_sck_z",
6878a7669a5SJian Hu							"i2c1_sda_z";
6888a7669a5SJian Hu						function = "i2c1";
6898a7669a5SJian Hu					};
6908a7669a5SJian Hu				};
6918a7669a5SJian Hu
6928a7669a5SJian Hu				i2c1_x_pins: i2c1_x {
6938a7669a5SJian Hu					mux {
6948a7669a5SJian Hu						groups = "i2c1_sck_x",
6958a7669a5SJian Hu							"i2c1_sda_x";
6968a7669a5SJian Hu						function = "i2c1";
6978a7669a5SJian Hu					};
6988a7669a5SJian Hu				};
6998a7669a5SJian Hu
7008a7669a5SJian Hu				i2c2_x_pins: i2c2_x {
7018a7669a5SJian Hu					mux {
7028a7669a5SJian Hu						groups = "i2c2_sck_x",
7038a7669a5SJian Hu							"i2c2_sda_x";
7048a7669a5SJian Hu						function = "i2c2";
7058a7669a5SJian Hu					};
7068a7669a5SJian Hu				};
7078a7669a5SJian Hu
7088a7669a5SJian Hu				i2c2_a_pins: i2c2_a {
7098a7669a5SJian Hu					mux {
7108a7669a5SJian Hu						groups = "i2c2_sck_a",
7118a7669a5SJian Hu							"i2c2_sda_a";
7128a7669a5SJian Hu						function = "i2c2";
7138a7669a5SJian Hu					};
7148a7669a5SJian Hu				};
7158a7669a5SJian Hu
7168a7669a5SJian Hu				i2c3_a6_pins: i2c3_a6 {
7178a7669a5SJian Hu					mux {
7188a7669a5SJian Hu						groups = "i2c3_sda_a6",
7198a7669a5SJian Hu							"i2c3_sck_a7";
7208a7669a5SJian Hu						function = "i2c3";
7218a7669a5SJian Hu					};
7228a7669a5SJian Hu				};
7238a7669a5SJian Hu
7248a7669a5SJian Hu				i2c3_a12_pins: i2c3_a12 {
7258a7669a5SJian Hu					mux {
7268a7669a5SJian Hu						groups = "i2c3_sda_a12",
7278a7669a5SJian Hu							"i2c3_sck_a13";
7288a7669a5SJian Hu						function = "i2c3";
7298a7669a5SJian Hu					};
7308a7669a5SJian Hu				};
7318a7669a5SJian Hu
7328a7669a5SJian Hu				i2c3_a19_pins: i2c3_a19 {
7338a7669a5SJian Hu					mux {
7348a7669a5SJian Hu						groups = "i2c3_sda_a19",
7358a7669a5SJian Hu							"i2c3_sck_a20";
7368a7669a5SJian Hu						function = "i2c3";
7378a7669a5SJian Hu					};
7388a7669a5SJian Hu				};
7394eae66a6SYixun Lan
7404eae66a6SYixun Lan				uart_a_pins: uart_a {
7414eae66a6SYixun Lan					mux {
7424eae66a6SYixun Lan						groups = "uart_tx_a",
7434eae66a6SYixun Lan							"uart_rx_a";
7444eae66a6SYixun Lan						function = "uart_a";
7454eae66a6SYixun Lan					};
7464eae66a6SYixun Lan				};
7474eae66a6SYixun Lan
7484eae66a6SYixun Lan				uart_a_cts_rts_pins: uart_a_cts_rts {
7494eae66a6SYixun Lan					mux {
7504eae66a6SYixun Lan						groups = "uart_cts_a",
7514eae66a6SYixun Lan							"uart_rts_a";
7524eae66a6SYixun Lan						function = "uart_a";
7534eae66a6SYixun Lan					};
7544eae66a6SYixun Lan				};
7554eae66a6SYixun Lan
7564eae66a6SYixun Lan				uart_b_x_pins: uart_b_x {
7574eae66a6SYixun Lan					mux {
7584eae66a6SYixun Lan						groups = "uart_tx_b_x",
7594eae66a6SYixun Lan							"uart_rx_b_x";
7604eae66a6SYixun Lan						function = "uart_b";
7614eae66a6SYixun Lan					};
7624eae66a6SYixun Lan				};
7634eae66a6SYixun Lan
7644eae66a6SYixun Lan				uart_b_x_cts_rts_pins: uart_b_x_cts_rts {
7654eae66a6SYixun Lan					mux {
7664eae66a6SYixun Lan						groups = "uart_cts_b_x",
7674eae66a6SYixun Lan							"uart_rts_b_x";
7684eae66a6SYixun Lan						function = "uart_b";
7694eae66a6SYixun Lan					};
7704eae66a6SYixun Lan				};
7714eae66a6SYixun Lan
7724eae66a6SYixun Lan				uart_b_z_pins: uart_b_z {
7734eae66a6SYixun Lan					mux {
7744eae66a6SYixun Lan						groups = "uart_tx_b_z",
7754eae66a6SYixun Lan							"uart_rx_b_z";
7764eae66a6SYixun Lan						function = "uart_b";
7774eae66a6SYixun Lan					};
7784eae66a6SYixun Lan				};
7794eae66a6SYixun Lan
7804eae66a6SYixun Lan				uart_b_z_cts_rts_pins: uart_b_z_cts_rts {
7814eae66a6SYixun Lan					mux {
7824eae66a6SYixun Lan						groups = "uart_cts_b_z",
7834eae66a6SYixun Lan							"uart_rts_b_z";
7844eae66a6SYixun Lan						function = "uart_b";
7854eae66a6SYixun Lan					};
7864eae66a6SYixun Lan				};
7874eae66a6SYixun Lan
7884eae66a6SYixun Lan				uart_ao_b_z_pins: uart_ao_b_z {
7894eae66a6SYixun Lan					mux {
7904eae66a6SYixun Lan						groups = "uart_ao_tx_b_z",
7914eae66a6SYixun Lan							"uart_ao_rx_b_z";
7924eae66a6SYixun Lan						function = "uart_ao_b_z";
7934eae66a6SYixun Lan					};
7944eae66a6SYixun Lan				};
7954eae66a6SYixun Lan
7964eae66a6SYixun Lan				uart_ao_b_z_cts_rts_pins: uart_ao_b_z_cts_rts {
7974eae66a6SYixun Lan					mux {
7984eae66a6SYixun Lan						groups = "uart_ao_cts_b_z",
7994eae66a6SYixun Lan							"uart_ao_rts_b_z";
8004eae66a6SYixun Lan						function = "uart_ao_b_z";
8014eae66a6SYixun Lan					};
8024eae66a6SYixun Lan				};
8030df8fbb9SJerome Brunet
8040df8fbb9SJerome Brunet				mclk_b_pins: mclk_b {
8050df8fbb9SJerome Brunet					mux {
8060df8fbb9SJerome Brunet						groups = "mclk_b";
8070df8fbb9SJerome Brunet						function = "mclk_b";
8080df8fbb9SJerome Brunet					};
8090df8fbb9SJerome Brunet				};
8100df8fbb9SJerome Brunet
8110df8fbb9SJerome Brunet				mclk_c_pins: mclk_c {
8120df8fbb9SJerome Brunet					mux {
8130df8fbb9SJerome Brunet						groups = "mclk_c";
8140df8fbb9SJerome Brunet						function = "mclk_c";
8150df8fbb9SJerome Brunet					};
8160df8fbb9SJerome Brunet				};
8170df8fbb9SJerome Brunet
8180df8fbb9SJerome Brunet				tdma_sclk_pins: tdma_sclk {
8190df8fbb9SJerome Brunet					mux {
8200df8fbb9SJerome Brunet						groups = "tdma_sclk";
8210df8fbb9SJerome Brunet						function = "tdma";
8220df8fbb9SJerome Brunet					};
8230df8fbb9SJerome Brunet				};
8240df8fbb9SJerome Brunet
8250df8fbb9SJerome Brunet				tdma_sclk_slv_pins: tdma_sclk_slv {
8260df8fbb9SJerome Brunet					mux {
8270df8fbb9SJerome Brunet						groups = "tdma_sclk_slv";
8280df8fbb9SJerome Brunet						function = "tdma";
8290df8fbb9SJerome Brunet					};
8300df8fbb9SJerome Brunet				};
8310df8fbb9SJerome Brunet
8320df8fbb9SJerome Brunet				tdma_fs_pins: tdma_fs {
8330df8fbb9SJerome Brunet					mux {
8340df8fbb9SJerome Brunet						groups = "tdma_fs";
8350df8fbb9SJerome Brunet						function = "tdma";
8360df8fbb9SJerome Brunet					};
8370df8fbb9SJerome Brunet				};
8380df8fbb9SJerome Brunet
8390df8fbb9SJerome Brunet				tdma_fs_slv_pins: tdma_fs_slv {
8400df8fbb9SJerome Brunet					mux {
8410df8fbb9SJerome Brunet						groups = "tdma_fs_slv";
8420df8fbb9SJerome Brunet						function = "tdma";
8430df8fbb9SJerome Brunet					};
8440df8fbb9SJerome Brunet				};
8450df8fbb9SJerome Brunet
8460df8fbb9SJerome Brunet				tdma_din0_pins: tdma_din0 {
8470df8fbb9SJerome Brunet					mux {
8480df8fbb9SJerome Brunet						groups = "tdma_din0";
8490df8fbb9SJerome Brunet						function = "tdma";
8500df8fbb9SJerome Brunet					};
8510df8fbb9SJerome Brunet				};
8520df8fbb9SJerome Brunet
8530df8fbb9SJerome Brunet				tdma_dout0_x14_pins: tdma_dout0_x14 {
8540df8fbb9SJerome Brunet					mux {
8550df8fbb9SJerome Brunet						groups = "tdma_dout0_x14";
8560df8fbb9SJerome Brunet						function = "tdma";
8570df8fbb9SJerome Brunet					};
8580df8fbb9SJerome Brunet				};
8590df8fbb9SJerome Brunet
8600df8fbb9SJerome Brunet				tdma_dout0_x15_pins: tdma_dout0_x15 {
8610df8fbb9SJerome Brunet					mux {
8620df8fbb9SJerome Brunet						groups = "tdma_dout0_x15";
8630df8fbb9SJerome Brunet						function = "tdma";
8640df8fbb9SJerome Brunet					};
8650df8fbb9SJerome Brunet				};
8660df8fbb9SJerome Brunet
8670df8fbb9SJerome Brunet				tdma_dout1_pins: tdma_dout1 {
8680df8fbb9SJerome Brunet					mux {
8690df8fbb9SJerome Brunet						groups = "tdma_dout1";
8700df8fbb9SJerome Brunet						function = "tdma";
8710df8fbb9SJerome Brunet					};
8720df8fbb9SJerome Brunet				};
8730df8fbb9SJerome Brunet
8740df8fbb9SJerome Brunet				tdma_din1_pins: tdma_din1 {
8750df8fbb9SJerome Brunet					mux {
8760df8fbb9SJerome Brunet						groups = "tdma_din1";
8770df8fbb9SJerome Brunet						function = "tdma";
8780df8fbb9SJerome Brunet					};
8790df8fbb9SJerome Brunet				};
8800df8fbb9SJerome Brunet
8810df8fbb9SJerome Brunet				tdmb_sclk_pins: tdmb_sclk {
8820df8fbb9SJerome Brunet					mux {
8830df8fbb9SJerome Brunet						groups = "tdmb_sclk";
8840df8fbb9SJerome Brunet						function = "tdmb";
8850df8fbb9SJerome Brunet					};
8860df8fbb9SJerome Brunet				};
8870df8fbb9SJerome Brunet
8880df8fbb9SJerome Brunet				tdmb_sclk_slv_pins: tdmb_sclk_slv {
8890df8fbb9SJerome Brunet					mux {
8900df8fbb9SJerome Brunet						groups = "tdmb_sclk_slv";
8910df8fbb9SJerome Brunet						function = "tdmb";
8920df8fbb9SJerome Brunet					};
8930df8fbb9SJerome Brunet				};
8940df8fbb9SJerome Brunet
8950df8fbb9SJerome Brunet				tdmb_fs_pins: tdmb_fs {
8960df8fbb9SJerome Brunet					mux {
8970df8fbb9SJerome Brunet						groups = "tdmb_fs";
8980df8fbb9SJerome Brunet						function = "tdmb";
8990df8fbb9SJerome Brunet					};
9000df8fbb9SJerome Brunet				};
9010df8fbb9SJerome Brunet
9020df8fbb9SJerome Brunet				tdmb_fs_slv_pins: tdmb_fs_slv {
9030df8fbb9SJerome Brunet					mux {
9040df8fbb9SJerome Brunet						groups = "tdmb_fs_slv";
9050df8fbb9SJerome Brunet						function = "tdmb";
9060df8fbb9SJerome Brunet					};
9070df8fbb9SJerome Brunet				};
9080df8fbb9SJerome Brunet
9090df8fbb9SJerome Brunet				tdmb_din0_pins: tdmb_din0 {
9100df8fbb9SJerome Brunet					mux {
9110df8fbb9SJerome Brunet						groups = "tdmb_din0";
9120df8fbb9SJerome Brunet						function = "tdmb";
9130df8fbb9SJerome Brunet					};
9140df8fbb9SJerome Brunet				};
9150df8fbb9SJerome Brunet
9160df8fbb9SJerome Brunet				tdmb_dout0_pins: tdmb_dout0 {
9170df8fbb9SJerome Brunet					mux {
9180df8fbb9SJerome Brunet						groups = "tdmb_dout0";
9190df8fbb9SJerome Brunet						function = "tdmb";
9200df8fbb9SJerome Brunet					};
9210df8fbb9SJerome Brunet				};
9220df8fbb9SJerome Brunet
9230df8fbb9SJerome Brunet				tdmb_din1_pins: tdmb_din1 {
9240df8fbb9SJerome Brunet					mux {
9250df8fbb9SJerome Brunet						groups = "tdmb_din1";
9260df8fbb9SJerome Brunet						function = "tdmb";
9270df8fbb9SJerome Brunet					};
9280df8fbb9SJerome Brunet				};
9290df8fbb9SJerome Brunet
9300df8fbb9SJerome Brunet				tdmb_dout1_pins: tdmb_dout1 {
9310df8fbb9SJerome Brunet					mux {
9320df8fbb9SJerome Brunet						groups = "tdmb_dout1";
9330df8fbb9SJerome Brunet						function = "tdmb";
9340df8fbb9SJerome Brunet					};
9350df8fbb9SJerome Brunet				};
9360df8fbb9SJerome Brunet
9370df8fbb9SJerome Brunet				tdmb_din2_pins: tdmb_din2 {
9380df8fbb9SJerome Brunet					mux {
9390df8fbb9SJerome Brunet						groups = "tdmb_din2";
9400df8fbb9SJerome Brunet						function = "tdmb";
9410df8fbb9SJerome Brunet					};
9420df8fbb9SJerome Brunet				};
9430df8fbb9SJerome Brunet
9440df8fbb9SJerome Brunet				tdmb_dout2_pins: tdmb_dout2 {
9450df8fbb9SJerome Brunet					mux {
9460df8fbb9SJerome Brunet						groups = "tdmb_dout2";
9470df8fbb9SJerome Brunet						function = "tdmb";
9480df8fbb9SJerome Brunet					};
9490df8fbb9SJerome Brunet				};
9500df8fbb9SJerome Brunet
9510df8fbb9SJerome Brunet				tdmb_din3_pins: tdmb_din3 {
9520df8fbb9SJerome Brunet					mux {
9530df8fbb9SJerome Brunet						groups = "tdmb_din3";
9540df8fbb9SJerome Brunet						function = "tdmb";
9550df8fbb9SJerome Brunet					};
9560df8fbb9SJerome Brunet				};
9570df8fbb9SJerome Brunet
9580df8fbb9SJerome Brunet				tdmb_dout3_pins: tdmb_dout3 {
9590df8fbb9SJerome Brunet					mux {
9600df8fbb9SJerome Brunet						groups = "tdmb_dout3";
9610df8fbb9SJerome Brunet						function = "tdmb";
9620df8fbb9SJerome Brunet					};
9630df8fbb9SJerome Brunet				};
9640df8fbb9SJerome Brunet
9650df8fbb9SJerome Brunet				tdmc_sclk_pins: tdmc_sclk {
9660df8fbb9SJerome Brunet					mux {
9670df8fbb9SJerome Brunet						groups = "tdmc_sclk";
9680df8fbb9SJerome Brunet						function = "tdmc";
9690df8fbb9SJerome Brunet					};
9700df8fbb9SJerome Brunet				};
9710df8fbb9SJerome Brunet
9720df8fbb9SJerome Brunet				tdmc_sclk_slv_pins: tdmc_sclk_slv {
9730df8fbb9SJerome Brunet					mux {
9740df8fbb9SJerome Brunet						groups = "tdmc_sclk_slv";
9750df8fbb9SJerome Brunet						function = "tdmc";
9760df8fbb9SJerome Brunet					};
9770df8fbb9SJerome Brunet				};
9780df8fbb9SJerome Brunet
9790df8fbb9SJerome Brunet				tdmc_fs_pins: tdmc_fs {
9800df8fbb9SJerome Brunet					mux {
9810df8fbb9SJerome Brunet						groups = "tdmc_fs";
9820df8fbb9SJerome Brunet						function = "tdmc";
9830df8fbb9SJerome Brunet					};
9840df8fbb9SJerome Brunet				};
9850df8fbb9SJerome Brunet
9860df8fbb9SJerome Brunet				tdmc_fs_slv_pins: tdmc_fs_slv {
9870df8fbb9SJerome Brunet					mux {
9880df8fbb9SJerome Brunet						groups = "tdmc_fs_slv";
9890df8fbb9SJerome Brunet						function = "tdmc";
9900df8fbb9SJerome Brunet					};
9910df8fbb9SJerome Brunet				};
9920df8fbb9SJerome Brunet
9930df8fbb9SJerome Brunet				tdmc_din0_pins: tdmc_din0 {
9940df8fbb9SJerome Brunet					mux {
9950df8fbb9SJerome Brunet						groups = "tdmc_din0";
9960df8fbb9SJerome Brunet						function = "tdmc";
9970df8fbb9SJerome Brunet					};
9980df8fbb9SJerome Brunet				};
9990df8fbb9SJerome Brunet
10000df8fbb9SJerome Brunet				tdmc_dout0_pins: tdmc_dout0 {
10010df8fbb9SJerome Brunet					mux {
10020df8fbb9SJerome Brunet						groups = "tdmc_dout0";
10030df8fbb9SJerome Brunet						function = "tdmc";
10040df8fbb9SJerome Brunet					};
10050df8fbb9SJerome Brunet				};
10060df8fbb9SJerome Brunet
10070df8fbb9SJerome Brunet				tdmc_din1_pins: tdmc_din1 {
10080df8fbb9SJerome Brunet					mux {
10090df8fbb9SJerome Brunet						groups = "tdmc_din1";
10100df8fbb9SJerome Brunet						function = "tdmc";
10110df8fbb9SJerome Brunet					};
10120df8fbb9SJerome Brunet				};
10130df8fbb9SJerome Brunet
10140df8fbb9SJerome Brunet				tdmc_dout1_pins: tdmc_dout1 {
10150df8fbb9SJerome Brunet					mux {
10160df8fbb9SJerome Brunet						groups = "tdmc_dout1";
10170df8fbb9SJerome Brunet						function = "tdmc";
10180df8fbb9SJerome Brunet					};
10190df8fbb9SJerome Brunet				};
10200df8fbb9SJerome Brunet
10210df8fbb9SJerome Brunet				tdmc_din2_pins: tdmc_din2 {
10220df8fbb9SJerome Brunet					mux {
10230df8fbb9SJerome Brunet						groups = "tdmc_din2";
10240df8fbb9SJerome Brunet						function = "tdmc";
10250df8fbb9SJerome Brunet					};
10260df8fbb9SJerome Brunet				};
10270df8fbb9SJerome Brunet
10280df8fbb9SJerome Brunet				tdmc_dout2_pins: tdmc_dout2 {
10290df8fbb9SJerome Brunet					mux {
10300df8fbb9SJerome Brunet						groups = "tdmc_dout2";
10310df8fbb9SJerome Brunet						function = "tdmc";
10320df8fbb9SJerome Brunet					};
10330df8fbb9SJerome Brunet				};
10340df8fbb9SJerome Brunet
10350df8fbb9SJerome Brunet				tdmc_din3_pins: tdmc_din3 {
10360df8fbb9SJerome Brunet					mux {
10370df8fbb9SJerome Brunet						groups = "tdmc_din3";
10380df8fbb9SJerome Brunet						function = "tdmc";
10390df8fbb9SJerome Brunet					};
10400df8fbb9SJerome Brunet				};
10410df8fbb9SJerome Brunet
10420df8fbb9SJerome Brunet				tdmc_dout3_pins: tdmc_dout3 {
10430df8fbb9SJerome Brunet					mux {
10440df8fbb9SJerome Brunet						groups = "tdmc_dout3";
10450df8fbb9SJerome Brunet						function = "tdmc";
10460df8fbb9SJerome Brunet					};
10470df8fbb9SJerome Brunet				};
1048de05ded6SXingyu Chen			};
1049de05ded6SXingyu Chen		};
1050de05ded6SXingyu Chen
10519d59b708SYixun Lan		sram: sram@fffc0000 {
10529d59b708SYixun Lan			compatible = "amlogic,meson-axg-sram", "mmio-sram";
10539d59b708SYixun Lan			reg = <0x0 0xfffc0000 0x0 0x20000>;
10549d59b708SYixun Lan			#address-cells = <1>;
10559d59b708SYixun Lan			#size-cells = <1>;
10569d59b708SYixun Lan			ranges = <0 0x0 0xfffc0000 0x20000>;
10579d59b708SYixun Lan
10589d59b708SYixun Lan			cpu_scp_lpri: scp-shmem@0 {
10599d59b708SYixun Lan				compatible = "amlogic,meson-axg-scp-shmem";
10609d59b708SYixun Lan				reg = <0x13000 0x400>;
10619d59b708SYixun Lan			};
10629d59b708SYixun Lan
10639d59b708SYixun Lan			cpu_scp_hpri: scp-shmem@200 {
10649d59b708SYixun Lan				compatible = "amlogic,meson-axg-scp-shmem";
10659d59b708SYixun Lan				reg = <0x13400 0x400>;
10669d59b708SYixun Lan			};
10679d59b708SYixun Lan		};
10689d59b708SYixun Lan
10690cb6c604SKevin Hilman		aobus: bus@ff800000 {
10709d59b708SYixun Lan			compatible = "simple-bus";
10719d59b708SYixun Lan			reg = <0x0 0xff800000 0x0 0x100000>;
10729d59b708SYixun Lan			#address-cells = <2>;
10739d59b708SYixun Lan			#size-cells = <2>;
10749d59b708SYixun Lan			ranges = <0x0 0x0 0x0 0xff800000 0x0 0x100000>;
10759d59b708SYixun Lan
1076e03421ecSQiufang Dai			sysctrl_AO: sys-ctrl@0 {
1077e03421ecSQiufang Dai				compatible = "amlogic,meson-axg-ao-sysctrl", "syscon", "simple-mfd";
1078e03421ecSQiufang Dai				reg =  <0x0 0x0 0x0 0x100>;
1079e03421ecSQiufang Dai
1080e03421ecSQiufang Dai				clkc_AO: clock-controller {
1081e03421ecSQiufang Dai					compatible = "amlogic,meson-axg-aoclkc";
1082e03421ecSQiufang Dai					#clock-cells = <1>;
1083e03421ecSQiufang Dai					#reset-cells = <1>;
1084e03421ecSQiufang Dai				};
1085e03421ecSQiufang Dai			};
1086e03421ecSQiufang Dai
1087de05ded6SXingyu Chen			pinctrl_aobus: pinctrl@14 {
1088de05ded6SXingyu Chen				compatible = "amlogic,meson-axg-aobus-pinctrl";
1089de05ded6SXingyu Chen				#address-cells = <2>;
1090de05ded6SXingyu Chen				#size-cells = <2>;
1091de05ded6SXingyu Chen				ranges;
1092de05ded6SXingyu Chen
1093de05ded6SXingyu Chen				gpio_ao: bank@14 {
1094de05ded6SXingyu Chen					reg = <0x0 0x00014 0x0 0x8>,
1095de05ded6SXingyu Chen						<0x0 0x0002c 0x0 0x4>,
1096de05ded6SXingyu Chen						<0x0 0x00024 0x0 0x8>;
1097de05ded6SXingyu Chen					reg-names = "mux", "pull", "gpio";
1098de05ded6SXingyu Chen					gpio-controller;
1099de05ded6SXingyu Chen					#gpio-cells = <2>;
1100de05ded6SXingyu Chen					gpio-ranges = <&pinctrl_aobus 0 0 15>;
1101de05ded6SXingyu Chen				};
11027bd46a79SYixun Lan
1103c054b6c2SJerome Brunet				i2c_ao_sck_4_pins: i2c_ao_sck_4 {
1104c054b6c2SJerome Brunet					mux {
1105c054b6c2SJerome Brunet						groups = "i2c_ao_sck_4";
1106c054b6c2SJerome Brunet						function = "i2c_ao";
1107c054b6c2SJerome Brunet					};
1108c054b6c2SJerome Brunet				};
1109c054b6c2SJerome Brunet
1110c054b6c2SJerome Brunet				i2c_ao_sck_8_pins: i2c_ao_sck_8 {
1111c054b6c2SJerome Brunet					mux {
1112c054b6c2SJerome Brunet						groups = "i2c_ao_sck_8";
1113c054b6c2SJerome Brunet						function = "i2c_ao";
1114c054b6c2SJerome Brunet					};
1115c054b6c2SJerome Brunet				};
1116c054b6c2SJerome Brunet
1117c054b6c2SJerome Brunet				i2c_ao_sck_10_pins: i2c_ao_sck_10 {
1118c054b6c2SJerome Brunet					mux {
1119c054b6c2SJerome Brunet						groups = "i2c_ao_sck_10";
1120c054b6c2SJerome Brunet						function = "i2c_ao";
1121c054b6c2SJerome Brunet					};
1122c054b6c2SJerome Brunet				};
1123c054b6c2SJerome Brunet
1124c054b6c2SJerome Brunet				i2c_ao_sda_5_pins: i2c_ao_sda_5 {
1125c054b6c2SJerome Brunet					mux {
1126c054b6c2SJerome Brunet						groups = "i2c_ao_sda_5";
1127c054b6c2SJerome Brunet						function = "i2c_ao";
1128c054b6c2SJerome Brunet					};
1129c054b6c2SJerome Brunet				};
1130c054b6c2SJerome Brunet
1131c054b6c2SJerome Brunet				i2c_ao_sda_9_pins: i2c_ao_sda_9 {
1132c054b6c2SJerome Brunet					mux {
1133c054b6c2SJerome Brunet						groups = "i2c_ao_sda_9";
1134c054b6c2SJerome Brunet						function = "i2c_ao";
1135c054b6c2SJerome Brunet					};
1136c054b6c2SJerome Brunet				};
1137c054b6c2SJerome Brunet
1138c054b6c2SJerome Brunet				i2c_ao_sda_11_pins: i2c_ao_sda_11 {
1139c054b6c2SJerome Brunet					mux {
1140c054b6c2SJerome Brunet						groups = "i2c_ao_sda_11";
1141c054b6c2SJerome Brunet						function = "i2c_ao";
1142c054b6c2SJerome Brunet					};
1143c054b6c2SJerome Brunet				};
1144c054b6c2SJerome Brunet
11457bd46a79SYixun Lan				remote_input_ao_pins: remote_input_ao {
11467bd46a79SYixun Lan					mux {
11477bd46a79SYixun Lan						groups = "remote_input_ao";
11487bd46a79SYixun Lan						function = "remote_input_ao";
11497bd46a79SYixun Lan					};
11507bd46a79SYixun Lan				};
11514eae66a6SYixun Lan
11524eae66a6SYixun Lan				uart_ao_a_pins: uart_ao_a {
11534eae66a6SYixun Lan					mux {
11544eae66a6SYixun Lan						groups = "uart_ao_tx_a",
11554eae66a6SYixun Lan							"uart_ao_rx_a";
11564eae66a6SYixun Lan						function = "uart_ao_a";
11574eae66a6SYixun Lan					};
11584eae66a6SYixun Lan				};
11594eae66a6SYixun Lan
11604eae66a6SYixun Lan				uart_ao_a_cts_rts_pins: uart_ao_a_cts_rts {
11614eae66a6SYixun Lan					mux {
11624eae66a6SYixun Lan						groups = "uart_ao_cts_a",
11634eae66a6SYixun Lan							"uart_ao_rts_a";
11644eae66a6SYixun Lan						function = "uart_ao_a";
11654eae66a6SYixun Lan					};
11664eae66a6SYixun Lan				};
11674eae66a6SYixun Lan
11684eae66a6SYixun Lan				uart_ao_b_pins: uart_ao_b {
11694eae66a6SYixun Lan					mux {
11704eae66a6SYixun Lan						groups = "uart_ao_tx_b",
11714eae66a6SYixun Lan							"uart_ao_rx_b";
11724eae66a6SYixun Lan						function = "uart_ao_b";
11734eae66a6SYixun Lan					};
11744eae66a6SYixun Lan				};
11754eae66a6SYixun Lan
11764eae66a6SYixun Lan				uart_ao_b_cts_rts_pins: uart_ao_b_cts_rts {
11774eae66a6SYixun Lan					mux {
11784eae66a6SYixun Lan						groups = "uart_ao_cts_b",
11794eae66a6SYixun Lan							"uart_ao_rts_b";
11804eae66a6SYixun Lan						function = "uart_ao_b";
11814eae66a6SYixun Lan					};
11824eae66a6SYixun Lan				};
1183de05ded6SXingyu Chen			};
1184de05ded6SXingyu Chen
1185a04c18cbSJerome Brunet			sec_AO: ao-secure@140 {
1186a04c18cbSJerome Brunet				compatible = "amlogic,meson-gx-ao-secure", "syscon";
1187a04c18cbSJerome Brunet				reg = <0x0 0x140 0x0 0x140>;
1188a04c18cbSJerome Brunet				amlogic,has-chip-id;
1189a04c18cbSJerome Brunet			};
1190a04c18cbSJerome Brunet
11914a81e5ddSJian Hu			pwm_AO_ab: pwm@7000 {
11924a81e5ddSJian Hu				compatible = "amlogic,meson-axg-ao-pwm";
11934a81e5ddSJian Hu				reg = <0x0 0x07000 0x0 0x20>;
11944a81e5ddSJian Hu				#pwm-cells = <3>;
11954a81e5ddSJian Hu				status = "disabled";
11964a81e5ddSJian Hu			};
11974a81e5ddSJian Hu
11984a81e5ddSJian Hu			pwm_AO_cd: pwm@2000 {
1199b4ff05caSJerome Brunet				compatible = "amlogic,meson-axg-ao-pwm";
12004a81e5ddSJian Hu				reg = <0x0 0x02000  0x0 0x20>;
12014a81e5ddSJian Hu				#pwm-cells = <3>;
12024a81e5ddSJian Hu				status = "disabled";
12034a81e5ddSJian Hu			};
12044a81e5ddSJian Hu
1205dc6f858eSJian Hu			i2c_AO: i2c@5000 {
1206dc6f858eSJian Hu				compatible = "amlogic,meson-axg-i2c";
1207dc6f858eSJian Hu				reg = <0x0 0x05000 0x0 0x20>;
1208dc6f858eSJian Hu				interrupts = <GIC_SPI 195 IRQ_TYPE_EDGE_RISING>;
120909eeaf44SJerome Brunet				clocks = <&clkc CLKID_AO_I2C>;
1210dc6f858eSJian Hu				#address-cells = <1>;
1211dc6f858eSJian Hu				#size-cells = <0>;
12122b6ff972SJerome Brunet				status = "disabled";
1213dc6f858eSJian Hu			};
1214dc6f858eSJian Hu
12159d59b708SYixun Lan			uart_AO: serial@3000 {
12169d59b708SYixun Lan				compatible = "amlogic,meson-gx-uart", "amlogic,meson-ao-uart";
12179d59b708SYixun Lan				reg = <0x0 0x3000 0x0 0x18>;
12189d59b708SYixun Lan				interrupts = <GIC_SPI 193 IRQ_TYPE_EDGE_RISING>;
12199adda353SYixun Lan				clocks = <&xtal>, <&clkc_AO CLKID_AO_UART1>, <&xtal>;
12209d59b708SYixun Lan				clock-names = "xtal", "pclk", "baud";
12219d59b708SYixun Lan				status = "disabled";
12229d59b708SYixun Lan			};
12239d59b708SYixun Lan
12249d59b708SYixun Lan			uart_AO_B: serial@4000 {
12259d59b708SYixun Lan				compatible = "amlogic,meson-gx-uart", "amlogic,meson-ao-uart";
12269d59b708SYixun Lan				reg = <0x0 0x4000 0x0 0x18>;
12279d59b708SYixun Lan				interrupts = <GIC_SPI 197 IRQ_TYPE_EDGE_RISING>;
12289adda353SYixun Lan				clocks = <&xtal>, <&clkc_AO CLKID_AO_UART2>, <&xtal>;
12299d59b708SYixun Lan				clock-names = "xtal", "pclk", "baud";
12309d59b708SYixun Lan				status = "disabled";
12319d59b708SYixun Lan			};
12327bd46a79SYixun Lan
12337bd46a79SYixun Lan			ir: ir@8000 {
12347bd46a79SYixun Lan				compatible = "amlogic,meson-gxbb-ir";
12357bd46a79SYixun Lan				reg = <0x0 0x8000 0x0 0x20>;
12367bd46a79SYixun Lan				interrupts = <GIC_SPI 196 IRQ_TYPE_EDGE_RISING>;
12377bd46a79SYixun Lan				status = "disabled";
12387bd46a79SYixun Lan			};
12399d59b708SYixun Lan		};
12409d59b708SYixun Lan	};
12419d59b708SYixun Lan};
1242