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
959d59b708SYixun Lan	timer {
969d59b708SYixun Lan		compatible = "arm,armv8-timer";
979d59b708SYixun Lan		interrupts = <GIC_PPI 13
989d59b708SYixun Lan			(GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>,
999d59b708SYixun Lan			     <GIC_PPI 14
1009d59b708SYixun Lan			(GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>,
1019d59b708SYixun Lan			     <GIC_PPI 11
1029d59b708SYixun Lan			(GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>,
1039d59b708SYixun Lan			     <GIC_PPI 10
1049d59b708SYixun Lan			(GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>;
1059d59b708SYixun Lan	};
1069d59b708SYixun Lan
1079d59b708SYixun Lan	xtal: xtal-clk {
1089d59b708SYixun Lan		compatible = "fixed-clock";
1099d59b708SYixun Lan		clock-frequency = <24000000>;
1109d59b708SYixun Lan		clock-output-names = "xtal";
1119d59b708SYixun Lan		#clock-cells = <0>;
1129d59b708SYixun Lan	};
1139d59b708SYixun Lan
1145e395e14SYixun Lan	ao_alt_xtal: ao_alt_xtal-clk {
1155e395e14SYixun Lan		compatible = "fixed-clock";
1165e395e14SYixun Lan		clock-frequency = <32000000>;
1175e395e14SYixun Lan		clock-output-names = "ao_alt_xtal";
1185e395e14SYixun Lan		#clock-cells = <0>;
1195e395e14SYixun Lan	};
1205e395e14SYixun Lan
1219d59b708SYixun Lan	soc {
1229d59b708SYixun Lan		compatible = "simple-bus";
1239d59b708SYixun Lan		#address-cells = <2>;
1249d59b708SYixun Lan		#size-cells = <2>;
1259d59b708SYixun Lan		ranges;
1269d59b708SYixun Lan
127221cf34bSNan Li		apb: apb@ffe00000 {
128221cf34bSNan Li			compatible = "simple-bus";
129221cf34bSNan Li			reg = <0x0 0xffe00000 0x0 0x200000>;
130221cf34bSNan Li			#address-cells = <2>;
131221cf34bSNan Li			#size-cells = <2>;
132221cf34bSNan Li			ranges = <0x0 0x0 0x0 0xffe00000 0x0 0x200000>;
133221cf34bSNan Li
134221cf34bSNan Li			sd_emmc_b: sd@5000 {
135221cf34bSNan Li				compatible = "amlogic,meson-axg-mmc";
136221cf34bSNan Li				reg = <0x0 0x5000 0x0 0x2000>;
137221cf34bSNan Li				interrupts = <GIC_SPI 217 IRQ_TYPE_EDGE_RISING>;
138221cf34bSNan Li				status = "disabled";
139221cf34bSNan Li				clocks = <&clkc CLKID_SD_EMMC_B>,
140221cf34bSNan Li					<&clkc CLKID_SD_EMMC_B_CLK0>,
141221cf34bSNan Li					<&clkc CLKID_FCLK_DIV2>;
142221cf34bSNan Li				clock-names = "core", "clkin0", "clkin1";
143098e5303SJerome Brunet				resets = <&reset RESET_SD_EMMC_B>;
144221cf34bSNan Li			};
145221cf34bSNan Li
146221cf34bSNan Li			sd_emmc_c: mmc@7000 {
147221cf34bSNan Li				compatible = "amlogic,meson-axg-mmc";
148221cf34bSNan Li				reg = <0x0 0x7000 0x0 0x2000>;
149221cf34bSNan Li				interrupts = <GIC_SPI 218 IRQ_TYPE_EDGE_RISING>;
150221cf34bSNan Li				status = "disabled";
151221cf34bSNan Li				clocks = <&clkc CLKID_SD_EMMC_C>,
152221cf34bSNan Li					<&clkc CLKID_SD_EMMC_C_CLK0>,
153221cf34bSNan Li					<&clkc CLKID_FCLK_DIV2>;
154221cf34bSNan Li				clock-names = "core", "clkin0", "clkin1";
155098e5303SJerome Brunet				resets = <&reset RESET_SD_EMMC_C>;
156221cf34bSNan Li			};
157221cf34bSNan Li		};
158221cf34bSNan Li
1598909e722SJerome Brunet		audio: bus@ff642000 {
1608909e722SJerome Brunet			compatible = "simple-bus";
1618909e722SJerome Brunet			reg = <0x0 0xff642000 0x0 0x2000>;
1628909e722SJerome Brunet			#address-cells = <2>;
1638909e722SJerome Brunet			#size-cells = <2>;
1648909e722SJerome Brunet			ranges = <0x0 0x0 0x0 0xff642000 0x0 0x2000>;
1658909e722SJerome Brunet
1668909e722SJerome Brunet			clkc_audio: clock-controller@0 {
1678909e722SJerome Brunet				compatible = "amlogic,axg-audio-clkc";
1688909e722SJerome Brunet				reg = <0x0 0x0 0x0 0xb4>;
1698909e722SJerome Brunet				#clock-cells = <1>;
1708909e722SJerome Brunet
1718909e722SJerome Brunet				clocks = <&clkc CLKID_AUDIO>,
1728909e722SJerome Brunet					 <&clkc CLKID_MPLL0>,
1738909e722SJerome Brunet					 <&clkc CLKID_MPLL1>,
1748909e722SJerome Brunet					 <&clkc CLKID_MPLL2>,
1758909e722SJerome Brunet					 <&clkc CLKID_MPLL3>,
1768909e722SJerome Brunet					 <&clkc CLKID_HIFI_PLL>,
1778909e722SJerome Brunet					 <&clkc CLKID_FCLK_DIV3>,
1788909e722SJerome Brunet					 <&clkc CLKID_FCLK_DIV4>,
1798909e722SJerome Brunet					 <&clkc CLKID_GP0_PLL>;
1808909e722SJerome Brunet				clock-names = "pclk",
1818909e722SJerome Brunet					      "mst_in0",
1828909e722SJerome Brunet					      "mst_in1",
1838909e722SJerome Brunet					      "mst_in2",
1848909e722SJerome Brunet					      "mst_in3",
1858909e722SJerome Brunet					      "mst_in4",
1868909e722SJerome Brunet					      "mst_in5",
1878909e722SJerome Brunet					      "mst_in6",
1888909e722SJerome Brunet					      "mst_in7";
1898909e722SJerome Brunet
1908909e722SJerome Brunet				resets = <&reset RESET_AUDIO>;
1918909e722SJerome Brunet			};
19266d58a8fSJerome Brunet
19366d58a8fSJerome Brunet			arb: reset-controller@280 {
19466d58a8fSJerome Brunet				compatible = "amlogic,meson-axg-audio-arb";
19566d58a8fSJerome Brunet				reg = <0x0 0x280 0x0 0x4>;
19666d58a8fSJerome Brunet				#reset-cells = <1>;
19766d58a8fSJerome Brunet				clocks = <&clkc_audio AUD_CLKID_DDR_ARB>;
19866d58a8fSJerome Brunet			};
199f08c52deSJerome Brunet
200bf8e4790SJerome Brunet			tdmin_a: audio-controller@300 {
201bf8e4790SJerome Brunet				compatible = "amlogic,axg-tdmin";
202bf8e4790SJerome Brunet				reg = <0x0 0x300 0x0 0x40>;
203bf8e4790SJerome Brunet				sound-name-prefix = "TDMIN_A";
204bf8e4790SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TDMIN_A>,
205bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_A_SCLK>,
206bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_A_SCLK_SEL>,
207bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_A_LRCLK>,
208bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_A_LRCLK>;
209bf8e4790SJerome Brunet				clock-names = "pclk", "sclk", "sclk_sel",
210bf8e4790SJerome Brunet					      "lrclk", "lrclk_sel";
211bf8e4790SJerome Brunet				status = "disabled";
212bf8e4790SJerome Brunet			};
213bf8e4790SJerome Brunet
214bf8e4790SJerome Brunet			tdmin_b: audio-controller@340 {
215bf8e4790SJerome Brunet				compatible = "amlogic,axg-tdmin";
216bf8e4790SJerome Brunet				reg = <0x0 0x340 0x0 0x40>;
217bf8e4790SJerome Brunet				sound-name-prefix = "TDMIN_B";
218bf8e4790SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TDMIN_B>,
219bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_B_SCLK>,
220bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_B_SCLK_SEL>,
221bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_B_LRCLK>,
222bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_B_LRCLK>;
223bf8e4790SJerome Brunet				clock-names = "pclk", "sclk", "sclk_sel",
224bf8e4790SJerome Brunet					      "lrclk", "lrclk_sel";
225bf8e4790SJerome Brunet				status = "disabled";
226bf8e4790SJerome Brunet			};
227bf8e4790SJerome Brunet
228bf8e4790SJerome Brunet			tdmin_c: audio-controller@380 {
229bf8e4790SJerome Brunet				compatible = "amlogic,axg-tdmin";
230bf8e4790SJerome Brunet				reg = <0x0 0x380 0x0 0x40>;
231bf8e4790SJerome Brunet				sound-name-prefix = "TDMIN_C";
232bf8e4790SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TDMIN_C>,
233bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_C_SCLK>,
234bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_C_SCLK_SEL>,
235bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_C_LRCLK>,
236bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_C_LRCLK>;
237bf8e4790SJerome Brunet				clock-names = "pclk", "sclk", "sclk_sel",
238bf8e4790SJerome Brunet					      "lrclk", "lrclk_sel";
239bf8e4790SJerome Brunet				status = "disabled";
240bf8e4790SJerome Brunet			};
241bf8e4790SJerome Brunet
242bf8e4790SJerome Brunet			tdmin_lb: audio-controller@3c0 {
243bf8e4790SJerome Brunet				compatible = "amlogic,axg-tdmin";
244bf8e4790SJerome Brunet				reg = <0x0 0x3c0 0x0 0x40>;
245bf8e4790SJerome Brunet				sound-name-prefix = "TDMIN_LB";
246bf8e4790SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TDMIN_LB>,
247bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_LB_SCLK>,
248bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_LB_SCLK_SEL>,
249bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_LB_LRCLK>,
250bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_LB_LRCLK>;
251bf8e4790SJerome Brunet				clock-names = "pclk", "sclk", "sclk_sel",
252bf8e4790SJerome Brunet					      "lrclk", "lrclk_sel";
253bf8e4790SJerome Brunet				status = "disabled";
254bf8e4790SJerome Brunet			};
255bf8e4790SJerome Brunet
256f08c52deSJerome Brunet			spdifout: audio-controller@480 {
257f08c52deSJerome Brunet				compatible = "amlogic,axg-spdifout";
258f08c52deSJerome Brunet				reg = <0x0 0x480 0x0 0x50>;
259f08c52deSJerome Brunet				#sound-dai-cells = <0>;
260f08c52deSJerome Brunet				sound-name-prefix = "SPDIFOUT";
261f08c52deSJerome Brunet				clocks = <&clkc_audio AUD_CLKID_SPDIFOUT>,
262f08c52deSJerome Brunet					 <&clkc_audio AUD_CLKID_SPDIFOUT_CLK>;
263f08c52deSJerome Brunet				clock-names = "pclk", "mclk";
264f08c52deSJerome Brunet				status = "disabled";
265f08c52deSJerome Brunet			};
266fd916739SJerome Brunet
267fd916739SJerome Brunet			tdmout_a: audio-controller@500 {
268fd916739SJerome Brunet				compatible = "amlogic,axg-tdmout";
269fd916739SJerome Brunet				reg = <0x0 0x500 0x0 0x40>;
270fd916739SJerome Brunet				sound-name-prefix = "TDMOUT_A";
271fd916739SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TDMOUT_A>,
272fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_A_SCLK>,
273fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_A_SCLK_SEL>,
274fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_A_LRCLK>,
275fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_A_LRCLK>;
276fd916739SJerome Brunet				clock-names = "pclk", "sclk", "sclk_sel",
277fd916739SJerome Brunet					      "lrclk", "lrclk_sel";
278fd916739SJerome Brunet				status = "disabled";
279fd916739SJerome Brunet			};
280fd916739SJerome Brunet
281fd916739SJerome Brunet			tdmout_b: audio-controller@540 {
282fd916739SJerome Brunet				compatible = "amlogic,axg-tdmout";
283fd916739SJerome Brunet				reg = <0x0 0x540 0x0 0x40>;
284fd916739SJerome Brunet				sound-name-prefix = "TDMOUT_B";
285fd916739SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TDMOUT_B>,
286fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_B_SCLK>,
287fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_B_SCLK_SEL>,
288fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_B_LRCLK>,
289fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_B_LRCLK>;
290fd916739SJerome Brunet				clock-names = "pclk", "sclk", "sclk_sel",
291fd916739SJerome Brunet					      "lrclk", "lrclk_sel";
292fd916739SJerome Brunet				status = "disabled";
293fd916739SJerome Brunet			};
294fd916739SJerome Brunet
295fd916739SJerome Brunet			tdmout_c: audio-controller@580 {
296fd916739SJerome Brunet				compatible = "amlogic,axg-tdmout";
297fd916739SJerome Brunet				reg = <0x0 0x580 0x0 0x40>;
298fd916739SJerome Brunet				sound-name-prefix = "TDMOUT_C";
299fd916739SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TDMOUT_C>,
300fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_C_SCLK>,
301fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_C_SCLK_SEL>,
302fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_C_LRCLK>,
303fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_C_LRCLK>;
304fd916739SJerome Brunet				clock-names = "pclk", "sclk", "sclk_sel",
305fd916739SJerome Brunet					      "lrclk", "lrclk_sel";
306fd916739SJerome Brunet				status = "disabled";
307fd916739SJerome Brunet			};
3088909e722SJerome Brunet		};
3098909e722SJerome Brunet
3100cb6c604SKevin Hilman		cbus: bus@ffd00000 {
3119d59b708SYixun Lan			compatible = "simple-bus";
3129d59b708SYixun Lan			reg = <0x0 0xffd00000 0x0 0x25000>;
3139d59b708SYixun Lan			#address-cells = <2>;
3149d59b708SYixun Lan			#size-cells = <2>;
3159d59b708SYixun Lan			ranges = <0x0 0x0 0x0 0xffd00000 0x0 0x25000>;
3169d59b708SYixun Lan
317b0e59f94SYixun Lan			gpio_intc: interrupt-controller@f080 {
318b0e59f94SYixun Lan				compatible = "amlogic,meson-gpio-intc";
319b0e59f94SYixun Lan				reg = <0x0 0xf080 0x0 0x10>;
320b0e59f94SYixun Lan				interrupt-controller;
321b0e59f94SYixun Lan				#interrupt-cells = <2>;
322b0e59f94SYixun Lan				amlogic,channel-interrupts = <64 65 66 67 68 69 70 71>;
323b0e59f94SYixun Lan				status = "disabled";
324b0e59f94SYixun Lan			};
325b0e59f94SYixun Lan
3264a81e5ddSJian Hu			pwm_ab: pwm@1b000 {
3274a81e5ddSJian Hu				compatible = "amlogic,meson-axg-ee-pwm";
3284a81e5ddSJian Hu				reg = <0x0 0x1b000 0x0 0x20>;
3294a81e5ddSJian Hu				#pwm-cells = <3>;
3304a81e5ddSJian Hu				status = "disabled";
3314a81e5ddSJian Hu			};
3324a81e5ddSJian Hu
3334a81e5ddSJian Hu			pwm_cd: pwm@1a000 {
3344a81e5ddSJian Hu				compatible = "amlogic,meson-axg-ee-pwm";
3354a81e5ddSJian Hu				reg = <0x0 0x1a000 0x0 0x20>;
3364a81e5ddSJian Hu				#pwm-cells = <3>;
3374a81e5ddSJian Hu				status = "disabled";
3384a81e5ddSJian Hu			};
3394a81e5ddSJian Hu
34043b9f617SYixun Lan			reset: reset-controller@1004 {
34143b9f617SYixun Lan				compatible = "amlogic,meson-axg-reset";
34243b9f617SYixun Lan				reg = <0x0 0x01004 0x0 0x9c>;
34343b9f617SYixun Lan				#reset-cells = <1>;
34443b9f617SYixun Lan			};
34543b9f617SYixun Lan
3468ae4284eSSunny Luo			spicc0: spi@13000 {
3478ae4284eSSunny Luo				compatible = "amlogic,meson-axg-spicc";
3488ae4284eSSunny Luo				reg = <0x0 0x13000 0x0 0x3c>;
3498ae4284eSSunny Luo				interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
3508ae4284eSSunny Luo				clocks = <&clkc CLKID_SPICC0>;
3518ae4284eSSunny Luo				clock-names = "core";
3528ae4284eSSunny Luo				#address-cells = <1>;
3538ae4284eSSunny Luo				#size-cells = <0>;
3548ae4284eSSunny Luo				status = "disabled";
3558ae4284eSSunny Luo			};
3568ae4284eSSunny Luo
3578ae4284eSSunny Luo			spicc1: spi@15000 {
3588ae4284eSSunny Luo				compatible = "amlogic,meson-axg-spicc";
3598ae4284eSSunny Luo				reg = <0x0 0x15000 0x0 0x3c>;
3608ae4284eSSunny Luo				interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
3618ae4284eSSunny Luo				clocks = <&clkc CLKID_SPICC1>;
3628ae4284eSSunny Luo				clock-names = "core";
3638ae4284eSSunny Luo				#address-cells = <1>;
3648ae4284eSSunny Luo				#size-cells = <0>;
3658ae4284eSSunny Luo				status = "disabled";
3668ae4284eSSunny Luo			};
3678ae4284eSSunny Luo
368dc6f858eSJian Hu			i2c0: i2c@1f000 {
369dc6f858eSJian Hu				compatible = "amlogic,meson-axg-i2c";
370dc6f858eSJian Hu				reg = <0x0 0x1f000 0x0 0x20>;
3712b6ff972SJerome Brunet				interrupts = <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>;
3722b6ff972SJerome Brunet				clocks = <&clkc CLKID_I2C>;
373dc6f858eSJian Hu				#address-cells = <1>;
374dc6f858eSJian Hu				#size-cells = <0>;
3752b6ff972SJerome Brunet				status = "disabled";
376dc6f858eSJian Hu			};
377dc6f858eSJian Hu
378dc6f858eSJian Hu			i2c1: i2c@1e000 {
379dc6f858eSJian Hu				compatible = "amlogic,meson-axg-i2c";
3802b6ff972SJerome Brunet				reg = <0x0 0x1e000 0x0 0x20>;
3812b6ff972SJerome Brunet				interrupts = <GIC_SPI 214 IRQ_TYPE_EDGE_RISING>;
3822b6ff972SJerome Brunet				clocks = <&clkc CLKID_I2C>;
383dc6f858eSJian Hu				#address-cells = <1>;
384dc6f858eSJian Hu				#size-cells = <0>;
385dc6f858eSJian Hu				status = "disabled";
386dc6f858eSJian Hu			};
387dc6f858eSJian Hu
388dc6f858eSJian Hu			i2c2: i2c@1d000 {
389dc6f858eSJian Hu				compatible = "amlogic,meson-axg-i2c";
390dc6f858eSJian Hu				reg = <0x0 0x1d000 0x0 0x20>;
3912b6ff972SJerome Brunet				interrupts = <GIC_SPI 215 IRQ_TYPE_EDGE_RISING>;
3922b6ff972SJerome Brunet				clocks = <&clkc CLKID_I2C>;
393dc6f858eSJian Hu				#address-cells = <1>;
394dc6f858eSJian Hu				#size-cells = <0>;
3952b6ff972SJerome Brunet				status = "disabled";
396dc6f858eSJian Hu			};
397dc6f858eSJian Hu
398dc6f858eSJian Hu			i2c3: i2c@1c000 {
399dc6f858eSJian Hu				compatible = "amlogic,meson-axg-i2c";
400dc6f858eSJian Hu				reg = <0x0 0x1c000 0x0 0x20>;
4012b6ff972SJerome Brunet				interrupts = <GIC_SPI 39 IRQ_TYPE_EDGE_RISING>;
4022b6ff972SJerome Brunet				clocks = <&clkc CLKID_I2C>;
403dc6f858eSJian Hu				#address-cells = <1>;
404dc6f858eSJian Hu				#size-cells = <0>;
4052b6ff972SJerome Brunet				status = "disabled";
406dc6f858eSJian Hu			};
407dc6f858eSJian Hu
4089d59b708SYixun Lan			uart_A: serial@24000 {
40958662130SYixun Lan				compatible = "amlogic,meson-gx-uart";
41077f5cdbdSYixun Lan				reg = <0x0 0x24000 0x0 0x18>;
4119d59b708SYixun Lan				interrupts = <GIC_SPI 26 IRQ_TYPE_EDGE_RISING>;
4129d59b708SYixun Lan				status = "disabled";
41358662130SYixun Lan				clocks = <&xtal>, <&clkc CLKID_UART0>, <&xtal>;
41458662130SYixun Lan				clock-names = "xtal", "pclk", "baud";
4159d59b708SYixun Lan			};
4169d59b708SYixun Lan
4179d59b708SYixun Lan			uart_B: serial@23000 {
41858662130SYixun Lan				compatible = "amlogic,meson-gx-uart";
41977f5cdbdSYixun Lan				reg = <0x0 0x23000 0x0 0x18>;
4209d59b708SYixun Lan				interrupts = <GIC_SPI 75 IRQ_TYPE_EDGE_RISING>;
4219d59b708SYixun Lan				status = "disabled";
42258662130SYixun Lan				clocks = <&xtal>, <&clkc CLKID_UART1>, <&xtal>;
42358662130SYixun Lan				clock-names = "xtal", "pclk", "baud";
4249d59b708SYixun Lan			};
4259d59b708SYixun Lan		};
4269d59b708SYixun Lan
42729390d27SYixun Lan		ethmac: ethernet@ff3f0000 {
42829390d27SYixun Lan			compatible = "amlogic,meson-gxbb-dwmac", "snps,dwmac";
42929390d27SYixun Lan			reg = <0x0 0xff3f0000 0x0 0x10000
43029390d27SYixun Lan				0x0 0xff634540 0x0 0x8>;
43129390d27SYixun Lan			interrupts = <GIC_SPI 8 IRQ_TYPE_EDGE_RISING>;
43229390d27SYixun Lan			interrupt-names = "macirq";
43329390d27SYixun Lan			clocks = <&clkc CLKID_ETH>,
43429390d27SYixun Lan				 <&clkc CLKID_FCLK_DIV2>,
43529390d27SYixun Lan				 <&clkc CLKID_MPLL2>;
43629390d27SYixun Lan			clock-names = "stmmaceth", "clkin0", "clkin1";
43729390d27SYixun Lan			status = "disabled";
43829390d27SYixun Lan		};
43929390d27SYixun Lan
4409d59b708SYixun Lan		gic: interrupt-controller@ffc01000 {
4419d59b708SYixun Lan			compatible = "arm,gic-400";
4429d59b708SYixun Lan			reg = <0x0 0xffc01000 0 0x1000>,
4439d59b708SYixun Lan			      <0x0 0xffc02000 0 0x2000>,
4449d59b708SYixun Lan			      <0x0 0xffc04000 0 0x2000>,
4459d59b708SYixun Lan			      <0x0 0xffc06000 0 0x2000>;
4469d59b708SYixun Lan			interrupt-controller;
4479d59b708SYixun Lan			interrupts = <GIC_PPI 9
4489d59b708SYixun Lan				(GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>;
4499d59b708SYixun Lan			#interrupt-cells = <3>;
4509d59b708SYixun Lan			#address-cells = <0>;
4519d59b708SYixun Lan		};
4529d59b708SYixun Lan
453abfc18f9SQiufang Dai		hiubus: bus@ff63c000 {
454abfc18f9SQiufang Dai			compatible = "simple-bus";
455abfc18f9SQiufang Dai			reg = <0x0 0xff63c000 0x0 0x1c00>;
456abfc18f9SQiufang Dai			#address-cells = <2>;
457abfc18f9SQiufang Dai			#size-cells = <2>;
458abfc18f9SQiufang Dai			ranges = <0x0 0x0 0x0 0xff63c000 0x0 0x1c00>;
459abfc18f9SQiufang Dai
460cc4d6641SJerome Brunet			sysctrl: system-controller@0 {
461cc4d6641SJerome Brunet				compatible = "amlogic,meson-axg-hhi-sysctrl", "syscon", "simple-mfd";
462cc4d6641SJerome Brunet				reg = <0 0 0 0x400>;
463cc4d6641SJerome Brunet
464cc4d6641SJerome Brunet				clkc: clock-controller {
465abfc18f9SQiufang Dai					compatible = "amlogic,axg-clkc";
466abfc18f9SQiufang Dai					#clock-cells = <1>;
467cc4d6641SJerome Brunet				};
468abfc18f9SQiufang Dai			};
469abfc18f9SQiufang Dai		};
470abfc18f9SQiufang Dai
4719d59b708SYixun Lan		mailbox: mailbox@ff63dc00 {
4729d59b708SYixun Lan			compatible = "amlogic,meson-gx-mhu", "amlogic,meson-gxbb-mhu";
4739d59b708SYixun Lan			reg = <0 0xff63dc00 0 0x400>;
4749d59b708SYixun Lan			interrupts = <GIC_SPI 208 IRQ_TYPE_EDGE_RISING>,
4759d59b708SYixun Lan				     <GIC_SPI 209 IRQ_TYPE_EDGE_RISING>,
4769d59b708SYixun Lan				     <GIC_SPI 210 IRQ_TYPE_EDGE_RISING>;
4779d59b708SYixun Lan			#mbox-cells = <1>;
4789d59b708SYixun Lan		};
4799d59b708SYixun Lan
480de05ded6SXingyu Chen		periphs: periphs@ff634000 {
481de05ded6SXingyu Chen			compatible = "simple-bus";
482de05ded6SXingyu Chen			reg = <0x0 0xff634000 0x0 0x2000>;
483de05ded6SXingyu Chen			#address-cells = <2>;
484de05ded6SXingyu Chen			#size-cells = <2>;
485de05ded6SXingyu Chen			ranges = <0x0 0x0 0x0 0xff634000 0x0 0x2000>;
486de05ded6SXingyu Chen
487eafd53d3SJerome Brunet			hwrng: rng {
488eafd53d3SJerome Brunet				compatible = "amlogic,meson-rng";
489eafd53d3SJerome Brunet				reg = <0x0 0x18 0x0 0x4>;
490eafd53d3SJerome Brunet				clocks = <&clkc CLKID_RNG0>;
491eafd53d3SJerome Brunet				clock-names = "core";
492eafd53d3SJerome Brunet			};
493eafd53d3SJerome Brunet
494de05ded6SXingyu Chen			pinctrl_periphs: pinctrl@480 {
495de05ded6SXingyu Chen				compatible = "amlogic,meson-axg-periphs-pinctrl";
496de05ded6SXingyu Chen				#address-cells = <2>;
497de05ded6SXingyu Chen				#size-cells = <2>;
498de05ded6SXingyu Chen				ranges;
499de05ded6SXingyu Chen
500de05ded6SXingyu Chen				gpio: bank@480 {
501de05ded6SXingyu Chen					reg = <0x0 0x00480 0x0 0x40>,
502de05ded6SXingyu Chen						<0x0 0x004e8 0x0 0x14>,
503de05ded6SXingyu Chen						<0x0 0x00520 0x0 0x14>,
504de05ded6SXingyu Chen						<0x0 0x00430 0x0 0x3c>;
505de05ded6SXingyu Chen					reg-names = "mux", "pull", "pull-enable", "gpio";
506de05ded6SXingyu Chen					gpio-controller;
507de05ded6SXingyu Chen					#gpio-cells = <2>;
508de05ded6SXingyu Chen					gpio-ranges = <&pinctrl_periphs 0 0 86>;
509de05ded6SXingyu Chen				};
5104a81e5ddSJian Hu
511221cf34bSNan Li				emmc_pins: emmc {
512221cf34bSNan Li					mux {
513221cf34bSNan Li						groups = "emmc_nand_d0",
514221cf34bSNan Li							"emmc_nand_d1",
515221cf34bSNan Li							"emmc_nand_d2",
516221cf34bSNan Li							"emmc_nand_d3",
517221cf34bSNan Li							"emmc_nand_d4",
518221cf34bSNan Li							"emmc_nand_d5",
519221cf34bSNan Li							"emmc_nand_d6",
520221cf34bSNan Li							"emmc_nand_d7",
521221cf34bSNan Li							"emmc_clk",
522221cf34bSNan Li							"emmc_cmd",
523221cf34bSNan Li							"emmc_ds";
524221cf34bSNan Li						function = "emmc";
525221cf34bSNan Li					};
526221cf34bSNan Li				};
527221cf34bSNan Li
528221cf34bSNan Li				emmc_clk_gate_pins: emmc_clk_gate {
529221cf34bSNan Li					mux {
530221cf34bSNan Li						groups = "BOOT_8";
531221cf34bSNan Li						function = "gpio_periphs";
532221cf34bSNan Li					};
533221cf34bSNan Li					cfg-pull-down {
534221cf34bSNan Li						pins = "BOOT_8";
535221cf34bSNan Li						bias-pull-down;
536221cf34bSNan Li					};
537221cf34bSNan Li				};
538221cf34bSNan Li
539221cf34bSNan Li				sdio_pins: sdio {
540221cf34bSNan Li					mux {
541221cf34bSNan Li						groups = "sdio_d0",
542221cf34bSNan Li							"sdio_d1",
543221cf34bSNan Li							"sdio_d2",
544221cf34bSNan Li							"sdio_d3",
545221cf34bSNan Li							"sdio_cmd",
546221cf34bSNan Li							"sdio_clk";
547221cf34bSNan Li						function = "sdio";
548221cf34bSNan Li					};
549221cf34bSNan Li				};
550221cf34bSNan Li
551221cf34bSNan Li				sdio_clk_gate_pins: sdio_clk_gate {
552221cf34bSNan Li					mux {
553221cf34bSNan Li						groups = "GPIOX_4";
554221cf34bSNan Li						function = "gpio_periphs";
555221cf34bSNan Li					};
556221cf34bSNan Li					cfg-pull-down {
557221cf34bSNan Li						pins = "GPIOX_4";
558221cf34bSNan Li						bias-pull-down;
559221cf34bSNan Li					};
560221cf34bSNan Li				};
561221cf34bSNan Li
562777fa58dSYixun Lan				eth_rmii_x_pins: eth-x-rmii {
563777fa58dSYixun Lan					mux {
564777fa58dSYixun Lan						groups = "eth_mdio_x",
565777fa58dSYixun Lan						       "eth_mdc_x",
566777fa58dSYixun Lan						       "eth_rgmii_rx_clk_x",
567777fa58dSYixun Lan						       "eth_rx_dv_x",
568777fa58dSYixun Lan						       "eth_rxd0_x",
569777fa58dSYixun Lan						       "eth_rxd1_x",
570777fa58dSYixun Lan						       "eth_txen_x",
571777fa58dSYixun Lan						       "eth_txd0_x",
572777fa58dSYixun Lan						       "eth_txd1_x";
573777fa58dSYixun Lan						function = "eth";
574777fa58dSYixun Lan					};
575777fa58dSYixun Lan				};
576777fa58dSYixun Lan
577777fa58dSYixun Lan				eth_rmii_y_pins: eth-y-rmii {
578777fa58dSYixun Lan					mux {
579777fa58dSYixun Lan						groups = "eth_mdio_y",
580777fa58dSYixun Lan						       "eth_mdc_y",
581777fa58dSYixun Lan						       "eth_rgmii_rx_clk_y",
582777fa58dSYixun Lan						       "eth_rx_dv_y",
583777fa58dSYixun Lan						       "eth_rxd0_y",
584777fa58dSYixun Lan						       "eth_rxd1_y",
585777fa58dSYixun Lan						       "eth_txen_y",
586777fa58dSYixun Lan						       "eth_txd0_y",
587777fa58dSYixun Lan						       "eth_txd1_y";
588777fa58dSYixun Lan						function = "eth";
589777fa58dSYixun Lan					};
590777fa58dSYixun Lan				};
591777fa58dSYixun Lan
59229390d27SYixun Lan				eth_rgmii_x_pins: eth-x-rgmii {
59329390d27SYixun Lan					mux {
59429390d27SYixun Lan						groups = "eth_mdio_x",
59529390d27SYixun Lan						       "eth_mdc_x",
59629390d27SYixun Lan						       "eth_rgmii_rx_clk_x",
59729390d27SYixun Lan						       "eth_rx_dv_x",
59829390d27SYixun Lan						       "eth_rxd0_x",
59929390d27SYixun Lan						       "eth_rxd1_x",
60029390d27SYixun Lan						       "eth_rxd2_rgmii",
60129390d27SYixun Lan						       "eth_rxd3_rgmii",
60229390d27SYixun Lan						       "eth_rgmii_tx_clk",
60329390d27SYixun Lan						       "eth_txen_x",
60429390d27SYixun Lan						       "eth_txd0_x",
60529390d27SYixun Lan						       "eth_txd1_x",
60629390d27SYixun Lan						       "eth_txd2_rgmii",
60729390d27SYixun Lan						       "eth_txd3_rgmii";
60829390d27SYixun Lan						function = "eth";
60929390d27SYixun Lan					};
61029390d27SYixun Lan				};
61129390d27SYixun Lan
61229390d27SYixun Lan				eth_rgmii_y_pins: eth-y-rgmii {
61329390d27SYixun Lan					mux {
61429390d27SYixun Lan						groups = "eth_mdio_y",
61529390d27SYixun Lan						       "eth_mdc_y",
61629390d27SYixun Lan						       "eth_rgmii_rx_clk_y",
61729390d27SYixun Lan						       "eth_rx_dv_y",
61829390d27SYixun Lan						       "eth_rxd0_y",
61929390d27SYixun Lan						       "eth_rxd1_y",
62029390d27SYixun Lan						       "eth_rxd2_rgmii",
62129390d27SYixun Lan						       "eth_rxd3_rgmii",
62229390d27SYixun Lan						       "eth_rgmii_tx_clk",
62329390d27SYixun Lan						       "eth_txen_y",
62429390d27SYixun Lan						       "eth_txd0_y",
62529390d27SYixun Lan						       "eth_txd1_y",
62629390d27SYixun Lan						       "eth_txd2_rgmii",
62729390d27SYixun Lan						       "eth_txd3_rgmii";
62829390d27SYixun Lan						function = "eth";
62929390d27SYixun Lan					};
63029390d27SYixun Lan				};
63129390d27SYixun Lan
63289803e8bSJerome Brunet				pdm_dclk_a14_pins: pdm_dclk_a14 {
63389803e8bSJerome Brunet					mux {
63489803e8bSJerome Brunet						groups = "pdm_dclk_a14";
63589803e8bSJerome Brunet						function = "pdm";
63689803e8bSJerome Brunet					};
63789803e8bSJerome Brunet				};
63889803e8bSJerome Brunet
63989803e8bSJerome Brunet				pdm_dclk_a19_pins: pdm_dclk_a19 {
64089803e8bSJerome Brunet					mux {
64189803e8bSJerome Brunet						groups = "pdm_dclk_a19";
64289803e8bSJerome Brunet						function = "pdm";
64389803e8bSJerome Brunet					};
64489803e8bSJerome Brunet				};
64589803e8bSJerome Brunet
64689803e8bSJerome Brunet				pdm_din0_pins: pdm_din0 {
64789803e8bSJerome Brunet					mux {
64889803e8bSJerome Brunet						groups = "pdm_din0";
64989803e8bSJerome Brunet						function = "pdm";
65089803e8bSJerome Brunet					};
65189803e8bSJerome Brunet				};
65289803e8bSJerome Brunet
65389803e8bSJerome Brunet				pdm_din1_pins: pdm_din1 {
65489803e8bSJerome Brunet					mux {
65589803e8bSJerome Brunet						groups = "pdm_din1";
65689803e8bSJerome Brunet						function = "pdm";
65789803e8bSJerome Brunet					};
65889803e8bSJerome Brunet				};
65989803e8bSJerome Brunet
66089803e8bSJerome Brunet				pdm_din2_pins: pdm_din2 {
66189803e8bSJerome Brunet					mux {
66289803e8bSJerome Brunet						groups = "pdm_din2";
66389803e8bSJerome Brunet						function = "pdm";
66489803e8bSJerome Brunet					};
66589803e8bSJerome Brunet				};
66689803e8bSJerome Brunet
66789803e8bSJerome Brunet				pdm_din3_pins: pdm_din3 {
66889803e8bSJerome Brunet					mux {
66989803e8bSJerome Brunet						groups = "pdm_din3";
67089803e8bSJerome Brunet						function = "pdm";
67189803e8bSJerome Brunet					};
67289803e8bSJerome Brunet				};
67389803e8bSJerome Brunet
6744a81e5ddSJian Hu				pwm_a_a_pins: pwm_a_a {
6754a81e5ddSJian Hu					mux {
6764a81e5ddSJian Hu						groups = "pwm_a_a";
6774a81e5ddSJian Hu						function = "pwm_a";
6784a81e5ddSJian Hu					};
6794a81e5ddSJian Hu				};
6804a81e5ddSJian Hu
6814a81e5ddSJian Hu				pwm_a_x18_pins: pwm_a_x18 {
6824a81e5ddSJian Hu					mux {
6834a81e5ddSJian Hu						groups = "pwm_a_x18";
6844a81e5ddSJian Hu						function = "pwm_a";
6854a81e5ddSJian Hu					};
6864a81e5ddSJian Hu				};
6874a81e5ddSJian Hu
6884a81e5ddSJian Hu				pwm_a_x20_pins: pwm_a_x20 {
6894a81e5ddSJian Hu					mux {
6904a81e5ddSJian Hu						groups = "pwm_a_x20";
6914a81e5ddSJian Hu						function = "pwm_a";
6924a81e5ddSJian Hu					};
6934a81e5ddSJian Hu				};
6944a81e5ddSJian Hu
6954a81e5ddSJian Hu				pwm_a_z_pins: pwm_a_z {
6964a81e5ddSJian Hu					mux {
6974a81e5ddSJian Hu						groups = "pwm_a_z";
6984a81e5ddSJian Hu						function = "pwm_a";
6994a81e5ddSJian Hu					};
7004a81e5ddSJian Hu				};
7014a81e5ddSJian Hu
7024a81e5ddSJian Hu				pwm_b_a_pins: pwm_b_a {
7034a81e5ddSJian Hu					mux {
7044a81e5ddSJian Hu						groups = "pwm_b_a";
7054a81e5ddSJian Hu						function = "pwm_b";
7064a81e5ddSJian Hu					};
7074a81e5ddSJian Hu				};
7084a81e5ddSJian Hu
7094a81e5ddSJian Hu				pwm_b_x_pins: pwm_b_x {
7104a81e5ddSJian Hu					mux {
7114a81e5ddSJian Hu						groups = "pwm_b_x";
7124a81e5ddSJian Hu						function = "pwm_b";
7134a81e5ddSJian Hu					};
7144a81e5ddSJian Hu				};
7154a81e5ddSJian Hu
7164a81e5ddSJian Hu				pwm_b_z_pins: pwm_b_z {
7174a81e5ddSJian Hu					mux {
7184a81e5ddSJian Hu						groups = "pwm_b_z";
7194a81e5ddSJian Hu						function = "pwm_b";
7204a81e5ddSJian Hu					};
7214a81e5ddSJian Hu				};
7224a81e5ddSJian Hu
7234a81e5ddSJian Hu				pwm_c_a_pins: pwm_c_a {
7244a81e5ddSJian Hu					mux {
7254a81e5ddSJian Hu						groups = "pwm_c_a";
7264a81e5ddSJian Hu						function = "pwm_c";
7274a81e5ddSJian Hu					};
7284a81e5ddSJian Hu				};
7294a81e5ddSJian Hu
7304a81e5ddSJian Hu				pwm_c_x10_pins: pwm_c_x10 {
7314a81e5ddSJian Hu					mux {
7324a81e5ddSJian Hu						groups = "pwm_c_x10";
7334a81e5ddSJian Hu						function = "pwm_c";
7344a81e5ddSJian Hu					};
7354a81e5ddSJian Hu				};
7364a81e5ddSJian Hu
7374a81e5ddSJian Hu				pwm_c_x17_pins: pwm_c_x17 {
7384a81e5ddSJian Hu					mux {
7394a81e5ddSJian Hu						groups = "pwm_c_x17";
7404a81e5ddSJian Hu						function = "pwm_c";
7414a81e5ddSJian Hu					};
7424a81e5ddSJian Hu				};
7434a81e5ddSJian Hu
7444a81e5ddSJian Hu				pwm_d_x11_pins: pwm_d_x11 {
7454a81e5ddSJian Hu					mux {
7464a81e5ddSJian Hu						groups = "pwm_d_x11";
7474a81e5ddSJian Hu						function = "pwm_d";
7484a81e5ddSJian Hu					};
7494a81e5ddSJian Hu				};
7504a81e5ddSJian Hu
7514a81e5ddSJian Hu				pwm_d_x16_pins: pwm_d_x16 {
7524a81e5ddSJian Hu					mux {
7534a81e5ddSJian Hu						groups = "pwm_d_x16";
7544a81e5ddSJian Hu						function = "pwm_d";
7554a81e5ddSJian Hu					};
7564a81e5ddSJian Hu				};
7578ae4284eSSunny Luo
758c67ee0a8SJerome Brunet				spdif_in_z_pins: spdif_in_z {
759c67ee0a8SJerome Brunet					mux {
760c67ee0a8SJerome Brunet						groups = "spdif_in_z";
761c67ee0a8SJerome Brunet						function = "spdif_in";
762c67ee0a8SJerome Brunet					};
763c67ee0a8SJerome Brunet				};
764c67ee0a8SJerome Brunet
765c67ee0a8SJerome Brunet				spdif_in_a1_pins: spdif_in_a1 {
766c67ee0a8SJerome Brunet					mux {
767c67ee0a8SJerome Brunet						groups = "spdif_in_a1";
768c67ee0a8SJerome Brunet						function = "spdif_in";
769c67ee0a8SJerome Brunet					};
770c67ee0a8SJerome Brunet				};
771c67ee0a8SJerome Brunet
772c67ee0a8SJerome Brunet				spdif_in_a7_pins: spdif_in_a7 {
773c67ee0a8SJerome Brunet					mux {
774c67ee0a8SJerome Brunet						groups = "spdif_in_a7";
775c67ee0a8SJerome Brunet						function = "spdif_in";
776c67ee0a8SJerome Brunet					};
777c67ee0a8SJerome Brunet				};
778c67ee0a8SJerome Brunet
779c67ee0a8SJerome Brunet				spdif_in_a19_pins: spdif_in_a19 {
780c67ee0a8SJerome Brunet					mux {
781c67ee0a8SJerome Brunet						groups = "spdif_in_a19";
782c67ee0a8SJerome Brunet						function = "spdif_in";
783c67ee0a8SJerome Brunet					};
784c67ee0a8SJerome Brunet				};
785c67ee0a8SJerome Brunet
786c67ee0a8SJerome Brunet				spdif_in_a20_pins: spdif_in_a20 {
787c67ee0a8SJerome Brunet					mux {
788c67ee0a8SJerome Brunet						groups = "spdif_in_a20";
789c67ee0a8SJerome Brunet						function = "spdif_in";
790c67ee0a8SJerome Brunet					};
791c67ee0a8SJerome Brunet				};
792c67ee0a8SJerome Brunet
79370d4b64fSJerome Brunet				spdif_out_z_pins: spdif_out_z {
79470d4b64fSJerome Brunet					mux {
79570d4b64fSJerome Brunet						groups = "spdif_out_z";
79670d4b64fSJerome Brunet						function = "spdif_out";
79770d4b64fSJerome Brunet					};
79870d4b64fSJerome Brunet				};
79970d4b64fSJerome Brunet
80070d4b64fSJerome Brunet				spdif_out_a1_pins: spdif_out_a1 {
80170d4b64fSJerome Brunet					mux {
80270d4b64fSJerome Brunet						groups = "spdif_out_a1";
80370d4b64fSJerome Brunet						function = "spdif_out";
80470d4b64fSJerome Brunet					};
80570d4b64fSJerome Brunet				};
80670d4b64fSJerome Brunet
80770d4b64fSJerome Brunet				spdif_out_a11_pins: spdif_out_a11 {
80870d4b64fSJerome Brunet					mux {
80970d4b64fSJerome Brunet						groups = "spdif_out_a11";
81070d4b64fSJerome Brunet						function = "spdif_out";
81170d4b64fSJerome Brunet					};
81270d4b64fSJerome Brunet				};
81370d4b64fSJerome Brunet
81470d4b64fSJerome Brunet				spdif_out_a19_pins: spdif_out_a19 {
81570d4b64fSJerome Brunet					mux {
81670d4b64fSJerome Brunet						groups = "spdif_out_a19";
81770d4b64fSJerome Brunet						function = "spdif_out";
81870d4b64fSJerome Brunet					};
81970d4b64fSJerome Brunet				};
82070d4b64fSJerome Brunet
82170d4b64fSJerome Brunet				spdif_out_a20_pins: spdif_out_a20 {
82270d4b64fSJerome Brunet					mux {
82370d4b64fSJerome Brunet						groups = "spdif_out_a20";
82470d4b64fSJerome Brunet						function = "spdif_out";
82570d4b64fSJerome Brunet					};
82670d4b64fSJerome Brunet				};
82770d4b64fSJerome Brunet
8288ae4284eSSunny Luo				spi0_pins: spi0 {
8298ae4284eSSunny Luo					mux {
8308ae4284eSSunny Luo						groups = "spi0_miso",
8318ae4284eSSunny Luo							"spi0_mosi",
8328ae4284eSSunny Luo							"spi0_clk";
8338ae4284eSSunny Luo						function = "spi0";
8348ae4284eSSunny Luo					};
8358ae4284eSSunny Luo				};
8368ae4284eSSunny Luo
8378ae4284eSSunny Luo				spi0_ss0_pins: spi0_ss0 {
8388ae4284eSSunny Luo					mux {
8398ae4284eSSunny Luo						groups = "spi0_ss0";
8408ae4284eSSunny Luo						function = "spi0";
8418ae4284eSSunny Luo					};
8428ae4284eSSunny Luo				};
8438ae4284eSSunny Luo
8448ae4284eSSunny Luo				spi0_ss1_pins: spi0_ss1 {
8458ae4284eSSunny Luo					mux {
8468ae4284eSSunny Luo						groups = "spi0_ss1";
8478ae4284eSSunny Luo						function = "spi0";
8488ae4284eSSunny Luo					};
8498ae4284eSSunny Luo				};
8508ae4284eSSunny Luo
8518ae4284eSSunny Luo				spi0_ss2_pins: spi0_ss2 {
8528ae4284eSSunny Luo					mux {
8538ae4284eSSunny Luo						groups = "spi0_ss2";
8548ae4284eSSunny Luo						function = "spi0";
8558ae4284eSSunny Luo					};
8568ae4284eSSunny Luo				};
8578ae4284eSSunny Luo
8588ae4284eSSunny Luo
8598ae4284eSSunny Luo				spi1_a_pins: spi1_a {
8608ae4284eSSunny Luo					mux {
8618ae4284eSSunny Luo						groups = "spi1_miso_a",
8628ae4284eSSunny Luo							"spi1_mosi_a",
8638ae4284eSSunny Luo							"spi1_clk_a";
8648ae4284eSSunny Luo						function = "spi1";
8658ae4284eSSunny Luo					};
8668ae4284eSSunny Luo				};
8678ae4284eSSunny Luo
8688ae4284eSSunny Luo				spi1_ss0_a_pins: spi1_ss0_a {
8698ae4284eSSunny Luo					mux {
8708ae4284eSSunny Luo						groups = "spi1_ss0_a";
8718ae4284eSSunny Luo						function = "spi1";
8728ae4284eSSunny Luo					};
8738ae4284eSSunny Luo				};
8748ae4284eSSunny Luo
8758ae4284eSSunny Luo				spi1_ss1_pins: spi1_ss1 {
8768ae4284eSSunny Luo					mux {
8778ae4284eSSunny Luo						groups = "spi1_ss1";
8788ae4284eSSunny Luo						function = "spi1";
8798ae4284eSSunny Luo					};
8808ae4284eSSunny Luo				};
8818ae4284eSSunny Luo
8828ae4284eSSunny Luo				spi1_x_pins: spi1_x {
8838ae4284eSSunny Luo					mux {
8848ae4284eSSunny Luo						groups = "spi1_miso_x",
8858ae4284eSSunny Luo							"spi1_mosi_x",
8868ae4284eSSunny Luo							"spi1_clk_x";
8878ae4284eSSunny Luo						function = "spi1";
8888ae4284eSSunny Luo					};
8898ae4284eSSunny Luo				};
8908ae4284eSSunny Luo
8918ae4284eSSunny Luo				spi1_ss0_x_pins: spi1_ss0_x {
8928ae4284eSSunny Luo					mux {
8938ae4284eSSunny Luo						groups = "spi1_ss0_x";
8948ae4284eSSunny Luo						function = "spi1";
8958ae4284eSSunny Luo					};
8968ae4284eSSunny Luo				};
8978a7669a5SJian Hu
8988a7669a5SJian Hu				i2c0_pins: i2c0 {
8998a7669a5SJian Hu					mux {
9008a7669a5SJian Hu						groups = "i2c0_sck",
9018a7669a5SJian Hu							"i2c0_sda";
9028a7669a5SJian Hu						function = "i2c0";
9038a7669a5SJian Hu					};
9048a7669a5SJian Hu				};
9058a7669a5SJian Hu
9068a7669a5SJian Hu				i2c1_z_pins: i2c1_z {
9078a7669a5SJian Hu					mux {
9088a7669a5SJian Hu						groups = "i2c1_sck_z",
9098a7669a5SJian Hu							"i2c1_sda_z";
9108a7669a5SJian Hu						function = "i2c1";
9118a7669a5SJian Hu					};
9128a7669a5SJian Hu				};
9138a7669a5SJian Hu
9148a7669a5SJian Hu				i2c1_x_pins: i2c1_x {
9158a7669a5SJian Hu					mux {
9168a7669a5SJian Hu						groups = "i2c1_sck_x",
9178a7669a5SJian Hu							"i2c1_sda_x";
9188a7669a5SJian Hu						function = "i2c1";
9198a7669a5SJian Hu					};
9208a7669a5SJian Hu				};
9218a7669a5SJian Hu
9228a7669a5SJian Hu				i2c2_x_pins: i2c2_x {
9238a7669a5SJian Hu					mux {
9248a7669a5SJian Hu						groups = "i2c2_sck_x",
9258a7669a5SJian Hu							"i2c2_sda_x";
9268a7669a5SJian Hu						function = "i2c2";
9278a7669a5SJian Hu					};
9288a7669a5SJian Hu				};
9298a7669a5SJian Hu
9308a7669a5SJian Hu				i2c2_a_pins: i2c2_a {
9318a7669a5SJian Hu					mux {
9328a7669a5SJian Hu						groups = "i2c2_sck_a",
9338a7669a5SJian Hu							"i2c2_sda_a";
9348a7669a5SJian Hu						function = "i2c2";
9358a7669a5SJian Hu					};
9368a7669a5SJian Hu				};
9378a7669a5SJian Hu
9388a7669a5SJian Hu				i2c3_a6_pins: i2c3_a6 {
9398a7669a5SJian Hu					mux {
9408a7669a5SJian Hu						groups = "i2c3_sda_a6",
9418a7669a5SJian Hu							"i2c3_sck_a7";
9428a7669a5SJian Hu						function = "i2c3";
9438a7669a5SJian Hu					};
9448a7669a5SJian Hu				};
9458a7669a5SJian Hu
9468a7669a5SJian Hu				i2c3_a12_pins: i2c3_a12 {
9478a7669a5SJian Hu					mux {
9488a7669a5SJian Hu						groups = "i2c3_sda_a12",
9498a7669a5SJian Hu							"i2c3_sck_a13";
9508a7669a5SJian Hu						function = "i2c3";
9518a7669a5SJian Hu					};
9528a7669a5SJian Hu				};
9538a7669a5SJian Hu
9548a7669a5SJian Hu				i2c3_a19_pins: i2c3_a19 {
9558a7669a5SJian Hu					mux {
9568a7669a5SJian Hu						groups = "i2c3_sda_a19",
9578a7669a5SJian Hu							"i2c3_sck_a20";
9588a7669a5SJian Hu						function = "i2c3";
9598a7669a5SJian Hu					};
9608a7669a5SJian Hu				};
9614eae66a6SYixun Lan
9624eae66a6SYixun Lan				uart_a_pins: uart_a {
9634eae66a6SYixun Lan					mux {
9644eae66a6SYixun Lan						groups = "uart_tx_a",
9654eae66a6SYixun Lan							"uart_rx_a";
9664eae66a6SYixun Lan						function = "uart_a";
9674eae66a6SYixun Lan					};
9684eae66a6SYixun Lan				};
9694eae66a6SYixun Lan
9704eae66a6SYixun Lan				uart_a_cts_rts_pins: uart_a_cts_rts {
9714eae66a6SYixun Lan					mux {
9724eae66a6SYixun Lan						groups = "uart_cts_a",
9734eae66a6SYixun Lan							"uart_rts_a";
9744eae66a6SYixun Lan						function = "uart_a";
9754eae66a6SYixun Lan					};
9764eae66a6SYixun Lan				};
9774eae66a6SYixun Lan
9784eae66a6SYixun Lan				uart_b_x_pins: uart_b_x {
9794eae66a6SYixun Lan					mux {
9804eae66a6SYixun Lan						groups = "uart_tx_b_x",
9814eae66a6SYixun Lan							"uart_rx_b_x";
9824eae66a6SYixun Lan						function = "uart_b";
9834eae66a6SYixun Lan					};
9844eae66a6SYixun Lan				};
9854eae66a6SYixun Lan
9864eae66a6SYixun Lan				uart_b_x_cts_rts_pins: uart_b_x_cts_rts {
9874eae66a6SYixun Lan					mux {
9884eae66a6SYixun Lan						groups = "uart_cts_b_x",
9894eae66a6SYixun Lan							"uart_rts_b_x";
9904eae66a6SYixun Lan						function = "uart_b";
9914eae66a6SYixun Lan					};
9924eae66a6SYixun Lan				};
9934eae66a6SYixun Lan
9944eae66a6SYixun Lan				uart_b_z_pins: uart_b_z {
9954eae66a6SYixun Lan					mux {
9964eae66a6SYixun Lan						groups = "uart_tx_b_z",
9974eae66a6SYixun Lan							"uart_rx_b_z";
9984eae66a6SYixun Lan						function = "uart_b";
9994eae66a6SYixun Lan					};
10004eae66a6SYixun Lan				};
10014eae66a6SYixun Lan
10024eae66a6SYixun Lan				uart_b_z_cts_rts_pins: uart_b_z_cts_rts {
10034eae66a6SYixun Lan					mux {
10044eae66a6SYixun Lan						groups = "uart_cts_b_z",
10054eae66a6SYixun Lan							"uart_rts_b_z";
10064eae66a6SYixun Lan						function = "uart_b";
10074eae66a6SYixun Lan					};
10084eae66a6SYixun Lan				};
10094eae66a6SYixun Lan
10104eae66a6SYixun Lan				uart_ao_b_z_pins: uart_ao_b_z {
10114eae66a6SYixun Lan					mux {
10124eae66a6SYixun Lan						groups = "uart_ao_tx_b_z",
10134eae66a6SYixun Lan							"uart_ao_rx_b_z";
10144eae66a6SYixun Lan						function = "uart_ao_b_z";
10154eae66a6SYixun Lan					};
10164eae66a6SYixun Lan				};
10174eae66a6SYixun Lan
10184eae66a6SYixun Lan				uart_ao_b_z_cts_rts_pins: uart_ao_b_z_cts_rts {
10194eae66a6SYixun Lan					mux {
10204eae66a6SYixun Lan						groups = "uart_ao_cts_b_z",
10214eae66a6SYixun Lan							"uart_ao_rts_b_z";
10224eae66a6SYixun Lan						function = "uart_ao_b_z";
10234eae66a6SYixun Lan					};
10244eae66a6SYixun Lan				};
10250df8fbb9SJerome Brunet
10260df8fbb9SJerome Brunet				mclk_b_pins: mclk_b {
10270df8fbb9SJerome Brunet					mux {
10280df8fbb9SJerome Brunet						groups = "mclk_b";
10290df8fbb9SJerome Brunet						function = "mclk_b";
10300df8fbb9SJerome Brunet					};
10310df8fbb9SJerome Brunet				};
10320df8fbb9SJerome Brunet
10330df8fbb9SJerome Brunet				mclk_c_pins: mclk_c {
10340df8fbb9SJerome Brunet					mux {
10350df8fbb9SJerome Brunet						groups = "mclk_c";
10360df8fbb9SJerome Brunet						function = "mclk_c";
10370df8fbb9SJerome Brunet					};
10380df8fbb9SJerome Brunet				};
10390df8fbb9SJerome Brunet
10400df8fbb9SJerome Brunet				tdma_sclk_pins: tdma_sclk {
10410df8fbb9SJerome Brunet					mux {
10420df8fbb9SJerome Brunet						groups = "tdma_sclk";
10430df8fbb9SJerome Brunet						function = "tdma";
10440df8fbb9SJerome Brunet					};
10450df8fbb9SJerome Brunet				};
10460df8fbb9SJerome Brunet
10470df8fbb9SJerome Brunet				tdma_sclk_slv_pins: tdma_sclk_slv {
10480df8fbb9SJerome Brunet					mux {
10490df8fbb9SJerome Brunet						groups = "tdma_sclk_slv";
10500df8fbb9SJerome Brunet						function = "tdma";
10510df8fbb9SJerome Brunet					};
10520df8fbb9SJerome Brunet				};
10530df8fbb9SJerome Brunet
10540df8fbb9SJerome Brunet				tdma_fs_pins: tdma_fs {
10550df8fbb9SJerome Brunet					mux {
10560df8fbb9SJerome Brunet						groups = "tdma_fs";
10570df8fbb9SJerome Brunet						function = "tdma";
10580df8fbb9SJerome Brunet					};
10590df8fbb9SJerome Brunet				};
10600df8fbb9SJerome Brunet
10610df8fbb9SJerome Brunet				tdma_fs_slv_pins: tdma_fs_slv {
10620df8fbb9SJerome Brunet					mux {
10630df8fbb9SJerome Brunet						groups = "tdma_fs_slv";
10640df8fbb9SJerome Brunet						function = "tdma";
10650df8fbb9SJerome Brunet					};
10660df8fbb9SJerome Brunet				};
10670df8fbb9SJerome Brunet
10680df8fbb9SJerome Brunet				tdma_din0_pins: tdma_din0 {
10690df8fbb9SJerome Brunet					mux {
10700df8fbb9SJerome Brunet						groups = "tdma_din0";
10710df8fbb9SJerome Brunet						function = "tdma";
10720df8fbb9SJerome Brunet					};
10730df8fbb9SJerome Brunet				};
10740df8fbb9SJerome Brunet
10750df8fbb9SJerome Brunet				tdma_dout0_x14_pins: tdma_dout0_x14 {
10760df8fbb9SJerome Brunet					mux {
10770df8fbb9SJerome Brunet						groups = "tdma_dout0_x14";
10780df8fbb9SJerome Brunet						function = "tdma";
10790df8fbb9SJerome Brunet					};
10800df8fbb9SJerome Brunet				};
10810df8fbb9SJerome Brunet
10820df8fbb9SJerome Brunet				tdma_dout0_x15_pins: tdma_dout0_x15 {
10830df8fbb9SJerome Brunet					mux {
10840df8fbb9SJerome Brunet						groups = "tdma_dout0_x15";
10850df8fbb9SJerome Brunet						function = "tdma";
10860df8fbb9SJerome Brunet					};
10870df8fbb9SJerome Brunet				};
10880df8fbb9SJerome Brunet
10890df8fbb9SJerome Brunet				tdma_dout1_pins: tdma_dout1 {
10900df8fbb9SJerome Brunet					mux {
10910df8fbb9SJerome Brunet						groups = "tdma_dout1";
10920df8fbb9SJerome Brunet						function = "tdma";
10930df8fbb9SJerome Brunet					};
10940df8fbb9SJerome Brunet				};
10950df8fbb9SJerome Brunet
10960df8fbb9SJerome Brunet				tdma_din1_pins: tdma_din1 {
10970df8fbb9SJerome Brunet					mux {
10980df8fbb9SJerome Brunet						groups = "tdma_din1";
10990df8fbb9SJerome Brunet						function = "tdma";
11000df8fbb9SJerome Brunet					};
11010df8fbb9SJerome Brunet				};
11020df8fbb9SJerome Brunet
11030df8fbb9SJerome Brunet				tdmb_sclk_pins: tdmb_sclk {
11040df8fbb9SJerome Brunet					mux {
11050df8fbb9SJerome Brunet						groups = "tdmb_sclk";
11060df8fbb9SJerome Brunet						function = "tdmb";
11070df8fbb9SJerome Brunet					};
11080df8fbb9SJerome Brunet				};
11090df8fbb9SJerome Brunet
11100df8fbb9SJerome Brunet				tdmb_sclk_slv_pins: tdmb_sclk_slv {
11110df8fbb9SJerome Brunet					mux {
11120df8fbb9SJerome Brunet						groups = "tdmb_sclk_slv";
11130df8fbb9SJerome Brunet						function = "tdmb";
11140df8fbb9SJerome Brunet					};
11150df8fbb9SJerome Brunet				};
11160df8fbb9SJerome Brunet
11170df8fbb9SJerome Brunet				tdmb_fs_pins: tdmb_fs {
11180df8fbb9SJerome Brunet					mux {
11190df8fbb9SJerome Brunet						groups = "tdmb_fs";
11200df8fbb9SJerome Brunet						function = "tdmb";
11210df8fbb9SJerome Brunet					};
11220df8fbb9SJerome Brunet				};
11230df8fbb9SJerome Brunet
11240df8fbb9SJerome Brunet				tdmb_fs_slv_pins: tdmb_fs_slv {
11250df8fbb9SJerome Brunet					mux {
11260df8fbb9SJerome Brunet						groups = "tdmb_fs_slv";
11270df8fbb9SJerome Brunet						function = "tdmb";
11280df8fbb9SJerome Brunet					};
11290df8fbb9SJerome Brunet				};
11300df8fbb9SJerome Brunet
11310df8fbb9SJerome Brunet				tdmb_din0_pins: tdmb_din0 {
11320df8fbb9SJerome Brunet					mux {
11330df8fbb9SJerome Brunet						groups = "tdmb_din0";
11340df8fbb9SJerome Brunet						function = "tdmb";
11350df8fbb9SJerome Brunet					};
11360df8fbb9SJerome Brunet				};
11370df8fbb9SJerome Brunet
11380df8fbb9SJerome Brunet				tdmb_dout0_pins: tdmb_dout0 {
11390df8fbb9SJerome Brunet					mux {
11400df8fbb9SJerome Brunet						groups = "tdmb_dout0";
11410df8fbb9SJerome Brunet						function = "tdmb";
11420df8fbb9SJerome Brunet					};
11430df8fbb9SJerome Brunet				};
11440df8fbb9SJerome Brunet
11450df8fbb9SJerome Brunet				tdmb_din1_pins: tdmb_din1 {
11460df8fbb9SJerome Brunet					mux {
11470df8fbb9SJerome Brunet						groups = "tdmb_din1";
11480df8fbb9SJerome Brunet						function = "tdmb";
11490df8fbb9SJerome Brunet					};
11500df8fbb9SJerome Brunet				};
11510df8fbb9SJerome Brunet
11520df8fbb9SJerome Brunet				tdmb_dout1_pins: tdmb_dout1 {
11530df8fbb9SJerome Brunet					mux {
11540df8fbb9SJerome Brunet						groups = "tdmb_dout1";
11550df8fbb9SJerome Brunet						function = "tdmb";
11560df8fbb9SJerome Brunet					};
11570df8fbb9SJerome Brunet				};
11580df8fbb9SJerome Brunet
11590df8fbb9SJerome Brunet				tdmb_din2_pins: tdmb_din2 {
11600df8fbb9SJerome Brunet					mux {
11610df8fbb9SJerome Brunet						groups = "tdmb_din2";
11620df8fbb9SJerome Brunet						function = "tdmb";
11630df8fbb9SJerome Brunet					};
11640df8fbb9SJerome Brunet				};
11650df8fbb9SJerome Brunet
11660df8fbb9SJerome Brunet				tdmb_dout2_pins: tdmb_dout2 {
11670df8fbb9SJerome Brunet					mux {
11680df8fbb9SJerome Brunet						groups = "tdmb_dout2";
11690df8fbb9SJerome Brunet						function = "tdmb";
11700df8fbb9SJerome Brunet					};
11710df8fbb9SJerome Brunet				};
11720df8fbb9SJerome Brunet
11730df8fbb9SJerome Brunet				tdmb_din3_pins: tdmb_din3 {
11740df8fbb9SJerome Brunet					mux {
11750df8fbb9SJerome Brunet						groups = "tdmb_din3";
11760df8fbb9SJerome Brunet						function = "tdmb";
11770df8fbb9SJerome Brunet					};
11780df8fbb9SJerome Brunet				};
11790df8fbb9SJerome Brunet
11800df8fbb9SJerome Brunet				tdmb_dout3_pins: tdmb_dout3 {
11810df8fbb9SJerome Brunet					mux {
11820df8fbb9SJerome Brunet						groups = "tdmb_dout3";
11830df8fbb9SJerome Brunet						function = "tdmb";
11840df8fbb9SJerome Brunet					};
11850df8fbb9SJerome Brunet				};
11860df8fbb9SJerome Brunet
11870df8fbb9SJerome Brunet				tdmc_sclk_pins: tdmc_sclk {
11880df8fbb9SJerome Brunet					mux {
11890df8fbb9SJerome Brunet						groups = "tdmc_sclk";
11900df8fbb9SJerome Brunet						function = "tdmc";
11910df8fbb9SJerome Brunet					};
11920df8fbb9SJerome Brunet				};
11930df8fbb9SJerome Brunet
11940df8fbb9SJerome Brunet				tdmc_sclk_slv_pins: tdmc_sclk_slv {
11950df8fbb9SJerome Brunet					mux {
11960df8fbb9SJerome Brunet						groups = "tdmc_sclk_slv";
11970df8fbb9SJerome Brunet						function = "tdmc";
11980df8fbb9SJerome Brunet					};
11990df8fbb9SJerome Brunet				};
12000df8fbb9SJerome Brunet
12010df8fbb9SJerome Brunet				tdmc_fs_pins: tdmc_fs {
12020df8fbb9SJerome Brunet					mux {
12030df8fbb9SJerome Brunet						groups = "tdmc_fs";
12040df8fbb9SJerome Brunet						function = "tdmc";
12050df8fbb9SJerome Brunet					};
12060df8fbb9SJerome Brunet				};
12070df8fbb9SJerome Brunet
12080df8fbb9SJerome Brunet				tdmc_fs_slv_pins: tdmc_fs_slv {
12090df8fbb9SJerome Brunet					mux {
12100df8fbb9SJerome Brunet						groups = "tdmc_fs_slv";
12110df8fbb9SJerome Brunet						function = "tdmc";
12120df8fbb9SJerome Brunet					};
12130df8fbb9SJerome Brunet				};
12140df8fbb9SJerome Brunet
12150df8fbb9SJerome Brunet				tdmc_din0_pins: tdmc_din0 {
12160df8fbb9SJerome Brunet					mux {
12170df8fbb9SJerome Brunet						groups = "tdmc_din0";
12180df8fbb9SJerome Brunet						function = "tdmc";
12190df8fbb9SJerome Brunet					};
12200df8fbb9SJerome Brunet				};
12210df8fbb9SJerome Brunet
12220df8fbb9SJerome Brunet				tdmc_dout0_pins: tdmc_dout0 {
12230df8fbb9SJerome Brunet					mux {
12240df8fbb9SJerome Brunet						groups = "tdmc_dout0";
12250df8fbb9SJerome Brunet						function = "tdmc";
12260df8fbb9SJerome Brunet					};
12270df8fbb9SJerome Brunet				};
12280df8fbb9SJerome Brunet
12290df8fbb9SJerome Brunet				tdmc_din1_pins: tdmc_din1 {
12300df8fbb9SJerome Brunet					mux {
12310df8fbb9SJerome Brunet						groups = "tdmc_din1";
12320df8fbb9SJerome Brunet						function = "tdmc";
12330df8fbb9SJerome Brunet					};
12340df8fbb9SJerome Brunet				};
12350df8fbb9SJerome Brunet
12360df8fbb9SJerome Brunet				tdmc_dout1_pins: tdmc_dout1 {
12370df8fbb9SJerome Brunet					mux {
12380df8fbb9SJerome Brunet						groups = "tdmc_dout1";
12390df8fbb9SJerome Brunet						function = "tdmc";
12400df8fbb9SJerome Brunet					};
12410df8fbb9SJerome Brunet				};
12420df8fbb9SJerome Brunet
12430df8fbb9SJerome Brunet				tdmc_din2_pins: tdmc_din2 {
12440df8fbb9SJerome Brunet					mux {
12450df8fbb9SJerome Brunet						groups = "tdmc_din2";
12460df8fbb9SJerome Brunet						function = "tdmc";
12470df8fbb9SJerome Brunet					};
12480df8fbb9SJerome Brunet				};
12490df8fbb9SJerome Brunet
12500df8fbb9SJerome Brunet				tdmc_dout2_pins: tdmc_dout2 {
12510df8fbb9SJerome Brunet					mux {
12520df8fbb9SJerome Brunet						groups = "tdmc_dout2";
12530df8fbb9SJerome Brunet						function = "tdmc";
12540df8fbb9SJerome Brunet					};
12550df8fbb9SJerome Brunet				};
12560df8fbb9SJerome Brunet
12570df8fbb9SJerome Brunet				tdmc_din3_pins: tdmc_din3 {
12580df8fbb9SJerome Brunet					mux {
12590df8fbb9SJerome Brunet						groups = "tdmc_din3";
12600df8fbb9SJerome Brunet						function = "tdmc";
12610df8fbb9SJerome Brunet					};
12620df8fbb9SJerome Brunet				};
12630df8fbb9SJerome Brunet
12640df8fbb9SJerome Brunet				tdmc_dout3_pins: tdmc_dout3 {
12650df8fbb9SJerome Brunet					mux {
12660df8fbb9SJerome Brunet						groups = "tdmc_dout3";
12670df8fbb9SJerome Brunet						function = "tdmc";
12680df8fbb9SJerome Brunet					};
12690df8fbb9SJerome Brunet				};
1270de05ded6SXingyu Chen			};
1271de05ded6SXingyu Chen		};
1272de05ded6SXingyu Chen
12739d59b708SYixun Lan		sram: sram@fffc0000 {
12749d59b708SYixun Lan			compatible = "amlogic,meson-axg-sram", "mmio-sram";
12759d59b708SYixun Lan			reg = <0x0 0xfffc0000 0x0 0x20000>;
12769d59b708SYixun Lan			#address-cells = <1>;
12779d59b708SYixun Lan			#size-cells = <1>;
12789d59b708SYixun Lan			ranges = <0 0x0 0xfffc0000 0x20000>;
12799d59b708SYixun Lan
12809d59b708SYixun Lan			cpu_scp_lpri: scp-shmem@0 {
12819d59b708SYixun Lan				compatible = "amlogic,meson-axg-scp-shmem";
12829d59b708SYixun Lan				reg = <0x13000 0x400>;
12839d59b708SYixun Lan			};
12849d59b708SYixun Lan
12859d59b708SYixun Lan			cpu_scp_hpri: scp-shmem@200 {
12869d59b708SYixun Lan				compatible = "amlogic,meson-axg-scp-shmem";
12879d59b708SYixun Lan				reg = <0x13400 0x400>;
12889d59b708SYixun Lan			};
12899d59b708SYixun Lan		};
12909d59b708SYixun Lan
12910cb6c604SKevin Hilman		aobus: bus@ff800000 {
12929d59b708SYixun Lan			compatible = "simple-bus";
12939d59b708SYixun Lan			reg = <0x0 0xff800000 0x0 0x100000>;
12949d59b708SYixun Lan			#address-cells = <2>;
12959d59b708SYixun Lan			#size-cells = <2>;
12969d59b708SYixun Lan			ranges = <0x0 0x0 0x0 0xff800000 0x0 0x100000>;
12979d59b708SYixun Lan
1298e03421ecSQiufang Dai			sysctrl_AO: sys-ctrl@0 {
1299e03421ecSQiufang Dai				compatible = "amlogic,meson-axg-ao-sysctrl", "syscon", "simple-mfd";
1300e03421ecSQiufang Dai				reg =  <0x0 0x0 0x0 0x100>;
1301e03421ecSQiufang Dai
1302e03421ecSQiufang Dai				clkc_AO: clock-controller {
1303e03421ecSQiufang Dai					compatible = "amlogic,meson-axg-aoclkc";
1304e03421ecSQiufang Dai					#clock-cells = <1>;
1305e03421ecSQiufang Dai					#reset-cells = <1>;
1306e03421ecSQiufang Dai				};
1307e03421ecSQiufang Dai			};
1308e03421ecSQiufang Dai
1309de05ded6SXingyu Chen			pinctrl_aobus: pinctrl@14 {
1310de05ded6SXingyu Chen				compatible = "amlogic,meson-axg-aobus-pinctrl";
1311de05ded6SXingyu Chen				#address-cells = <2>;
1312de05ded6SXingyu Chen				#size-cells = <2>;
1313de05ded6SXingyu Chen				ranges;
1314de05ded6SXingyu Chen
1315de05ded6SXingyu Chen				gpio_ao: bank@14 {
1316de05ded6SXingyu Chen					reg = <0x0 0x00014 0x0 0x8>,
1317de05ded6SXingyu Chen						<0x0 0x0002c 0x0 0x4>,
1318de05ded6SXingyu Chen						<0x0 0x00024 0x0 0x8>;
1319de05ded6SXingyu Chen					reg-names = "mux", "pull", "gpio";
1320de05ded6SXingyu Chen					gpio-controller;
1321de05ded6SXingyu Chen					#gpio-cells = <2>;
1322de05ded6SXingyu Chen					gpio-ranges = <&pinctrl_aobus 0 0 15>;
1323de05ded6SXingyu Chen				};
13247bd46a79SYixun Lan
1325c054b6c2SJerome Brunet				i2c_ao_sck_4_pins: i2c_ao_sck_4 {
1326c054b6c2SJerome Brunet					mux {
1327c054b6c2SJerome Brunet						groups = "i2c_ao_sck_4";
1328c054b6c2SJerome Brunet						function = "i2c_ao";
1329c054b6c2SJerome Brunet					};
1330c054b6c2SJerome Brunet				};
1331c054b6c2SJerome Brunet
1332c054b6c2SJerome Brunet				i2c_ao_sck_8_pins: i2c_ao_sck_8 {
1333c054b6c2SJerome Brunet					mux {
1334c054b6c2SJerome Brunet						groups = "i2c_ao_sck_8";
1335c054b6c2SJerome Brunet						function = "i2c_ao";
1336c054b6c2SJerome Brunet					};
1337c054b6c2SJerome Brunet				};
1338c054b6c2SJerome Brunet
1339c054b6c2SJerome Brunet				i2c_ao_sck_10_pins: i2c_ao_sck_10 {
1340c054b6c2SJerome Brunet					mux {
1341c054b6c2SJerome Brunet						groups = "i2c_ao_sck_10";
1342c054b6c2SJerome Brunet						function = "i2c_ao";
1343c054b6c2SJerome Brunet					};
1344c054b6c2SJerome Brunet				};
1345c054b6c2SJerome Brunet
1346c054b6c2SJerome Brunet				i2c_ao_sda_5_pins: i2c_ao_sda_5 {
1347c054b6c2SJerome Brunet					mux {
1348c054b6c2SJerome Brunet						groups = "i2c_ao_sda_5";
1349c054b6c2SJerome Brunet						function = "i2c_ao";
1350c054b6c2SJerome Brunet					};
1351c054b6c2SJerome Brunet				};
1352c054b6c2SJerome Brunet
1353c054b6c2SJerome Brunet				i2c_ao_sda_9_pins: i2c_ao_sda_9 {
1354c054b6c2SJerome Brunet					mux {
1355c054b6c2SJerome Brunet						groups = "i2c_ao_sda_9";
1356c054b6c2SJerome Brunet						function = "i2c_ao";
1357c054b6c2SJerome Brunet					};
1358c054b6c2SJerome Brunet				};
1359c054b6c2SJerome Brunet
1360c054b6c2SJerome Brunet				i2c_ao_sda_11_pins: i2c_ao_sda_11 {
1361c054b6c2SJerome Brunet					mux {
1362c054b6c2SJerome Brunet						groups = "i2c_ao_sda_11";
1363c054b6c2SJerome Brunet						function = "i2c_ao";
1364c054b6c2SJerome Brunet					};
1365c054b6c2SJerome Brunet				};
1366c054b6c2SJerome Brunet
13677bd46a79SYixun Lan				remote_input_ao_pins: remote_input_ao {
13687bd46a79SYixun Lan					mux {
13697bd46a79SYixun Lan						groups = "remote_input_ao";
13707bd46a79SYixun Lan						function = "remote_input_ao";
13717bd46a79SYixun Lan					};
13727bd46a79SYixun Lan				};
13734eae66a6SYixun Lan
13744eae66a6SYixun Lan				uart_ao_a_pins: uart_ao_a {
13754eae66a6SYixun Lan					mux {
13764eae66a6SYixun Lan						groups = "uart_ao_tx_a",
13774eae66a6SYixun Lan							"uart_ao_rx_a";
13784eae66a6SYixun Lan						function = "uart_ao_a";
13794eae66a6SYixun Lan					};
13804eae66a6SYixun Lan				};
13814eae66a6SYixun Lan
13824eae66a6SYixun Lan				uart_ao_a_cts_rts_pins: uart_ao_a_cts_rts {
13834eae66a6SYixun Lan					mux {
13844eae66a6SYixun Lan						groups = "uart_ao_cts_a",
13854eae66a6SYixun Lan							"uart_ao_rts_a";
13864eae66a6SYixun Lan						function = "uart_ao_a";
13874eae66a6SYixun Lan					};
13884eae66a6SYixun Lan				};
13894eae66a6SYixun Lan
13904eae66a6SYixun Lan				uart_ao_b_pins: uart_ao_b {
13914eae66a6SYixun Lan					mux {
13924eae66a6SYixun Lan						groups = "uart_ao_tx_b",
13934eae66a6SYixun Lan							"uart_ao_rx_b";
13944eae66a6SYixun Lan						function = "uart_ao_b";
13954eae66a6SYixun Lan					};
13964eae66a6SYixun Lan				};
13974eae66a6SYixun Lan
13984eae66a6SYixun Lan				uart_ao_b_cts_rts_pins: uart_ao_b_cts_rts {
13994eae66a6SYixun Lan					mux {
14004eae66a6SYixun Lan						groups = "uart_ao_cts_b",
14014eae66a6SYixun Lan							"uart_ao_rts_b";
14024eae66a6SYixun Lan						function = "uart_ao_b";
14034eae66a6SYixun Lan					};
14044eae66a6SYixun Lan				};
1405de05ded6SXingyu Chen			};
1406de05ded6SXingyu Chen
1407a04c18cbSJerome Brunet			sec_AO: ao-secure@140 {
1408a04c18cbSJerome Brunet				compatible = "amlogic,meson-gx-ao-secure", "syscon";
1409a04c18cbSJerome Brunet				reg = <0x0 0x140 0x0 0x140>;
1410a04c18cbSJerome Brunet				amlogic,has-chip-id;
1411a04c18cbSJerome Brunet			};
1412a04c18cbSJerome Brunet
14134a81e5ddSJian Hu			pwm_AO_ab: pwm@7000 {
14144a81e5ddSJian Hu				compatible = "amlogic,meson-axg-ao-pwm";
14154a81e5ddSJian Hu				reg = <0x0 0x07000 0x0 0x20>;
14164a81e5ddSJian Hu				#pwm-cells = <3>;
14174a81e5ddSJian Hu				status = "disabled";
14184a81e5ddSJian Hu			};
14194a81e5ddSJian Hu
14204a81e5ddSJian Hu			pwm_AO_cd: pwm@2000 {
1421b4ff05caSJerome Brunet				compatible = "amlogic,meson-axg-ao-pwm";
14224a81e5ddSJian Hu				reg = <0x0 0x02000  0x0 0x20>;
14234a81e5ddSJian Hu				#pwm-cells = <3>;
14244a81e5ddSJian Hu				status = "disabled";
14254a81e5ddSJian Hu			};
14264a81e5ddSJian Hu
1427dc6f858eSJian Hu			i2c_AO: i2c@5000 {
1428dc6f858eSJian Hu				compatible = "amlogic,meson-axg-i2c";
1429dc6f858eSJian Hu				reg = <0x0 0x05000 0x0 0x20>;
1430dc6f858eSJian Hu				interrupts = <GIC_SPI 195 IRQ_TYPE_EDGE_RISING>;
143109eeaf44SJerome Brunet				clocks = <&clkc CLKID_AO_I2C>;
1432dc6f858eSJian Hu				#address-cells = <1>;
1433dc6f858eSJian Hu				#size-cells = <0>;
14342b6ff972SJerome Brunet				status = "disabled";
1435dc6f858eSJian Hu			};
1436dc6f858eSJian Hu
14379d59b708SYixun Lan			uart_AO: serial@3000 {
14389d59b708SYixun Lan				compatible = "amlogic,meson-gx-uart", "amlogic,meson-ao-uart";
14399d59b708SYixun Lan				reg = <0x0 0x3000 0x0 0x18>;
14409d59b708SYixun Lan				interrupts = <GIC_SPI 193 IRQ_TYPE_EDGE_RISING>;
14419adda353SYixun Lan				clocks = <&xtal>, <&clkc_AO CLKID_AO_UART1>, <&xtal>;
14429d59b708SYixun Lan				clock-names = "xtal", "pclk", "baud";
14439d59b708SYixun Lan				status = "disabled";
14449d59b708SYixun Lan			};
14459d59b708SYixun Lan
14469d59b708SYixun Lan			uart_AO_B: serial@4000 {
14479d59b708SYixun Lan				compatible = "amlogic,meson-gx-uart", "amlogic,meson-ao-uart";
14489d59b708SYixun Lan				reg = <0x0 0x4000 0x0 0x18>;
14499d59b708SYixun Lan				interrupts = <GIC_SPI 197 IRQ_TYPE_EDGE_RISING>;
14509adda353SYixun Lan				clocks = <&xtal>, <&clkc_AO CLKID_AO_UART2>, <&xtal>;
14519d59b708SYixun Lan				clock-names = "xtal", "pclk", "baud";
14529d59b708SYixun Lan				status = "disabled";
14539d59b708SYixun Lan			};
14547bd46a79SYixun Lan
14557bd46a79SYixun Lan			ir: ir@8000 {
14567bd46a79SYixun Lan				compatible = "amlogic,meson-gxbb-ir";
14577bd46a79SYixun Lan				reg = <0x0 0x8000 0x0 0x20>;
14587bd46a79SYixun Lan				interrupts = <GIC_SPI 196 IRQ_TYPE_EDGE_RISING>;
14597bd46a79SYixun Lan				status = "disabled";
14607bd46a79SYixun Lan			};
1461a51b74eaSXingyu Chen
1462a51b74eaSXingyu Chen			saradc: adc@9000 {
1463a51b74eaSXingyu Chen				compatible = "amlogic,meson-axg-saradc",
1464a51b74eaSXingyu Chen					"amlogic,meson-saradc";
1465a51b74eaSXingyu Chen				reg = <0x0 0x9000 0x0 0x38>;
1466a51b74eaSXingyu Chen				#io-channel-cells = <1>;
1467a51b74eaSXingyu Chen				interrupts = <GIC_SPI 73 IRQ_TYPE_EDGE_RISING>;
1468a51b74eaSXingyu Chen				clocks = <&xtal>,
1469a51b74eaSXingyu Chen					<&clkc_AO CLKID_AO_SAR_ADC>,
1470a51b74eaSXingyu Chen					<&clkc_AO CLKID_AO_SAR_ADC_CLK>,
1471a51b74eaSXingyu Chen					<&clkc_AO CLKID_AO_SAR_ADC_SEL>;
1472a51b74eaSXingyu Chen				clock-names = "clkin", "core", "adc_clk", "adc_sel";
1473a51b74eaSXingyu Chen				status = "disabled";
1474a51b74eaSXingyu Chen			};
14759d59b708SYixun Lan		};
14769d59b708SYixun Lan	};
14779d59b708SYixun Lan};
1478