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>
149d59b708SYixun Lan
159d59b708SYixun Lan/ {
169d59b708SYixun Lan	compatible = "amlogic,meson-axg";
179d59b708SYixun Lan
189d59b708SYixun Lan	interrupt-parent = <&gic>;
199d59b708SYixun Lan	#address-cells = <2>;
209d59b708SYixun Lan	#size-cells = <2>;
219d59b708SYixun Lan
229d59b708SYixun Lan	reserved-memory {
239d59b708SYixun Lan		#address-cells = <2>;
249d59b708SYixun Lan		#size-cells = <2>;
259d59b708SYixun Lan		ranges;
269d59b708SYixun Lan
279d59b708SYixun Lan		/* 16 MiB reserved for Hardware ROM Firmware */
289d59b708SYixun Lan		hwrom_reserved: hwrom@0 {
299d59b708SYixun Lan			reg = <0x0 0x0 0x0 0x1000000>;
309d59b708SYixun Lan			no-map;
319d59b708SYixun Lan		};
329d59b708SYixun Lan
339d59b708SYixun Lan		/* Alternate 3 MiB reserved for ARM Trusted Firmware (BL31) */
34a5494aedSArnd Bergmann		secmon_reserved: secmon@5000000 {
359d59b708SYixun Lan			reg = <0x0 0x05000000 0x0 0x300000>;
369d59b708SYixun Lan			no-map;
379d59b708SYixun Lan		};
389d59b708SYixun Lan	};
399d59b708SYixun Lan
409d59b708SYixun Lan	cpus {
419d59b708SYixun Lan		#address-cells = <0x2>;
429d59b708SYixun Lan		#size-cells = <0x0>;
439d59b708SYixun Lan
449d59b708SYixun Lan		cpu0: cpu@0 {
459d59b708SYixun Lan			device_type = "cpu";
469d59b708SYixun Lan			compatible = "arm,cortex-a53", "arm,armv8";
479d59b708SYixun Lan			reg = <0x0 0x0>;
489d59b708SYixun Lan			enable-method = "psci";
499d59b708SYixun Lan			next-level-cache = <&l2>;
509d59b708SYixun Lan		};
519d59b708SYixun Lan
529d59b708SYixun Lan		cpu1: cpu@1 {
539d59b708SYixun Lan			device_type = "cpu";
549d59b708SYixun Lan			compatible = "arm,cortex-a53", "arm,armv8";
559d59b708SYixun Lan			reg = <0x0 0x1>;
569d59b708SYixun Lan			enable-method = "psci";
579d59b708SYixun Lan			next-level-cache = <&l2>;
589d59b708SYixun Lan		};
599d59b708SYixun Lan
609d59b708SYixun Lan		cpu2: cpu@2 {
619d59b708SYixun Lan			device_type = "cpu";
629d59b708SYixun Lan			compatible = "arm,cortex-a53", "arm,armv8";
639d59b708SYixun Lan			reg = <0x0 0x2>;
649d59b708SYixun Lan			enable-method = "psci";
659d59b708SYixun Lan			next-level-cache = <&l2>;
669d59b708SYixun Lan		};
679d59b708SYixun Lan
689d59b708SYixun Lan		cpu3: cpu@3 {
699d59b708SYixun Lan			device_type = "cpu";
709d59b708SYixun Lan			compatible = "arm,cortex-a53", "arm,armv8";
719d59b708SYixun Lan			reg = <0x0 0x3>;
729d59b708SYixun Lan			enable-method = "psci";
739d59b708SYixun Lan			next-level-cache = <&l2>;
749d59b708SYixun Lan		};
759d59b708SYixun Lan
769d59b708SYixun Lan		l2: l2-cache0 {
779d59b708SYixun Lan			compatible = "cache";
789d59b708SYixun Lan		};
799d59b708SYixun Lan	};
809d59b708SYixun Lan
819d59b708SYixun Lan	arm-pmu {
829d59b708SYixun Lan		compatible = "arm,cortex-a53-pmu";
839d59b708SYixun Lan		interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>,
849d59b708SYixun Lan			     <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>,
859d59b708SYixun Lan			     <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>,
869d59b708SYixun Lan			     <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
879d59b708SYixun Lan		interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
889d59b708SYixun Lan	};
899d59b708SYixun Lan
909d59b708SYixun Lan	psci {
919d59b708SYixun Lan		compatible = "arm,psci-1.0";
929d59b708SYixun Lan		method = "smc";
939d59b708SYixun Lan	};
949d59b708SYixun Lan
9508307aabSJerome Brunet	tdmif_a: audio-controller@0 {
9608307aabSJerome Brunet		compatible = "amlogic,axg-tdm-iface";
9708307aabSJerome Brunet		#sound-dai-cells = <0>;
9808307aabSJerome Brunet		sound-name-prefix = "TDM_A";
9908307aabSJerome Brunet		clocks = <&clkc_audio AUD_CLKID_MST_A_MCLK>,
10008307aabSJerome Brunet			 <&clkc_audio AUD_CLKID_MST_A_SCLK>,
10108307aabSJerome Brunet			 <&clkc_audio AUD_CLKID_MST_A_LRCLK>;
10208307aabSJerome Brunet		clock-names = "mclk", "sclk", "lrclk";
10308307aabSJerome Brunet		status = "disabled";
10408307aabSJerome Brunet	};
10508307aabSJerome Brunet
10608307aabSJerome Brunet	tdmif_b: audio-controller@1 {
10708307aabSJerome Brunet		compatible = "amlogic,axg-tdm-iface";
10808307aabSJerome Brunet		#sound-dai-cells = <0>;
10908307aabSJerome Brunet		sound-name-prefix = "TDM_B";
11008307aabSJerome Brunet		clocks = <&clkc_audio AUD_CLKID_MST_B_MCLK>,
11108307aabSJerome Brunet			 <&clkc_audio AUD_CLKID_MST_B_SCLK>,
11208307aabSJerome Brunet			 <&clkc_audio AUD_CLKID_MST_B_LRCLK>;
11308307aabSJerome Brunet		clock-names = "mclk", "sclk", "lrclk";
11408307aabSJerome Brunet		status = "disabled";
11508307aabSJerome Brunet	};
11608307aabSJerome Brunet
11708307aabSJerome Brunet	tdmif_c: audio-controller@2 {
11808307aabSJerome Brunet		compatible = "amlogic,axg-tdm-iface";
11908307aabSJerome Brunet		#sound-dai-cells = <0>;
12008307aabSJerome Brunet		sound-name-prefix = "TDM_C";
12108307aabSJerome Brunet		clocks = <&clkc_audio AUD_CLKID_MST_C_MCLK>,
12208307aabSJerome Brunet			 <&clkc_audio AUD_CLKID_MST_C_SCLK>,
12308307aabSJerome Brunet			 <&clkc_audio AUD_CLKID_MST_C_LRCLK>;
12408307aabSJerome Brunet		clock-names = "mclk", "sclk", "lrclk";
12508307aabSJerome Brunet		status = "disabled";
12608307aabSJerome Brunet	};
12708307aabSJerome Brunet
1289d59b708SYixun Lan	timer {
1299d59b708SYixun Lan		compatible = "arm,armv8-timer";
1309d59b708SYixun Lan		interrupts = <GIC_PPI 13
1319d59b708SYixun Lan			(GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>,
1329d59b708SYixun Lan			     <GIC_PPI 14
1339d59b708SYixun Lan			(GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>,
1349d59b708SYixun Lan			     <GIC_PPI 11
1359d59b708SYixun Lan			(GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>,
1369d59b708SYixun Lan			     <GIC_PPI 10
1379d59b708SYixun Lan			(GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>;
1389d59b708SYixun Lan	};
1399d59b708SYixun Lan
1409d59b708SYixun Lan	xtal: xtal-clk {
1419d59b708SYixun Lan		compatible = "fixed-clock";
1429d59b708SYixun Lan		clock-frequency = <24000000>;
1439d59b708SYixun Lan		clock-output-names = "xtal";
1449d59b708SYixun Lan		#clock-cells = <0>;
1459d59b708SYixun Lan	};
1469d59b708SYixun Lan
1475e395e14SYixun Lan	ao_alt_xtal: ao_alt_xtal-clk {
1485e395e14SYixun Lan		compatible = "fixed-clock";
1495e395e14SYixun Lan		clock-frequency = <32000000>;
1505e395e14SYixun Lan		clock-output-names = "ao_alt_xtal";
1515e395e14SYixun Lan		#clock-cells = <0>;
1525e395e14SYixun Lan	};
1535e395e14SYixun Lan
1549d59b708SYixun Lan	soc {
1559d59b708SYixun Lan		compatible = "simple-bus";
1569d59b708SYixun Lan		#address-cells = <2>;
1579d59b708SYixun Lan		#size-cells = <2>;
1589d59b708SYixun Lan		ranges;
1599d59b708SYixun Lan
160221cf34bSNan Li		apb: apb@ffe00000 {
161221cf34bSNan Li			compatible = "simple-bus";
162221cf34bSNan Li			reg = <0x0 0xffe00000 0x0 0x200000>;
163221cf34bSNan Li			#address-cells = <2>;
164221cf34bSNan Li			#size-cells = <2>;
165221cf34bSNan Li			ranges = <0x0 0x0 0x0 0xffe00000 0x0 0x200000>;
166221cf34bSNan Li
167221cf34bSNan Li			sd_emmc_b: sd@5000 {
168221cf34bSNan Li				compatible = "amlogic,meson-axg-mmc";
169221cf34bSNan Li				reg = <0x0 0x5000 0x0 0x2000>;
170221cf34bSNan Li				interrupts = <GIC_SPI 217 IRQ_TYPE_EDGE_RISING>;
171221cf34bSNan Li				status = "disabled";
172221cf34bSNan Li				clocks = <&clkc CLKID_SD_EMMC_B>,
173221cf34bSNan Li					<&clkc CLKID_SD_EMMC_B_CLK0>,
174221cf34bSNan Li					<&clkc CLKID_FCLK_DIV2>;
175221cf34bSNan Li				clock-names = "core", "clkin0", "clkin1";
176098e5303SJerome Brunet				resets = <&reset RESET_SD_EMMC_B>;
177221cf34bSNan Li			};
178221cf34bSNan Li
179221cf34bSNan Li			sd_emmc_c: mmc@7000 {
180221cf34bSNan Li				compatible = "amlogic,meson-axg-mmc";
181221cf34bSNan Li				reg = <0x0 0x7000 0x0 0x2000>;
182221cf34bSNan Li				interrupts = <GIC_SPI 218 IRQ_TYPE_EDGE_RISING>;
183221cf34bSNan Li				status = "disabled";
184221cf34bSNan Li				clocks = <&clkc CLKID_SD_EMMC_C>,
185221cf34bSNan Li					<&clkc CLKID_SD_EMMC_C_CLK0>,
186221cf34bSNan Li					<&clkc CLKID_FCLK_DIV2>;
187221cf34bSNan Li				clock-names = "core", "clkin0", "clkin1";
188098e5303SJerome Brunet				resets = <&reset RESET_SD_EMMC_C>;
189221cf34bSNan Li			};
190221cf34bSNan Li		};
191221cf34bSNan Li
1928909e722SJerome Brunet		audio: bus@ff642000 {
1938909e722SJerome Brunet			compatible = "simple-bus";
1948909e722SJerome Brunet			reg = <0x0 0xff642000 0x0 0x2000>;
1958909e722SJerome Brunet			#address-cells = <2>;
1968909e722SJerome Brunet			#size-cells = <2>;
1978909e722SJerome Brunet			ranges = <0x0 0x0 0x0 0xff642000 0x0 0x2000>;
1988909e722SJerome Brunet
1998909e722SJerome Brunet			clkc_audio: clock-controller@0 {
2008909e722SJerome Brunet				compatible = "amlogic,axg-audio-clkc";
2018909e722SJerome Brunet				reg = <0x0 0x0 0x0 0xb4>;
2028909e722SJerome Brunet				#clock-cells = <1>;
2038909e722SJerome Brunet
2048909e722SJerome Brunet				clocks = <&clkc CLKID_AUDIO>,
2058909e722SJerome Brunet					 <&clkc CLKID_MPLL0>,
2068909e722SJerome Brunet					 <&clkc CLKID_MPLL1>,
2078909e722SJerome Brunet					 <&clkc CLKID_MPLL2>,
2088909e722SJerome Brunet					 <&clkc CLKID_MPLL3>,
2098909e722SJerome Brunet					 <&clkc CLKID_HIFI_PLL>,
2108909e722SJerome Brunet					 <&clkc CLKID_FCLK_DIV3>,
2118909e722SJerome Brunet					 <&clkc CLKID_FCLK_DIV4>,
2128909e722SJerome Brunet					 <&clkc CLKID_GP0_PLL>;
2138909e722SJerome Brunet				clock-names = "pclk",
2148909e722SJerome Brunet					      "mst_in0",
2158909e722SJerome Brunet					      "mst_in1",
2168909e722SJerome Brunet					      "mst_in2",
2178909e722SJerome Brunet					      "mst_in3",
2188909e722SJerome Brunet					      "mst_in4",
2198909e722SJerome Brunet					      "mst_in5",
2208909e722SJerome Brunet					      "mst_in6",
2218909e722SJerome Brunet					      "mst_in7";
2228909e722SJerome Brunet
2238909e722SJerome Brunet				resets = <&reset RESET_AUDIO>;
2248909e722SJerome Brunet			};
22566d58a8fSJerome Brunet
22666d58a8fSJerome Brunet			arb: reset-controller@280 {
22766d58a8fSJerome Brunet				compatible = "amlogic,meson-axg-audio-arb";
22866d58a8fSJerome Brunet				reg = <0x0 0x280 0x0 0x4>;
22966d58a8fSJerome Brunet				#reset-cells = <1>;
23066d58a8fSJerome Brunet				clocks = <&clkc_audio AUD_CLKID_DDR_ARB>;
23166d58a8fSJerome Brunet			};
232f08c52deSJerome Brunet
233bf8e4790SJerome Brunet			tdmin_a: audio-controller@300 {
234bf8e4790SJerome Brunet				compatible = "amlogic,axg-tdmin";
235bf8e4790SJerome Brunet				reg = <0x0 0x300 0x0 0x40>;
236bf8e4790SJerome Brunet				sound-name-prefix = "TDMIN_A";
237bf8e4790SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TDMIN_A>,
238bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_A_SCLK>,
239bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_A_SCLK_SEL>,
240bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_A_LRCLK>,
241bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_A_LRCLK>;
242bf8e4790SJerome Brunet				clock-names = "pclk", "sclk", "sclk_sel",
243bf8e4790SJerome Brunet					      "lrclk", "lrclk_sel";
244bf8e4790SJerome Brunet				status = "disabled";
245bf8e4790SJerome Brunet			};
246bf8e4790SJerome Brunet
247bf8e4790SJerome Brunet			tdmin_b: audio-controller@340 {
248bf8e4790SJerome Brunet				compatible = "amlogic,axg-tdmin";
249bf8e4790SJerome Brunet				reg = <0x0 0x340 0x0 0x40>;
250bf8e4790SJerome Brunet				sound-name-prefix = "TDMIN_B";
251bf8e4790SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TDMIN_B>,
252bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_B_SCLK>,
253bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_B_SCLK_SEL>,
254bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_B_LRCLK>,
255bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_B_LRCLK>;
256bf8e4790SJerome Brunet				clock-names = "pclk", "sclk", "sclk_sel",
257bf8e4790SJerome Brunet					      "lrclk", "lrclk_sel";
258bf8e4790SJerome Brunet				status = "disabled";
259bf8e4790SJerome Brunet			};
260bf8e4790SJerome Brunet
261bf8e4790SJerome Brunet			tdmin_c: audio-controller@380 {
262bf8e4790SJerome Brunet				compatible = "amlogic,axg-tdmin";
263bf8e4790SJerome Brunet				reg = <0x0 0x380 0x0 0x40>;
264bf8e4790SJerome Brunet				sound-name-prefix = "TDMIN_C";
265bf8e4790SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TDMIN_C>,
266bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_C_SCLK>,
267bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_C_SCLK_SEL>,
268bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_C_LRCLK>,
269bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_C_LRCLK>;
270bf8e4790SJerome Brunet				clock-names = "pclk", "sclk", "sclk_sel",
271bf8e4790SJerome Brunet					      "lrclk", "lrclk_sel";
272bf8e4790SJerome Brunet				status = "disabled";
273bf8e4790SJerome Brunet			};
274bf8e4790SJerome Brunet
275bf8e4790SJerome Brunet			tdmin_lb: audio-controller@3c0 {
276bf8e4790SJerome Brunet				compatible = "amlogic,axg-tdmin";
277bf8e4790SJerome Brunet				reg = <0x0 0x3c0 0x0 0x40>;
278bf8e4790SJerome Brunet				sound-name-prefix = "TDMIN_LB";
279bf8e4790SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TDMIN_LB>,
280bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_LB_SCLK>,
281bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_LB_SCLK_SEL>,
282bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_LB_LRCLK>,
283bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_LB_LRCLK>;
284bf8e4790SJerome Brunet				clock-names = "pclk", "sclk", "sclk_sel",
285bf8e4790SJerome Brunet					      "lrclk", "lrclk_sel";
286bf8e4790SJerome Brunet				status = "disabled";
287bf8e4790SJerome Brunet			};
288bf8e4790SJerome Brunet
289f08c52deSJerome Brunet			spdifout: audio-controller@480 {
290f08c52deSJerome Brunet				compatible = "amlogic,axg-spdifout";
291f08c52deSJerome Brunet				reg = <0x0 0x480 0x0 0x50>;
292f08c52deSJerome Brunet				#sound-dai-cells = <0>;
293f08c52deSJerome Brunet				sound-name-prefix = "SPDIFOUT";
294f08c52deSJerome Brunet				clocks = <&clkc_audio AUD_CLKID_SPDIFOUT>,
295f08c52deSJerome Brunet					 <&clkc_audio AUD_CLKID_SPDIFOUT_CLK>;
296f08c52deSJerome Brunet				clock-names = "pclk", "mclk";
297f08c52deSJerome Brunet				status = "disabled";
298f08c52deSJerome Brunet			};
299fd916739SJerome Brunet
300fd916739SJerome Brunet			tdmout_a: audio-controller@500 {
301fd916739SJerome Brunet				compatible = "amlogic,axg-tdmout";
302fd916739SJerome Brunet				reg = <0x0 0x500 0x0 0x40>;
303fd916739SJerome Brunet				sound-name-prefix = "TDMOUT_A";
304fd916739SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TDMOUT_A>,
305fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_A_SCLK>,
306fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_A_SCLK_SEL>,
307fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_A_LRCLK>,
308fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_A_LRCLK>;
309fd916739SJerome Brunet				clock-names = "pclk", "sclk", "sclk_sel",
310fd916739SJerome Brunet					      "lrclk", "lrclk_sel";
311fd916739SJerome Brunet				status = "disabled";
312fd916739SJerome Brunet			};
313fd916739SJerome Brunet
314fd916739SJerome Brunet			tdmout_b: audio-controller@540 {
315fd916739SJerome Brunet				compatible = "amlogic,axg-tdmout";
316fd916739SJerome Brunet				reg = <0x0 0x540 0x0 0x40>;
317fd916739SJerome Brunet				sound-name-prefix = "TDMOUT_B";
318fd916739SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TDMOUT_B>,
319fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_B_SCLK>,
320fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_B_SCLK_SEL>,
321fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_B_LRCLK>,
322fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_B_LRCLK>;
323fd916739SJerome Brunet				clock-names = "pclk", "sclk", "sclk_sel",
324fd916739SJerome Brunet					      "lrclk", "lrclk_sel";
325fd916739SJerome Brunet				status = "disabled";
326fd916739SJerome Brunet			};
327fd916739SJerome Brunet
328fd916739SJerome Brunet			tdmout_c: audio-controller@580 {
329fd916739SJerome Brunet				compatible = "amlogic,axg-tdmout";
330fd916739SJerome Brunet				reg = <0x0 0x580 0x0 0x40>;
331fd916739SJerome Brunet				sound-name-prefix = "TDMOUT_C";
332fd916739SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TDMOUT_C>,
333fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_C_SCLK>,
334fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_C_SCLK_SEL>,
335fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_C_LRCLK>,
336fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_C_LRCLK>;
337fd916739SJerome Brunet				clock-names = "pclk", "sclk", "sclk_sel",
338fd916739SJerome Brunet					      "lrclk", "lrclk_sel";
339fd916739SJerome Brunet				status = "disabled";
340fd916739SJerome Brunet			};
3418909e722SJerome Brunet		};
3428909e722SJerome Brunet
3430cb6c604SKevin Hilman		cbus: bus@ffd00000 {
3449d59b708SYixun Lan			compatible = "simple-bus";
3459d59b708SYixun Lan			reg = <0x0 0xffd00000 0x0 0x25000>;
3469d59b708SYixun Lan			#address-cells = <2>;
3479d59b708SYixun Lan			#size-cells = <2>;
3489d59b708SYixun Lan			ranges = <0x0 0x0 0x0 0xffd00000 0x0 0x25000>;
3499d59b708SYixun Lan
350b0e59f94SYixun Lan			gpio_intc: interrupt-controller@f080 {
351b0e59f94SYixun Lan				compatible = "amlogic,meson-gpio-intc";
352b0e59f94SYixun Lan				reg = <0x0 0xf080 0x0 0x10>;
353b0e59f94SYixun Lan				interrupt-controller;
354b0e59f94SYixun Lan				#interrupt-cells = <2>;
355b0e59f94SYixun Lan				amlogic,channel-interrupts = <64 65 66 67 68 69 70 71>;
356b0e59f94SYixun Lan				status = "disabled";
357b0e59f94SYixun Lan			};
358b0e59f94SYixun Lan
3594a81e5ddSJian Hu			pwm_ab: pwm@1b000 {
3604a81e5ddSJian Hu				compatible = "amlogic,meson-axg-ee-pwm";
3614a81e5ddSJian Hu				reg = <0x0 0x1b000 0x0 0x20>;
3624a81e5ddSJian Hu				#pwm-cells = <3>;
3634a81e5ddSJian Hu				status = "disabled";
3644a81e5ddSJian Hu			};
3654a81e5ddSJian Hu
3664a81e5ddSJian Hu			pwm_cd: pwm@1a000 {
3674a81e5ddSJian Hu				compatible = "amlogic,meson-axg-ee-pwm";
3684a81e5ddSJian Hu				reg = <0x0 0x1a000 0x0 0x20>;
3694a81e5ddSJian Hu				#pwm-cells = <3>;
3704a81e5ddSJian Hu				status = "disabled";
3714a81e5ddSJian Hu			};
3724a81e5ddSJian Hu
37343b9f617SYixun Lan			reset: reset-controller@1004 {
37443b9f617SYixun Lan				compatible = "amlogic,meson-axg-reset";
37543b9f617SYixun Lan				reg = <0x0 0x01004 0x0 0x9c>;
37643b9f617SYixun Lan				#reset-cells = <1>;
37743b9f617SYixun Lan			};
37843b9f617SYixun Lan
3798ae4284eSSunny Luo			spicc0: spi@13000 {
3808ae4284eSSunny Luo				compatible = "amlogic,meson-axg-spicc";
3818ae4284eSSunny Luo				reg = <0x0 0x13000 0x0 0x3c>;
3828ae4284eSSunny Luo				interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
3838ae4284eSSunny Luo				clocks = <&clkc CLKID_SPICC0>;
3848ae4284eSSunny Luo				clock-names = "core";
3858ae4284eSSunny Luo				#address-cells = <1>;
3868ae4284eSSunny Luo				#size-cells = <0>;
3878ae4284eSSunny Luo				status = "disabled";
3888ae4284eSSunny Luo			};
3898ae4284eSSunny Luo
3908ae4284eSSunny Luo			spicc1: spi@15000 {
3918ae4284eSSunny Luo				compatible = "amlogic,meson-axg-spicc";
3928ae4284eSSunny Luo				reg = <0x0 0x15000 0x0 0x3c>;
3938ae4284eSSunny Luo				interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
3948ae4284eSSunny Luo				clocks = <&clkc CLKID_SPICC1>;
3958ae4284eSSunny Luo				clock-names = "core";
3968ae4284eSSunny Luo				#address-cells = <1>;
3978ae4284eSSunny Luo				#size-cells = <0>;
3988ae4284eSSunny Luo				status = "disabled";
3998ae4284eSSunny Luo			};
4008ae4284eSSunny Luo
401dc6f858eSJian Hu			i2c0: i2c@1f000 {
402dc6f858eSJian Hu				compatible = "amlogic,meson-axg-i2c";
403dc6f858eSJian Hu				reg = <0x0 0x1f000 0x0 0x20>;
4042b6ff972SJerome Brunet				interrupts = <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>;
4052b6ff972SJerome Brunet				clocks = <&clkc CLKID_I2C>;
406dc6f858eSJian Hu				#address-cells = <1>;
407dc6f858eSJian Hu				#size-cells = <0>;
4082b6ff972SJerome Brunet				status = "disabled";
409dc6f858eSJian Hu			};
410dc6f858eSJian Hu
411dc6f858eSJian Hu			i2c1: i2c@1e000 {
412dc6f858eSJian Hu				compatible = "amlogic,meson-axg-i2c";
4132b6ff972SJerome Brunet				reg = <0x0 0x1e000 0x0 0x20>;
4142b6ff972SJerome Brunet				interrupts = <GIC_SPI 214 IRQ_TYPE_EDGE_RISING>;
4152b6ff972SJerome Brunet				clocks = <&clkc CLKID_I2C>;
416dc6f858eSJian Hu				#address-cells = <1>;
417dc6f858eSJian Hu				#size-cells = <0>;
418dc6f858eSJian Hu				status = "disabled";
419dc6f858eSJian Hu			};
420dc6f858eSJian Hu
421dc6f858eSJian Hu			i2c2: i2c@1d000 {
422dc6f858eSJian Hu				compatible = "amlogic,meson-axg-i2c";
423dc6f858eSJian Hu				reg = <0x0 0x1d000 0x0 0x20>;
4242b6ff972SJerome Brunet				interrupts = <GIC_SPI 215 IRQ_TYPE_EDGE_RISING>;
4252b6ff972SJerome Brunet				clocks = <&clkc CLKID_I2C>;
426dc6f858eSJian Hu				#address-cells = <1>;
427dc6f858eSJian Hu				#size-cells = <0>;
4282b6ff972SJerome Brunet				status = "disabled";
429dc6f858eSJian Hu			};
430dc6f858eSJian Hu
431dc6f858eSJian Hu			i2c3: i2c@1c000 {
432dc6f858eSJian Hu				compatible = "amlogic,meson-axg-i2c";
433dc6f858eSJian Hu				reg = <0x0 0x1c000 0x0 0x20>;
4342b6ff972SJerome Brunet				interrupts = <GIC_SPI 39 IRQ_TYPE_EDGE_RISING>;
4352b6ff972SJerome Brunet				clocks = <&clkc CLKID_I2C>;
436dc6f858eSJian Hu				#address-cells = <1>;
437dc6f858eSJian Hu				#size-cells = <0>;
4382b6ff972SJerome Brunet				status = "disabled";
439dc6f858eSJian Hu			};
440dc6f858eSJian Hu
4419d59b708SYixun Lan			uart_A: serial@24000 {
44258662130SYixun Lan				compatible = "amlogic,meson-gx-uart";
44377f5cdbdSYixun Lan				reg = <0x0 0x24000 0x0 0x18>;
4449d59b708SYixun Lan				interrupts = <GIC_SPI 26 IRQ_TYPE_EDGE_RISING>;
4459d59b708SYixun Lan				status = "disabled";
44658662130SYixun Lan				clocks = <&xtal>, <&clkc CLKID_UART0>, <&xtal>;
44758662130SYixun Lan				clock-names = "xtal", "pclk", "baud";
4489d59b708SYixun Lan			};
4499d59b708SYixun Lan
4509d59b708SYixun Lan			uart_B: serial@23000 {
45158662130SYixun Lan				compatible = "amlogic,meson-gx-uart";
45277f5cdbdSYixun Lan				reg = <0x0 0x23000 0x0 0x18>;
4539d59b708SYixun Lan				interrupts = <GIC_SPI 75 IRQ_TYPE_EDGE_RISING>;
4549d59b708SYixun Lan				status = "disabled";
45558662130SYixun Lan				clocks = <&xtal>, <&clkc CLKID_UART1>, <&xtal>;
45658662130SYixun Lan				clock-names = "xtal", "pclk", "baud";
4579d59b708SYixun Lan			};
4589d59b708SYixun Lan		};
4599d59b708SYixun Lan
46029390d27SYixun Lan		ethmac: ethernet@ff3f0000 {
46129390d27SYixun Lan			compatible = "amlogic,meson-gxbb-dwmac", "snps,dwmac";
46229390d27SYixun Lan			reg = <0x0 0xff3f0000 0x0 0x10000
46329390d27SYixun Lan				0x0 0xff634540 0x0 0x8>;
46429390d27SYixun Lan			interrupts = <GIC_SPI 8 IRQ_TYPE_EDGE_RISING>;
46529390d27SYixun Lan			interrupt-names = "macirq";
46629390d27SYixun Lan			clocks = <&clkc CLKID_ETH>,
46729390d27SYixun Lan				 <&clkc CLKID_FCLK_DIV2>,
46829390d27SYixun Lan				 <&clkc CLKID_MPLL2>;
46929390d27SYixun Lan			clock-names = "stmmaceth", "clkin0", "clkin1";
47029390d27SYixun Lan			status = "disabled";
47129390d27SYixun Lan		};
47229390d27SYixun Lan
4739d59b708SYixun Lan		gic: interrupt-controller@ffc01000 {
4749d59b708SYixun Lan			compatible = "arm,gic-400";
4759d59b708SYixun Lan			reg = <0x0 0xffc01000 0 0x1000>,
4769d59b708SYixun Lan			      <0x0 0xffc02000 0 0x2000>,
4779d59b708SYixun Lan			      <0x0 0xffc04000 0 0x2000>,
4789d59b708SYixun Lan			      <0x0 0xffc06000 0 0x2000>;
4799d59b708SYixun Lan			interrupt-controller;
4809d59b708SYixun Lan			interrupts = <GIC_PPI 9
4819d59b708SYixun Lan				(GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>;
4829d59b708SYixun Lan			#interrupt-cells = <3>;
4839d59b708SYixun Lan			#address-cells = <0>;
4849d59b708SYixun Lan		};
4859d59b708SYixun Lan
486abfc18f9SQiufang Dai		hiubus: bus@ff63c000 {
487abfc18f9SQiufang Dai			compatible = "simple-bus";
488abfc18f9SQiufang Dai			reg = <0x0 0xff63c000 0x0 0x1c00>;
489abfc18f9SQiufang Dai			#address-cells = <2>;
490abfc18f9SQiufang Dai			#size-cells = <2>;
491abfc18f9SQiufang Dai			ranges = <0x0 0x0 0x0 0xff63c000 0x0 0x1c00>;
492abfc18f9SQiufang Dai
493cc4d6641SJerome Brunet			sysctrl: system-controller@0 {
494cc4d6641SJerome Brunet				compatible = "amlogic,meson-axg-hhi-sysctrl", "syscon", "simple-mfd";
495cc4d6641SJerome Brunet				reg = <0 0 0 0x400>;
496cc4d6641SJerome Brunet
497cc4d6641SJerome Brunet				clkc: clock-controller {
498abfc18f9SQiufang Dai					compatible = "amlogic,axg-clkc";
499abfc18f9SQiufang Dai					#clock-cells = <1>;
500cc4d6641SJerome Brunet				};
501abfc18f9SQiufang Dai			};
502abfc18f9SQiufang Dai		};
503abfc18f9SQiufang Dai
5049d59b708SYixun Lan		mailbox: mailbox@ff63dc00 {
5059d59b708SYixun Lan			compatible = "amlogic,meson-gx-mhu", "amlogic,meson-gxbb-mhu";
5069d59b708SYixun Lan			reg = <0 0xff63dc00 0 0x400>;
5079d59b708SYixun Lan			interrupts = <GIC_SPI 208 IRQ_TYPE_EDGE_RISING>,
5089d59b708SYixun Lan				     <GIC_SPI 209 IRQ_TYPE_EDGE_RISING>,
5099d59b708SYixun Lan				     <GIC_SPI 210 IRQ_TYPE_EDGE_RISING>;
5109d59b708SYixun Lan			#mbox-cells = <1>;
5119d59b708SYixun Lan		};
5129d59b708SYixun Lan
513de05ded6SXingyu Chen		periphs: periphs@ff634000 {
514de05ded6SXingyu Chen			compatible = "simple-bus";
515de05ded6SXingyu Chen			reg = <0x0 0xff634000 0x0 0x2000>;
516de05ded6SXingyu Chen			#address-cells = <2>;
517de05ded6SXingyu Chen			#size-cells = <2>;
518de05ded6SXingyu Chen			ranges = <0x0 0x0 0x0 0xff634000 0x0 0x2000>;
519de05ded6SXingyu Chen
520eafd53d3SJerome Brunet			hwrng: rng {
521eafd53d3SJerome Brunet				compatible = "amlogic,meson-rng";
522eafd53d3SJerome Brunet				reg = <0x0 0x18 0x0 0x4>;
523eafd53d3SJerome Brunet				clocks = <&clkc CLKID_RNG0>;
524eafd53d3SJerome Brunet				clock-names = "core";
525eafd53d3SJerome Brunet			};
526eafd53d3SJerome Brunet
527de05ded6SXingyu Chen			pinctrl_periphs: pinctrl@480 {
528de05ded6SXingyu Chen				compatible = "amlogic,meson-axg-periphs-pinctrl";
529de05ded6SXingyu Chen				#address-cells = <2>;
530de05ded6SXingyu Chen				#size-cells = <2>;
531de05ded6SXingyu Chen				ranges;
532de05ded6SXingyu Chen
533de05ded6SXingyu Chen				gpio: bank@480 {
534de05ded6SXingyu Chen					reg = <0x0 0x00480 0x0 0x40>,
535de05ded6SXingyu Chen						<0x0 0x004e8 0x0 0x14>,
536de05ded6SXingyu Chen						<0x0 0x00520 0x0 0x14>,
537de05ded6SXingyu Chen						<0x0 0x00430 0x0 0x3c>;
538de05ded6SXingyu Chen					reg-names = "mux", "pull", "pull-enable", "gpio";
539de05ded6SXingyu Chen					gpio-controller;
540de05ded6SXingyu Chen					#gpio-cells = <2>;
541de05ded6SXingyu Chen					gpio-ranges = <&pinctrl_periphs 0 0 86>;
542de05ded6SXingyu Chen				};
5434a81e5ddSJian Hu
544221cf34bSNan Li				emmc_pins: emmc {
545221cf34bSNan Li					mux {
546221cf34bSNan Li						groups = "emmc_nand_d0",
547221cf34bSNan Li							"emmc_nand_d1",
548221cf34bSNan Li							"emmc_nand_d2",
549221cf34bSNan Li							"emmc_nand_d3",
550221cf34bSNan Li							"emmc_nand_d4",
551221cf34bSNan Li							"emmc_nand_d5",
552221cf34bSNan Li							"emmc_nand_d6",
553221cf34bSNan Li							"emmc_nand_d7",
554221cf34bSNan Li							"emmc_clk",
555221cf34bSNan Li							"emmc_cmd",
556221cf34bSNan Li							"emmc_ds";
557221cf34bSNan Li						function = "emmc";
558221cf34bSNan Li					};
559221cf34bSNan Li				};
560221cf34bSNan Li
561221cf34bSNan Li				emmc_clk_gate_pins: emmc_clk_gate {
562221cf34bSNan Li					mux {
563221cf34bSNan Li						groups = "BOOT_8";
564221cf34bSNan Li						function = "gpio_periphs";
565221cf34bSNan Li					};
566221cf34bSNan Li					cfg-pull-down {
567221cf34bSNan Li						pins = "BOOT_8";
568221cf34bSNan Li						bias-pull-down;
569221cf34bSNan Li					};
570221cf34bSNan Li				};
571221cf34bSNan Li
572221cf34bSNan Li				sdio_pins: sdio {
573221cf34bSNan Li					mux {
574221cf34bSNan Li						groups = "sdio_d0",
575221cf34bSNan Li							"sdio_d1",
576221cf34bSNan Li							"sdio_d2",
577221cf34bSNan Li							"sdio_d3",
578221cf34bSNan Li							"sdio_cmd",
579221cf34bSNan Li							"sdio_clk";
580221cf34bSNan Li						function = "sdio";
581221cf34bSNan Li					};
582221cf34bSNan Li				};
583221cf34bSNan Li
584221cf34bSNan Li				sdio_clk_gate_pins: sdio_clk_gate {
585221cf34bSNan Li					mux {
586221cf34bSNan Li						groups = "GPIOX_4";
587221cf34bSNan Li						function = "gpio_periphs";
588221cf34bSNan Li					};
589221cf34bSNan Li					cfg-pull-down {
590221cf34bSNan Li						pins = "GPIOX_4";
591221cf34bSNan Li						bias-pull-down;
592221cf34bSNan Li					};
593221cf34bSNan Li				};
594221cf34bSNan Li
595777fa58dSYixun Lan				eth_rmii_x_pins: eth-x-rmii {
596777fa58dSYixun Lan					mux {
597777fa58dSYixun Lan						groups = "eth_mdio_x",
598777fa58dSYixun Lan						       "eth_mdc_x",
599777fa58dSYixun Lan						       "eth_rgmii_rx_clk_x",
600777fa58dSYixun Lan						       "eth_rx_dv_x",
601777fa58dSYixun Lan						       "eth_rxd0_x",
602777fa58dSYixun Lan						       "eth_rxd1_x",
603777fa58dSYixun Lan						       "eth_txen_x",
604777fa58dSYixun Lan						       "eth_txd0_x",
605777fa58dSYixun Lan						       "eth_txd1_x";
606777fa58dSYixun Lan						function = "eth";
607777fa58dSYixun Lan					};
608777fa58dSYixun Lan				};
609777fa58dSYixun Lan
610777fa58dSYixun Lan				eth_rmii_y_pins: eth-y-rmii {
611777fa58dSYixun Lan					mux {
612777fa58dSYixun Lan						groups = "eth_mdio_y",
613777fa58dSYixun Lan						       "eth_mdc_y",
614777fa58dSYixun Lan						       "eth_rgmii_rx_clk_y",
615777fa58dSYixun Lan						       "eth_rx_dv_y",
616777fa58dSYixun Lan						       "eth_rxd0_y",
617777fa58dSYixun Lan						       "eth_rxd1_y",
618777fa58dSYixun Lan						       "eth_txen_y",
619777fa58dSYixun Lan						       "eth_txd0_y",
620777fa58dSYixun Lan						       "eth_txd1_y";
621777fa58dSYixun Lan						function = "eth";
622777fa58dSYixun Lan					};
623777fa58dSYixun Lan				};
624777fa58dSYixun Lan
62529390d27SYixun Lan				eth_rgmii_x_pins: eth-x-rgmii {
62629390d27SYixun Lan					mux {
62729390d27SYixun Lan						groups = "eth_mdio_x",
62829390d27SYixun Lan						       "eth_mdc_x",
62929390d27SYixun Lan						       "eth_rgmii_rx_clk_x",
63029390d27SYixun Lan						       "eth_rx_dv_x",
63129390d27SYixun Lan						       "eth_rxd0_x",
63229390d27SYixun Lan						       "eth_rxd1_x",
63329390d27SYixun Lan						       "eth_rxd2_rgmii",
63429390d27SYixun Lan						       "eth_rxd3_rgmii",
63529390d27SYixun Lan						       "eth_rgmii_tx_clk",
63629390d27SYixun Lan						       "eth_txen_x",
63729390d27SYixun Lan						       "eth_txd0_x",
63829390d27SYixun Lan						       "eth_txd1_x",
63929390d27SYixun Lan						       "eth_txd2_rgmii",
64029390d27SYixun Lan						       "eth_txd3_rgmii";
64129390d27SYixun Lan						function = "eth";
64229390d27SYixun Lan					};
64329390d27SYixun Lan				};
64429390d27SYixun Lan
64529390d27SYixun Lan				eth_rgmii_y_pins: eth-y-rgmii {
64629390d27SYixun Lan					mux {
64729390d27SYixun Lan						groups = "eth_mdio_y",
64829390d27SYixun Lan						       "eth_mdc_y",
64929390d27SYixun Lan						       "eth_rgmii_rx_clk_y",
65029390d27SYixun Lan						       "eth_rx_dv_y",
65129390d27SYixun Lan						       "eth_rxd0_y",
65229390d27SYixun Lan						       "eth_rxd1_y",
65329390d27SYixun Lan						       "eth_rxd2_rgmii",
65429390d27SYixun Lan						       "eth_rxd3_rgmii",
65529390d27SYixun Lan						       "eth_rgmii_tx_clk",
65629390d27SYixun Lan						       "eth_txen_y",
65729390d27SYixun Lan						       "eth_txd0_y",
65829390d27SYixun Lan						       "eth_txd1_y",
65929390d27SYixun Lan						       "eth_txd2_rgmii",
66029390d27SYixun Lan						       "eth_txd3_rgmii";
66129390d27SYixun Lan						function = "eth";
66229390d27SYixun Lan					};
66329390d27SYixun Lan				};
66429390d27SYixun Lan
66589803e8bSJerome Brunet				pdm_dclk_a14_pins: pdm_dclk_a14 {
66689803e8bSJerome Brunet					mux {
66789803e8bSJerome Brunet						groups = "pdm_dclk_a14";
66889803e8bSJerome Brunet						function = "pdm";
66989803e8bSJerome Brunet					};
67089803e8bSJerome Brunet				};
67189803e8bSJerome Brunet
67289803e8bSJerome Brunet				pdm_dclk_a19_pins: pdm_dclk_a19 {
67389803e8bSJerome Brunet					mux {
67489803e8bSJerome Brunet						groups = "pdm_dclk_a19";
67589803e8bSJerome Brunet						function = "pdm";
67689803e8bSJerome Brunet					};
67789803e8bSJerome Brunet				};
67889803e8bSJerome Brunet
67989803e8bSJerome Brunet				pdm_din0_pins: pdm_din0 {
68089803e8bSJerome Brunet					mux {
68189803e8bSJerome Brunet						groups = "pdm_din0";
68289803e8bSJerome Brunet						function = "pdm";
68389803e8bSJerome Brunet					};
68489803e8bSJerome Brunet				};
68589803e8bSJerome Brunet
68689803e8bSJerome Brunet				pdm_din1_pins: pdm_din1 {
68789803e8bSJerome Brunet					mux {
68889803e8bSJerome Brunet						groups = "pdm_din1";
68989803e8bSJerome Brunet						function = "pdm";
69089803e8bSJerome Brunet					};
69189803e8bSJerome Brunet				};
69289803e8bSJerome Brunet
69389803e8bSJerome Brunet				pdm_din2_pins: pdm_din2 {
69489803e8bSJerome Brunet					mux {
69589803e8bSJerome Brunet						groups = "pdm_din2";
69689803e8bSJerome Brunet						function = "pdm";
69789803e8bSJerome Brunet					};
69889803e8bSJerome Brunet				};
69989803e8bSJerome Brunet
70089803e8bSJerome Brunet				pdm_din3_pins: pdm_din3 {
70189803e8bSJerome Brunet					mux {
70289803e8bSJerome Brunet						groups = "pdm_din3";
70389803e8bSJerome Brunet						function = "pdm";
70489803e8bSJerome Brunet					};
70589803e8bSJerome Brunet				};
70689803e8bSJerome Brunet
7074a81e5ddSJian Hu				pwm_a_a_pins: pwm_a_a {
7084a81e5ddSJian Hu					mux {
7094a81e5ddSJian Hu						groups = "pwm_a_a";
7104a81e5ddSJian Hu						function = "pwm_a";
7114a81e5ddSJian Hu					};
7124a81e5ddSJian Hu				};
7134a81e5ddSJian Hu
7144a81e5ddSJian Hu				pwm_a_x18_pins: pwm_a_x18 {
7154a81e5ddSJian Hu					mux {
7164a81e5ddSJian Hu						groups = "pwm_a_x18";
7174a81e5ddSJian Hu						function = "pwm_a";
7184a81e5ddSJian Hu					};
7194a81e5ddSJian Hu				};
7204a81e5ddSJian Hu
7214a81e5ddSJian Hu				pwm_a_x20_pins: pwm_a_x20 {
7224a81e5ddSJian Hu					mux {
7234a81e5ddSJian Hu						groups = "pwm_a_x20";
7244a81e5ddSJian Hu						function = "pwm_a";
7254a81e5ddSJian Hu					};
7264a81e5ddSJian Hu				};
7274a81e5ddSJian Hu
7284a81e5ddSJian Hu				pwm_a_z_pins: pwm_a_z {
7294a81e5ddSJian Hu					mux {
7304a81e5ddSJian Hu						groups = "pwm_a_z";
7314a81e5ddSJian Hu						function = "pwm_a";
7324a81e5ddSJian Hu					};
7334a81e5ddSJian Hu				};
7344a81e5ddSJian Hu
7354a81e5ddSJian Hu				pwm_b_a_pins: pwm_b_a {
7364a81e5ddSJian Hu					mux {
7374a81e5ddSJian Hu						groups = "pwm_b_a";
7384a81e5ddSJian Hu						function = "pwm_b";
7394a81e5ddSJian Hu					};
7404a81e5ddSJian Hu				};
7414a81e5ddSJian Hu
7424a81e5ddSJian Hu				pwm_b_x_pins: pwm_b_x {
7434a81e5ddSJian Hu					mux {
7444a81e5ddSJian Hu						groups = "pwm_b_x";
7454a81e5ddSJian Hu						function = "pwm_b";
7464a81e5ddSJian Hu					};
7474a81e5ddSJian Hu				};
7484a81e5ddSJian Hu
7494a81e5ddSJian Hu				pwm_b_z_pins: pwm_b_z {
7504a81e5ddSJian Hu					mux {
7514a81e5ddSJian Hu						groups = "pwm_b_z";
7524a81e5ddSJian Hu						function = "pwm_b";
7534a81e5ddSJian Hu					};
7544a81e5ddSJian Hu				};
7554a81e5ddSJian Hu
7564a81e5ddSJian Hu				pwm_c_a_pins: pwm_c_a {
7574a81e5ddSJian Hu					mux {
7584a81e5ddSJian Hu						groups = "pwm_c_a";
7594a81e5ddSJian Hu						function = "pwm_c";
7604a81e5ddSJian Hu					};
7614a81e5ddSJian Hu				};
7624a81e5ddSJian Hu
7634a81e5ddSJian Hu				pwm_c_x10_pins: pwm_c_x10 {
7644a81e5ddSJian Hu					mux {
7654a81e5ddSJian Hu						groups = "pwm_c_x10";
7664a81e5ddSJian Hu						function = "pwm_c";
7674a81e5ddSJian Hu					};
7684a81e5ddSJian Hu				};
7694a81e5ddSJian Hu
7704a81e5ddSJian Hu				pwm_c_x17_pins: pwm_c_x17 {
7714a81e5ddSJian Hu					mux {
7724a81e5ddSJian Hu						groups = "pwm_c_x17";
7734a81e5ddSJian Hu						function = "pwm_c";
7744a81e5ddSJian Hu					};
7754a81e5ddSJian Hu				};
7764a81e5ddSJian Hu
7774a81e5ddSJian Hu				pwm_d_x11_pins: pwm_d_x11 {
7784a81e5ddSJian Hu					mux {
7794a81e5ddSJian Hu						groups = "pwm_d_x11";
7804a81e5ddSJian Hu						function = "pwm_d";
7814a81e5ddSJian Hu					};
7824a81e5ddSJian Hu				};
7834a81e5ddSJian Hu
7844a81e5ddSJian Hu				pwm_d_x16_pins: pwm_d_x16 {
7854a81e5ddSJian Hu					mux {
7864a81e5ddSJian Hu						groups = "pwm_d_x16";
7874a81e5ddSJian Hu						function = "pwm_d";
7884a81e5ddSJian Hu					};
7894a81e5ddSJian Hu				};
7908ae4284eSSunny Luo
791c67ee0a8SJerome Brunet				spdif_in_z_pins: spdif_in_z {
792c67ee0a8SJerome Brunet					mux {
793c67ee0a8SJerome Brunet						groups = "spdif_in_z";
794c67ee0a8SJerome Brunet						function = "spdif_in";
795c67ee0a8SJerome Brunet					};
796c67ee0a8SJerome Brunet				};
797c67ee0a8SJerome Brunet
798c67ee0a8SJerome Brunet				spdif_in_a1_pins: spdif_in_a1 {
799c67ee0a8SJerome Brunet					mux {
800c67ee0a8SJerome Brunet						groups = "spdif_in_a1";
801c67ee0a8SJerome Brunet						function = "spdif_in";
802c67ee0a8SJerome Brunet					};
803c67ee0a8SJerome Brunet				};
804c67ee0a8SJerome Brunet
805c67ee0a8SJerome Brunet				spdif_in_a7_pins: spdif_in_a7 {
806c67ee0a8SJerome Brunet					mux {
807c67ee0a8SJerome Brunet						groups = "spdif_in_a7";
808c67ee0a8SJerome Brunet						function = "spdif_in";
809c67ee0a8SJerome Brunet					};
810c67ee0a8SJerome Brunet				};
811c67ee0a8SJerome Brunet
812c67ee0a8SJerome Brunet				spdif_in_a19_pins: spdif_in_a19 {
813c67ee0a8SJerome Brunet					mux {
814c67ee0a8SJerome Brunet						groups = "spdif_in_a19";
815c67ee0a8SJerome Brunet						function = "spdif_in";
816c67ee0a8SJerome Brunet					};
817c67ee0a8SJerome Brunet				};
818c67ee0a8SJerome Brunet
819c67ee0a8SJerome Brunet				spdif_in_a20_pins: spdif_in_a20 {
820c67ee0a8SJerome Brunet					mux {
821c67ee0a8SJerome Brunet						groups = "spdif_in_a20";
822c67ee0a8SJerome Brunet						function = "spdif_in";
823c67ee0a8SJerome Brunet					};
824c67ee0a8SJerome Brunet				};
825c67ee0a8SJerome Brunet
82670d4b64fSJerome Brunet				spdif_out_z_pins: spdif_out_z {
82770d4b64fSJerome Brunet					mux {
82870d4b64fSJerome Brunet						groups = "spdif_out_z";
82970d4b64fSJerome Brunet						function = "spdif_out";
83070d4b64fSJerome Brunet					};
83170d4b64fSJerome Brunet				};
83270d4b64fSJerome Brunet
83370d4b64fSJerome Brunet				spdif_out_a1_pins: spdif_out_a1 {
83470d4b64fSJerome Brunet					mux {
83570d4b64fSJerome Brunet						groups = "spdif_out_a1";
83670d4b64fSJerome Brunet						function = "spdif_out";
83770d4b64fSJerome Brunet					};
83870d4b64fSJerome Brunet				};
83970d4b64fSJerome Brunet
84070d4b64fSJerome Brunet				spdif_out_a11_pins: spdif_out_a11 {
84170d4b64fSJerome Brunet					mux {
84270d4b64fSJerome Brunet						groups = "spdif_out_a11";
84370d4b64fSJerome Brunet						function = "spdif_out";
84470d4b64fSJerome Brunet					};
84570d4b64fSJerome Brunet				};
84670d4b64fSJerome Brunet
84770d4b64fSJerome Brunet				spdif_out_a19_pins: spdif_out_a19 {
84870d4b64fSJerome Brunet					mux {
84970d4b64fSJerome Brunet						groups = "spdif_out_a19";
85070d4b64fSJerome Brunet						function = "spdif_out";
85170d4b64fSJerome Brunet					};
85270d4b64fSJerome Brunet				};
85370d4b64fSJerome Brunet
85470d4b64fSJerome Brunet				spdif_out_a20_pins: spdif_out_a20 {
85570d4b64fSJerome Brunet					mux {
85670d4b64fSJerome Brunet						groups = "spdif_out_a20";
85770d4b64fSJerome Brunet						function = "spdif_out";
85870d4b64fSJerome Brunet					};
85970d4b64fSJerome Brunet				};
86070d4b64fSJerome Brunet
8618ae4284eSSunny Luo				spi0_pins: spi0 {
8628ae4284eSSunny Luo					mux {
8638ae4284eSSunny Luo						groups = "spi0_miso",
8648ae4284eSSunny Luo							"spi0_mosi",
8658ae4284eSSunny Luo							"spi0_clk";
8668ae4284eSSunny Luo						function = "spi0";
8678ae4284eSSunny Luo					};
8688ae4284eSSunny Luo				};
8698ae4284eSSunny Luo
8708ae4284eSSunny Luo				spi0_ss0_pins: spi0_ss0 {
8718ae4284eSSunny Luo					mux {
8728ae4284eSSunny Luo						groups = "spi0_ss0";
8738ae4284eSSunny Luo						function = "spi0";
8748ae4284eSSunny Luo					};
8758ae4284eSSunny Luo				};
8768ae4284eSSunny Luo
8778ae4284eSSunny Luo				spi0_ss1_pins: spi0_ss1 {
8788ae4284eSSunny Luo					mux {
8798ae4284eSSunny Luo						groups = "spi0_ss1";
8808ae4284eSSunny Luo						function = "spi0";
8818ae4284eSSunny Luo					};
8828ae4284eSSunny Luo				};
8838ae4284eSSunny Luo
8848ae4284eSSunny Luo				spi0_ss2_pins: spi0_ss2 {
8858ae4284eSSunny Luo					mux {
8868ae4284eSSunny Luo						groups = "spi0_ss2";
8878ae4284eSSunny Luo						function = "spi0";
8888ae4284eSSunny Luo					};
8898ae4284eSSunny Luo				};
8908ae4284eSSunny Luo
8918ae4284eSSunny Luo
8928ae4284eSSunny Luo				spi1_a_pins: spi1_a {
8938ae4284eSSunny Luo					mux {
8948ae4284eSSunny Luo						groups = "spi1_miso_a",
8958ae4284eSSunny Luo							"spi1_mosi_a",
8968ae4284eSSunny Luo							"spi1_clk_a";
8978ae4284eSSunny Luo						function = "spi1";
8988ae4284eSSunny Luo					};
8998ae4284eSSunny Luo				};
9008ae4284eSSunny Luo
9018ae4284eSSunny Luo				spi1_ss0_a_pins: spi1_ss0_a {
9028ae4284eSSunny Luo					mux {
9038ae4284eSSunny Luo						groups = "spi1_ss0_a";
9048ae4284eSSunny Luo						function = "spi1";
9058ae4284eSSunny Luo					};
9068ae4284eSSunny Luo				};
9078ae4284eSSunny Luo
9088ae4284eSSunny Luo				spi1_ss1_pins: spi1_ss1 {
9098ae4284eSSunny Luo					mux {
9108ae4284eSSunny Luo						groups = "spi1_ss1";
9118ae4284eSSunny Luo						function = "spi1";
9128ae4284eSSunny Luo					};
9138ae4284eSSunny Luo				};
9148ae4284eSSunny Luo
9158ae4284eSSunny Luo				spi1_x_pins: spi1_x {
9168ae4284eSSunny Luo					mux {
9178ae4284eSSunny Luo						groups = "spi1_miso_x",
9188ae4284eSSunny Luo							"spi1_mosi_x",
9198ae4284eSSunny Luo							"spi1_clk_x";
9208ae4284eSSunny Luo						function = "spi1";
9218ae4284eSSunny Luo					};
9228ae4284eSSunny Luo				};
9238ae4284eSSunny Luo
9248ae4284eSSunny Luo				spi1_ss0_x_pins: spi1_ss0_x {
9258ae4284eSSunny Luo					mux {
9268ae4284eSSunny Luo						groups = "spi1_ss0_x";
9278ae4284eSSunny Luo						function = "spi1";
9288ae4284eSSunny Luo					};
9298ae4284eSSunny Luo				};
9308a7669a5SJian Hu
9318a7669a5SJian Hu				i2c0_pins: i2c0 {
9328a7669a5SJian Hu					mux {
9338a7669a5SJian Hu						groups = "i2c0_sck",
9348a7669a5SJian Hu							"i2c0_sda";
9358a7669a5SJian Hu						function = "i2c0";
9368a7669a5SJian Hu					};
9378a7669a5SJian Hu				};
9388a7669a5SJian Hu
9398a7669a5SJian Hu				i2c1_z_pins: i2c1_z {
9408a7669a5SJian Hu					mux {
9418a7669a5SJian Hu						groups = "i2c1_sck_z",
9428a7669a5SJian Hu							"i2c1_sda_z";
9438a7669a5SJian Hu						function = "i2c1";
9448a7669a5SJian Hu					};
9458a7669a5SJian Hu				};
9468a7669a5SJian Hu
9478a7669a5SJian Hu				i2c1_x_pins: i2c1_x {
9488a7669a5SJian Hu					mux {
9498a7669a5SJian Hu						groups = "i2c1_sck_x",
9508a7669a5SJian Hu							"i2c1_sda_x";
9518a7669a5SJian Hu						function = "i2c1";
9528a7669a5SJian Hu					};
9538a7669a5SJian Hu				};
9548a7669a5SJian Hu
9558a7669a5SJian Hu				i2c2_x_pins: i2c2_x {
9568a7669a5SJian Hu					mux {
9578a7669a5SJian Hu						groups = "i2c2_sck_x",
9588a7669a5SJian Hu							"i2c2_sda_x";
9598a7669a5SJian Hu						function = "i2c2";
9608a7669a5SJian Hu					};
9618a7669a5SJian Hu				};
9628a7669a5SJian Hu
9638a7669a5SJian Hu				i2c2_a_pins: i2c2_a {
9648a7669a5SJian Hu					mux {
9658a7669a5SJian Hu						groups = "i2c2_sck_a",
9668a7669a5SJian Hu							"i2c2_sda_a";
9678a7669a5SJian Hu						function = "i2c2";
9688a7669a5SJian Hu					};
9698a7669a5SJian Hu				};
9708a7669a5SJian Hu
9718a7669a5SJian Hu				i2c3_a6_pins: i2c3_a6 {
9728a7669a5SJian Hu					mux {
9738a7669a5SJian Hu						groups = "i2c3_sda_a6",
9748a7669a5SJian Hu							"i2c3_sck_a7";
9758a7669a5SJian Hu						function = "i2c3";
9768a7669a5SJian Hu					};
9778a7669a5SJian Hu				};
9788a7669a5SJian Hu
9798a7669a5SJian Hu				i2c3_a12_pins: i2c3_a12 {
9808a7669a5SJian Hu					mux {
9818a7669a5SJian Hu						groups = "i2c3_sda_a12",
9828a7669a5SJian Hu							"i2c3_sck_a13";
9838a7669a5SJian Hu						function = "i2c3";
9848a7669a5SJian Hu					};
9858a7669a5SJian Hu				};
9868a7669a5SJian Hu
9878a7669a5SJian Hu				i2c3_a19_pins: i2c3_a19 {
9888a7669a5SJian Hu					mux {
9898a7669a5SJian Hu						groups = "i2c3_sda_a19",
9908a7669a5SJian Hu							"i2c3_sck_a20";
9918a7669a5SJian Hu						function = "i2c3";
9928a7669a5SJian Hu					};
9938a7669a5SJian Hu				};
9944eae66a6SYixun Lan
9954eae66a6SYixun Lan				uart_a_pins: uart_a {
9964eae66a6SYixun Lan					mux {
9974eae66a6SYixun Lan						groups = "uart_tx_a",
9984eae66a6SYixun Lan							"uart_rx_a";
9994eae66a6SYixun Lan						function = "uart_a";
10004eae66a6SYixun Lan					};
10014eae66a6SYixun Lan				};
10024eae66a6SYixun Lan
10034eae66a6SYixun Lan				uart_a_cts_rts_pins: uart_a_cts_rts {
10044eae66a6SYixun Lan					mux {
10054eae66a6SYixun Lan						groups = "uart_cts_a",
10064eae66a6SYixun Lan							"uart_rts_a";
10074eae66a6SYixun Lan						function = "uart_a";
10084eae66a6SYixun Lan					};
10094eae66a6SYixun Lan				};
10104eae66a6SYixun Lan
10114eae66a6SYixun Lan				uart_b_x_pins: uart_b_x {
10124eae66a6SYixun Lan					mux {
10134eae66a6SYixun Lan						groups = "uart_tx_b_x",
10144eae66a6SYixun Lan							"uart_rx_b_x";
10154eae66a6SYixun Lan						function = "uart_b";
10164eae66a6SYixun Lan					};
10174eae66a6SYixun Lan				};
10184eae66a6SYixun Lan
10194eae66a6SYixun Lan				uart_b_x_cts_rts_pins: uart_b_x_cts_rts {
10204eae66a6SYixun Lan					mux {
10214eae66a6SYixun Lan						groups = "uart_cts_b_x",
10224eae66a6SYixun Lan							"uart_rts_b_x";
10234eae66a6SYixun Lan						function = "uart_b";
10244eae66a6SYixun Lan					};
10254eae66a6SYixun Lan				};
10264eae66a6SYixun Lan
10274eae66a6SYixun Lan				uart_b_z_pins: uart_b_z {
10284eae66a6SYixun Lan					mux {
10294eae66a6SYixun Lan						groups = "uart_tx_b_z",
10304eae66a6SYixun Lan							"uart_rx_b_z";
10314eae66a6SYixun Lan						function = "uart_b";
10324eae66a6SYixun Lan					};
10334eae66a6SYixun Lan				};
10344eae66a6SYixun Lan
10354eae66a6SYixun Lan				uart_b_z_cts_rts_pins: uart_b_z_cts_rts {
10364eae66a6SYixun Lan					mux {
10374eae66a6SYixun Lan						groups = "uart_cts_b_z",
10384eae66a6SYixun Lan							"uart_rts_b_z";
10394eae66a6SYixun Lan						function = "uart_b";
10404eae66a6SYixun Lan					};
10414eae66a6SYixun Lan				};
10424eae66a6SYixun Lan
10434eae66a6SYixun Lan				uart_ao_b_z_pins: uart_ao_b_z {
10444eae66a6SYixun Lan					mux {
10454eae66a6SYixun Lan						groups = "uart_ao_tx_b_z",
10464eae66a6SYixun Lan							"uart_ao_rx_b_z";
10474eae66a6SYixun Lan						function = "uart_ao_b_z";
10484eae66a6SYixun Lan					};
10494eae66a6SYixun Lan				};
10504eae66a6SYixun Lan
10514eae66a6SYixun Lan				uart_ao_b_z_cts_rts_pins: uart_ao_b_z_cts_rts {
10524eae66a6SYixun Lan					mux {
10534eae66a6SYixun Lan						groups = "uart_ao_cts_b_z",
10544eae66a6SYixun Lan							"uart_ao_rts_b_z";
10554eae66a6SYixun Lan						function = "uart_ao_b_z";
10564eae66a6SYixun Lan					};
10574eae66a6SYixun Lan				};
10580df8fbb9SJerome Brunet
10590df8fbb9SJerome Brunet				mclk_b_pins: mclk_b {
10600df8fbb9SJerome Brunet					mux {
10610df8fbb9SJerome Brunet						groups = "mclk_b";
10620df8fbb9SJerome Brunet						function = "mclk_b";
10630df8fbb9SJerome Brunet					};
10640df8fbb9SJerome Brunet				};
10650df8fbb9SJerome Brunet
10660df8fbb9SJerome Brunet				mclk_c_pins: mclk_c {
10670df8fbb9SJerome Brunet					mux {
10680df8fbb9SJerome Brunet						groups = "mclk_c";
10690df8fbb9SJerome Brunet						function = "mclk_c";
10700df8fbb9SJerome Brunet					};
10710df8fbb9SJerome Brunet				};
10720df8fbb9SJerome Brunet
10730df8fbb9SJerome Brunet				tdma_sclk_pins: tdma_sclk {
10740df8fbb9SJerome Brunet					mux {
10750df8fbb9SJerome Brunet						groups = "tdma_sclk";
10760df8fbb9SJerome Brunet						function = "tdma";
10770df8fbb9SJerome Brunet					};
10780df8fbb9SJerome Brunet				};
10790df8fbb9SJerome Brunet
10800df8fbb9SJerome Brunet				tdma_sclk_slv_pins: tdma_sclk_slv {
10810df8fbb9SJerome Brunet					mux {
10820df8fbb9SJerome Brunet						groups = "tdma_sclk_slv";
10830df8fbb9SJerome Brunet						function = "tdma";
10840df8fbb9SJerome Brunet					};
10850df8fbb9SJerome Brunet				};
10860df8fbb9SJerome Brunet
10870df8fbb9SJerome Brunet				tdma_fs_pins: tdma_fs {
10880df8fbb9SJerome Brunet					mux {
10890df8fbb9SJerome Brunet						groups = "tdma_fs";
10900df8fbb9SJerome Brunet						function = "tdma";
10910df8fbb9SJerome Brunet					};
10920df8fbb9SJerome Brunet				};
10930df8fbb9SJerome Brunet
10940df8fbb9SJerome Brunet				tdma_fs_slv_pins: tdma_fs_slv {
10950df8fbb9SJerome Brunet					mux {
10960df8fbb9SJerome Brunet						groups = "tdma_fs_slv";
10970df8fbb9SJerome Brunet						function = "tdma";
10980df8fbb9SJerome Brunet					};
10990df8fbb9SJerome Brunet				};
11000df8fbb9SJerome Brunet
11010df8fbb9SJerome Brunet				tdma_din0_pins: tdma_din0 {
11020df8fbb9SJerome Brunet					mux {
11030df8fbb9SJerome Brunet						groups = "tdma_din0";
11040df8fbb9SJerome Brunet						function = "tdma";
11050df8fbb9SJerome Brunet					};
11060df8fbb9SJerome Brunet				};
11070df8fbb9SJerome Brunet
11080df8fbb9SJerome Brunet				tdma_dout0_x14_pins: tdma_dout0_x14 {
11090df8fbb9SJerome Brunet					mux {
11100df8fbb9SJerome Brunet						groups = "tdma_dout0_x14";
11110df8fbb9SJerome Brunet						function = "tdma";
11120df8fbb9SJerome Brunet					};
11130df8fbb9SJerome Brunet				};
11140df8fbb9SJerome Brunet
11150df8fbb9SJerome Brunet				tdma_dout0_x15_pins: tdma_dout0_x15 {
11160df8fbb9SJerome Brunet					mux {
11170df8fbb9SJerome Brunet						groups = "tdma_dout0_x15";
11180df8fbb9SJerome Brunet						function = "tdma";
11190df8fbb9SJerome Brunet					};
11200df8fbb9SJerome Brunet				};
11210df8fbb9SJerome Brunet
11220df8fbb9SJerome Brunet				tdma_dout1_pins: tdma_dout1 {
11230df8fbb9SJerome Brunet					mux {
11240df8fbb9SJerome Brunet						groups = "tdma_dout1";
11250df8fbb9SJerome Brunet						function = "tdma";
11260df8fbb9SJerome Brunet					};
11270df8fbb9SJerome Brunet				};
11280df8fbb9SJerome Brunet
11290df8fbb9SJerome Brunet				tdma_din1_pins: tdma_din1 {
11300df8fbb9SJerome Brunet					mux {
11310df8fbb9SJerome Brunet						groups = "tdma_din1";
11320df8fbb9SJerome Brunet						function = "tdma";
11330df8fbb9SJerome Brunet					};
11340df8fbb9SJerome Brunet				};
11350df8fbb9SJerome Brunet
11360df8fbb9SJerome Brunet				tdmb_sclk_pins: tdmb_sclk {
11370df8fbb9SJerome Brunet					mux {
11380df8fbb9SJerome Brunet						groups = "tdmb_sclk";
11390df8fbb9SJerome Brunet						function = "tdmb";
11400df8fbb9SJerome Brunet					};
11410df8fbb9SJerome Brunet				};
11420df8fbb9SJerome Brunet
11430df8fbb9SJerome Brunet				tdmb_sclk_slv_pins: tdmb_sclk_slv {
11440df8fbb9SJerome Brunet					mux {
11450df8fbb9SJerome Brunet						groups = "tdmb_sclk_slv";
11460df8fbb9SJerome Brunet						function = "tdmb";
11470df8fbb9SJerome Brunet					};
11480df8fbb9SJerome Brunet				};
11490df8fbb9SJerome Brunet
11500df8fbb9SJerome Brunet				tdmb_fs_pins: tdmb_fs {
11510df8fbb9SJerome Brunet					mux {
11520df8fbb9SJerome Brunet						groups = "tdmb_fs";
11530df8fbb9SJerome Brunet						function = "tdmb";
11540df8fbb9SJerome Brunet					};
11550df8fbb9SJerome Brunet				};
11560df8fbb9SJerome Brunet
11570df8fbb9SJerome Brunet				tdmb_fs_slv_pins: tdmb_fs_slv {
11580df8fbb9SJerome Brunet					mux {
11590df8fbb9SJerome Brunet						groups = "tdmb_fs_slv";
11600df8fbb9SJerome Brunet						function = "tdmb";
11610df8fbb9SJerome Brunet					};
11620df8fbb9SJerome Brunet				};
11630df8fbb9SJerome Brunet
11640df8fbb9SJerome Brunet				tdmb_din0_pins: tdmb_din0 {
11650df8fbb9SJerome Brunet					mux {
11660df8fbb9SJerome Brunet						groups = "tdmb_din0";
11670df8fbb9SJerome Brunet						function = "tdmb";
11680df8fbb9SJerome Brunet					};
11690df8fbb9SJerome Brunet				};
11700df8fbb9SJerome Brunet
11710df8fbb9SJerome Brunet				tdmb_dout0_pins: tdmb_dout0 {
11720df8fbb9SJerome Brunet					mux {
11730df8fbb9SJerome Brunet						groups = "tdmb_dout0";
11740df8fbb9SJerome Brunet						function = "tdmb";
11750df8fbb9SJerome Brunet					};
11760df8fbb9SJerome Brunet				};
11770df8fbb9SJerome Brunet
11780df8fbb9SJerome Brunet				tdmb_din1_pins: tdmb_din1 {
11790df8fbb9SJerome Brunet					mux {
11800df8fbb9SJerome Brunet						groups = "tdmb_din1";
11810df8fbb9SJerome Brunet						function = "tdmb";
11820df8fbb9SJerome Brunet					};
11830df8fbb9SJerome Brunet				};
11840df8fbb9SJerome Brunet
11850df8fbb9SJerome Brunet				tdmb_dout1_pins: tdmb_dout1 {
11860df8fbb9SJerome Brunet					mux {
11870df8fbb9SJerome Brunet						groups = "tdmb_dout1";
11880df8fbb9SJerome Brunet						function = "tdmb";
11890df8fbb9SJerome Brunet					};
11900df8fbb9SJerome Brunet				};
11910df8fbb9SJerome Brunet
11920df8fbb9SJerome Brunet				tdmb_din2_pins: tdmb_din2 {
11930df8fbb9SJerome Brunet					mux {
11940df8fbb9SJerome Brunet						groups = "tdmb_din2";
11950df8fbb9SJerome Brunet						function = "tdmb";
11960df8fbb9SJerome Brunet					};
11970df8fbb9SJerome Brunet				};
11980df8fbb9SJerome Brunet
11990df8fbb9SJerome Brunet				tdmb_dout2_pins: tdmb_dout2 {
12000df8fbb9SJerome Brunet					mux {
12010df8fbb9SJerome Brunet						groups = "tdmb_dout2";
12020df8fbb9SJerome Brunet						function = "tdmb";
12030df8fbb9SJerome Brunet					};
12040df8fbb9SJerome Brunet				};
12050df8fbb9SJerome Brunet
12060df8fbb9SJerome Brunet				tdmb_din3_pins: tdmb_din3 {
12070df8fbb9SJerome Brunet					mux {
12080df8fbb9SJerome Brunet						groups = "tdmb_din3";
12090df8fbb9SJerome Brunet						function = "tdmb";
12100df8fbb9SJerome Brunet					};
12110df8fbb9SJerome Brunet				};
12120df8fbb9SJerome Brunet
12130df8fbb9SJerome Brunet				tdmb_dout3_pins: tdmb_dout3 {
12140df8fbb9SJerome Brunet					mux {
12150df8fbb9SJerome Brunet						groups = "tdmb_dout3";
12160df8fbb9SJerome Brunet						function = "tdmb";
12170df8fbb9SJerome Brunet					};
12180df8fbb9SJerome Brunet				};
12190df8fbb9SJerome Brunet
12200df8fbb9SJerome Brunet				tdmc_sclk_pins: tdmc_sclk {
12210df8fbb9SJerome Brunet					mux {
12220df8fbb9SJerome Brunet						groups = "tdmc_sclk";
12230df8fbb9SJerome Brunet						function = "tdmc";
12240df8fbb9SJerome Brunet					};
12250df8fbb9SJerome Brunet				};
12260df8fbb9SJerome Brunet
12270df8fbb9SJerome Brunet				tdmc_sclk_slv_pins: tdmc_sclk_slv {
12280df8fbb9SJerome Brunet					mux {
12290df8fbb9SJerome Brunet						groups = "tdmc_sclk_slv";
12300df8fbb9SJerome Brunet						function = "tdmc";
12310df8fbb9SJerome Brunet					};
12320df8fbb9SJerome Brunet				};
12330df8fbb9SJerome Brunet
12340df8fbb9SJerome Brunet				tdmc_fs_pins: tdmc_fs {
12350df8fbb9SJerome Brunet					mux {
12360df8fbb9SJerome Brunet						groups = "tdmc_fs";
12370df8fbb9SJerome Brunet						function = "tdmc";
12380df8fbb9SJerome Brunet					};
12390df8fbb9SJerome Brunet				};
12400df8fbb9SJerome Brunet
12410df8fbb9SJerome Brunet				tdmc_fs_slv_pins: tdmc_fs_slv {
12420df8fbb9SJerome Brunet					mux {
12430df8fbb9SJerome Brunet						groups = "tdmc_fs_slv";
12440df8fbb9SJerome Brunet						function = "tdmc";
12450df8fbb9SJerome Brunet					};
12460df8fbb9SJerome Brunet				};
12470df8fbb9SJerome Brunet
12480df8fbb9SJerome Brunet				tdmc_din0_pins: tdmc_din0 {
12490df8fbb9SJerome Brunet					mux {
12500df8fbb9SJerome Brunet						groups = "tdmc_din0";
12510df8fbb9SJerome Brunet						function = "tdmc";
12520df8fbb9SJerome Brunet					};
12530df8fbb9SJerome Brunet				};
12540df8fbb9SJerome Brunet
12550df8fbb9SJerome Brunet				tdmc_dout0_pins: tdmc_dout0 {
12560df8fbb9SJerome Brunet					mux {
12570df8fbb9SJerome Brunet						groups = "tdmc_dout0";
12580df8fbb9SJerome Brunet						function = "tdmc";
12590df8fbb9SJerome Brunet					};
12600df8fbb9SJerome Brunet				};
12610df8fbb9SJerome Brunet
12620df8fbb9SJerome Brunet				tdmc_din1_pins: tdmc_din1 {
12630df8fbb9SJerome Brunet					mux {
12640df8fbb9SJerome Brunet						groups = "tdmc_din1";
12650df8fbb9SJerome Brunet						function = "tdmc";
12660df8fbb9SJerome Brunet					};
12670df8fbb9SJerome Brunet				};
12680df8fbb9SJerome Brunet
12690df8fbb9SJerome Brunet				tdmc_dout1_pins: tdmc_dout1 {
12700df8fbb9SJerome Brunet					mux {
12710df8fbb9SJerome Brunet						groups = "tdmc_dout1";
12720df8fbb9SJerome Brunet						function = "tdmc";
12730df8fbb9SJerome Brunet					};
12740df8fbb9SJerome Brunet				};
12750df8fbb9SJerome Brunet
12760df8fbb9SJerome Brunet				tdmc_din2_pins: tdmc_din2 {
12770df8fbb9SJerome Brunet					mux {
12780df8fbb9SJerome Brunet						groups = "tdmc_din2";
12790df8fbb9SJerome Brunet						function = "tdmc";
12800df8fbb9SJerome Brunet					};
12810df8fbb9SJerome Brunet				};
12820df8fbb9SJerome Brunet
12830df8fbb9SJerome Brunet				tdmc_dout2_pins: tdmc_dout2 {
12840df8fbb9SJerome Brunet					mux {
12850df8fbb9SJerome Brunet						groups = "tdmc_dout2";
12860df8fbb9SJerome Brunet						function = "tdmc";
12870df8fbb9SJerome Brunet					};
12880df8fbb9SJerome Brunet				};
12890df8fbb9SJerome Brunet
12900df8fbb9SJerome Brunet				tdmc_din3_pins: tdmc_din3 {
12910df8fbb9SJerome Brunet					mux {
12920df8fbb9SJerome Brunet						groups = "tdmc_din3";
12930df8fbb9SJerome Brunet						function = "tdmc";
12940df8fbb9SJerome Brunet					};
12950df8fbb9SJerome Brunet				};
12960df8fbb9SJerome Brunet
12970df8fbb9SJerome Brunet				tdmc_dout3_pins: tdmc_dout3 {
12980df8fbb9SJerome Brunet					mux {
12990df8fbb9SJerome Brunet						groups = "tdmc_dout3";
13000df8fbb9SJerome Brunet						function = "tdmc";
13010df8fbb9SJerome Brunet					};
13020df8fbb9SJerome Brunet				};
1303de05ded6SXingyu Chen			};
1304de05ded6SXingyu Chen		};
1305de05ded6SXingyu Chen
13069d59b708SYixun Lan		sram: sram@fffc0000 {
13079d59b708SYixun Lan			compatible = "amlogic,meson-axg-sram", "mmio-sram";
13089d59b708SYixun Lan			reg = <0x0 0xfffc0000 0x0 0x20000>;
13099d59b708SYixun Lan			#address-cells = <1>;
13109d59b708SYixun Lan			#size-cells = <1>;
13119d59b708SYixun Lan			ranges = <0 0x0 0xfffc0000 0x20000>;
13129d59b708SYixun Lan
13139d59b708SYixun Lan			cpu_scp_lpri: scp-shmem@0 {
13149d59b708SYixun Lan				compatible = "amlogic,meson-axg-scp-shmem";
13159d59b708SYixun Lan				reg = <0x13000 0x400>;
13169d59b708SYixun Lan			};
13179d59b708SYixun Lan
13189d59b708SYixun Lan			cpu_scp_hpri: scp-shmem@200 {
13199d59b708SYixun Lan				compatible = "amlogic,meson-axg-scp-shmem";
13209d59b708SYixun Lan				reg = <0x13400 0x400>;
13219d59b708SYixun Lan			};
13229d59b708SYixun Lan		};
13239d59b708SYixun Lan
13240cb6c604SKevin Hilman		aobus: bus@ff800000 {
13259d59b708SYixun Lan			compatible = "simple-bus";
13269d59b708SYixun Lan			reg = <0x0 0xff800000 0x0 0x100000>;
13279d59b708SYixun Lan			#address-cells = <2>;
13289d59b708SYixun Lan			#size-cells = <2>;
13299d59b708SYixun Lan			ranges = <0x0 0x0 0x0 0xff800000 0x0 0x100000>;
13309d59b708SYixun Lan
1331e03421ecSQiufang Dai			sysctrl_AO: sys-ctrl@0 {
1332e03421ecSQiufang Dai				compatible = "amlogic,meson-axg-ao-sysctrl", "syscon", "simple-mfd";
1333e03421ecSQiufang Dai				reg =  <0x0 0x0 0x0 0x100>;
1334e03421ecSQiufang Dai
1335e03421ecSQiufang Dai				clkc_AO: clock-controller {
1336e03421ecSQiufang Dai					compatible = "amlogic,meson-axg-aoclkc";
1337e03421ecSQiufang Dai					#clock-cells = <1>;
1338e03421ecSQiufang Dai					#reset-cells = <1>;
1339e03421ecSQiufang Dai				};
1340e03421ecSQiufang Dai			};
1341e03421ecSQiufang Dai
1342de05ded6SXingyu Chen			pinctrl_aobus: pinctrl@14 {
1343de05ded6SXingyu Chen				compatible = "amlogic,meson-axg-aobus-pinctrl";
1344de05ded6SXingyu Chen				#address-cells = <2>;
1345de05ded6SXingyu Chen				#size-cells = <2>;
1346de05ded6SXingyu Chen				ranges;
1347de05ded6SXingyu Chen
1348de05ded6SXingyu Chen				gpio_ao: bank@14 {
1349de05ded6SXingyu Chen					reg = <0x0 0x00014 0x0 0x8>,
1350de05ded6SXingyu Chen						<0x0 0x0002c 0x0 0x4>,
1351de05ded6SXingyu Chen						<0x0 0x00024 0x0 0x8>;
1352de05ded6SXingyu Chen					reg-names = "mux", "pull", "gpio";
1353de05ded6SXingyu Chen					gpio-controller;
1354de05ded6SXingyu Chen					#gpio-cells = <2>;
1355de05ded6SXingyu Chen					gpio-ranges = <&pinctrl_aobus 0 0 15>;
1356de05ded6SXingyu Chen				};
13577bd46a79SYixun Lan
1358c054b6c2SJerome Brunet				i2c_ao_sck_4_pins: i2c_ao_sck_4 {
1359c054b6c2SJerome Brunet					mux {
1360c054b6c2SJerome Brunet						groups = "i2c_ao_sck_4";
1361c054b6c2SJerome Brunet						function = "i2c_ao";
1362c054b6c2SJerome Brunet					};
1363c054b6c2SJerome Brunet				};
1364c054b6c2SJerome Brunet
1365c054b6c2SJerome Brunet				i2c_ao_sck_8_pins: i2c_ao_sck_8 {
1366c054b6c2SJerome Brunet					mux {
1367c054b6c2SJerome Brunet						groups = "i2c_ao_sck_8";
1368c054b6c2SJerome Brunet						function = "i2c_ao";
1369c054b6c2SJerome Brunet					};
1370c054b6c2SJerome Brunet				};
1371c054b6c2SJerome Brunet
1372c054b6c2SJerome Brunet				i2c_ao_sck_10_pins: i2c_ao_sck_10 {
1373c054b6c2SJerome Brunet					mux {
1374c054b6c2SJerome Brunet						groups = "i2c_ao_sck_10";
1375c054b6c2SJerome Brunet						function = "i2c_ao";
1376c054b6c2SJerome Brunet					};
1377c054b6c2SJerome Brunet				};
1378c054b6c2SJerome Brunet
1379c054b6c2SJerome Brunet				i2c_ao_sda_5_pins: i2c_ao_sda_5 {
1380c054b6c2SJerome Brunet					mux {
1381c054b6c2SJerome Brunet						groups = "i2c_ao_sda_5";
1382c054b6c2SJerome Brunet						function = "i2c_ao";
1383c054b6c2SJerome Brunet					};
1384c054b6c2SJerome Brunet				};
1385c054b6c2SJerome Brunet
1386c054b6c2SJerome Brunet				i2c_ao_sda_9_pins: i2c_ao_sda_9 {
1387c054b6c2SJerome Brunet					mux {
1388c054b6c2SJerome Brunet						groups = "i2c_ao_sda_9";
1389c054b6c2SJerome Brunet						function = "i2c_ao";
1390c054b6c2SJerome Brunet					};
1391c054b6c2SJerome Brunet				};
1392c054b6c2SJerome Brunet
1393c054b6c2SJerome Brunet				i2c_ao_sda_11_pins: i2c_ao_sda_11 {
1394c054b6c2SJerome Brunet					mux {
1395c054b6c2SJerome Brunet						groups = "i2c_ao_sda_11";
1396c054b6c2SJerome Brunet						function = "i2c_ao";
1397c054b6c2SJerome Brunet					};
1398c054b6c2SJerome Brunet				};
1399c054b6c2SJerome Brunet
14007bd46a79SYixun Lan				remote_input_ao_pins: remote_input_ao {
14017bd46a79SYixun Lan					mux {
14027bd46a79SYixun Lan						groups = "remote_input_ao";
14037bd46a79SYixun Lan						function = "remote_input_ao";
14047bd46a79SYixun Lan					};
14057bd46a79SYixun Lan				};
14064eae66a6SYixun Lan
14074eae66a6SYixun Lan				uart_ao_a_pins: uart_ao_a {
14084eae66a6SYixun Lan					mux {
14094eae66a6SYixun Lan						groups = "uart_ao_tx_a",
14104eae66a6SYixun Lan							"uart_ao_rx_a";
14114eae66a6SYixun Lan						function = "uart_ao_a";
14124eae66a6SYixun Lan					};
14134eae66a6SYixun Lan				};
14144eae66a6SYixun Lan
14154eae66a6SYixun Lan				uart_ao_a_cts_rts_pins: uart_ao_a_cts_rts {
14164eae66a6SYixun Lan					mux {
14174eae66a6SYixun Lan						groups = "uart_ao_cts_a",
14184eae66a6SYixun Lan							"uart_ao_rts_a";
14194eae66a6SYixun Lan						function = "uart_ao_a";
14204eae66a6SYixun Lan					};
14214eae66a6SYixun Lan				};
14224eae66a6SYixun Lan
14234eae66a6SYixun Lan				uart_ao_b_pins: uart_ao_b {
14244eae66a6SYixun Lan					mux {
14254eae66a6SYixun Lan						groups = "uart_ao_tx_b",
14264eae66a6SYixun Lan							"uart_ao_rx_b";
14274eae66a6SYixun Lan						function = "uart_ao_b";
14284eae66a6SYixun Lan					};
14294eae66a6SYixun Lan				};
14304eae66a6SYixun Lan
14314eae66a6SYixun Lan				uart_ao_b_cts_rts_pins: uart_ao_b_cts_rts {
14324eae66a6SYixun Lan					mux {
14334eae66a6SYixun Lan						groups = "uart_ao_cts_b",
14344eae66a6SYixun Lan							"uart_ao_rts_b";
14354eae66a6SYixun Lan						function = "uart_ao_b";
14364eae66a6SYixun Lan					};
14374eae66a6SYixun Lan				};
1438de05ded6SXingyu Chen			};
1439de05ded6SXingyu Chen
1440a04c18cbSJerome Brunet			sec_AO: ao-secure@140 {
1441a04c18cbSJerome Brunet				compatible = "amlogic,meson-gx-ao-secure", "syscon";
1442a04c18cbSJerome Brunet				reg = <0x0 0x140 0x0 0x140>;
1443a04c18cbSJerome Brunet				amlogic,has-chip-id;
1444a04c18cbSJerome Brunet			};
1445a04c18cbSJerome Brunet
14464a81e5ddSJian Hu			pwm_AO_ab: pwm@7000 {
14474a81e5ddSJian Hu				compatible = "amlogic,meson-axg-ao-pwm";
14484a81e5ddSJian Hu				reg = <0x0 0x07000 0x0 0x20>;
14494a81e5ddSJian Hu				#pwm-cells = <3>;
14504a81e5ddSJian Hu				status = "disabled";
14514a81e5ddSJian Hu			};
14524a81e5ddSJian Hu
14534a81e5ddSJian Hu			pwm_AO_cd: pwm@2000 {
1454b4ff05caSJerome Brunet				compatible = "amlogic,meson-axg-ao-pwm";
14554a81e5ddSJian Hu				reg = <0x0 0x02000  0x0 0x20>;
14564a81e5ddSJian Hu				#pwm-cells = <3>;
14574a81e5ddSJian Hu				status = "disabled";
14584a81e5ddSJian Hu			};
14594a81e5ddSJian Hu
1460dc6f858eSJian Hu			i2c_AO: i2c@5000 {
1461dc6f858eSJian Hu				compatible = "amlogic,meson-axg-i2c";
1462dc6f858eSJian Hu				reg = <0x0 0x05000 0x0 0x20>;
1463dc6f858eSJian Hu				interrupts = <GIC_SPI 195 IRQ_TYPE_EDGE_RISING>;
146409eeaf44SJerome Brunet				clocks = <&clkc CLKID_AO_I2C>;
1465dc6f858eSJian Hu				#address-cells = <1>;
1466dc6f858eSJian Hu				#size-cells = <0>;
14672b6ff972SJerome Brunet				status = "disabled";
1468dc6f858eSJian Hu			};
1469dc6f858eSJian Hu
14709d59b708SYixun Lan			uart_AO: serial@3000 {
14719d59b708SYixun Lan				compatible = "amlogic,meson-gx-uart", "amlogic,meson-ao-uart";
14729d59b708SYixun Lan				reg = <0x0 0x3000 0x0 0x18>;
14739d59b708SYixun Lan				interrupts = <GIC_SPI 193 IRQ_TYPE_EDGE_RISING>;
14749adda353SYixun Lan				clocks = <&xtal>, <&clkc_AO CLKID_AO_UART1>, <&xtal>;
14759d59b708SYixun Lan				clock-names = "xtal", "pclk", "baud";
14769d59b708SYixun Lan				status = "disabled";
14779d59b708SYixun Lan			};
14789d59b708SYixun Lan
14799d59b708SYixun Lan			uart_AO_B: serial@4000 {
14809d59b708SYixun Lan				compatible = "amlogic,meson-gx-uart", "amlogic,meson-ao-uart";
14819d59b708SYixun Lan				reg = <0x0 0x4000 0x0 0x18>;
14829d59b708SYixun Lan				interrupts = <GIC_SPI 197 IRQ_TYPE_EDGE_RISING>;
14839adda353SYixun Lan				clocks = <&xtal>, <&clkc_AO CLKID_AO_UART2>, <&xtal>;
14849d59b708SYixun Lan				clock-names = "xtal", "pclk", "baud";
14859d59b708SYixun Lan				status = "disabled";
14869d59b708SYixun Lan			};
14877bd46a79SYixun Lan
14887bd46a79SYixun Lan			ir: ir@8000 {
14897bd46a79SYixun Lan				compatible = "amlogic,meson-gxbb-ir";
14907bd46a79SYixun Lan				reg = <0x0 0x8000 0x0 0x20>;
14917bd46a79SYixun Lan				interrupts = <GIC_SPI 196 IRQ_TYPE_EDGE_RISING>;
14927bd46a79SYixun Lan				status = "disabled";
14937bd46a79SYixun Lan			};
1494a51b74eaSXingyu Chen
1495a51b74eaSXingyu Chen			saradc: adc@9000 {
1496a51b74eaSXingyu Chen				compatible = "amlogic,meson-axg-saradc",
1497a51b74eaSXingyu Chen					"amlogic,meson-saradc";
1498a51b74eaSXingyu Chen				reg = <0x0 0x9000 0x0 0x38>;
1499a51b74eaSXingyu Chen				#io-channel-cells = <1>;
1500a51b74eaSXingyu Chen				interrupts = <GIC_SPI 73 IRQ_TYPE_EDGE_RISING>;
1501a51b74eaSXingyu Chen				clocks = <&xtal>,
1502a51b74eaSXingyu Chen					<&clkc_AO CLKID_AO_SAR_ADC>,
1503a51b74eaSXingyu Chen					<&clkc_AO CLKID_AO_SAR_ADC_CLK>,
1504a51b74eaSXingyu Chen					<&clkc_AO CLKID_AO_SAR_ADC_SEL>;
1505a51b74eaSXingyu Chen				clock-names = "clkin", "core", "adc_clk", "adc_sel";
1506a51b74eaSXingyu Chen				status = "disabled";
1507a51b74eaSXingyu Chen			};
15089d59b708SYixun Lan		};
15099d59b708SYixun Lan	};
15109d59b708SYixun Lan};
1511