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>
98909e722SJerome Brunet#include <dt-bindings/clock/axg-audio-clkc.h>
1006b7a631SYixun Lan#include <dt-bindings/clock/axg-clkc.h>
11e03421ecSQiufang Dai#include <dt-bindings/clock/axg-aoclkc.h>
12221cf34bSNan Li#include <dt-bindings/gpio/meson-axg-gpio.h>
13098e5303SJerome Brunet#include <dt-bindings/reset/amlogic,meson-axg-reset.h>
14f2b8f6a9SJerome Brunet#include <dt-bindings/reset/amlogic,meson-axg-audio-arb.h>
159d59b708SYixun Lan
169d59b708SYixun Lan/ {
179d59b708SYixun Lan	compatible = "amlogic,meson-axg";
189d59b708SYixun Lan
199d59b708SYixun Lan	interrupt-parent = <&gic>;
209d59b708SYixun Lan	#address-cells = <2>;
219d59b708SYixun Lan	#size-cells = <2>;
229d59b708SYixun Lan
239d59b708SYixun Lan	reserved-memory {
249d59b708SYixun Lan		#address-cells = <2>;
259d59b708SYixun Lan		#size-cells = <2>;
269d59b708SYixun Lan		ranges;
279d59b708SYixun Lan
289d59b708SYixun Lan		/* 16 MiB reserved for Hardware ROM Firmware */
299d59b708SYixun Lan		hwrom_reserved: hwrom@0 {
309d59b708SYixun Lan			reg = <0x0 0x0 0x0 0x1000000>;
319d59b708SYixun Lan			no-map;
329d59b708SYixun Lan		};
339d59b708SYixun Lan
349d59b708SYixun Lan		/* Alternate 3 MiB reserved for ARM Trusted Firmware (BL31) */
35a5494aedSArnd Bergmann		secmon_reserved: secmon@5000000 {
369d59b708SYixun Lan			reg = <0x0 0x05000000 0x0 0x300000>;
379d59b708SYixun Lan			no-map;
389d59b708SYixun Lan		};
399d59b708SYixun Lan	};
409d59b708SYixun Lan
419d59b708SYixun Lan	cpus {
429d59b708SYixun Lan		#address-cells = <0x2>;
439d59b708SYixun Lan		#size-cells = <0x0>;
449d59b708SYixun Lan
459d59b708SYixun Lan		cpu0: cpu@0 {
469d59b708SYixun Lan			device_type = "cpu";
479d59b708SYixun Lan			compatible = "arm,cortex-a53", "arm,armv8";
489d59b708SYixun Lan			reg = <0x0 0x0>;
499d59b708SYixun Lan			enable-method = "psci";
509d59b708SYixun Lan			next-level-cache = <&l2>;
519d59b708SYixun Lan		};
529d59b708SYixun Lan
539d59b708SYixun Lan		cpu1: cpu@1 {
549d59b708SYixun Lan			device_type = "cpu";
559d59b708SYixun Lan			compatible = "arm,cortex-a53", "arm,armv8";
569d59b708SYixun Lan			reg = <0x0 0x1>;
579d59b708SYixun Lan			enable-method = "psci";
589d59b708SYixun Lan			next-level-cache = <&l2>;
599d59b708SYixun Lan		};
609d59b708SYixun Lan
619d59b708SYixun Lan		cpu2: cpu@2 {
629d59b708SYixun Lan			device_type = "cpu";
639d59b708SYixun Lan			compatible = "arm,cortex-a53", "arm,armv8";
649d59b708SYixun Lan			reg = <0x0 0x2>;
659d59b708SYixun Lan			enable-method = "psci";
669d59b708SYixun Lan			next-level-cache = <&l2>;
679d59b708SYixun Lan		};
689d59b708SYixun Lan
699d59b708SYixun Lan		cpu3: cpu@3 {
709d59b708SYixun Lan			device_type = "cpu";
719d59b708SYixun Lan			compatible = "arm,cortex-a53", "arm,armv8";
729d59b708SYixun Lan			reg = <0x0 0x3>;
739d59b708SYixun Lan			enable-method = "psci";
749d59b708SYixun Lan			next-level-cache = <&l2>;
759d59b708SYixun Lan		};
769d59b708SYixun Lan
779d59b708SYixun Lan		l2: l2-cache0 {
789d59b708SYixun Lan			compatible = "cache";
799d59b708SYixun Lan		};
809d59b708SYixun Lan	};
819d59b708SYixun Lan
829d59b708SYixun Lan	arm-pmu {
839d59b708SYixun Lan		compatible = "arm,cortex-a53-pmu";
849d59b708SYixun Lan		interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>,
859d59b708SYixun Lan			     <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>,
869d59b708SYixun Lan			     <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>,
879d59b708SYixun Lan			     <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
889d59b708SYixun Lan		interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
899d59b708SYixun Lan	};
909d59b708SYixun Lan
919d59b708SYixun Lan	psci {
929d59b708SYixun Lan		compatible = "arm,psci-1.0";
939d59b708SYixun Lan		method = "smc";
949d59b708SYixun Lan	};
959d59b708SYixun Lan
9608307aabSJerome Brunet	tdmif_a: audio-controller@0 {
9708307aabSJerome Brunet		compatible = "amlogic,axg-tdm-iface";
9808307aabSJerome Brunet		#sound-dai-cells = <0>;
9908307aabSJerome Brunet		sound-name-prefix = "TDM_A";
10008307aabSJerome Brunet		clocks = <&clkc_audio AUD_CLKID_MST_A_MCLK>,
10108307aabSJerome Brunet			 <&clkc_audio AUD_CLKID_MST_A_SCLK>,
10208307aabSJerome Brunet			 <&clkc_audio AUD_CLKID_MST_A_LRCLK>;
10308307aabSJerome Brunet		clock-names = "mclk", "sclk", "lrclk";
10408307aabSJerome Brunet		status = "disabled";
10508307aabSJerome Brunet	};
10608307aabSJerome Brunet
10708307aabSJerome Brunet	tdmif_b: audio-controller@1 {
10808307aabSJerome Brunet		compatible = "amlogic,axg-tdm-iface";
10908307aabSJerome Brunet		#sound-dai-cells = <0>;
11008307aabSJerome Brunet		sound-name-prefix = "TDM_B";
11108307aabSJerome Brunet		clocks = <&clkc_audio AUD_CLKID_MST_B_MCLK>,
11208307aabSJerome Brunet			 <&clkc_audio AUD_CLKID_MST_B_SCLK>,
11308307aabSJerome Brunet			 <&clkc_audio AUD_CLKID_MST_B_LRCLK>;
11408307aabSJerome Brunet		clock-names = "mclk", "sclk", "lrclk";
11508307aabSJerome Brunet		status = "disabled";
11608307aabSJerome Brunet	};
11708307aabSJerome Brunet
11808307aabSJerome Brunet	tdmif_c: audio-controller@2 {
11908307aabSJerome Brunet		compatible = "amlogic,axg-tdm-iface";
12008307aabSJerome Brunet		#sound-dai-cells = <0>;
12108307aabSJerome Brunet		sound-name-prefix = "TDM_C";
12208307aabSJerome Brunet		clocks = <&clkc_audio AUD_CLKID_MST_C_MCLK>,
12308307aabSJerome Brunet			 <&clkc_audio AUD_CLKID_MST_C_SCLK>,
12408307aabSJerome Brunet			 <&clkc_audio AUD_CLKID_MST_C_LRCLK>;
12508307aabSJerome Brunet		clock-names = "mclk", "sclk", "lrclk";
12608307aabSJerome Brunet		status = "disabled";
12708307aabSJerome Brunet	};
12808307aabSJerome Brunet
1299d59b708SYixun Lan	timer {
1309d59b708SYixun Lan		compatible = "arm,armv8-timer";
1319d59b708SYixun Lan		interrupts = <GIC_PPI 13
1329d59b708SYixun Lan			(GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>,
1339d59b708SYixun Lan			     <GIC_PPI 14
1349d59b708SYixun Lan			(GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>,
1359d59b708SYixun Lan			     <GIC_PPI 11
1369d59b708SYixun Lan			(GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>,
1379d59b708SYixun Lan			     <GIC_PPI 10
1389d59b708SYixun Lan			(GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>;
1399d59b708SYixun Lan	};
1409d59b708SYixun Lan
1419d59b708SYixun Lan	xtal: xtal-clk {
1429d59b708SYixun Lan		compatible = "fixed-clock";
1439d59b708SYixun Lan		clock-frequency = <24000000>;
1449d59b708SYixun Lan		clock-output-names = "xtal";
1459d59b708SYixun Lan		#clock-cells = <0>;
1469d59b708SYixun Lan	};
1479d59b708SYixun Lan
1485e395e14SYixun Lan	ao_alt_xtal: ao_alt_xtal-clk {
1495e395e14SYixun Lan		compatible = "fixed-clock";
1505e395e14SYixun Lan		clock-frequency = <32000000>;
1515e395e14SYixun Lan		clock-output-names = "ao_alt_xtal";
1525e395e14SYixun Lan		#clock-cells = <0>;
1535e395e14SYixun Lan	};
1545e395e14SYixun Lan
1559d59b708SYixun Lan	soc {
1569d59b708SYixun Lan		compatible = "simple-bus";
1579d59b708SYixun Lan		#address-cells = <2>;
1589d59b708SYixun Lan		#size-cells = <2>;
1599d59b708SYixun Lan		ranges;
1609d59b708SYixun Lan
161221cf34bSNan Li		apb: apb@ffe00000 {
162221cf34bSNan Li			compatible = "simple-bus";
163221cf34bSNan Li			reg = <0x0 0xffe00000 0x0 0x200000>;
164221cf34bSNan Li			#address-cells = <2>;
165221cf34bSNan Li			#size-cells = <2>;
166221cf34bSNan Li			ranges = <0x0 0x0 0x0 0xffe00000 0x0 0x200000>;
167221cf34bSNan Li
168221cf34bSNan Li			sd_emmc_b: sd@5000 {
169221cf34bSNan Li				compatible = "amlogic,meson-axg-mmc";
170e490520cSKevin Hilman				reg = <0x0 0x5000 0x0 0x800>;
171221cf34bSNan Li				interrupts = <GIC_SPI 217 IRQ_TYPE_EDGE_RISING>;
172221cf34bSNan Li				status = "disabled";
173221cf34bSNan Li				clocks = <&clkc CLKID_SD_EMMC_B>,
174221cf34bSNan Li					<&clkc CLKID_SD_EMMC_B_CLK0>,
175221cf34bSNan Li					<&clkc CLKID_FCLK_DIV2>;
176221cf34bSNan Li				clock-names = "core", "clkin0", "clkin1";
177098e5303SJerome Brunet				resets = <&reset RESET_SD_EMMC_B>;
178221cf34bSNan Li			};
179221cf34bSNan Li
180221cf34bSNan Li			sd_emmc_c: mmc@7000 {
181221cf34bSNan Li				compatible = "amlogic,meson-axg-mmc";
182e490520cSKevin Hilman				reg = <0x0 0x7000 0x0 0x800>;
183221cf34bSNan Li				interrupts = <GIC_SPI 218 IRQ_TYPE_EDGE_RISING>;
184221cf34bSNan Li				status = "disabled";
185221cf34bSNan Li				clocks = <&clkc CLKID_SD_EMMC_C>,
186221cf34bSNan Li					<&clkc CLKID_SD_EMMC_C_CLK0>,
187221cf34bSNan Li					<&clkc CLKID_FCLK_DIV2>;
188221cf34bSNan Li				clock-names = "core", "clkin0", "clkin1";
189098e5303SJerome Brunet				resets = <&reset RESET_SD_EMMC_C>;
190221cf34bSNan Li			};
191221cf34bSNan Li		};
192221cf34bSNan Li
1938909e722SJerome Brunet		audio: bus@ff642000 {
1948909e722SJerome Brunet			compatible = "simple-bus";
1958909e722SJerome Brunet			reg = <0x0 0xff642000 0x0 0x2000>;
1968909e722SJerome Brunet			#address-cells = <2>;
1978909e722SJerome Brunet			#size-cells = <2>;
1988909e722SJerome Brunet			ranges = <0x0 0x0 0x0 0xff642000 0x0 0x2000>;
1998909e722SJerome Brunet
2008909e722SJerome Brunet			clkc_audio: clock-controller@0 {
2018909e722SJerome Brunet				compatible = "amlogic,axg-audio-clkc";
2028909e722SJerome Brunet				reg = <0x0 0x0 0x0 0xb4>;
2038909e722SJerome Brunet				#clock-cells = <1>;
2048909e722SJerome Brunet
2058909e722SJerome Brunet				clocks = <&clkc CLKID_AUDIO>,
2068909e722SJerome Brunet					 <&clkc CLKID_MPLL0>,
2078909e722SJerome Brunet					 <&clkc CLKID_MPLL1>,
2088909e722SJerome Brunet					 <&clkc CLKID_MPLL2>,
2098909e722SJerome Brunet					 <&clkc CLKID_MPLL3>,
2108909e722SJerome Brunet					 <&clkc CLKID_HIFI_PLL>,
2118909e722SJerome Brunet					 <&clkc CLKID_FCLK_DIV3>,
2128909e722SJerome Brunet					 <&clkc CLKID_FCLK_DIV4>,
2138909e722SJerome Brunet					 <&clkc CLKID_GP0_PLL>;
2148909e722SJerome Brunet				clock-names = "pclk",
2158909e722SJerome Brunet					      "mst_in0",
2168909e722SJerome Brunet					      "mst_in1",
2178909e722SJerome Brunet					      "mst_in2",
2188909e722SJerome Brunet					      "mst_in3",
2198909e722SJerome Brunet					      "mst_in4",
2208909e722SJerome Brunet					      "mst_in5",
2218909e722SJerome Brunet					      "mst_in6",
2228909e722SJerome Brunet					      "mst_in7";
2238909e722SJerome Brunet
2248909e722SJerome Brunet				resets = <&reset RESET_AUDIO>;
2258909e722SJerome Brunet			};
22666d58a8fSJerome Brunet
227f2b8f6a9SJerome Brunet			toddr_a: audio-controller@100 {
228f2b8f6a9SJerome Brunet				compatible = "amlogic,axg-toddr";
229f2b8f6a9SJerome Brunet				reg = <0x0 0x100 0x0 0x1c>;
230f2b8f6a9SJerome Brunet				#sound-dai-cells = <0>;
231f2b8f6a9SJerome Brunet				sound-name-prefix = "TODDR_A";
232f2b8f6a9SJerome Brunet				interrupts = <GIC_SPI 84 IRQ_TYPE_EDGE_RISING>;
233f2b8f6a9SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TODDR_A>;
234f2b8f6a9SJerome Brunet				resets = <&arb AXG_ARB_TODDR_A>;
235f2b8f6a9SJerome Brunet				status = "disabled";
236f2b8f6a9SJerome Brunet			};
237f2b8f6a9SJerome Brunet
238f2b8f6a9SJerome Brunet			toddr_b: audio-controller@140 {
239f2b8f6a9SJerome Brunet				compatible = "amlogic,axg-toddr";
240f2b8f6a9SJerome Brunet				reg = <0x0 0x140 0x0 0x1c>;
241f2b8f6a9SJerome Brunet				#sound-dai-cells = <0>;
242f2b8f6a9SJerome Brunet				sound-name-prefix = "TODDR_B";
243f2b8f6a9SJerome Brunet				interrupts = <GIC_SPI 85 IRQ_TYPE_EDGE_RISING>;
244f2b8f6a9SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TODDR_B>;
245f2b8f6a9SJerome Brunet				resets = <&arb AXG_ARB_TODDR_B>;
246f2b8f6a9SJerome Brunet				status = "disabled";
247f2b8f6a9SJerome Brunet			};
248f2b8f6a9SJerome Brunet
249f2b8f6a9SJerome Brunet			toddr_c: audio-controller@180 {
250f2b8f6a9SJerome Brunet				compatible = "amlogic,axg-toddr";
251f2b8f6a9SJerome Brunet				reg = <0x0 0x180 0x0 0x1c>;
252f2b8f6a9SJerome Brunet				#sound-dai-cells = <0>;
253f2b8f6a9SJerome Brunet				sound-name-prefix = "TODDR_C";
254f2b8f6a9SJerome Brunet				interrupts = <GIC_SPI 86 IRQ_TYPE_EDGE_RISING>;
255f2b8f6a9SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TODDR_C>;
256f2b8f6a9SJerome Brunet				resets = <&arb AXG_ARB_TODDR_C>;
257f2b8f6a9SJerome Brunet				status = "disabled";
258f2b8f6a9SJerome Brunet			};
259f2b8f6a9SJerome Brunet
260f2b8f6a9SJerome Brunet			frddr_a: audio-controller@1c0 {
261f2b8f6a9SJerome Brunet				compatible = "amlogic,axg-frddr";
262f2b8f6a9SJerome Brunet				reg = <0x0 0x1c0 0x0 0x1c>;
263f2b8f6a9SJerome Brunet				#sound-dai-cells = <0>;
264f2b8f6a9SJerome Brunet				sound-name-prefix = "FRDDR_A";
265f2b8f6a9SJerome Brunet				interrupts = <GIC_SPI 88 IRQ_TYPE_EDGE_RISING>;
266f2b8f6a9SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_FRDDR_A>;
267f2b8f6a9SJerome Brunet				resets = <&arb AXG_ARB_FRDDR_A>;
268f2b8f6a9SJerome Brunet				status = "disabled";
269f2b8f6a9SJerome Brunet			};
270f2b8f6a9SJerome Brunet
271f2b8f6a9SJerome Brunet			frddr_b: audio-controller@200 {
272f2b8f6a9SJerome Brunet				compatible = "amlogic,axg-frddr";
273f2b8f6a9SJerome Brunet				reg = <0x0 0x200 0x0 0x1c>;
274f2b8f6a9SJerome Brunet				#sound-dai-cells = <0>;
275f2b8f6a9SJerome Brunet				sound-name-prefix = "FRDDR_B";
276f2b8f6a9SJerome Brunet				interrupts = <GIC_SPI 89 IRQ_TYPE_EDGE_RISING>;
277f2b8f6a9SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_FRDDR_B>;
278f2b8f6a9SJerome Brunet				resets = <&arb AXG_ARB_FRDDR_B>;
279f2b8f6a9SJerome Brunet				status = "disabled";
280f2b8f6a9SJerome Brunet			};
281f2b8f6a9SJerome Brunet
282f2b8f6a9SJerome Brunet			frddr_c: audio-controller@240 {
283f2b8f6a9SJerome Brunet				compatible = "amlogic,axg-frddr";
284f2b8f6a9SJerome Brunet				reg = <0x0 0x240 0x0 0x1c>;
285f2b8f6a9SJerome Brunet				#sound-dai-cells = <0>;
286f2b8f6a9SJerome Brunet				sound-name-prefix = "FRDDR_C";
287f2b8f6a9SJerome Brunet				interrupts = <GIC_SPI 90 IRQ_TYPE_EDGE_RISING>;
288f2b8f6a9SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_FRDDR_C>;
289f2b8f6a9SJerome Brunet				resets = <&arb AXG_ARB_FRDDR_C>;
290f2b8f6a9SJerome Brunet				status = "disabled";
291f2b8f6a9SJerome Brunet			};
292f2b8f6a9SJerome Brunet
29366d58a8fSJerome Brunet			arb: reset-controller@280 {
29466d58a8fSJerome Brunet				compatible = "amlogic,meson-axg-audio-arb";
29566d58a8fSJerome Brunet				reg = <0x0 0x280 0x0 0x4>;
29666d58a8fSJerome Brunet				#reset-cells = <1>;
29766d58a8fSJerome Brunet				clocks = <&clkc_audio AUD_CLKID_DDR_ARB>;
29866d58a8fSJerome Brunet			};
299f08c52deSJerome Brunet
300bf8e4790SJerome Brunet			tdmin_a: audio-controller@300 {
301bf8e4790SJerome Brunet				compatible = "amlogic,axg-tdmin";
302bf8e4790SJerome Brunet				reg = <0x0 0x300 0x0 0x40>;
303bf8e4790SJerome Brunet				sound-name-prefix = "TDMIN_A";
304bf8e4790SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TDMIN_A>,
305bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_A_SCLK>,
306bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_A_SCLK_SEL>,
307bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_A_LRCLK>,
308bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_A_LRCLK>;
309bf8e4790SJerome Brunet				clock-names = "pclk", "sclk", "sclk_sel",
310bf8e4790SJerome Brunet					      "lrclk", "lrclk_sel";
311bf8e4790SJerome Brunet				status = "disabled";
312bf8e4790SJerome Brunet			};
313bf8e4790SJerome Brunet
314bf8e4790SJerome Brunet			tdmin_b: audio-controller@340 {
315bf8e4790SJerome Brunet				compatible = "amlogic,axg-tdmin";
316bf8e4790SJerome Brunet				reg = <0x0 0x340 0x0 0x40>;
317bf8e4790SJerome Brunet				sound-name-prefix = "TDMIN_B";
318bf8e4790SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TDMIN_B>,
319bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_B_SCLK>,
320bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_B_SCLK_SEL>,
321bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_B_LRCLK>,
322bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_B_LRCLK>;
323bf8e4790SJerome Brunet				clock-names = "pclk", "sclk", "sclk_sel",
324bf8e4790SJerome Brunet					      "lrclk", "lrclk_sel";
325bf8e4790SJerome Brunet				status = "disabled";
326bf8e4790SJerome Brunet			};
327bf8e4790SJerome Brunet
328bf8e4790SJerome Brunet			tdmin_c: audio-controller@380 {
329bf8e4790SJerome Brunet				compatible = "amlogic,axg-tdmin";
330bf8e4790SJerome Brunet				reg = <0x0 0x380 0x0 0x40>;
331bf8e4790SJerome Brunet				sound-name-prefix = "TDMIN_C";
332bf8e4790SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TDMIN_C>,
333bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_C_SCLK>,
334bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_C_SCLK_SEL>,
335bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_C_LRCLK>,
336bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_C_LRCLK>;
337bf8e4790SJerome Brunet				clock-names = "pclk", "sclk", "sclk_sel",
338bf8e4790SJerome Brunet					      "lrclk", "lrclk_sel";
339bf8e4790SJerome Brunet				status = "disabled";
340bf8e4790SJerome Brunet			};
341bf8e4790SJerome Brunet
342bf8e4790SJerome Brunet			tdmin_lb: audio-controller@3c0 {
343bf8e4790SJerome Brunet				compatible = "amlogic,axg-tdmin";
344bf8e4790SJerome Brunet				reg = <0x0 0x3c0 0x0 0x40>;
345bf8e4790SJerome Brunet				sound-name-prefix = "TDMIN_LB";
346bf8e4790SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TDMIN_LB>,
347bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_LB_SCLK>,
348bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_LB_SCLK_SEL>,
349bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_LB_LRCLK>,
350bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_LB_LRCLK>;
351bf8e4790SJerome Brunet				clock-names = "pclk", "sclk", "sclk_sel",
352bf8e4790SJerome Brunet					      "lrclk", "lrclk_sel";
353bf8e4790SJerome Brunet				status = "disabled";
354bf8e4790SJerome Brunet			};
355bf8e4790SJerome Brunet
356f08c52deSJerome Brunet			spdifout: audio-controller@480 {
357f08c52deSJerome Brunet				compatible = "amlogic,axg-spdifout";
358f08c52deSJerome Brunet				reg = <0x0 0x480 0x0 0x50>;
359f08c52deSJerome Brunet				#sound-dai-cells = <0>;
360f08c52deSJerome Brunet				sound-name-prefix = "SPDIFOUT";
361f08c52deSJerome Brunet				clocks = <&clkc_audio AUD_CLKID_SPDIFOUT>,
362f08c52deSJerome Brunet					 <&clkc_audio AUD_CLKID_SPDIFOUT_CLK>;
363f08c52deSJerome Brunet				clock-names = "pclk", "mclk";
364f08c52deSJerome Brunet				status = "disabled";
365f08c52deSJerome Brunet			};
366fd916739SJerome Brunet
367fd916739SJerome Brunet			tdmout_a: audio-controller@500 {
368fd916739SJerome Brunet				compatible = "amlogic,axg-tdmout";
369fd916739SJerome Brunet				reg = <0x0 0x500 0x0 0x40>;
370fd916739SJerome Brunet				sound-name-prefix = "TDMOUT_A";
371fd916739SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TDMOUT_A>,
372fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_A_SCLK>,
373fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_A_SCLK_SEL>,
374fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_A_LRCLK>,
375fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_A_LRCLK>;
376fd916739SJerome Brunet				clock-names = "pclk", "sclk", "sclk_sel",
377fd916739SJerome Brunet					      "lrclk", "lrclk_sel";
378fd916739SJerome Brunet				status = "disabled";
379fd916739SJerome Brunet			};
380fd916739SJerome Brunet
381fd916739SJerome Brunet			tdmout_b: audio-controller@540 {
382fd916739SJerome Brunet				compatible = "amlogic,axg-tdmout";
383fd916739SJerome Brunet				reg = <0x0 0x540 0x0 0x40>;
384fd916739SJerome Brunet				sound-name-prefix = "TDMOUT_B";
385fd916739SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TDMOUT_B>,
386fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_B_SCLK>,
387fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_B_SCLK_SEL>,
388fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_B_LRCLK>,
389fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_B_LRCLK>;
390fd916739SJerome Brunet				clock-names = "pclk", "sclk", "sclk_sel",
391fd916739SJerome Brunet					      "lrclk", "lrclk_sel";
392fd916739SJerome Brunet				status = "disabled";
393fd916739SJerome Brunet			};
394fd916739SJerome Brunet
395fd916739SJerome Brunet			tdmout_c: audio-controller@580 {
396fd916739SJerome Brunet				compatible = "amlogic,axg-tdmout";
397fd916739SJerome Brunet				reg = <0x0 0x580 0x0 0x40>;
398fd916739SJerome Brunet				sound-name-prefix = "TDMOUT_C";
399fd916739SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TDMOUT_C>,
400fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_C_SCLK>,
401fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_C_SCLK_SEL>,
402fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_C_LRCLK>,
403fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_C_LRCLK>;
404fd916739SJerome Brunet				clock-names = "pclk", "sclk", "sclk_sel",
405fd916739SJerome Brunet					      "lrclk", "lrclk_sel";
406fd916739SJerome Brunet				status = "disabled";
407fd916739SJerome Brunet			};
4088909e722SJerome Brunet		};
4098909e722SJerome Brunet
4100cb6c604SKevin Hilman		cbus: bus@ffd00000 {
4119d59b708SYixun Lan			compatible = "simple-bus";
4129d59b708SYixun Lan			reg = <0x0 0xffd00000 0x0 0x25000>;
4139d59b708SYixun Lan			#address-cells = <2>;
4149d59b708SYixun Lan			#size-cells = <2>;
4159d59b708SYixun Lan			ranges = <0x0 0x0 0x0 0xffd00000 0x0 0x25000>;
4169d59b708SYixun Lan
417b0e59f94SYixun Lan			gpio_intc: interrupt-controller@f080 {
418b0e59f94SYixun Lan				compatible = "amlogic,meson-gpio-intc";
419b0e59f94SYixun Lan				reg = <0x0 0xf080 0x0 0x10>;
420b0e59f94SYixun Lan				interrupt-controller;
421b0e59f94SYixun Lan				#interrupt-cells = <2>;
422b0e59f94SYixun Lan				amlogic,channel-interrupts = <64 65 66 67 68 69 70 71>;
423b0e59f94SYixun Lan				status = "disabled";
424b0e59f94SYixun Lan			};
425b0e59f94SYixun Lan
4264a81e5ddSJian Hu			pwm_ab: pwm@1b000 {
4274a81e5ddSJian Hu				compatible = "amlogic,meson-axg-ee-pwm";
4284a81e5ddSJian Hu				reg = <0x0 0x1b000 0x0 0x20>;
4294a81e5ddSJian Hu				#pwm-cells = <3>;
4304a81e5ddSJian Hu				status = "disabled";
4314a81e5ddSJian Hu			};
4324a81e5ddSJian Hu
4334a81e5ddSJian Hu			pwm_cd: pwm@1a000 {
4344a81e5ddSJian Hu				compatible = "amlogic,meson-axg-ee-pwm";
4354a81e5ddSJian Hu				reg = <0x0 0x1a000 0x0 0x20>;
4364a81e5ddSJian Hu				#pwm-cells = <3>;
4374a81e5ddSJian Hu				status = "disabled";
4384a81e5ddSJian Hu			};
4394a81e5ddSJian Hu
44043b9f617SYixun Lan			reset: reset-controller@1004 {
44143b9f617SYixun Lan				compatible = "amlogic,meson-axg-reset";
44243b9f617SYixun Lan				reg = <0x0 0x01004 0x0 0x9c>;
44343b9f617SYixun Lan				#reset-cells = <1>;
44443b9f617SYixun Lan			};
44543b9f617SYixun Lan
4468ae4284eSSunny Luo			spicc0: spi@13000 {
4478ae4284eSSunny Luo				compatible = "amlogic,meson-axg-spicc";
4488ae4284eSSunny Luo				reg = <0x0 0x13000 0x0 0x3c>;
4498ae4284eSSunny Luo				interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
4508ae4284eSSunny Luo				clocks = <&clkc CLKID_SPICC0>;
4518ae4284eSSunny Luo				clock-names = "core";
4528ae4284eSSunny Luo				#address-cells = <1>;
4538ae4284eSSunny Luo				#size-cells = <0>;
4548ae4284eSSunny Luo				status = "disabled";
4558ae4284eSSunny Luo			};
4568ae4284eSSunny Luo
4578ae4284eSSunny Luo			spicc1: spi@15000 {
4588ae4284eSSunny Luo				compatible = "amlogic,meson-axg-spicc";
4598ae4284eSSunny Luo				reg = <0x0 0x15000 0x0 0x3c>;
4608ae4284eSSunny Luo				interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
4618ae4284eSSunny Luo				clocks = <&clkc CLKID_SPICC1>;
4628ae4284eSSunny Luo				clock-names = "core";
4638ae4284eSSunny Luo				#address-cells = <1>;
4648ae4284eSSunny Luo				#size-cells = <0>;
4658ae4284eSSunny Luo				status = "disabled";
4668ae4284eSSunny Luo			};
4678ae4284eSSunny Luo
468dc6f858eSJian Hu			i2c0: i2c@1f000 {
469dc6f858eSJian Hu				compatible = "amlogic,meson-axg-i2c";
470dc6f858eSJian Hu				reg = <0x0 0x1f000 0x0 0x20>;
4712b6ff972SJerome Brunet				interrupts = <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>;
4722b6ff972SJerome Brunet				clocks = <&clkc CLKID_I2C>;
473dc6f858eSJian Hu				#address-cells = <1>;
474dc6f858eSJian Hu				#size-cells = <0>;
4752b6ff972SJerome Brunet				status = "disabled";
476dc6f858eSJian Hu			};
477dc6f858eSJian Hu
478dc6f858eSJian Hu			i2c1: i2c@1e000 {
479dc6f858eSJian Hu				compatible = "amlogic,meson-axg-i2c";
4802b6ff972SJerome Brunet				reg = <0x0 0x1e000 0x0 0x20>;
4812b6ff972SJerome Brunet				interrupts = <GIC_SPI 214 IRQ_TYPE_EDGE_RISING>;
4822b6ff972SJerome Brunet				clocks = <&clkc CLKID_I2C>;
483dc6f858eSJian Hu				#address-cells = <1>;
484dc6f858eSJian Hu				#size-cells = <0>;
485dc6f858eSJian Hu				status = "disabled";
486dc6f858eSJian Hu			};
487dc6f858eSJian Hu
488dc6f858eSJian Hu			i2c2: i2c@1d000 {
489dc6f858eSJian Hu				compatible = "amlogic,meson-axg-i2c";
490dc6f858eSJian Hu				reg = <0x0 0x1d000 0x0 0x20>;
4912b6ff972SJerome Brunet				interrupts = <GIC_SPI 215 IRQ_TYPE_EDGE_RISING>;
4922b6ff972SJerome Brunet				clocks = <&clkc CLKID_I2C>;
493dc6f858eSJian Hu				#address-cells = <1>;
494dc6f858eSJian Hu				#size-cells = <0>;
4952b6ff972SJerome Brunet				status = "disabled";
496dc6f858eSJian Hu			};
497dc6f858eSJian Hu
498dc6f858eSJian Hu			i2c3: i2c@1c000 {
499dc6f858eSJian Hu				compatible = "amlogic,meson-axg-i2c";
500dc6f858eSJian Hu				reg = <0x0 0x1c000 0x0 0x20>;
5012b6ff972SJerome Brunet				interrupts = <GIC_SPI 39 IRQ_TYPE_EDGE_RISING>;
5022b6ff972SJerome Brunet				clocks = <&clkc CLKID_I2C>;
503dc6f858eSJian Hu				#address-cells = <1>;
504dc6f858eSJian Hu				#size-cells = <0>;
5052b6ff972SJerome Brunet				status = "disabled";
506dc6f858eSJian Hu			};
507dc6f858eSJian Hu
5089d59b708SYixun Lan			uart_A: serial@24000 {
50958662130SYixun Lan				compatible = "amlogic,meson-gx-uart";
51077f5cdbdSYixun Lan				reg = <0x0 0x24000 0x0 0x18>;
5119d59b708SYixun Lan				interrupts = <GIC_SPI 26 IRQ_TYPE_EDGE_RISING>;
5129d59b708SYixun Lan				status = "disabled";
51358662130SYixun Lan				clocks = <&xtal>, <&clkc CLKID_UART0>, <&xtal>;
51458662130SYixun Lan				clock-names = "xtal", "pclk", "baud";
5159d59b708SYixun Lan			};
5169d59b708SYixun Lan
5179d59b708SYixun Lan			uart_B: serial@23000 {
51858662130SYixun Lan				compatible = "amlogic,meson-gx-uart";
51977f5cdbdSYixun Lan				reg = <0x0 0x23000 0x0 0x18>;
5209d59b708SYixun Lan				interrupts = <GIC_SPI 75 IRQ_TYPE_EDGE_RISING>;
5219d59b708SYixun Lan				status = "disabled";
52258662130SYixun Lan				clocks = <&xtal>, <&clkc CLKID_UART1>, <&xtal>;
52358662130SYixun Lan				clock-names = "xtal", "pclk", "baud";
5249d59b708SYixun Lan			};
5259d59b708SYixun Lan		};
5269d59b708SYixun Lan
52729390d27SYixun Lan		ethmac: ethernet@ff3f0000 {
52829390d27SYixun Lan			compatible = "amlogic,meson-gxbb-dwmac", "snps,dwmac";
52929390d27SYixun Lan			reg = <0x0 0xff3f0000 0x0 0x10000
53029390d27SYixun Lan				0x0 0xff634540 0x0 0x8>;
53129390d27SYixun Lan			interrupts = <GIC_SPI 8 IRQ_TYPE_EDGE_RISING>;
53229390d27SYixun Lan			interrupt-names = "macirq";
53329390d27SYixun Lan			clocks = <&clkc CLKID_ETH>,
53429390d27SYixun Lan				 <&clkc CLKID_FCLK_DIV2>,
53529390d27SYixun Lan				 <&clkc CLKID_MPLL2>;
53629390d27SYixun Lan			clock-names = "stmmaceth", "clkin0", "clkin1";
53729390d27SYixun Lan			status = "disabled";
53829390d27SYixun Lan		};
53929390d27SYixun Lan
5409d59b708SYixun Lan		gic: interrupt-controller@ffc01000 {
5419d59b708SYixun Lan			compatible = "arm,gic-400";
5429d59b708SYixun Lan			reg = <0x0 0xffc01000 0 0x1000>,
5439d59b708SYixun Lan			      <0x0 0xffc02000 0 0x2000>,
5449d59b708SYixun Lan			      <0x0 0xffc04000 0 0x2000>,
5459d59b708SYixun Lan			      <0x0 0xffc06000 0 0x2000>;
5469d59b708SYixun Lan			interrupt-controller;
5479d59b708SYixun Lan			interrupts = <GIC_PPI 9
5489d59b708SYixun Lan				(GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>;
5499d59b708SYixun Lan			#interrupt-cells = <3>;
5509d59b708SYixun Lan			#address-cells = <0>;
5519d59b708SYixun Lan		};
5529d59b708SYixun Lan
553abfc18f9SQiufang Dai		hiubus: bus@ff63c000 {
554abfc18f9SQiufang Dai			compatible = "simple-bus";
555abfc18f9SQiufang Dai			reg = <0x0 0xff63c000 0x0 0x1c00>;
556abfc18f9SQiufang Dai			#address-cells = <2>;
557abfc18f9SQiufang Dai			#size-cells = <2>;
558abfc18f9SQiufang Dai			ranges = <0x0 0x0 0x0 0xff63c000 0x0 0x1c00>;
559abfc18f9SQiufang Dai
560cc4d6641SJerome Brunet			sysctrl: system-controller@0 {
561cc4d6641SJerome Brunet				compatible = "amlogic,meson-axg-hhi-sysctrl", "syscon", "simple-mfd";
562cc4d6641SJerome Brunet				reg = <0 0 0 0x400>;
563cc4d6641SJerome Brunet
564cc4d6641SJerome Brunet				clkc: clock-controller {
565abfc18f9SQiufang Dai					compatible = "amlogic,axg-clkc";
566abfc18f9SQiufang Dai					#clock-cells = <1>;
567cc4d6641SJerome Brunet				};
568abfc18f9SQiufang Dai			};
569abfc18f9SQiufang Dai		};
570abfc18f9SQiufang Dai
5719d59b708SYixun Lan		mailbox: mailbox@ff63dc00 {
5729d59b708SYixun Lan			compatible = "amlogic,meson-gx-mhu", "amlogic,meson-gxbb-mhu";
5739d59b708SYixun Lan			reg = <0 0xff63dc00 0 0x400>;
5749d59b708SYixun Lan			interrupts = <GIC_SPI 208 IRQ_TYPE_EDGE_RISING>,
5759d59b708SYixun Lan				     <GIC_SPI 209 IRQ_TYPE_EDGE_RISING>,
5769d59b708SYixun Lan				     <GIC_SPI 210 IRQ_TYPE_EDGE_RISING>;
5779d59b708SYixun Lan			#mbox-cells = <1>;
5789d59b708SYixun Lan		};
5799d59b708SYixun Lan
580de05ded6SXingyu Chen		periphs: periphs@ff634000 {
581de05ded6SXingyu Chen			compatible = "simple-bus";
582de05ded6SXingyu Chen			reg = <0x0 0xff634000 0x0 0x2000>;
583de05ded6SXingyu Chen			#address-cells = <2>;
584de05ded6SXingyu Chen			#size-cells = <2>;
585de05ded6SXingyu Chen			ranges = <0x0 0x0 0x0 0xff634000 0x0 0x2000>;
586de05ded6SXingyu Chen
587eafd53d3SJerome Brunet			hwrng: rng {
588eafd53d3SJerome Brunet				compatible = "amlogic,meson-rng";
589eafd53d3SJerome Brunet				reg = <0x0 0x18 0x0 0x4>;
590eafd53d3SJerome Brunet				clocks = <&clkc CLKID_RNG0>;
591eafd53d3SJerome Brunet				clock-names = "core";
592eafd53d3SJerome Brunet			};
593eafd53d3SJerome Brunet
594de05ded6SXingyu Chen			pinctrl_periphs: pinctrl@480 {
595de05ded6SXingyu Chen				compatible = "amlogic,meson-axg-periphs-pinctrl";
596de05ded6SXingyu Chen				#address-cells = <2>;
597de05ded6SXingyu Chen				#size-cells = <2>;
598de05ded6SXingyu Chen				ranges;
599de05ded6SXingyu Chen
600de05ded6SXingyu Chen				gpio: bank@480 {
601de05ded6SXingyu Chen					reg = <0x0 0x00480 0x0 0x40>,
602de05ded6SXingyu Chen						<0x0 0x004e8 0x0 0x14>,
603de05ded6SXingyu Chen						<0x0 0x00520 0x0 0x14>,
604de05ded6SXingyu Chen						<0x0 0x00430 0x0 0x3c>;
605de05ded6SXingyu Chen					reg-names = "mux", "pull", "pull-enable", "gpio";
606de05ded6SXingyu Chen					gpio-controller;
607de05ded6SXingyu Chen					#gpio-cells = <2>;
608de05ded6SXingyu Chen					gpio-ranges = <&pinctrl_periphs 0 0 86>;
609de05ded6SXingyu Chen				};
6104a81e5ddSJian Hu
611221cf34bSNan Li				emmc_pins: emmc {
612221cf34bSNan Li					mux {
613221cf34bSNan Li						groups = "emmc_nand_d0",
614221cf34bSNan Li							"emmc_nand_d1",
615221cf34bSNan Li							"emmc_nand_d2",
616221cf34bSNan Li							"emmc_nand_d3",
617221cf34bSNan Li							"emmc_nand_d4",
618221cf34bSNan Li							"emmc_nand_d5",
619221cf34bSNan Li							"emmc_nand_d6",
620221cf34bSNan Li							"emmc_nand_d7",
621221cf34bSNan Li							"emmc_clk",
622221cf34bSNan Li							"emmc_cmd",
623221cf34bSNan Li							"emmc_ds";
624221cf34bSNan Li						function = "emmc";
625221cf34bSNan Li					};
626221cf34bSNan Li				};
627221cf34bSNan Li
628221cf34bSNan Li				emmc_clk_gate_pins: emmc_clk_gate {
629221cf34bSNan Li					mux {
630221cf34bSNan Li						groups = "BOOT_8";
631221cf34bSNan Li						function = "gpio_periphs";
632221cf34bSNan Li					};
633221cf34bSNan Li					cfg-pull-down {
634221cf34bSNan Li						pins = "BOOT_8";
635221cf34bSNan Li						bias-pull-down;
636221cf34bSNan Li					};
637221cf34bSNan Li				};
638221cf34bSNan Li
639221cf34bSNan Li				sdio_pins: sdio {
640221cf34bSNan Li					mux {
641221cf34bSNan Li						groups = "sdio_d0",
642221cf34bSNan Li							"sdio_d1",
643221cf34bSNan Li							"sdio_d2",
644221cf34bSNan Li							"sdio_d3",
645221cf34bSNan Li							"sdio_cmd",
646221cf34bSNan Li							"sdio_clk";
647221cf34bSNan Li						function = "sdio";
648221cf34bSNan Li					};
649221cf34bSNan Li				};
650221cf34bSNan Li
651221cf34bSNan Li				sdio_clk_gate_pins: sdio_clk_gate {
652221cf34bSNan Li					mux {
653221cf34bSNan Li						groups = "GPIOX_4";
654221cf34bSNan Li						function = "gpio_periphs";
655221cf34bSNan Li					};
656221cf34bSNan Li					cfg-pull-down {
657221cf34bSNan Li						pins = "GPIOX_4";
658221cf34bSNan Li						bias-pull-down;
659221cf34bSNan Li					};
660221cf34bSNan Li				};
661221cf34bSNan Li
662777fa58dSYixun Lan				eth_rmii_x_pins: eth-x-rmii {
663777fa58dSYixun Lan					mux {
664777fa58dSYixun Lan						groups = "eth_mdio_x",
665777fa58dSYixun Lan						       "eth_mdc_x",
666777fa58dSYixun Lan						       "eth_rgmii_rx_clk_x",
667777fa58dSYixun Lan						       "eth_rx_dv_x",
668777fa58dSYixun Lan						       "eth_rxd0_x",
669777fa58dSYixun Lan						       "eth_rxd1_x",
670777fa58dSYixun Lan						       "eth_txen_x",
671777fa58dSYixun Lan						       "eth_txd0_x",
672777fa58dSYixun Lan						       "eth_txd1_x";
673777fa58dSYixun Lan						function = "eth";
674777fa58dSYixun Lan					};
675777fa58dSYixun Lan				};
676777fa58dSYixun Lan
677777fa58dSYixun Lan				eth_rmii_y_pins: eth-y-rmii {
678777fa58dSYixun Lan					mux {
679777fa58dSYixun Lan						groups = "eth_mdio_y",
680777fa58dSYixun Lan						       "eth_mdc_y",
681777fa58dSYixun Lan						       "eth_rgmii_rx_clk_y",
682777fa58dSYixun Lan						       "eth_rx_dv_y",
683777fa58dSYixun Lan						       "eth_rxd0_y",
684777fa58dSYixun Lan						       "eth_rxd1_y",
685777fa58dSYixun Lan						       "eth_txen_y",
686777fa58dSYixun Lan						       "eth_txd0_y",
687777fa58dSYixun Lan						       "eth_txd1_y";
688777fa58dSYixun Lan						function = "eth";
689777fa58dSYixun Lan					};
690777fa58dSYixun Lan				};
691777fa58dSYixun Lan
69229390d27SYixun Lan				eth_rgmii_x_pins: eth-x-rgmii {
69329390d27SYixun Lan					mux {
69429390d27SYixun Lan						groups = "eth_mdio_x",
69529390d27SYixun Lan						       "eth_mdc_x",
69629390d27SYixun Lan						       "eth_rgmii_rx_clk_x",
69729390d27SYixun Lan						       "eth_rx_dv_x",
69829390d27SYixun Lan						       "eth_rxd0_x",
69929390d27SYixun Lan						       "eth_rxd1_x",
70029390d27SYixun Lan						       "eth_rxd2_rgmii",
70129390d27SYixun Lan						       "eth_rxd3_rgmii",
70229390d27SYixun Lan						       "eth_rgmii_tx_clk",
70329390d27SYixun Lan						       "eth_txen_x",
70429390d27SYixun Lan						       "eth_txd0_x",
70529390d27SYixun Lan						       "eth_txd1_x",
70629390d27SYixun Lan						       "eth_txd2_rgmii",
70729390d27SYixun Lan						       "eth_txd3_rgmii";
70829390d27SYixun Lan						function = "eth";
70929390d27SYixun Lan					};
71029390d27SYixun Lan				};
71129390d27SYixun Lan
71229390d27SYixun Lan				eth_rgmii_y_pins: eth-y-rgmii {
71329390d27SYixun Lan					mux {
71429390d27SYixun Lan						groups = "eth_mdio_y",
71529390d27SYixun Lan						       "eth_mdc_y",
71629390d27SYixun Lan						       "eth_rgmii_rx_clk_y",
71729390d27SYixun Lan						       "eth_rx_dv_y",
71829390d27SYixun Lan						       "eth_rxd0_y",
71929390d27SYixun Lan						       "eth_rxd1_y",
72029390d27SYixun Lan						       "eth_rxd2_rgmii",
72129390d27SYixun Lan						       "eth_rxd3_rgmii",
72229390d27SYixun Lan						       "eth_rgmii_tx_clk",
72329390d27SYixun Lan						       "eth_txen_y",
72429390d27SYixun Lan						       "eth_txd0_y",
72529390d27SYixun Lan						       "eth_txd1_y",
72629390d27SYixun Lan						       "eth_txd2_rgmii",
72729390d27SYixun Lan						       "eth_txd3_rgmii";
72829390d27SYixun Lan						function = "eth";
72929390d27SYixun Lan					};
73029390d27SYixun Lan				};
73129390d27SYixun Lan
73289803e8bSJerome Brunet				pdm_dclk_a14_pins: pdm_dclk_a14 {
73389803e8bSJerome Brunet					mux {
73489803e8bSJerome Brunet						groups = "pdm_dclk_a14";
73589803e8bSJerome Brunet						function = "pdm";
73689803e8bSJerome Brunet					};
73789803e8bSJerome Brunet				};
73889803e8bSJerome Brunet
73989803e8bSJerome Brunet				pdm_dclk_a19_pins: pdm_dclk_a19 {
74089803e8bSJerome Brunet					mux {
74189803e8bSJerome Brunet						groups = "pdm_dclk_a19";
74289803e8bSJerome Brunet						function = "pdm";
74389803e8bSJerome Brunet					};
74489803e8bSJerome Brunet				};
74589803e8bSJerome Brunet
74689803e8bSJerome Brunet				pdm_din0_pins: pdm_din0 {
74789803e8bSJerome Brunet					mux {
74889803e8bSJerome Brunet						groups = "pdm_din0";
74989803e8bSJerome Brunet						function = "pdm";
75089803e8bSJerome Brunet					};
75189803e8bSJerome Brunet				};
75289803e8bSJerome Brunet
75389803e8bSJerome Brunet				pdm_din1_pins: pdm_din1 {
75489803e8bSJerome Brunet					mux {
75589803e8bSJerome Brunet						groups = "pdm_din1";
75689803e8bSJerome Brunet						function = "pdm";
75789803e8bSJerome Brunet					};
75889803e8bSJerome Brunet				};
75989803e8bSJerome Brunet
76089803e8bSJerome Brunet				pdm_din2_pins: pdm_din2 {
76189803e8bSJerome Brunet					mux {
76289803e8bSJerome Brunet						groups = "pdm_din2";
76389803e8bSJerome Brunet						function = "pdm";
76489803e8bSJerome Brunet					};
76589803e8bSJerome Brunet				};
76689803e8bSJerome Brunet
76789803e8bSJerome Brunet				pdm_din3_pins: pdm_din3 {
76889803e8bSJerome Brunet					mux {
76989803e8bSJerome Brunet						groups = "pdm_din3";
77089803e8bSJerome Brunet						function = "pdm";
77189803e8bSJerome Brunet					};
77289803e8bSJerome Brunet				};
77389803e8bSJerome Brunet
7744a81e5ddSJian Hu				pwm_a_a_pins: pwm_a_a {
7754a81e5ddSJian Hu					mux {
7764a81e5ddSJian Hu						groups = "pwm_a_a";
7774a81e5ddSJian Hu						function = "pwm_a";
7784a81e5ddSJian Hu					};
7794a81e5ddSJian Hu				};
7804a81e5ddSJian Hu
7814a81e5ddSJian Hu				pwm_a_x18_pins: pwm_a_x18 {
7824a81e5ddSJian Hu					mux {
7834a81e5ddSJian Hu						groups = "pwm_a_x18";
7844a81e5ddSJian Hu						function = "pwm_a";
7854a81e5ddSJian Hu					};
7864a81e5ddSJian Hu				};
7874a81e5ddSJian Hu
7884a81e5ddSJian Hu				pwm_a_x20_pins: pwm_a_x20 {
7894a81e5ddSJian Hu					mux {
7904a81e5ddSJian Hu						groups = "pwm_a_x20";
7914a81e5ddSJian Hu						function = "pwm_a";
7924a81e5ddSJian Hu					};
7934a81e5ddSJian Hu				};
7944a81e5ddSJian Hu
7954a81e5ddSJian Hu				pwm_a_z_pins: pwm_a_z {
7964a81e5ddSJian Hu					mux {
7974a81e5ddSJian Hu						groups = "pwm_a_z";
7984a81e5ddSJian Hu						function = "pwm_a";
7994a81e5ddSJian Hu					};
8004a81e5ddSJian Hu				};
8014a81e5ddSJian Hu
8024a81e5ddSJian Hu				pwm_b_a_pins: pwm_b_a {
8034a81e5ddSJian Hu					mux {
8044a81e5ddSJian Hu						groups = "pwm_b_a";
8054a81e5ddSJian Hu						function = "pwm_b";
8064a81e5ddSJian Hu					};
8074a81e5ddSJian Hu				};
8084a81e5ddSJian Hu
8094a81e5ddSJian Hu				pwm_b_x_pins: pwm_b_x {
8104a81e5ddSJian Hu					mux {
8114a81e5ddSJian Hu						groups = "pwm_b_x";
8124a81e5ddSJian Hu						function = "pwm_b";
8134a81e5ddSJian Hu					};
8144a81e5ddSJian Hu				};
8154a81e5ddSJian Hu
8164a81e5ddSJian Hu				pwm_b_z_pins: pwm_b_z {
8174a81e5ddSJian Hu					mux {
8184a81e5ddSJian Hu						groups = "pwm_b_z";
8194a81e5ddSJian Hu						function = "pwm_b";
8204a81e5ddSJian Hu					};
8214a81e5ddSJian Hu				};
8224a81e5ddSJian Hu
8234a81e5ddSJian Hu				pwm_c_a_pins: pwm_c_a {
8244a81e5ddSJian Hu					mux {
8254a81e5ddSJian Hu						groups = "pwm_c_a";
8264a81e5ddSJian Hu						function = "pwm_c";
8274a81e5ddSJian Hu					};
8284a81e5ddSJian Hu				};
8294a81e5ddSJian Hu
8304a81e5ddSJian Hu				pwm_c_x10_pins: pwm_c_x10 {
8314a81e5ddSJian Hu					mux {
8324a81e5ddSJian Hu						groups = "pwm_c_x10";
8334a81e5ddSJian Hu						function = "pwm_c";
8344a81e5ddSJian Hu					};
8354a81e5ddSJian Hu				};
8364a81e5ddSJian Hu
8374a81e5ddSJian Hu				pwm_c_x17_pins: pwm_c_x17 {
8384a81e5ddSJian Hu					mux {
8394a81e5ddSJian Hu						groups = "pwm_c_x17";
8404a81e5ddSJian Hu						function = "pwm_c";
8414a81e5ddSJian Hu					};
8424a81e5ddSJian Hu				};
8434a81e5ddSJian Hu
8444a81e5ddSJian Hu				pwm_d_x11_pins: pwm_d_x11 {
8454a81e5ddSJian Hu					mux {
8464a81e5ddSJian Hu						groups = "pwm_d_x11";
8474a81e5ddSJian Hu						function = "pwm_d";
8484a81e5ddSJian Hu					};
8494a81e5ddSJian Hu				};
8504a81e5ddSJian Hu
8514a81e5ddSJian Hu				pwm_d_x16_pins: pwm_d_x16 {
8524a81e5ddSJian Hu					mux {
8534a81e5ddSJian Hu						groups = "pwm_d_x16";
8544a81e5ddSJian Hu						function = "pwm_d";
8554a81e5ddSJian Hu					};
8564a81e5ddSJian Hu				};
8578ae4284eSSunny Luo
858c67ee0a8SJerome Brunet				spdif_in_z_pins: spdif_in_z {
859c67ee0a8SJerome Brunet					mux {
860c67ee0a8SJerome Brunet						groups = "spdif_in_z";
861c67ee0a8SJerome Brunet						function = "spdif_in";
862c67ee0a8SJerome Brunet					};
863c67ee0a8SJerome Brunet				};
864c67ee0a8SJerome Brunet
865c67ee0a8SJerome Brunet				spdif_in_a1_pins: spdif_in_a1 {
866c67ee0a8SJerome Brunet					mux {
867c67ee0a8SJerome Brunet						groups = "spdif_in_a1";
868c67ee0a8SJerome Brunet						function = "spdif_in";
869c67ee0a8SJerome Brunet					};
870c67ee0a8SJerome Brunet				};
871c67ee0a8SJerome Brunet
872c67ee0a8SJerome Brunet				spdif_in_a7_pins: spdif_in_a7 {
873c67ee0a8SJerome Brunet					mux {
874c67ee0a8SJerome Brunet						groups = "spdif_in_a7";
875c67ee0a8SJerome Brunet						function = "spdif_in";
876c67ee0a8SJerome Brunet					};
877c67ee0a8SJerome Brunet				};
878c67ee0a8SJerome Brunet
879c67ee0a8SJerome Brunet				spdif_in_a19_pins: spdif_in_a19 {
880c67ee0a8SJerome Brunet					mux {
881c67ee0a8SJerome Brunet						groups = "spdif_in_a19";
882c67ee0a8SJerome Brunet						function = "spdif_in";
883c67ee0a8SJerome Brunet					};
884c67ee0a8SJerome Brunet				};
885c67ee0a8SJerome Brunet
886c67ee0a8SJerome Brunet				spdif_in_a20_pins: spdif_in_a20 {
887c67ee0a8SJerome Brunet					mux {
888c67ee0a8SJerome Brunet						groups = "spdif_in_a20";
889c67ee0a8SJerome Brunet						function = "spdif_in";
890c67ee0a8SJerome Brunet					};
891c67ee0a8SJerome Brunet				};
892c67ee0a8SJerome Brunet
89370d4b64fSJerome Brunet				spdif_out_z_pins: spdif_out_z {
89470d4b64fSJerome Brunet					mux {
89570d4b64fSJerome Brunet						groups = "spdif_out_z";
89670d4b64fSJerome Brunet						function = "spdif_out";
89770d4b64fSJerome Brunet					};
89870d4b64fSJerome Brunet				};
89970d4b64fSJerome Brunet
90070d4b64fSJerome Brunet				spdif_out_a1_pins: spdif_out_a1 {
90170d4b64fSJerome Brunet					mux {
90270d4b64fSJerome Brunet						groups = "spdif_out_a1";
90370d4b64fSJerome Brunet						function = "spdif_out";
90470d4b64fSJerome Brunet					};
90570d4b64fSJerome Brunet				};
90670d4b64fSJerome Brunet
90770d4b64fSJerome Brunet				spdif_out_a11_pins: spdif_out_a11 {
90870d4b64fSJerome Brunet					mux {
90970d4b64fSJerome Brunet						groups = "spdif_out_a11";
91070d4b64fSJerome Brunet						function = "spdif_out";
91170d4b64fSJerome Brunet					};
91270d4b64fSJerome Brunet				};
91370d4b64fSJerome Brunet
91470d4b64fSJerome Brunet				spdif_out_a19_pins: spdif_out_a19 {
91570d4b64fSJerome Brunet					mux {
91670d4b64fSJerome Brunet						groups = "spdif_out_a19";
91770d4b64fSJerome Brunet						function = "spdif_out";
91870d4b64fSJerome Brunet					};
91970d4b64fSJerome Brunet				};
92070d4b64fSJerome Brunet
92170d4b64fSJerome Brunet				spdif_out_a20_pins: spdif_out_a20 {
92270d4b64fSJerome Brunet					mux {
92370d4b64fSJerome Brunet						groups = "spdif_out_a20";
92470d4b64fSJerome Brunet						function = "spdif_out";
92570d4b64fSJerome Brunet					};
92670d4b64fSJerome Brunet				};
92770d4b64fSJerome Brunet
9288ae4284eSSunny Luo				spi0_pins: spi0 {
9298ae4284eSSunny Luo					mux {
9308ae4284eSSunny Luo						groups = "spi0_miso",
9318ae4284eSSunny Luo							"spi0_mosi",
9328ae4284eSSunny Luo							"spi0_clk";
9338ae4284eSSunny Luo						function = "spi0";
9348ae4284eSSunny Luo					};
9358ae4284eSSunny Luo				};
9368ae4284eSSunny Luo
9378ae4284eSSunny Luo				spi0_ss0_pins: spi0_ss0 {
9388ae4284eSSunny Luo					mux {
9398ae4284eSSunny Luo						groups = "spi0_ss0";
9408ae4284eSSunny Luo						function = "spi0";
9418ae4284eSSunny Luo					};
9428ae4284eSSunny Luo				};
9438ae4284eSSunny Luo
9448ae4284eSSunny Luo				spi0_ss1_pins: spi0_ss1 {
9458ae4284eSSunny Luo					mux {
9468ae4284eSSunny Luo						groups = "spi0_ss1";
9478ae4284eSSunny Luo						function = "spi0";
9488ae4284eSSunny Luo					};
9498ae4284eSSunny Luo				};
9508ae4284eSSunny Luo
9518ae4284eSSunny Luo				spi0_ss2_pins: spi0_ss2 {
9528ae4284eSSunny Luo					mux {
9538ae4284eSSunny Luo						groups = "spi0_ss2";
9548ae4284eSSunny Luo						function = "spi0";
9558ae4284eSSunny Luo					};
9568ae4284eSSunny Luo				};
9578ae4284eSSunny Luo
9588ae4284eSSunny Luo
9598ae4284eSSunny Luo				spi1_a_pins: spi1_a {
9608ae4284eSSunny Luo					mux {
9618ae4284eSSunny Luo						groups = "spi1_miso_a",
9628ae4284eSSunny Luo							"spi1_mosi_a",
9638ae4284eSSunny Luo							"spi1_clk_a";
9648ae4284eSSunny Luo						function = "spi1";
9658ae4284eSSunny Luo					};
9668ae4284eSSunny Luo				};
9678ae4284eSSunny Luo
9688ae4284eSSunny Luo				spi1_ss0_a_pins: spi1_ss0_a {
9698ae4284eSSunny Luo					mux {
9708ae4284eSSunny Luo						groups = "spi1_ss0_a";
9718ae4284eSSunny Luo						function = "spi1";
9728ae4284eSSunny Luo					};
9738ae4284eSSunny Luo				};
9748ae4284eSSunny Luo
9758ae4284eSSunny Luo				spi1_ss1_pins: spi1_ss1 {
9768ae4284eSSunny Luo					mux {
9778ae4284eSSunny Luo						groups = "spi1_ss1";
9788ae4284eSSunny Luo						function = "spi1";
9798ae4284eSSunny Luo					};
9808ae4284eSSunny Luo				};
9818ae4284eSSunny Luo
9828ae4284eSSunny Luo				spi1_x_pins: spi1_x {
9838ae4284eSSunny Luo					mux {
9848ae4284eSSunny Luo						groups = "spi1_miso_x",
9858ae4284eSSunny Luo							"spi1_mosi_x",
9868ae4284eSSunny Luo							"spi1_clk_x";
9878ae4284eSSunny Luo						function = "spi1";
9888ae4284eSSunny Luo					};
9898ae4284eSSunny Luo				};
9908ae4284eSSunny Luo
9918ae4284eSSunny Luo				spi1_ss0_x_pins: spi1_ss0_x {
9928ae4284eSSunny Luo					mux {
9938ae4284eSSunny Luo						groups = "spi1_ss0_x";
9948ae4284eSSunny Luo						function = "spi1";
9958ae4284eSSunny Luo					};
9968ae4284eSSunny Luo				};
9978a7669a5SJian Hu
9988a7669a5SJian Hu				i2c0_pins: i2c0 {
9998a7669a5SJian Hu					mux {
10008a7669a5SJian Hu						groups = "i2c0_sck",
10018a7669a5SJian Hu							"i2c0_sda";
10028a7669a5SJian Hu						function = "i2c0";
10038a7669a5SJian Hu					};
10048a7669a5SJian Hu				};
10058a7669a5SJian Hu
10068a7669a5SJian Hu				i2c1_z_pins: i2c1_z {
10078a7669a5SJian Hu					mux {
10088a7669a5SJian Hu						groups = "i2c1_sck_z",
10098a7669a5SJian Hu							"i2c1_sda_z";
10108a7669a5SJian Hu						function = "i2c1";
10118a7669a5SJian Hu					};
10128a7669a5SJian Hu				};
10138a7669a5SJian Hu
10148a7669a5SJian Hu				i2c1_x_pins: i2c1_x {
10158a7669a5SJian Hu					mux {
10168a7669a5SJian Hu						groups = "i2c1_sck_x",
10178a7669a5SJian Hu							"i2c1_sda_x";
10188a7669a5SJian Hu						function = "i2c1";
10198a7669a5SJian Hu					};
10208a7669a5SJian Hu				};
10218a7669a5SJian Hu
10228a7669a5SJian Hu				i2c2_x_pins: i2c2_x {
10238a7669a5SJian Hu					mux {
10248a7669a5SJian Hu						groups = "i2c2_sck_x",
10258a7669a5SJian Hu							"i2c2_sda_x";
10268a7669a5SJian Hu						function = "i2c2";
10278a7669a5SJian Hu					};
10288a7669a5SJian Hu				};
10298a7669a5SJian Hu
10308a7669a5SJian Hu				i2c2_a_pins: i2c2_a {
10318a7669a5SJian Hu					mux {
10328a7669a5SJian Hu						groups = "i2c2_sck_a",
10338a7669a5SJian Hu							"i2c2_sda_a";
10348a7669a5SJian Hu						function = "i2c2";
10358a7669a5SJian Hu					};
10368a7669a5SJian Hu				};
10378a7669a5SJian Hu
10388a7669a5SJian Hu				i2c3_a6_pins: i2c3_a6 {
10398a7669a5SJian Hu					mux {
10408a7669a5SJian Hu						groups = "i2c3_sda_a6",
10418a7669a5SJian Hu							"i2c3_sck_a7";
10428a7669a5SJian Hu						function = "i2c3";
10438a7669a5SJian Hu					};
10448a7669a5SJian Hu				};
10458a7669a5SJian Hu
10468a7669a5SJian Hu				i2c3_a12_pins: i2c3_a12 {
10478a7669a5SJian Hu					mux {
10488a7669a5SJian Hu						groups = "i2c3_sda_a12",
10498a7669a5SJian Hu							"i2c3_sck_a13";
10508a7669a5SJian Hu						function = "i2c3";
10518a7669a5SJian Hu					};
10528a7669a5SJian Hu				};
10538a7669a5SJian Hu
10548a7669a5SJian Hu				i2c3_a19_pins: i2c3_a19 {
10558a7669a5SJian Hu					mux {
10568a7669a5SJian Hu						groups = "i2c3_sda_a19",
10578a7669a5SJian Hu							"i2c3_sck_a20";
10588a7669a5SJian Hu						function = "i2c3";
10598a7669a5SJian Hu					};
10608a7669a5SJian Hu				};
10614eae66a6SYixun Lan
10624eae66a6SYixun Lan				uart_a_pins: uart_a {
10634eae66a6SYixun Lan					mux {
10644eae66a6SYixun Lan						groups = "uart_tx_a",
10654eae66a6SYixun Lan							"uart_rx_a";
10664eae66a6SYixun Lan						function = "uart_a";
10674eae66a6SYixun Lan					};
10684eae66a6SYixun Lan				};
10694eae66a6SYixun Lan
10704eae66a6SYixun Lan				uart_a_cts_rts_pins: uart_a_cts_rts {
10714eae66a6SYixun Lan					mux {
10724eae66a6SYixun Lan						groups = "uart_cts_a",
10734eae66a6SYixun Lan							"uart_rts_a";
10744eae66a6SYixun Lan						function = "uart_a";
10754eae66a6SYixun Lan					};
10764eae66a6SYixun Lan				};
10774eae66a6SYixun Lan
10784eae66a6SYixun Lan				uart_b_x_pins: uart_b_x {
10794eae66a6SYixun Lan					mux {
10804eae66a6SYixun Lan						groups = "uart_tx_b_x",
10814eae66a6SYixun Lan							"uart_rx_b_x";
10824eae66a6SYixun Lan						function = "uart_b";
10834eae66a6SYixun Lan					};
10844eae66a6SYixun Lan				};
10854eae66a6SYixun Lan
10864eae66a6SYixun Lan				uart_b_x_cts_rts_pins: uart_b_x_cts_rts {
10874eae66a6SYixun Lan					mux {
10884eae66a6SYixun Lan						groups = "uart_cts_b_x",
10894eae66a6SYixun Lan							"uart_rts_b_x";
10904eae66a6SYixun Lan						function = "uart_b";
10914eae66a6SYixun Lan					};
10924eae66a6SYixun Lan				};
10934eae66a6SYixun Lan
10944eae66a6SYixun Lan				uart_b_z_pins: uart_b_z {
10954eae66a6SYixun Lan					mux {
10964eae66a6SYixun Lan						groups = "uart_tx_b_z",
10974eae66a6SYixun Lan							"uart_rx_b_z";
10984eae66a6SYixun Lan						function = "uart_b";
10994eae66a6SYixun Lan					};
11004eae66a6SYixun Lan				};
11014eae66a6SYixun Lan
11024eae66a6SYixun Lan				uart_b_z_cts_rts_pins: uart_b_z_cts_rts {
11034eae66a6SYixun Lan					mux {
11044eae66a6SYixun Lan						groups = "uart_cts_b_z",
11054eae66a6SYixun Lan							"uart_rts_b_z";
11064eae66a6SYixun Lan						function = "uart_b";
11074eae66a6SYixun Lan					};
11084eae66a6SYixun Lan				};
11094eae66a6SYixun Lan
11104eae66a6SYixun Lan				uart_ao_b_z_pins: uart_ao_b_z {
11114eae66a6SYixun Lan					mux {
11124eae66a6SYixun Lan						groups = "uart_ao_tx_b_z",
11134eae66a6SYixun Lan							"uart_ao_rx_b_z";
11144eae66a6SYixun Lan						function = "uart_ao_b_z";
11154eae66a6SYixun Lan					};
11164eae66a6SYixun Lan				};
11174eae66a6SYixun Lan
11184eae66a6SYixun Lan				uart_ao_b_z_cts_rts_pins: uart_ao_b_z_cts_rts {
11194eae66a6SYixun Lan					mux {
11204eae66a6SYixun Lan						groups = "uart_ao_cts_b_z",
11214eae66a6SYixun Lan							"uart_ao_rts_b_z";
11224eae66a6SYixun Lan						function = "uart_ao_b_z";
11234eae66a6SYixun Lan					};
11244eae66a6SYixun Lan				};
11250df8fbb9SJerome Brunet
11260df8fbb9SJerome Brunet				mclk_b_pins: mclk_b {
11270df8fbb9SJerome Brunet					mux {
11280df8fbb9SJerome Brunet						groups = "mclk_b";
11290df8fbb9SJerome Brunet						function = "mclk_b";
11300df8fbb9SJerome Brunet					};
11310df8fbb9SJerome Brunet				};
11320df8fbb9SJerome Brunet
11330df8fbb9SJerome Brunet				mclk_c_pins: mclk_c {
11340df8fbb9SJerome Brunet					mux {
11350df8fbb9SJerome Brunet						groups = "mclk_c";
11360df8fbb9SJerome Brunet						function = "mclk_c";
11370df8fbb9SJerome Brunet					};
11380df8fbb9SJerome Brunet				};
11390df8fbb9SJerome Brunet
11400df8fbb9SJerome Brunet				tdma_sclk_pins: tdma_sclk {
11410df8fbb9SJerome Brunet					mux {
11420df8fbb9SJerome Brunet						groups = "tdma_sclk";
11430df8fbb9SJerome Brunet						function = "tdma";
11440df8fbb9SJerome Brunet					};
11450df8fbb9SJerome Brunet				};
11460df8fbb9SJerome Brunet
11470df8fbb9SJerome Brunet				tdma_sclk_slv_pins: tdma_sclk_slv {
11480df8fbb9SJerome Brunet					mux {
11490df8fbb9SJerome Brunet						groups = "tdma_sclk_slv";
11500df8fbb9SJerome Brunet						function = "tdma";
11510df8fbb9SJerome Brunet					};
11520df8fbb9SJerome Brunet				};
11530df8fbb9SJerome Brunet
11540df8fbb9SJerome Brunet				tdma_fs_pins: tdma_fs {
11550df8fbb9SJerome Brunet					mux {
11560df8fbb9SJerome Brunet						groups = "tdma_fs";
11570df8fbb9SJerome Brunet						function = "tdma";
11580df8fbb9SJerome Brunet					};
11590df8fbb9SJerome Brunet				};
11600df8fbb9SJerome Brunet
11610df8fbb9SJerome Brunet				tdma_fs_slv_pins: tdma_fs_slv {
11620df8fbb9SJerome Brunet					mux {
11630df8fbb9SJerome Brunet						groups = "tdma_fs_slv";
11640df8fbb9SJerome Brunet						function = "tdma";
11650df8fbb9SJerome Brunet					};
11660df8fbb9SJerome Brunet				};
11670df8fbb9SJerome Brunet
11680df8fbb9SJerome Brunet				tdma_din0_pins: tdma_din0 {
11690df8fbb9SJerome Brunet					mux {
11700df8fbb9SJerome Brunet						groups = "tdma_din0";
11710df8fbb9SJerome Brunet						function = "tdma";
11720df8fbb9SJerome Brunet					};
11730df8fbb9SJerome Brunet				};
11740df8fbb9SJerome Brunet
11750df8fbb9SJerome Brunet				tdma_dout0_x14_pins: tdma_dout0_x14 {
11760df8fbb9SJerome Brunet					mux {
11770df8fbb9SJerome Brunet						groups = "tdma_dout0_x14";
11780df8fbb9SJerome Brunet						function = "tdma";
11790df8fbb9SJerome Brunet					};
11800df8fbb9SJerome Brunet				};
11810df8fbb9SJerome Brunet
11820df8fbb9SJerome Brunet				tdma_dout0_x15_pins: tdma_dout0_x15 {
11830df8fbb9SJerome Brunet					mux {
11840df8fbb9SJerome Brunet						groups = "tdma_dout0_x15";
11850df8fbb9SJerome Brunet						function = "tdma";
11860df8fbb9SJerome Brunet					};
11870df8fbb9SJerome Brunet				};
11880df8fbb9SJerome Brunet
11890df8fbb9SJerome Brunet				tdma_dout1_pins: tdma_dout1 {
11900df8fbb9SJerome Brunet					mux {
11910df8fbb9SJerome Brunet						groups = "tdma_dout1";
11920df8fbb9SJerome Brunet						function = "tdma";
11930df8fbb9SJerome Brunet					};
11940df8fbb9SJerome Brunet				};
11950df8fbb9SJerome Brunet
11960df8fbb9SJerome Brunet				tdma_din1_pins: tdma_din1 {
11970df8fbb9SJerome Brunet					mux {
11980df8fbb9SJerome Brunet						groups = "tdma_din1";
11990df8fbb9SJerome Brunet						function = "tdma";
12000df8fbb9SJerome Brunet					};
12010df8fbb9SJerome Brunet				};
12020df8fbb9SJerome Brunet
12030df8fbb9SJerome Brunet				tdmb_sclk_pins: tdmb_sclk {
12040df8fbb9SJerome Brunet					mux {
12050df8fbb9SJerome Brunet						groups = "tdmb_sclk";
12060df8fbb9SJerome Brunet						function = "tdmb";
12070df8fbb9SJerome Brunet					};
12080df8fbb9SJerome Brunet				};
12090df8fbb9SJerome Brunet
12100df8fbb9SJerome Brunet				tdmb_sclk_slv_pins: tdmb_sclk_slv {
12110df8fbb9SJerome Brunet					mux {
12120df8fbb9SJerome Brunet						groups = "tdmb_sclk_slv";
12130df8fbb9SJerome Brunet						function = "tdmb";
12140df8fbb9SJerome Brunet					};
12150df8fbb9SJerome Brunet				};
12160df8fbb9SJerome Brunet
12170df8fbb9SJerome Brunet				tdmb_fs_pins: tdmb_fs {
12180df8fbb9SJerome Brunet					mux {
12190df8fbb9SJerome Brunet						groups = "tdmb_fs";
12200df8fbb9SJerome Brunet						function = "tdmb";
12210df8fbb9SJerome Brunet					};
12220df8fbb9SJerome Brunet				};
12230df8fbb9SJerome Brunet
12240df8fbb9SJerome Brunet				tdmb_fs_slv_pins: tdmb_fs_slv {
12250df8fbb9SJerome Brunet					mux {
12260df8fbb9SJerome Brunet						groups = "tdmb_fs_slv";
12270df8fbb9SJerome Brunet						function = "tdmb";
12280df8fbb9SJerome Brunet					};
12290df8fbb9SJerome Brunet				};
12300df8fbb9SJerome Brunet
12310df8fbb9SJerome Brunet				tdmb_din0_pins: tdmb_din0 {
12320df8fbb9SJerome Brunet					mux {
12330df8fbb9SJerome Brunet						groups = "tdmb_din0";
12340df8fbb9SJerome Brunet						function = "tdmb";
12350df8fbb9SJerome Brunet					};
12360df8fbb9SJerome Brunet				};
12370df8fbb9SJerome Brunet
12380df8fbb9SJerome Brunet				tdmb_dout0_pins: tdmb_dout0 {
12390df8fbb9SJerome Brunet					mux {
12400df8fbb9SJerome Brunet						groups = "tdmb_dout0";
12410df8fbb9SJerome Brunet						function = "tdmb";
12420df8fbb9SJerome Brunet					};
12430df8fbb9SJerome Brunet				};
12440df8fbb9SJerome Brunet
12450df8fbb9SJerome Brunet				tdmb_din1_pins: tdmb_din1 {
12460df8fbb9SJerome Brunet					mux {
12470df8fbb9SJerome Brunet						groups = "tdmb_din1";
12480df8fbb9SJerome Brunet						function = "tdmb";
12490df8fbb9SJerome Brunet					};
12500df8fbb9SJerome Brunet				};
12510df8fbb9SJerome Brunet
12520df8fbb9SJerome Brunet				tdmb_dout1_pins: tdmb_dout1 {
12530df8fbb9SJerome Brunet					mux {
12540df8fbb9SJerome Brunet						groups = "tdmb_dout1";
12550df8fbb9SJerome Brunet						function = "tdmb";
12560df8fbb9SJerome Brunet					};
12570df8fbb9SJerome Brunet				};
12580df8fbb9SJerome Brunet
12590df8fbb9SJerome Brunet				tdmb_din2_pins: tdmb_din2 {
12600df8fbb9SJerome Brunet					mux {
12610df8fbb9SJerome Brunet						groups = "tdmb_din2";
12620df8fbb9SJerome Brunet						function = "tdmb";
12630df8fbb9SJerome Brunet					};
12640df8fbb9SJerome Brunet				};
12650df8fbb9SJerome Brunet
12660df8fbb9SJerome Brunet				tdmb_dout2_pins: tdmb_dout2 {
12670df8fbb9SJerome Brunet					mux {
12680df8fbb9SJerome Brunet						groups = "tdmb_dout2";
12690df8fbb9SJerome Brunet						function = "tdmb";
12700df8fbb9SJerome Brunet					};
12710df8fbb9SJerome Brunet				};
12720df8fbb9SJerome Brunet
12730df8fbb9SJerome Brunet				tdmb_din3_pins: tdmb_din3 {
12740df8fbb9SJerome Brunet					mux {
12750df8fbb9SJerome Brunet						groups = "tdmb_din3";
12760df8fbb9SJerome Brunet						function = "tdmb";
12770df8fbb9SJerome Brunet					};
12780df8fbb9SJerome Brunet				};
12790df8fbb9SJerome Brunet
12800df8fbb9SJerome Brunet				tdmb_dout3_pins: tdmb_dout3 {
12810df8fbb9SJerome Brunet					mux {
12820df8fbb9SJerome Brunet						groups = "tdmb_dout3";
12830df8fbb9SJerome Brunet						function = "tdmb";
12840df8fbb9SJerome Brunet					};
12850df8fbb9SJerome Brunet				};
12860df8fbb9SJerome Brunet
12870df8fbb9SJerome Brunet				tdmc_sclk_pins: tdmc_sclk {
12880df8fbb9SJerome Brunet					mux {
12890df8fbb9SJerome Brunet						groups = "tdmc_sclk";
12900df8fbb9SJerome Brunet						function = "tdmc";
12910df8fbb9SJerome Brunet					};
12920df8fbb9SJerome Brunet				};
12930df8fbb9SJerome Brunet
12940df8fbb9SJerome Brunet				tdmc_sclk_slv_pins: tdmc_sclk_slv {
12950df8fbb9SJerome Brunet					mux {
12960df8fbb9SJerome Brunet						groups = "tdmc_sclk_slv";
12970df8fbb9SJerome Brunet						function = "tdmc";
12980df8fbb9SJerome Brunet					};
12990df8fbb9SJerome Brunet				};
13000df8fbb9SJerome Brunet
13010df8fbb9SJerome Brunet				tdmc_fs_pins: tdmc_fs {
13020df8fbb9SJerome Brunet					mux {
13030df8fbb9SJerome Brunet						groups = "tdmc_fs";
13040df8fbb9SJerome Brunet						function = "tdmc";
13050df8fbb9SJerome Brunet					};
13060df8fbb9SJerome Brunet				};
13070df8fbb9SJerome Brunet
13080df8fbb9SJerome Brunet				tdmc_fs_slv_pins: tdmc_fs_slv {
13090df8fbb9SJerome Brunet					mux {
13100df8fbb9SJerome Brunet						groups = "tdmc_fs_slv";
13110df8fbb9SJerome Brunet						function = "tdmc";
13120df8fbb9SJerome Brunet					};
13130df8fbb9SJerome Brunet				};
13140df8fbb9SJerome Brunet
13150df8fbb9SJerome Brunet				tdmc_din0_pins: tdmc_din0 {
13160df8fbb9SJerome Brunet					mux {
13170df8fbb9SJerome Brunet						groups = "tdmc_din0";
13180df8fbb9SJerome Brunet						function = "tdmc";
13190df8fbb9SJerome Brunet					};
13200df8fbb9SJerome Brunet				};
13210df8fbb9SJerome Brunet
13220df8fbb9SJerome Brunet				tdmc_dout0_pins: tdmc_dout0 {
13230df8fbb9SJerome Brunet					mux {
13240df8fbb9SJerome Brunet						groups = "tdmc_dout0";
13250df8fbb9SJerome Brunet						function = "tdmc";
13260df8fbb9SJerome Brunet					};
13270df8fbb9SJerome Brunet				};
13280df8fbb9SJerome Brunet
13290df8fbb9SJerome Brunet				tdmc_din1_pins: tdmc_din1 {
13300df8fbb9SJerome Brunet					mux {
13310df8fbb9SJerome Brunet						groups = "tdmc_din1";
13320df8fbb9SJerome Brunet						function = "tdmc";
13330df8fbb9SJerome Brunet					};
13340df8fbb9SJerome Brunet				};
13350df8fbb9SJerome Brunet
13360df8fbb9SJerome Brunet				tdmc_dout1_pins: tdmc_dout1 {
13370df8fbb9SJerome Brunet					mux {
13380df8fbb9SJerome Brunet						groups = "tdmc_dout1";
13390df8fbb9SJerome Brunet						function = "tdmc";
13400df8fbb9SJerome Brunet					};
13410df8fbb9SJerome Brunet				};
13420df8fbb9SJerome Brunet
13430df8fbb9SJerome Brunet				tdmc_din2_pins: tdmc_din2 {
13440df8fbb9SJerome Brunet					mux {
13450df8fbb9SJerome Brunet						groups = "tdmc_din2";
13460df8fbb9SJerome Brunet						function = "tdmc";
13470df8fbb9SJerome Brunet					};
13480df8fbb9SJerome Brunet				};
13490df8fbb9SJerome Brunet
13500df8fbb9SJerome Brunet				tdmc_dout2_pins: tdmc_dout2 {
13510df8fbb9SJerome Brunet					mux {
13520df8fbb9SJerome Brunet						groups = "tdmc_dout2";
13530df8fbb9SJerome Brunet						function = "tdmc";
13540df8fbb9SJerome Brunet					};
13550df8fbb9SJerome Brunet				};
13560df8fbb9SJerome Brunet
13570df8fbb9SJerome Brunet				tdmc_din3_pins: tdmc_din3 {
13580df8fbb9SJerome Brunet					mux {
13590df8fbb9SJerome Brunet						groups = "tdmc_din3";
13600df8fbb9SJerome Brunet						function = "tdmc";
13610df8fbb9SJerome Brunet					};
13620df8fbb9SJerome Brunet				};
13630df8fbb9SJerome Brunet
13640df8fbb9SJerome Brunet				tdmc_dout3_pins: tdmc_dout3 {
13650df8fbb9SJerome Brunet					mux {
13660df8fbb9SJerome Brunet						groups = "tdmc_dout3";
13670df8fbb9SJerome Brunet						function = "tdmc";
13680df8fbb9SJerome Brunet					};
13690df8fbb9SJerome Brunet				};
1370de05ded6SXingyu Chen			};
1371de05ded6SXingyu Chen		};
1372de05ded6SXingyu Chen
13739d59b708SYixun Lan		sram: sram@fffc0000 {
13749d59b708SYixun Lan			compatible = "amlogic,meson-axg-sram", "mmio-sram";
13759d59b708SYixun Lan			reg = <0x0 0xfffc0000 0x0 0x20000>;
13769d59b708SYixun Lan			#address-cells = <1>;
13779d59b708SYixun Lan			#size-cells = <1>;
13789d59b708SYixun Lan			ranges = <0 0x0 0xfffc0000 0x20000>;
13799d59b708SYixun Lan
13809d59b708SYixun Lan			cpu_scp_lpri: scp-shmem@0 {
13819d59b708SYixun Lan				compatible = "amlogic,meson-axg-scp-shmem";
13829d59b708SYixun Lan				reg = <0x13000 0x400>;
13839d59b708SYixun Lan			};
13849d59b708SYixun Lan
13859d59b708SYixun Lan			cpu_scp_hpri: scp-shmem@200 {
13869d59b708SYixun Lan				compatible = "amlogic,meson-axg-scp-shmem";
13879d59b708SYixun Lan				reg = <0x13400 0x400>;
13889d59b708SYixun Lan			};
13899d59b708SYixun Lan		};
13909d59b708SYixun Lan
13910cb6c604SKevin Hilman		aobus: bus@ff800000 {
13929d59b708SYixun Lan			compatible = "simple-bus";
13939d59b708SYixun Lan			reg = <0x0 0xff800000 0x0 0x100000>;
13949d59b708SYixun Lan			#address-cells = <2>;
13959d59b708SYixun Lan			#size-cells = <2>;
13969d59b708SYixun Lan			ranges = <0x0 0x0 0x0 0xff800000 0x0 0x100000>;
13979d59b708SYixun Lan
1398e03421ecSQiufang Dai			sysctrl_AO: sys-ctrl@0 {
1399e03421ecSQiufang Dai				compatible = "amlogic,meson-axg-ao-sysctrl", "syscon", "simple-mfd";
1400e03421ecSQiufang Dai				reg =  <0x0 0x0 0x0 0x100>;
1401e03421ecSQiufang Dai
1402e03421ecSQiufang Dai				clkc_AO: clock-controller {
1403e03421ecSQiufang Dai					compatible = "amlogic,meson-axg-aoclkc";
1404e03421ecSQiufang Dai					#clock-cells = <1>;
1405e03421ecSQiufang Dai					#reset-cells = <1>;
1406e03421ecSQiufang Dai				};
1407e03421ecSQiufang Dai			};
1408e03421ecSQiufang Dai
1409de05ded6SXingyu Chen			pinctrl_aobus: pinctrl@14 {
1410de05ded6SXingyu Chen				compatible = "amlogic,meson-axg-aobus-pinctrl";
1411de05ded6SXingyu Chen				#address-cells = <2>;
1412de05ded6SXingyu Chen				#size-cells = <2>;
1413de05ded6SXingyu Chen				ranges;
1414de05ded6SXingyu Chen
1415de05ded6SXingyu Chen				gpio_ao: bank@14 {
1416de05ded6SXingyu Chen					reg = <0x0 0x00014 0x0 0x8>,
1417de05ded6SXingyu Chen						<0x0 0x0002c 0x0 0x4>,
1418de05ded6SXingyu Chen						<0x0 0x00024 0x0 0x8>;
1419de05ded6SXingyu Chen					reg-names = "mux", "pull", "gpio";
1420de05ded6SXingyu Chen					gpio-controller;
1421de05ded6SXingyu Chen					#gpio-cells = <2>;
1422de05ded6SXingyu Chen					gpio-ranges = <&pinctrl_aobus 0 0 15>;
1423de05ded6SXingyu Chen				};
14247bd46a79SYixun Lan
1425c054b6c2SJerome Brunet				i2c_ao_sck_4_pins: i2c_ao_sck_4 {
1426c054b6c2SJerome Brunet					mux {
1427c054b6c2SJerome Brunet						groups = "i2c_ao_sck_4";
1428c054b6c2SJerome Brunet						function = "i2c_ao";
1429c054b6c2SJerome Brunet					};
1430c054b6c2SJerome Brunet				};
1431c054b6c2SJerome Brunet
1432c054b6c2SJerome Brunet				i2c_ao_sck_8_pins: i2c_ao_sck_8 {
1433c054b6c2SJerome Brunet					mux {
1434c054b6c2SJerome Brunet						groups = "i2c_ao_sck_8";
1435c054b6c2SJerome Brunet						function = "i2c_ao";
1436c054b6c2SJerome Brunet					};
1437c054b6c2SJerome Brunet				};
1438c054b6c2SJerome Brunet
1439c054b6c2SJerome Brunet				i2c_ao_sck_10_pins: i2c_ao_sck_10 {
1440c054b6c2SJerome Brunet					mux {
1441c054b6c2SJerome Brunet						groups = "i2c_ao_sck_10";
1442c054b6c2SJerome Brunet						function = "i2c_ao";
1443c054b6c2SJerome Brunet					};
1444c054b6c2SJerome Brunet				};
1445c054b6c2SJerome Brunet
1446c054b6c2SJerome Brunet				i2c_ao_sda_5_pins: i2c_ao_sda_5 {
1447c054b6c2SJerome Brunet					mux {
1448c054b6c2SJerome Brunet						groups = "i2c_ao_sda_5";
1449c054b6c2SJerome Brunet						function = "i2c_ao";
1450c054b6c2SJerome Brunet					};
1451c054b6c2SJerome Brunet				};
1452c054b6c2SJerome Brunet
1453c054b6c2SJerome Brunet				i2c_ao_sda_9_pins: i2c_ao_sda_9 {
1454c054b6c2SJerome Brunet					mux {
1455c054b6c2SJerome Brunet						groups = "i2c_ao_sda_9";
1456c054b6c2SJerome Brunet						function = "i2c_ao";
1457c054b6c2SJerome Brunet					};
1458c054b6c2SJerome Brunet				};
1459c054b6c2SJerome Brunet
1460c054b6c2SJerome Brunet				i2c_ao_sda_11_pins: i2c_ao_sda_11 {
1461c054b6c2SJerome Brunet					mux {
1462c054b6c2SJerome Brunet						groups = "i2c_ao_sda_11";
1463c054b6c2SJerome Brunet						function = "i2c_ao";
1464c054b6c2SJerome Brunet					};
1465c054b6c2SJerome Brunet				};
1466c054b6c2SJerome Brunet
14677bd46a79SYixun Lan				remote_input_ao_pins: remote_input_ao {
14687bd46a79SYixun Lan					mux {
14697bd46a79SYixun Lan						groups = "remote_input_ao";
14707bd46a79SYixun Lan						function = "remote_input_ao";
14717bd46a79SYixun Lan					};
14727bd46a79SYixun Lan				};
14734eae66a6SYixun Lan
14744eae66a6SYixun Lan				uart_ao_a_pins: uart_ao_a {
14754eae66a6SYixun Lan					mux {
14764eae66a6SYixun Lan						groups = "uart_ao_tx_a",
14774eae66a6SYixun Lan							"uart_ao_rx_a";
14784eae66a6SYixun Lan						function = "uart_ao_a";
14794eae66a6SYixun Lan					};
14804eae66a6SYixun Lan				};
14814eae66a6SYixun Lan
14824eae66a6SYixun Lan				uart_ao_a_cts_rts_pins: uart_ao_a_cts_rts {
14834eae66a6SYixun Lan					mux {
14844eae66a6SYixun Lan						groups = "uart_ao_cts_a",
14854eae66a6SYixun Lan							"uart_ao_rts_a";
14864eae66a6SYixun Lan						function = "uart_ao_a";
14874eae66a6SYixun Lan					};
14884eae66a6SYixun Lan				};
14894eae66a6SYixun Lan
14904eae66a6SYixun Lan				uart_ao_b_pins: uart_ao_b {
14914eae66a6SYixun Lan					mux {
14924eae66a6SYixun Lan						groups = "uart_ao_tx_b",
14934eae66a6SYixun Lan							"uart_ao_rx_b";
14944eae66a6SYixun Lan						function = "uart_ao_b";
14954eae66a6SYixun Lan					};
14964eae66a6SYixun Lan				};
14974eae66a6SYixun Lan
14984eae66a6SYixun Lan				uart_ao_b_cts_rts_pins: uart_ao_b_cts_rts {
14994eae66a6SYixun Lan					mux {
15004eae66a6SYixun Lan						groups = "uart_ao_cts_b",
15014eae66a6SYixun Lan							"uart_ao_rts_b";
15024eae66a6SYixun Lan						function = "uart_ao_b";
15034eae66a6SYixun Lan					};
15044eae66a6SYixun Lan				};
1505de05ded6SXingyu Chen			};
1506de05ded6SXingyu Chen
1507a04c18cbSJerome Brunet			sec_AO: ao-secure@140 {
1508a04c18cbSJerome Brunet				compatible = "amlogic,meson-gx-ao-secure", "syscon";
1509a04c18cbSJerome Brunet				reg = <0x0 0x140 0x0 0x140>;
1510a04c18cbSJerome Brunet				amlogic,has-chip-id;
1511a04c18cbSJerome Brunet			};
1512a04c18cbSJerome Brunet
15134a81e5ddSJian Hu			pwm_AO_ab: pwm@7000 {
15144a81e5ddSJian Hu				compatible = "amlogic,meson-axg-ao-pwm";
15154a81e5ddSJian Hu				reg = <0x0 0x07000 0x0 0x20>;
15164a81e5ddSJian Hu				#pwm-cells = <3>;
15174a81e5ddSJian Hu				status = "disabled";
15184a81e5ddSJian Hu			};
15194a81e5ddSJian Hu
15204a81e5ddSJian Hu			pwm_AO_cd: pwm@2000 {
1521b4ff05caSJerome Brunet				compatible = "amlogic,meson-axg-ao-pwm";
15224a81e5ddSJian Hu				reg = <0x0 0x02000  0x0 0x20>;
15234a81e5ddSJian Hu				#pwm-cells = <3>;
15244a81e5ddSJian Hu				status = "disabled";
15254a81e5ddSJian Hu			};
15264a81e5ddSJian Hu
1527dc6f858eSJian Hu			i2c_AO: i2c@5000 {
1528dc6f858eSJian Hu				compatible = "amlogic,meson-axg-i2c";
1529dc6f858eSJian Hu				reg = <0x0 0x05000 0x0 0x20>;
1530dc6f858eSJian Hu				interrupts = <GIC_SPI 195 IRQ_TYPE_EDGE_RISING>;
153109eeaf44SJerome Brunet				clocks = <&clkc CLKID_AO_I2C>;
1532dc6f858eSJian Hu				#address-cells = <1>;
1533dc6f858eSJian Hu				#size-cells = <0>;
15342b6ff972SJerome Brunet				status = "disabled";
1535dc6f858eSJian Hu			};
1536dc6f858eSJian Hu
15379d59b708SYixun Lan			uart_AO: serial@3000 {
15389d59b708SYixun Lan				compatible = "amlogic,meson-gx-uart", "amlogic,meson-ao-uart";
15399d59b708SYixun Lan				reg = <0x0 0x3000 0x0 0x18>;
15409d59b708SYixun Lan				interrupts = <GIC_SPI 193 IRQ_TYPE_EDGE_RISING>;
15419adda353SYixun Lan				clocks = <&xtal>, <&clkc_AO CLKID_AO_UART1>, <&xtal>;
15429d59b708SYixun Lan				clock-names = "xtal", "pclk", "baud";
15439d59b708SYixun Lan				status = "disabled";
15449d59b708SYixun Lan			};
15459d59b708SYixun Lan
15469d59b708SYixun Lan			uart_AO_B: serial@4000 {
15479d59b708SYixun Lan				compatible = "amlogic,meson-gx-uart", "amlogic,meson-ao-uart";
15489d59b708SYixun Lan				reg = <0x0 0x4000 0x0 0x18>;
15499d59b708SYixun Lan				interrupts = <GIC_SPI 197 IRQ_TYPE_EDGE_RISING>;
15509adda353SYixun Lan				clocks = <&xtal>, <&clkc_AO CLKID_AO_UART2>, <&xtal>;
15519d59b708SYixun Lan				clock-names = "xtal", "pclk", "baud";
15529d59b708SYixun Lan				status = "disabled";
15539d59b708SYixun Lan			};
15547bd46a79SYixun Lan
15557bd46a79SYixun Lan			ir: ir@8000 {
15567bd46a79SYixun Lan				compatible = "amlogic,meson-gxbb-ir";
15577bd46a79SYixun Lan				reg = <0x0 0x8000 0x0 0x20>;
15587bd46a79SYixun Lan				interrupts = <GIC_SPI 196 IRQ_TYPE_EDGE_RISING>;
15597bd46a79SYixun Lan				status = "disabled";
15607bd46a79SYixun Lan			};
1561a51b74eaSXingyu Chen
1562a51b74eaSXingyu Chen			saradc: adc@9000 {
1563a51b74eaSXingyu Chen				compatible = "amlogic,meson-axg-saradc",
1564a51b74eaSXingyu Chen					"amlogic,meson-saradc";
1565a51b74eaSXingyu Chen				reg = <0x0 0x9000 0x0 0x38>;
1566a51b74eaSXingyu Chen				#io-channel-cells = <1>;
1567a51b74eaSXingyu Chen				interrupts = <GIC_SPI 73 IRQ_TYPE_EDGE_RISING>;
1568a51b74eaSXingyu Chen				clocks = <&xtal>,
1569a51b74eaSXingyu Chen					<&clkc_AO CLKID_AO_SAR_ADC>,
1570a51b74eaSXingyu Chen					<&clkc_AO CLKID_AO_SAR_ADC_CLK>,
1571a51b74eaSXingyu Chen					<&clkc_AO CLKID_AO_SAR_ADC_SEL>;
1572a51b74eaSXingyu Chen				clock-names = "clkin", "core", "adc_clk", "adc_sel";
1573a51b74eaSXingyu Chen				status = "disabled";
1574a51b74eaSXingyu Chen			};
15759d59b708SYixun Lan		};
15769d59b708SYixun Lan	};
15779d59b708SYixun Lan};
1578