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
68c0cf40fSJerome Brunet#include <dt-bindings/clock/axg-aoclkc.h>
78909e722SJerome Brunet#include <dt-bindings/clock/axg-audio-clkc.h>
806b7a631SYixun Lan#include <dt-bindings/clock/axg-clkc.h>
98c0cf40fSJerome Brunet#include <dt-bindings/gpio/gpio.h>
10221cf34bSNan Li#include <dt-bindings/gpio/meson-axg-gpio.h>
118c0cf40fSJerome Brunet#include <dt-bindings/interrupt-controller/irq.h>
128c0cf40fSJerome Brunet#include <dt-bindings/interrupt-controller/arm-gic.h>
13f2b8f6a9SJerome Brunet#include <dt-bindings/reset/amlogic,meson-axg-audio-arb.h>
148c0cf40fSJerome Brunet#include <dt-bindings/reset/amlogic,meson-axg-reset.h>
159d59b708SYixun Lan
169d59b708SYixun Lan/ {
179d59b708SYixun Lan	compatible = "amlogic,meson-axg";
189d59b708SYixun Lan
199d59b708SYixun Lan	interrupt-parent = <&gic>;
209d59b708SYixun Lan	#address-cells = <2>;
219d59b708SYixun Lan	#size-cells = <2>;
229d59b708SYixun Lan
23fbd5cbc5SJerome Brunet	tdmif_a: audio-controller-0 {
248c0cf40fSJerome Brunet		compatible = "amlogic,axg-tdm-iface";
258c0cf40fSJerome Brunet		#sound-dai-cells = <0>;
268c0cf40fSJerome Brunet		sound-name-prefix = "TDM_A";
278c0cf40fSJerome Brunet		clocks = <&clkc_audio AUD_CLKID_MST_A_MCLK>,
288c0cf40fSJerome Brunet			 <&clkc_audio AUD_CLKID_MST_A_SCLK>,
298c0cf40fSJerome Brunet			 <&clkc_audio AUD_CLKID_MST_A_LRCLK>;
308c0cf40fSJerome Brunet		clock-names = "mclk", "sclk", "lrclk";
318c0cf40fSJerome Brunet		status = "disabled";
329d59b708SYixun Lan	};
339d59b708SYixun Lan
34fbd5cbc5SJerome Brunet	tdmif_b: audio-controller-1 {
358c0cf40fSJerome Brunet		compatible = "amlogic,axg-tdm-iface";
368c0cf40fSJerome Brunet		#sound-dai-cells = <0>;
378c0cf40fSJerome Brunet		sound-name-prefix = "TDM_B";
388c0cf40fSJerome Brunet		clocks = <&clkc_audio AUD_CLKID_MST_B_MCLK>,
398c0cf40fSJerome Brunet			 <&clkc_audio AUD_CLKID_MST_B_SCLK>,
408c0cf40fSJerome Brunet			 <&clkc_audio AUD_CLKID_MST_B_LRCLK>;
418c0cf40fSJerome Brunet		clock-names = "mclk", "sclk", "lrclk";
428c0cf40fSJerome Brunet		status = "disabled";
439d59b708SYixun Lan	};
448c0cf40fSJerome Brunet
45fbd5cbc5SJerome Brunet	tdmif_c: audio-controller-2 {
468c0cf40fSJerome Brunet		compatible = "amlogic,axg-tdm-iface";
478c0cf40fSJerome Brunet		#sound-dai-cells = <0>;
488c0cf40fSJerome Brunet		sound-name-prefix = "TDM_C";
498c0cf40fSJerome Brunet		clocks = <&clkc_audio AUD_CLKID_MST_C_MCLK>,
508c0cf40fSJerome Brunet			 <&clkc_audio AUD_CLKID_MST_C_SCLK>,
518c0cf40fSJerome Brunet			 <&clkc_audio AUD_CLKID_MST_C_LRCLK>;
528c0cf40fSJerome Brunet		clock-names = "mclk", "sclk", "lrclk";
538c0cf40fSJerome Brunet		status = "disabled";
548c0cf40fSJerome Brunet	};
558c0cf40fSJerome Brunet
568c0cf40fSJerome Brunet	ao_alt_xtal: ao_alt_xtal-clk {
578c0cf40fSJerome Brunet		compatible = "fixed-clock";
588c0cf40fSJerome Brunet		clock-frequency = <32000000>;
598c0cf40fSJerome Brunet		clock-output-names = "ao_alt_xtal";
608c0cf40fSJerome Brunet		#clock-cells = <0>;
618c0cf40fSJerome Brunet	};
628c0cf40fSJerome Brunet
638c0cf40fSJerome Brunet	arm-pmu {
648c0cf40fSJerome Brunet		compatible = "arm,cortex-a53-pmu";
658c0cf40fSJerome Brunet		interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>,
668c0cf40fSJerome Brunet			     <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>,
678c0cf40fSJerome Brunet			     <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>,
688c0cf40fSJerome Brunet			     <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
698c0cf40fSJerome Brunet		interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
709d59b708SYixun Lan	};
719d59b708SYixun Lan
729d59b708SYixun Lan	cpus {
739d59b708SYixun Lan		#address-cells = <0x2>;
749d59b708SYixun Lan		#size-cells = <0x0>;
759d59b708SYixun Lan
769d59b708SYixun Lan		cpu0: cpu@0 {
779d59b708SYixun Lan			device_type = "cpu";
789d59b708SYixun Lan			compatible = "arm,cortex-a53", "arm,armv8";
799d59b708SYixun Lan			reg = <0x0 0x0>;
809d59b708SYixun Lan			enable-method = "psci";
819d59b708SYixun Lan			next-level-cache = <&l2>;
829d59b708SYixun Lan		};
839d59b708SYixun Lan
849d59b708SYixun Lan		cpu1: cpu@1 {
859d59b708SYixun Lan			device_type = "cpu";
869d59b708SYixun Lan			compatible = "arm,cortex-a53", "arm,armv8";
879d59b708SYixun Lan			reg = <0x0 0x1>;
889d59b708SYixun Lan			enable-method = "psci";
899d59b708SYixun Lan			next-level-cache = <&l2>;
909d59b708SYixun Lan		};
919d59b708SYixun Lan
929d59b708SYixun Lan		cpu2: cpu@2 {
939d59b708SYixun Lan			device_type = "cpu";
949d59b708SYixun Lan			compatible = "arm,cortex-a53", "arm,armv8";
959d59b708SYixun Lan			reg = <0x0 0x2>;
969d59b708SYixun Lan			enable-method = "psci";
979d59b708SYixun Lan			next-level-cache = <&l2>;
989d59b708SYixun Lan		};
999d59b708SYixun Lan
1009d59b708SYixun Lan		cpu3: cpu@3 {
1019d59b708SYixun Lan			device_type = "cpu";
1029d59b708SYixun Lan			compatible = "arm,cortex-a53", "arm,armv8";
1039d59b708SYixun Lan			reg = <0x0 0x3>;
1049d59b708SYixun Lan			enable-method = "psci";
1059d59b708SYixun Lan			next-level-cache = <&l2>;
1069d59b708SYixun Lan		};
1079d59b708SYixun Lan
1089d59b708SYixun Lan		l2: l2-cache0 {
1099d59b708SYixun Lan			compatible = "cache";
1109d59b708SYixun Lan		};
1119d59b708SYixun Lan	};
1129d59b708SYixun Lan
11396dc5702SJerome Brunet	sm: secure-monitor {
11496dc5702SJerome Brunet		compatible = "amlogic,meson-gxbb-sm";
11596dc5702SJerome Brunet	};
11696dc5702SJerome Brunet
1179d59b708SYixun Lan	psci {
1189d59b708SYixun Lan		compatible = "arm,psci-1.0";
1199d59b708SYixun Lan		method = "smc";
1209d59b708SYixun Lan	};
1219d59b708SYixun Lan
1228c0cf40fSJerome Brunet	reserved-memory {
1238c0cf40fSJerome Brunet		#address-cells = <2>;
1248c0cf40fSJerome Brunet		#size-cells = <2>;
1258c0cf40fSJerome Brunet		ranges;
1268c0cf40fSJerome Brunet
1278c0cf40fSJerome Brunet		/* 16 MiB reserved for Hardware ROM Firmware */
1288c0cf40fSJerome Brunet		hwrom_reserved: hwrom@0 {
1298c0cf40fSJerome Brunet			reg = <0x0 0x0 0x0 0x1000000>;
1308c0cf40fSJerome Brunet			no-map;
13108307aabSJerome Brunet		};
13208307aabSJerome Brunet
1338c0cf40fSJerome Brunet		/* Alternate 3 MiB reserved for ARM Trusted Firmware (BL31) */
1348c0cf40fSJerome Brunet		secmon_reserved: secmon@5000000 {
1358c0cf40fSJerome Brunet			reg = <0x0 0x05000000 0x0 0x300000>;
1368c0cf40fSJerome Brunet			no-map;
13708307aabSJerome Brunet		};
1385e395e14SYixun Lan	};
1395e395e14SYixun Lan
1409d59b708SYixun Lan	soc {
1419d59b708SYixun Lan		compatible = "simple-bus";
1429d59b708SYixun Lan		#address-cells = <2>;
1439d59b708SYixun Lan		#size-cells = <2>;
1449d59b708SYixun Lan		ranges;
1459d59b708SYixun Lan
1468c0cf40fSJerome Brunet		ethmac: ethernet@ff3f0000 {
147eaf8f57cSNeil Armstrong			compatible = "amlogic,meson-axg-dwmac", "snps,dwmac";
1488c0cf40fSJerome Brunet			reg = <0x0 0xff3f0000 0x0 0x10000
1498c0cf40fSJerome Brunet			       0x0 0xff634540 0x0 0x8>;
1508c0cf40fSJerome Brunet			interrupts = <GIC_SPI 8 IRQ_TYPE_EDGE_RISING>;
1518c0cf40fSJerome Brunet			interrupt-names = "macirq";
1528c0cf40fSJerome Brunet			clocks = <&clkc CLKID_ETH>,
1538c0cf40fSJerome Brunet				 <&clkc CLKID_FCLK_DIV2>,
1548c0cf40fSJerome Brunet				 <&clkc CLKID_MPLL2>;
1558c0cf40fSJerome Brunet			clock-names = "stmmaceth", "clkin0", "clkin1";
1568c0cf40fSJerome Brunet			status = "disabled";
1578c0cf40fSJerome Brunet		};
1588c0cf40fSJerome Brunet
159c362e4e0SJerome Brunet		pdm: audio-controller@ff632000 {
160c362e4e0SJerome Brunet			compatible = "amlogic,axg-pdm";
161c362e4e0SJerome Brunet			reg = <0x0 0xff632000 0x0 0x34>;
162c362e4e0SJerome Brunet			#sound-dai-cells = <0>;
163c362e4e0SJerome Brunet			sound-name-prefix = "PDM";
164c362e4e0SJerome Brunet			clocks = <&clkc_audio AUD_CLKID_PDM>,
165c362e4e0SJerome Brunet				 <&clkc_audio AUD_CLKID_PDM_DCLK>,
166c362e4e0SJerome Brunet				 <&clkc_audio AUD_CLKID_PDM_SYSCLK>;
167c362e4e0SJerome Brunet			clock-names = "pclk", "dclk", "sysclk";
168c362e4e0SJerome Brunet			status = "disabled";
169c362e4e0SJerome Brunet		};
170c362e4e0SJerome Brunet
1718c0cf40fSJerome Brunet		periphs: bus@ff634000 {
172221cf34bSNan Li			compatible = "simple-bus";
1738c0cf40fSJerome Brunet			reg = <0x0 0xff634000 0x0 0x2000>;
174221cf34bSNan Li			#address-cells = <2>;
175221cf34bSNan Li			#size-cells = <2>;
1768c0cf40fSJerome Brunet			ranges = <0x0 0x0 0x0 0xff634000 0x0 0x2000>;
177221cf34bSNan Li
1788c0cf40fSJerome Brunet			hwrng: rng@18 {
1798c0cf40fSJerome Brunet				compatible = "amlogic,meson-rng";
1808c0cf40fSJerome Brunet				reg = <0x0 0x18 0x0 0x4>;
1818c0cf40fSJerome Brunet				clocks = <&clkc CLKID_RNG0>;
1828c0cf40fSJerome Brunet				clock-names = "core";
183221cf34bSNan Li			};
184221cf34bSNan Li
1858c0cf40fSJerome Brunet			pinctrl_periphs: pinctrl@480 {
1868c0cf40fSJerome Brunet				compatible = "amlogic,meson-axg-periphs-pinctrl";
1878c0cf40fSJerome Brunet				#address-cells = <2>;
1888c0cf40fSJerome Brunet				#size-cells = <2>;
1898c0cf40fSJerome Brunet				ranges;
1908c0cf40fSJerome Brunet
1918c0cf40fSJerome Brunet				gpio: bank@480 {
1928c0cf40fSJerome Brunet					reg = <0x0 0x00480 0x0 0x40>,
1938c0cf40fSJerome Brunet					      <0x0 0x004e8 0x0 0x14>,
1948c0cf40fSJerome Brunet					      <0x0 0x00520 0x0 0x14>,
1958c0cf40fSJerome Brunet					      <0x0 0x00430 0x0 0x3c>;
1968c0cf40fSJerome Brunet					reg-names = "mux", "pull", "pull-enable", "gpio";
1978c0cf40fSJerome Brunet					gpio-controller;
1988c0cf40fSJerome Brunet					#gpio-cells = <2>;
1998c0cf40fSJerome Brunet					gpio-ranges = <&pinctrl_periphs 0 0 86>;
200221cf34bSNan Li				};
2018c0cf40fSJerome Brunet
2028c0cf40fSJerome Brunet				i2c0_pins: i2c0 {
2038c0cf40fSJerome Brunet					mux {
2048c0cf40fSJerome Brunet						groups = "i2c0_sck",
2058c0cf40fSJerome Brunet							 "i2c0_sda";
2068c0cf40fSJerome Brunet						function = "i2c0";
2078c0cf40fSJerome Brunet					};
2088c0cf40fSJerome Brunet				};
2098c0cf40fSJerome Brunet
2108c0cf40fSJerome Brunet				i2c1_x_pins: i2c1_x {
2118c0cf40fSJerome Brunet					mux {
2128c0cf40fSJerome Brunet						groups = "i2c1_sck_x",
2138c0cf40fSJerome Brunet							 "i2c1_sda_x";
2148c0cf40fSJerome Brunet						function = "i2c1";
2158c0cf40fSJerome Brunet					};
2168c0cf40fSJerome Brunet				};
2178c0cf40fSJerome Brunet
2188c0cf40fSJerome Brunet				i2c1_z_pins: i2c1_z {
2198c0cf40fSJerome Brunet					mux {
2208c0cf40fSJerome Brunet						groups = "i2c1_sck_z",
2218c0cf40fSJerome Brunet							 "i2c1_sda_z";
2228c0cf40fSJerome Brunet						function = "i2c1";
2238c0cf40fSJerome Brunet					};
2248c0cf40fSJerome Brunet				};
2258c0cf40fSJerome Brunet
2268c0cf40fSJerome Brunet				i2c2_a_pins: i2c2_a {
2278c0cf40fSJerome Brunet					mux {
2288c0cf40fSJerome Brunet						groups = "i2c2_sck_a",
2298c0cf40fSJerome Brunet							 "i2c2_sda_a";
2308c0cf40fSJerome Brunet						function = "i2c2";
2318c0cf40fSJerome Brunet					};
2328c0cf40fSJerome Brunet				};
2338c0cf40fSJerome Brunet
2348c0cf40fSJerome Brunet				i2c2_x_pins: i2c2_x {
2358c0cf40fSJerome Brunet					mux {
2368c0cf40fSJerome Brunet						groups = "i2c2_sck_x",
2378c0cf40fSJerome Brunet							 "i2c2_sda_x";
2388c0cf40fSJerome Brunet						function = "i2c2";
2398c0cf40fSJerome Brunet					};
2408c0cf40fSJerome Brunet				};
2418c0cf40fSJerome Brunet
2428c0cf40fSJerome Brunet				i2c3_a6_pins: i2c3_a6 {
2438c0cf40fSJerome Brunet					mux {
2448c0cf40fSJerome Brunet						groups = "i2c3_sda_a6",
2458c0cf40fSJerome Brunet							 "i2c3_sck_a7";
2468c0cf40fSJerome Brunet						function = "i2c3";
2478c0cf40fSJerome Brunet					};
2488c0cf40fSJerome Brunet				};
2498c0cf40fSJerome Brunet
2508c0cf40fSJerome Brunet				i2c3_a12_pins: i2c3_a12 {
2518c0cf40fSJerome Brunet					mux {
2528c0cf40fSJerome Brunet						groups = "i2c3_sda_a12",
2538c0cf40fSJerome Brunet							 "i2c3_sck_a13";
2548c0cf40fSJerome Brunet						function = "i2c3";
2558c0cf40fSJerome Brunet					};
2568c0cf40fSJerome Brunet				};
2578c0cf40fSJerome Brunet
2588c0cf40fSJerome Brunet				i2c3_a19_pins: i2c3_a19 {
2598c0cf40fSJerome Brunet					mux {
2608c0cf40fSJerome Brunet						groups = "i2c3_sda_a19",
2618c0cf40fSJerome Brunet							 "i2c3_sck_a20";
2628c0cf40fSJerome Brunet						function = "i2c3";
2638c0cf40fSJerome Brunet					};
2648c0cf40fSJerome Brunet				};
2658c0cf40fSJerome Brunet
2668c0cf40fSJerome Brunet				emmc_pins: emmc {
2678c0cf40fSJerome Brunet					mux {
2688c0cf40fSJerome Brunet						groups = "emmc_nand_d0",
2698c0cf40fSJerome Brunet							 "emmc_nand_d1",
2708c0cf40fSJerome Brunet							 "emmc_nand_d2",
2718c0cf40fSJerome Brunet							 "emmc_nand_d3",
2728c0cf40fSJerome Brunet							 "emmc_nand_d4",
2738c0cf40fSJerome Brunet							 "emmc_nand_d5",
2748c0cf40fSJerome Brunet							 "emmc_nand_d6",
2758c0cf40fSJerome Brunet							 "emmc_nand_d7",
2768c0cf40fSJerome Brunet							 "emmc_clk",
2778c0cf40fSJerome Brunet							 "emmc_cmd",
2788c0cf40fSJerome Brunet							 "emmc_ds";
2798c0cf40fSJerome Brunet						function = "emmc";
2808c0cf40fSJerome Brunet					};
2818c0cf40fSJerome Brunet				};
2828c0cf40fSJerome Brunet
2838c0cf40fSJerome Brunet				emmc_clk_gate_pins: emmc_clk_gate {
2848c0cf40fSJerome Brunet					mux {
2858c0cf40fSJerome Brunet						groups = "BOOT_8";
2868c0cf40fSJerome Brunet						function = "gpio_periphs";
2878c0cf40fSJerome Brunet					};
2888c0cf40fSJerome Brunet					cfg-pull-down {
2898c0cf40fSJerome Brunet						pins = "BOOT_8";
2908c0cf40fSJerome Brunet						bias-pull-down;
2918c0cf40fSJerome Brunet					};
2928c0cf40fSJerome Brunet				};
2938c0cf40fSJerome Brunet
2948c0cf40fSJerome Brunet				eth_rgmii_x_pins: eth-x-rgmii {
2958c0cf40fSJerome Brunet					mux {
2968c0cf40fSJerome Brunet						groups = "eth_mdio_x",
2978c0cf40fSJerome Brunet							 "eth_mdc_x",
2988c0cf40fSJerome Brunet							 "eth_rgmii_rx_clk_x",
2998c0cf40fSJerome Brunet							 "eth_rx_dv_x",
3008c0cf40fSJerome Brunet							 "eth_rxd0_x",
3018c0cf40fSJerome Brunet							 "eth_rxd1_x",
3028c0cf40fSJerome Brunet							 "eth_rxd2_rgmii",
3038c0cf40fSJerome Brunet							 "eth_rxd3_rgmii",
3048c0cf40fSJerome Brunet							 "eth_rgmii_tx_clk",
3058c0cf40fSJerome Brunet							 "eth_txen_x",
3068c0cf40fSJerome Brunet							 "eth_txd0_x",
3078c0cf40fSJerome Brunet							 "eth_txd1_x",
3088c0cf40fSJerome Brunet							 "eth_txd2_rgmii",
3098c0cf40fSJerome Brunet							 "eth_txd3_rgmii";
3108c0cf40fSJerome Brunet						function = "eth";
3118c0cf40fSJerome Brunet					};
3128c0cf40fSJerome Brunet				};
3138c0cf40fSJerome Brunet
3148c0cf40fSJerome Brunet				eth_rgmii_y_pins: eth-y-rgmii {
3158c0cf40fSJerome Brunet					mux {
3168c0cf40fSJerome Brunet						groups = "eth_mdio_y",
3178c0cf40fSJerome Brunet							 "eth_mdc_y",
3188c0cf40fSJerome Brunet							 "eth_rgmii_rx_clk_y",
3198c0cf40fSJerome Brunet							 "eth_rx_dv_y",
3208c0cf40fSJerome Brunet							 "eth_rxd0_y",
3218c0cf40fSJerome Brunet							 "eth_rxd1_y",
3228c0cf40fSJerome Brunet							 "eth_rxd2_rgmii",
3238c0cf40fSJerome Brunet							 "eth_rxd3_rgmii",
3248c0cf40fSJerome Brunet							 "eth_rgmii_tx_clk",
3258c0cf40fSJerome Brunet							 "eth_txen_y",
3268c0cf40fSJerome Brunet							 "eth_txd0_y",
3278c0cf40fSJerome Brunet							 "eth_txd1_y",
3288c0cf40fSJerome Brunet							 "eth_txd2_rgmii",
3298c0cf40fSJerome Brunet							 "eth_txd3_rgmii";
3308c0cf40fSJerome Brunet						function = "eth";
3318c0cf40fSJerome Brunet					};
3328c0cf40fSJerome Brunet				};
3338c0cf40fSJerome Brunet
3348c0cf40fSJerome Brunet				eth_rmii_x_pins: eth-x-rmii {
3358c0cf40fSJerome Brunet					mux {
3368c0cf40fSJerome Brunet						groups = "eth_mdio_x",
3378c0cf40fSJerome Brunet							 "eth_mdc_x",
3388c0cf40fSJerome Brunet							 "eth_rgmii_rx_clk_x",
3398c0cf40fSJerome Brunet							 "eth_rx_dv_x",
3408c0cf40fSJerome Brunet							 "eth_rxd0_x",
3418c0cf40fSJerome Brunet							 "eth_rxd1_x",
3428c0cf40fSJerome Brunet							 "eth_txen_x",
3438c0cf40fSJerome Brunet							 "eth_txd0_x",
3448c0cf40fSJerome Brunet							 "eth_txd1_x";
3458c0cf40fSJerome Brunet						function = "eth";
3468c0cf40fSJerome Brunet					};
3478c0cf40fSJerome Brunet				};
3488c0cf40fSJerome Brunet
3498c0cf40fSJerome Brunet				eth_rmii_y_pins: eth-y-rmii {
3508c0cf40fSJerome Brunet					mux {
3518c0cf40fSJerome Brunet						groups = "eth_mdio_y",
3528c0cf40fSJerome Brunet							 "eth_mdc_y",
3538c0cf40fSJerome Brunet							 "eth_rgmii_rx_clk_y",
3548c0cf40fSJerome Brunet							 "eth_rx_dv_y",
3558c0cf40fSJerome Brunet							 "eth_rxd0_y",
3568c0cf40fSJerome Brunet							 "eth_rxd1_y",
3578c0cf40fSJerome Brunet							 "eth_txen_y",
3588c0cf40fSJerome Brunet							 "eth_txd0_y",
3598c0cf40fSJerome Brunet							 "eth_txd1_y";
3608c0cf40fSJerome Brunet						function = "eth";
3618c0cf40fSJerome Brunet					};
3628c0cf40fSJerome Brunet				};
3638c0cf40fSJerome Brunet
3648c0cf40fSJerome Brunet				mclk_b_pins: mclk_b {
3658c0cf40fSJerome Brunet					mux {
3668c0cf40fSJerome Brunet						groups = "mclk_b";
3678c0cf40fSJerome Brunet						function = "mclk_b";
3688c0cf40fSJerome Brunet					};
3698c0cf40fSJerome Brunet				};
3708c0cf40fSJerome Brunet
3718c0cf40fSJerome Brunet				mclk_c_pins: mclk_c {
3728c0cf40fSJerome Brunet					mux {
3738c0cf40fSJerome Brunet						groups = "mclk_c";
3748c0cf40fSJerome Brunet						function = "mclk_c";
3758c0cf40fSJerome Brunet					};
3768c0cf40fSJerome Brunet				};
3778c0cf40fSJerome Brunet
3788c0cf40fSJerome Brunet				pdm_dclk_a14_pins: pdm_dclk_a14 {
3798c0cf40fSJerome Brunet					mux {
3808c0cf40fSJerome Brunet						groups = "pdm_dclk_a14";
3818c0cf40fSJerome Brunet						function = "pdm";
3828c0cf40fSJerome Brunet					};
3838c0cf40fSJerome Brunet				};
3848c0cf40fSJerome Brunet
3858c0cf40fSJerome Brunet				pdm_dclk_a19_pins: pdm_dclk_a19 {
3868c0cf40fSJerome Brunet					mux {
3878c0cf40fSJerome Brunet						groups = "pdm_dclk_a19";
3888c0cf40fSJerome Brunet						function = "pdm";
3898c0cf40fSJerome Brunet					};
3908c0cf40fSJerome Brunet				};
3918c0cf40fSJerome Brunet
3928c0cf40fSJerome Brunet				pdm_din0_pins: pdm_din0 {
3938c0cf40fSJerome Brunet					mux {
3948c0cf40fSJerome Brunet						groups = "pdm_din0";
3958c0cf40fSJerome Brunet						function = "pdm";
3968c0cf40fSJerome Brunet					};
3978c0cf40fSJerome Brunet				};
3988c0cf40fSJerome Brunet
3998c0cf40fSJerome Brunet				pdm_din1_pins: pdm_din1 {
4008c0cf40fSJerome Brunet					mux {
4018c0cf40fSJerome Brunet						groups = "pdm_din1";
4028c0cf40fSJerome Brunet						function = "pdm";
4038c0cf40fSJerome Brunet					};
4048c0cf40fSJerome Brunet				};
4058c0cf40fSJerome Brunet
4068c0cf40fSJerome Brunet				pdm_din2_pins: pdm_din2 {
4078c0cf40fSJerome Brunet					mux {
4088c0cf40fSJerome Brunet						groups = "pdm_din2";
4098c0cf40fSJerome Brunet						function = "pdm";
4108c0cf40fSJerome Brunet					};
4118c0cf40fSJerome Brunet				};
4128c0cf40fSJerome Brunet
4138c0cf40fSJerome Brunet				pdm_din3_pins: pdm_din3 {
4148c0cf40fSJerome Brunet					mux {
4158c0cf40fSJerome Brunet						groups = "pdm_din3";
4168c0cf40fSJerome Brunet						function = "pdm";
4178c0cf40fSJerome Brunet					};
4188c0cf40fSJerome Brunet				};
4198c0cf40fSJerome Brunet
4208c0cf40fSJerome Brunet				pwm_a_a_pins: pwm_a_a {
4218c0cf40fSJerome Brunet					mux {
4228c0cf40fSJerome Brunet						groups = "pwm_a_a";
4238c0cf40fSJerome Brunet						function = "pwm_a";
4248c0cf40fSJerome Brunet					};
4258c0cf40fSJerome Brunet				};
4268c0cf40fSJerome Brunet
4278c0cf40fSJerome Brunet				pwm_a_x18_pins: pwm_a_x18 {
4288c0cf40fSJerome Brunet					mux {
4298c0cf40fSJerome Brunet						groups = "pwm_a_x18";
4308c0cf40fSJerome Brunet						function = "pwm_a";
4318c0cf40fSJerome Brunet					};
4328c0cf40fSJerome Brunet				};
4338c0cf40fSJerome Brunet
4348c0cf40fSJerome Brunet				pwm_a_x20_pins: pwm_a_x20 {
4358c0cf40fSJerome Brunet					mux {
4368c0cf40fSJerome Brunet						groups = "pwm_a_x20";
4378c0cf40fSJerome Brunet						function = "pwm_a";
4388c0cf40fSJerome Brunet					};
4398c0cf40fSJerome Brunet				};
4408c0cf40fSJerome Brunet
4418c0cf40fSJerome Brunet				pwm_a_z_pins: pwm_a_z {
4428c0cf40fSJerome Brunet					mux {
4438c0cf40fSJerome Brunet						groups = "pwm_a_z";
4448c0cf40fSJerome Brunet						function = "pwm_a";
4458c0cf40fSJerome Brunet					};
4468c0cf40fSJerome Brunet				};
4478c0cf40fSJerome Brunet
4488c0cf40fSJerome Brunet				pwm_b_a_pins: pwm_b_a {
4498c0cf40fSJerome Brunet					mux {
4508c0cf40fSJerome Brunet						groups = "pwm_b_a";
4518c0cf40fSJerome Brunet						function = "pwm_b";
4528c0cf40fSJerome Brunet					};
4538c0cf40fSJerome Brunet				};
4548c0cf40fSJerome Brunet
4558c0cf40fSJerome Brunet				pwm_b_x_pins: pwm_b_x {
4568c0cf40fSJerome Brunet					mux {
4578c0cf40fSJerome Brunet						groups = "pwm_b_x";
4588c0cf40fSJerome Brunet						function = "pwm_b";
4598c0cf40fSJerome Brunet					};
4608c0cf40fSJerome Brunet				};
4618c0cf40fSJerome Brunet
4628c0cf40fSJerome Brunet				pwm_b_z_pins: pwm_b_z {
4638c0cf40fSJerome Brunet					mux {
4648c0cf40fSJerome Brunet						groups = "pwm_b_z";
4658c0cf40fSJerome Brunet						function = "pwm_b";
4668c0cf40fSJerome Brunet					};
4678c0cf40fSJerome Brunet				};
4688c0cf40fSJerome Brunet
4698c0cf40fSJerome Brunet				pwm_c_a_pins: pwm_c_a {
4708c0cf40fSJerome Brunet					mux {
4718c0cf40fSJerome Brunet						groups = "pwm_c_a";
4728c0cf40fSJerome Brunet						function = "pwm_c";
4738c0cf40fSJerome Brunet					};
4748c0cf40fSJerome Brunet				};
4758c0cf40fSJerome Brunet
4768c0cf40fSJerome Brunet				pwm_c_x10_pins: pwm_c_x10 {
4778c0cf40fSJerome Brunet					mux {
4788c0cf40fSJerome Brunet						groups = "pwm_c_x10";
4798c0cf40fSJerome Brunet						function = "pwm_c";
4808c0cf40fSJerome Brunet					};
4818c0cf40fSJerome Brunet				};
4828c0cf40fSJerome Brunet
4838c0cf40fSJerome Brunet				pwm_c_x17_pins: pwm_c_x17 {
4848c0cf40fSJerome Brunet					mux {
4858c0cf40fSJerome Brunet						groups = "pwm_c_x17";
4868c0cf40fSJerome Brunet						function = "pwm_c";
4878c0cf40fSJerome Brunet					};
4888c0cf40fSJerome Brunet				};
4898c0cf40fSJerome Brunet
4908c0cf40fSJerome Brunet				pwm_d_x11_pins: pwm_d_x11 {
4918c0cf40fSJerome Brunet					mux {
4928c0cf40fSJerome Brunet						groups = "pwm_d_x11";
4938c0cf40fSJerome Brunet						function = "pwm_d";
4948c0cf40fSJerome Brunet					};
4958c0cf40fSJerome Brunet				};
4968c0cf40fSJerome Brunet
4978c0cf40fSJerome Brunet				pwm_d_x16_pins: pwm_d_x16 {
4988c0cf40fSJerome Brunet					mux {
4998c0cf40fSJerome Brunet						groups = "pwm_d_x16";
5008c0cf40fSJerome Brunet						function = "pwm_d";
5018c0cf40fSJerome Brunet					};
5028c0cf40fSJerome Brunet				};
5038c0cf40fSJerome Brunet
5048c0cf40fSJerome Brunet				sdio_pins: sdio {
5058c0cf40fSJerome Brunet					mux {
5068c0cf40fSJerome Brunet						groups = "sdio_d0",
5078c0cf40fSJerome Brunet							 "sdio_d1",
5088c0cf40fSJerome Brunet							 "sdio_d2",
5098c0cf40fSJerome Brunet							 "sdio_d3",
5108c0cf40fSJerome Brunet							 "sdio_cmd",
5118c0cf40fSJerome Brunet							 "sdio_clk";
5128c0cf40fSJerome Brunet						function = "sdio";
5138c0cf40fSJerome Brunet					};
5148c0cf40fSJerome Brunet				};
5158c0cf40fSJerome Brunet
5168c0cf40fSJerome Brunet				sdio_clk_gate_pins: sdio_clk_gate {
5178c0cf40fSJerome Brunet					mux {
5188c0cf40fSJerome Brunet						groups = "GPIOX_4";
5198c0cf40fSJerome Brunet						function = "gpio_periphs";
5208c0cf40fSJerome Brunet					};
5218c0cf40fSJerome Brunet					cfg-pull-down {
5228c0cf40fSJerome Brunet						pins = "GPIOX_4";
5238c0cf40fSJerome Brunet						bias-pull-down;
5248c0cf40fSJerome Brunet					};
5258c0cf40fSJerome Brunet				};
5268c0cf40fSJerome Brunet
5278c0cf40fSJerome Brunet				spdif_in_z_pins: spdif_in_z {
5288c0cf40fSJerome Brunet					mux {
5298c0cf40fSJerome Brunet						groups = "spdif_in_z";
5308c0cf40fSJerome Brunet						function = "spdif_in";
5318c0cf40fSJerome Brunet					};
5328c0cf40fSJerome Brunet				};
5338c0cf40fSJerome Brunet
5348c0cf40fSJerome Brunet				spdif_in_a1_pins: spdif_in_a1 {
5358c0cf40fSJerome Brunet					mux {
5368c0cf40fSJerome Brunet						groups = "spdif_in_a1";
5378c0cf40fSJerome Brunet						function = "spdif_in";
5388c0cf40fSJerome Brunet					};
5398c0cf40fSJerome Brunet				};
5408c0cf40fSJerome Brunet
5418c0cf40fSJerome Brunet				spdif_in_a7_pins: spdif_in_a7 {
5428c0cf40fSJerome Brunet					mux {
5438c0cf40fSJerome Brunet						groups = "spdif_in_a7";
5448c0cf40fSJerome Brunet						function = "spdif_in";
5458c0cf40fSJerome Brunet					};
5468c0cf40fSJerome Brunet				};
5478c0cf40fSJerome Brunet
5488c0cf40fSJerome Brunet				spdif_in_a19_pins: spdif_in_a19 {
5498c0cf40fSJerome Brunet					mux {
5508c0cf40fSJerome Brunet						groups = "spdif_in_a19";
5518c0cf40fSJerome Brunet						function = "spdif_in";
5528c0cf40fSJerome Brunet					};
5538c0cf40fSJerome Brunet				};
5548c0cf40fSJerome Brunet
5558c0cf40fSJerome Brunet				spdif_in_a20_pins: spdif_in_a20 {
5568c0cf40fSJerome Brunet					mux {
5578c0cf40fSJerome Brunet						groups = "spdif_in_a20";
5588c0cf40fSJerome Brunet						function = "spdif_in";
5598c0cf40fSJerome Brunet					};
5608c0cf40fSJerome Brunet				};
5618c0cf40fSJerome Brunet
5628c0cf40fSJerome Brunet				spdif_out_a1_pins: spdif_out_a1 {
5638c0cf40fSJerome Brunet					mux {
5648c0cf40fSJerome Brunet						groups = "spdif_out_a1";
5658c0cf40fSJerome Brunet						function = "spdif_out";
5668c0cf40fSJerome Brunet					};
5678c0cf40fSJerome Brunet				};
5688c0cf40fSJerome Brunet
5698c0cf40fSJerome Brunet				spdif_out_a11_pins: spdif_out_a11 {
5708c0cf40fSJerome Brunet					mux {
5718c0cf40fSJerome Brunet						groups = "spdif_out_a11";
5728c0cf40fSJerome Brunet						function = "spdif_out";
5738c0cf40fSJerome Brunet					};
5748c0cf40fSJerome Brunet				};
5758c0cf40fSJerome Brunet
5768c0cf40fSJerome Brunet				spdif_out_a19_pins: spdif_out_a19 {
5778c0cf40fSJerome Brunet					mux {
5788c0cf40fSJerome Brunet						groups = "spdif_out_a19";
5798c0cf40fSJerome Brunet						function = "spdif_out";
5808c0cf40fSJerome Brunet					};
5818c0cf40fSJerome Brunet				};
5828c0cf40fSJerome Brunet
5838c0cf40fSJerome Brunet				spdif_out_a20_pins: spdif_out_a20 {
5848c0cf40fSJerome Brunet					mux {
5858c0cf40fSJerome Brunet						groups = "spdif_out_a20";
5868c0cf40fSJerome Brunet						function = "spdif_out";
5878c0cf40fSJerome Brunet					};
5888c0cf40fSJerome Brunet				};
5898c0cf40fSJerome Brunet
5908c0cf40fSJerome Brunet				spdif_out_z_pins: spdif_out_z {
5918c0cf40fSJerome Brunet					mux {
5928c0cf40fSJerome Brunet						groups = "spdif_out_z";
5938c0cf40fSJerome Brunet						function = "spdif_out";
5948c0cf40fSJerome Brunet					};
5958c0cf40fSJerome Brunet				};
5968c0cf40fSJerome Brunet
5978c0cf40fSJerome Brunet				spi0_pins: spi0 {
5988c0cf40fSJerome Brunet					mux {
5998c0cf40fSJerome Brunet						groups = "spi0_miso",
6008c0cf40fSJerome Brunet							 "spi0_mosi",
6018c0cf40fSJerome Brunet							 "spi0_clk";
6028c0cf40fSJerome Brunet						function = "spi0";
6038c0cf40fSJerome Brunet					};
6048c0cf40fSJerome Brunet				};
6058c0cf40fSJerome Brunet
6068c0cf40fSJerome Brunet				spi0_ss0_pins: spi0_ss0 {
6078c0cf40fSJerome Brunet					mux {
6088c0cf40fSJerome Brunet						groups = "spi0_ss0";
6098c0cf40fSJerome Brunet						function = "spi0";
6108c0cf40fSJerome Brunet					};
6118c0cf40fSJerome Brunet				};
6128c0cf40fSJerome Brunet
6138c0cf40fSJerome Brunet				spi0_ss1_pins: spi0_ss1 {
6148c0cf40fSJerome Brunet					mux {
6158c0cf40fSJerome Brunet						groups = "spi0_ss1";
6168c0cf40fSJerome Brunet						function = "spi0";
6178c0cf40fSJerome Brunet					};
6188c0cf40fSJerome Brunet				};
6198c0cf40fSJerome Brunet
6208c0cf40fSJerome Brunet				spi0_ss2_pins: spi0_ss2 {
6218c0cf40fSJerome Brunet					mux {
6228c0cf40fSJerome Brunet						groups = "spi0_ss2";
6238c0cf40fSJerome Brunet						function = "spi0";
6248c0cf40fSJerome Brunet					};
6258c0cf40fSJerome Brunet				};
6268c0cf40fSJerome Brunet
6278c0cf40fSJerome Brunet				spi1_a_pins: spi1_a {
6288c0cf40fSJerome Brunet					mux {
6298c0cf40fSJerome Brunet						groups = "spi1_miso_a",
6308c0cf40fSJerome Brunet							 "spi1_mosi_a",
6318c0cf40fSJerome Brunet							 "spi1_clk_a";
6328c0cf40fSJerome Brunet						function = "spi1";
6338c0cf40fSJerome Brunet					};
6348c0cf40fSJerome Brunet				};
6358c0cf40fSJerome Brunet
6368c0cf40fSJerome Brunet				spi1_ss0_a_pins: spi1_ss0_a {
6378c0cf40fSJerome Brunet					mux {
6388c0cf40fSJerome Brunet						groups = "spi1_ss0_a";
6398c0cf40fSJerome Brunet						function = "spi1";
6408c0cf40fSJerome Brunet					};
6418c0cf40fSJerome Brunet				};
6428c0cf40fSJerome Brunet
6438c0cf40fSJerome Brunet				spi1_ss1_pins: spi1_ss1 {
6448c0cf40fSJerome Brunet					mux {
6458c0cf40fSJerome Brunet						groups = "spi1_ss1";
6468c0cf40fSJerome Brunet						function = "spi1";
6478c0cf40fSJerome Brunet					};
6488c0cf40fSJerome Brunet				};
6498c0cf40fSJerome Brunet
6508c0cf40fSJerome Brunet				spi1_x_pins: spi1_x {
6518c0cf40fSJerome Brunet					mux {
6528c0cf40fSJerome Brunet						groups = "spi1_miso_x",
6538c0cf40fSJerome Brunet							 "spi1_mosi_x",
6548c0cf40fSJerome Brunet							 "spi1_clk_x";
6558c0cf40fSJerome Brunet						function = "spi1";
6568c0cf40fSJerome Brunet					};
6578c0cf40fSJerome Brunet				};
6588c0cf40fSJerome Brunet
6598c0cf40fSJerome Brunet				spi1_ss0_x_pins: spi1_ss0_x {
6608c0cf40fSJerome Brunet					mux {
6618c0cf40fSJerome Brunet						groups = "spi1_ss0_x";
6628c0cf40fSJerome Brunet						function = "spi1";
6638c0cf40fSJerome Brunet					};
6648c0cf40fSJerome Brunet				};
6658c0cf40fSJerome Brunet
6668c0cf40fSJerome Brunet				tdma_din0_pins: tdma_din0 {
6678c0cf40fSJerome Brunet					mux {
6688c0cf40fSJerome Brunet						groups = "tdma_din0";
6698c0cf40fSJerome Brunet						function = "tdma";
6708c0cf40fSJerome Brunet					};
6718c0cf40fSJerome Brunet				};
6728c0cf40fSJerome Brunet
6738c0cf40fSJerome Brunet				tdma_dout0_x14_pins: tdma_dout0_x14 {
6748c0cf40fSJerome Brunet					mux {
6758c0cf40fSJerome Brunet						groups = "tdma_dout0_x14";
6768c0cf40fSJerome Brunet						function = "tdma";
6778c0cf40fSJerome Brunet					};
6788c0cf40fSJerome Brunet				};
6798c0cf40fSJerome Brunet
6808c0cf40fSJerome Brunet				tdma_dout0_x15_pins: tdma_dout0_x15 {
6818c0cf40fSJerome Brunet					mux {
6828c0cf40fSJerome Brunet						groups = "tdma_dout0_x15";
6838c0cf40fSJerome Brunet						function = "tdma";
6848c0cf40fSJerome Brunet					};
6858c0cf40fSJerome Brunet				};
6868c0cf40fSJerome Brunet
6878c0cf40fSJerome Brunet				tdma_dout1_pins: tdma_dout1 {
6888c0cf40fSJerome Brunet					mux {
6898c0cf40fSJerome Brunet						groups = "tdma_dout1";
6908c0cf40fSJerome Brunet						function = "tdma";
6918c0cf40fSJerome Brunet					};
6928c0cf40fSJerome Brunet				};
6938c0cf40fSJerome Brunet
6948c0cf40fSJerome Brunet				tdma_din1_pins: tdma_din1 {
6958c0cf40fSJerome Brunet					mux {
6968c0cf40fSJerome Brunet						groups = "tdma_din1";
6978c0cf40fSJerome Brunet						function = "tdma";
6988c0cf40fSJerome Brunet					};
6998c0cf40fSJerome Brunet				};
7008c0cf40fSJerome Brunet
7018c0cf40fSJerome Brunet				tdma_fs_pins: tdma_fs {
7028c0cf40fSJerome Brunet					mux {
7038c0cf40fSJerome Brunet						groups = "tdma_fs";
7048c0cf40fSJerome Brunet						function = "tdma";
7058c0cf40fSJerome Brunet					};
7068c0cf40fSJerome Brunet				};
7078c0cf40fSJerome Brunet
7088c0cf40fSJerome Brunet				tdma_fs_slv_pins: tdma_fs_slv {
7098c0cf40fSJerome Brunet					mux {
7108c0cf40fSJerome Brunet						groups = "tdma_fs_slv";
7118c0cf40fSJerome Brunet						function = "tdma";
7128c0cf40fSJerome Brunet					};
7138c0cf40fSJerome Brunet				};
7148c0cf40fSJerome Brunet
7158c0cf40fSJerome Brunet				tdma_sclk_pins: tdma_sclk {
7168c0cf40fSJerome Brunet					mux {
7178c0cf40fSJerome Brunet						groups = "tdma_sclk";
7188c0cf40fSJerome Brunet						function = "tdma";
7198c0cf40fSJerome Brunet					};
7208c0cf40fSJerome Brunet				};
7218c0cf40fSJerome Brunet
7228c0cf40fSJerome Brunet				tdma_sclk_slv_pins: tdma_sclk_slv {
7238c0cf40fSJerome Brunet					mux {
7248c0cf40fSJerome Brunet						groups = "tdma_sclk_slv";
7258c0cf40fSJerome Brunet						function = "tdma";
7268c0cf40fSJerome Brunet					};
7278c0cf40fSJerome Brunet				};
7288c0cf40fSJerome Brunet
7298c0cf40fSJerome Brunet				tdmb_din0_pins: tdmb_din0 {
7308c0cf40fSJerome Brunet					mux {
7318c0cf40fSJerome Brunet						groups = "tdmb_din0";
7328c0cf40fSJerome Brunet						function = "tdmb";
7338c0cf40fSJerome Brunet					};
7348c0cf40fSJerome Brunet				};
7358c0cf40fSJerome Brunet
7368c0cf40fSJerome Brunet				tdmb_din1_pins: tdmb_din1 {
7378c0cf40fSJerome Brunet					mux {
7388c0cf40fSJerome Brunet						groups = "tdmb_din1";
7398c0cf40fSJerome Brunet						function = "tdmb";
7408c0cf40fSJerome Brunet					};
7418c0cf40fSJerome Brunet				};
7428c0cf40fSJerome Brunet
7438c0cf40fSJerome Brunet				tdmb_din2_pins: tdmb_din2 {
7448c0cf40fSJerome Brunet					mux {
7458c0cf40fSJerome Brunet						groups = "tdmb_din2";
7468c0cf40fSJerome Brunet						function = "tdmb";
7478c0cf40fSJerome Brunet					};
7488c0cf40fSJerome Brunet				};
7498c0cf40fSJerome Brunet
7508c0cf40fSJerome Brunet				tdmb_din3_pins: tdmb_din3 {
7518c0cf40fSJerome Brunet					mux {
7528c0cf40fSJerome Brunet						groups = "tdmb_din3";
7538c0cf40fSJerome Brunet						function = "tdmb";
7548c0cf40fSJerome Brunet					};
7558c0cf40fSJerome Brunet				};
7568c0cf40fSJerome Brunet
7578c0cf40fSJerome Brunet				tdmb_dout0_pins: tdmb_dout0 {
7588c0cf40fSJerome Brunet					mux {
7598c0cf40fSJerome Brunet						groups = "tdmb_dout0";
7608c0cf40fSJerome Brunet						function = "tdmb";
7618c0cf40fSJerome Brunet					};
7628c0cf40fSJerome Brunet				};
7638c0cf40fSJerome Brunet
7648c0cf40fSJerome Brunet				tdmb_dout1_pins: tdmb_dout1 {
7658c0cf40fSJerome Brunet					mux {
7668c0cf40fSJerome Brunet						groups = "tdmb_dout1";
7678c0cf40fSJerome Brunet						function = "tdmb";
7688c0cf40fSJerome Brunet					};
7698c0cf40fSJerome Brunet				};
7708c0cf40fSJerome Brunet
7718c0cf40fSJerome Brunet				tdmb_dout2_pins: tdmb_dout2 {
7728c0cf40fSJerome Brunet					mux {
7738c0cf40fSJerome Brunet						groups = "tdmb_dout2";
7748c0cf40fSJerome Brunet						function = "tdmb";
7758c0cf40fSJerome Brunet					};
7768c0cf40fSJerome Brunet				};
7778c0cf40fSJerome Brunet
7788c0cf40fSJerome Brunet				tdmb_dout3_pins: tdmb_dout3 {
7798c0cf40fSJerome Brunet					mux {
7808c0cf40fSJerome Brunet						groups = "tdmb_dout3";
7818c0cf40fSJerome Brunet						function = "tdmb";
7828c0cf40fSJerome Brunet					};
7838c0cf40fSJerome Brunet				};
7848c0cf40fSJerome Brunet
7858c0cf40fSJerome Brunet				tdmb_fs_pins: tdmb_fs {
7868c0cf40fSJerome Brunet					mux {
7878c0cf40fSJerome Brunet						groups = "tdmb_fs";
7888c0cf40fSJerome Brunet						function = "tdmb";
7898c0cf40fSJerome Brunet					};
7908c0cf40fSJerome Brunet				};
7918c0cf40fSJerome Brunet
7928c0cf40fSJerome Brunet				tdmb_fs_slv_pins: tdmb_fs_slv {
7938c0cf40fSJerome Brunet					mux {
7948c0cf40fSJerome Brunet						groups = "tdmb_fs_slv";
7958c0cf40fSJerome Brunet						function = "tdmb";
7968c0cf40fSJerome Brunet					};
7978c0cf40fSJerome Brunet				};
7988c0cf40fSJerome Brunet
7998c0cf40fSJerome Brunet				tdmb_sclk_pins: tdmb_sclk {
8008c0cf40fSJerome Brunet					mux {
8018c0cf40fSJerome Brunet						groups = "tdmb_sclk";
8028c0cf40fSJerome Brunet						function = "tdmb";
8038c0cf40fSJerome Brunet					};
8048c0cf40fSJerome Brunet				};
8058c0cf40fSJerome Brunet
8068c0cf40fSJerome Brunet				tdmb_sclk_slv_pins: tdmb_sclk_slv {
8078c0cf40fSJerome Brunet					mux {
8088c0cf40fSJerome Brunet						groups = "tdmb_sclk_slv";
8098c0cf40fSJerome Brunet						function = "tdmb";
8108c0cf40fSJerome Brunet					};
8118c0cf40fSJerome Brunet				};
8128c0cf40fSJerome Brunet
8138c0cf40fSJerome Brunet				tdmc_fs_pins: tdmc_fs {
8148c0cf40fSJerome Brunet					mux {
8158c0cf40fSJerome Brunet						groups = "tdmc_fs";
8168c0cf40fSJerome Brunet						function = "tdmc";
8178c0cf40fSJerome Brunet					};
8188c0cf40fSJerome Brunet				};
8198c0cf40fSJerome Brunet
8208c0cf40fSJerome Brunet				tdmc_fs_slv_pins: tdmc_fs_slv {
8218c0cf40fSJerome Brunet					mux {
8228c0cf40fSJerome Brunet						groups = "tdmc_fs_slv";
8238c0cf40fSJerome Brunet						function = "tdmc";
8248c0cf40fSJerome Brunet					};
8258c0cf40fSJerome Brunet				};
8268c0cf40fSJerome Brunet
8278c0cf40fSJerome Brunet				tdmc_sclk_pins: tdmc_sclk {
8288c0cf40fSJerome Brunet					mux {
8298c0cf40fSJerome Brunet						groups = "tdmc_sclk";
8308c0cf40fSJerome Brunet						function = "tdmc";
8318c0cf40fSJerome Brunet					};
8328c0cf40fSJerome Brunet				};
8338c0cf40fSJerome Brunet
8348c0cf40fSJerome Brunet				tdmc_sclk_slv_pins: tdmc_sclk_slv {
8358c0cf40fSJerome Brunet					mux {
8368c0cf40fSJerome Brunet						groups = "tdmc_sclk_slv";
8378c0cf40fSJerome Brunet						function = "tdmc";
8388c0cf40fSJerome Brunet					};
8398c0cf40fSJerome Brunet				};
8408c0cf40fSJerome Brunet
8418c0cf40fSJerome Brunet				tdmc_din0_pins: tdmc_din0 {
8428c0cf40fSJerome Brunet					mux {
8438c0cf40fSJerome Brunet						groups = "tdmc_din0";
8448c0cf40fSJerome Brunet						function = "tdmc";
8458c0cf40fSJerome Brunet					};
8468c0cf40fSJerome Brunet				};
8478c0cf40fSJerome Brunet
8488c0cf40fSJerome Brunet				tdmc_din1_pins: tdmc_din1 {
8498c0cf40fSJerome Brunet					mux {
8508c0cf40fSJerome Brunet						groups = "tdmc_din1";
8518c0cf40fSJerome Brunet						function = "tdmc";
8528c0cf40fSJerome Brunet					};
8538c0cf40fSJerome Brunet				};
8548c0cf40fSJerome Brunet
8558c0cf40fSJerome Brunet				tdmc_din2_pins: tdmc_din2 {
8568c0cf40fSJerome Brunet					mux {
8578c0cf40fSJerome Brunet						groups = "tdmc_din2";
8588c0cf40fSJerome Brunet						function = "tdmc";
8598c0cf40fSJerome Brunet					};
8608c0cf40fSJerome Brunet				};
8618c0cf40fSJerome Brunet
8628c0cf40fSJerome Brunet				tdmc_din3_pins: tdmc_din3 {
8638c0cf40fSJerome Brunet					mux {
8648c0cf40fSJerome Brunet						groups = "tdmc_din3";
8658c0cf40fSJerome Brunet						function = "tdmc";
8668c0cf40fSJerome Brunet					};
8678c0cf40fSJerome Brunet				};
8688c0cf40fSJerome Brunet
8698c0cf40fSJerome Brunet				tdmc_dout0_pins: tdmc_dout0 {
8708c0cf40fSJerome Brunet					mux {
8718c0cf40fSJerome Brunet						groups = "tdmc_dout0";
8728c0cf40fSJerome Brunet						function = "tdmc";
8738c0cf40fSJerome Brunet					};
8748c0cf40fSJerome Brunet				};
8758c0cf40fSJerome Brunet
8768c0cf40fSJerome Brunet				tdmc_dout1_pins: tdmc_dout1 {
8778c0cf40fSJerome Brunet					mux {
8788c0cf40fSJerome Brunet						groups = "tdmc_dout1";
8798c0cf40fSJerome Brunet						function = "tdmc";
8808c0cf40fSJerome Brunet					};
8818c0cf40fSJerome Brunet				};
8828c0cf40fSJerome Brunet
8838c0cf40fSJerome Brunet				tdmc_dout2_pins: tdmc_dout2 {
8848c0cf40fSJerome Brunet					mux {
8858c0cf40fSJerome Brunet						groups = "tdmc_dout2";
8868c0cf40fSJerome Brunet						function = "tdmc";
8878c0cf40fSJerome Brunet					};
8888c0cf40fSJerome Brunet				};
8898c0cf40fSJerome Brunet
8908c0cf40fSJerome Brunet				tdmc_dout3_pins: tdmc_dout3 {
8918c0cf40fSJerome Brunet					mux {
8928c0cf40fSJerome Brunet						groups = "tdmc_dout3";
8938c0cf40fSJerome Brunet						function = "tdmc";
8948c0cf40fSJerome Brunet					};
8958c0cf40fSJerome Brunet				};
8968c0cf40fSJerome Brunet
8978c0cf40fSJerome Brunet				uart_a_pins: uart_a {
8988c0cf40fSJerome Brunet					mux {
8998c0cf40fSJerome Brunet						groups = "uart_tx_a",
9008c0cf40fSJerome Brunet							 "uart_rx_a";
9018c0cf40fSJerome Brunet						function = "uart_a";
9028c0cf40fSJerome Brunet					};
9038c0cf40fSJerome Brunet				};
9048c0cf40fSJerome Brunet
9058c0cf40fSJerome Brunet				uart_a_cts_rts_pins: uart_a_cts_rts {
9068c0cf40fSJerome Brunet					mux {
9078c0cf40fSJerome Brunet						groups = "uart_cts_a",
9088c0cf40fSJerome Brunet							 "uart_rts_a";
9098c0cf40fSJerome Brunet						function = "uart_a";
9108c0cf40fSJerome Brunet					};
9118c0cf40fSJerome Brunet				};
9128c0cf40fSJerome Brunet
9138c0cf40fSJerome Brunet				uart_b_x_pins: uart_b_x {
9148c0cf40fSJerome Brunet					mux {
9158c0cf40fSJerome Brunet						groups = "uart_tx_b_x",
9168c0cf40fSJerome Brunet							 "uart_rx_b_x";
9178c0cf40fSJerome Brunet						function = "uart_b";
9188c0cf40fSJerome Brunet					};
9198c0cf40fSJerome Brunet				};
9208c0cf40fSJerome Brunet
9218c0cf40fSJerome Brunet				uart_b_x_cts_rts_pins: uart_b_x_cts_rts {
9228c0cf40fSJerome Brunet					mux {
9238c0cf40fSJerome Brunet						groups = "uart_cts_b_x",
9248c0cf40fSJerome Brunet							 "uart_rts_b_x";
9258c0cf40fSJerome Brunet						function = "uart_b";
9268c0cf40fSJerome Brunet					};
9278c0cf40fSJerome Brunet				};
9288c0cf40fSJerome Brunet
9298c0cf40fSJerome Brunet				uart_b_z_pins: uart_b_z {
9308c0cf40fSJerome Brunet					mux {
9318c0cf40fSJerome Brunet						groups = "uart_tx_b_z",
9328c0cf40fSJerome Brunet							 "uart_rx_b_z";
9338c0cf40fSJerome Brunet						function = "uart_b";
9348c0cf40fSJerome Brunet					};
9358c0cf40fSJerome Brunet				};
9368c0cf40fSJerome Brunet
9378c0cf40fSJerome Brunet				uart_b_z_cts_rts_pins: uart_b_z_cts_rts {
9388c0cf40fSJerome Brunet					mux {
9398c0cf40fSJerome Brunet						groups = "uart_cts_b_z",
9408c0cf40fSJerome Brunet							 "uart_rts_b_z";
9418c0cf40fSJerome Brunet						function = "uart_b";
9428c0cf40fSJerome Brunet					};
9438c0cf40fSJerome Brunet				};
9448c0cf40fSJerome Brunet
9458c0cf40fSJerome Brunet				uart_ao_b_z_pins: uart_ao_b_z {
9468c0cf40fSJerome Brunet					mux {
9478c0cf40fSJerome Brunet						groups = "uart_ao_tx_b_z",
9488c0cf40fSJerome Brunet							 "uart_ao_rx_b_z";
9498c0cf40fSJerome Brunet						function = "uart_ao_b_z";
9508c0cf40fSJerome Brunet					};
9518c0cf40fSJerome Brunet				};
9528c0cf40fSJerome Brunet
9538c0cf40fSJerome Brunet				uart_ao_b_z_cts_rts_pins: uart_ao_b_z_cts_rts {
9548c0cf40fSJerome Brunet					mux {
9558c0cf40fSJerome Brunet						groups = "uart_ao_cts_b_z",
9568c0cf40fSJerome Brunet							 "uart_ao_rts_b_z";
9578c0cf40fSJerome Brunet						function = "uart_ao_b_z";
9588c0cf40fSJerome Brunet					};
9598c0cf40fSJerome Brunet				};
9608c0cf40fSJerome Brunet			};
9618c0cf40fSJerome Brunet		};
9628c0cf40fSJerome Brunet
9638c0cf40fSJerome Brunet		hiubus: bus@ff63c000 {
9648c0cf40fSJerome Brunet			compatible = "simple-bus";
9658c0cf40fSJerome Brunet			reg = <0x0 0xff63c000 0x0 0x1c00>;
9668c0cf40fSJerome Brunet			#address-cells = <2>;
9678c0cf40fSJerome Brunet			#size-cells = <2>;
9688c0cf40fSJerome Brunet			ranges = <0x0 0x0 0x0 0xff63c000 0x0 0x1c00>;
9698c0cf40fSJerome Brunet
9708c0cf40fSJerome Brunet			sysctrl: system-controller@0 {
9718c0cf40fSJerome Brunet				compatible = "amlogic,meson-axg-hhi-sysctrl",
972445f2bdaSNeil Armstrong					     "simple-mfd", "syscon";
9738c0cf40fSJerome Brunet				reg = <0 0 0 0x400>;
9748c0cf40fSJerome Brunet
9758c0cf40fSJerome Brunet				clkc: clock-controller {
9768c0cf40fSJerome Brunet					compatible = "amlogic,axg-clkc";
9778c0cf40fSJerome Brunet					#clock-cells = <1>;
9788c0cf40fSJerome Brunet				};
9798c0cf40fSJerome Brunet			};
9808c0cf40fSJerome Brunet		};
9818c0cf40fSJerome Brunet
9828c0cf40fSJerome Brunet		mailbox: mailbox@ff63dc00 {
9838c0cf40fSJerome Brunet			compatible = "amlogic,meson-gx-mhu", "amlogic,meson-gxbb-mhu";
9848c0cf40fSJerome Brunet			reg = <0 0xff63dc00 0 0x400>;
9858c0cf40fSJerome Brunet			interrupts = <GIC_SPI 208 IRQ_TYPE_EDGE_RISING>,
9868c0cf40fSJerome Brunet				     <GIC_SPI 209 IRQ_TYPE_EDGE_RISING>,
9878c0cf40fSJerome Brunet				     <GIC_SPI 210 IRQ_TYPE_EDGE_RISING>;
9888c0cf40fSJerome Brunet			#mbox-cells = <1>;
989221cf34bSNan Li		};
990221cf34bSNan Li
9918909e722SJerome Brunet		audio: bus@ff642000 {
9928909e722SJerome Brunet			compatible = "simple-bus";
9938909e722SJerome Brunet			reg = <0x0 0xff642000 0x0 0x2000>;
9948909e722SJerome Brunet			#address-cells = <2>;
9958909e722SJerome Brunet			#size-cells = <2>;
9968909e722SJerome Brunet			ranges = <0x0 0x0 0x0 0xff642000 0x0 0x2000>;
9978909e722SJerome Brunet
9988909e722SJerome Brunet			clkc_audio: clock-controller@0 {
9998909e722SJerome Brunet				compatible = "amlogic,axg-audio-clkc";
10008909e722SJerome Brunet				reg = <0x0 0x0 0x0 0xb4>;
10018909e722SJerome Brunet				#clock-cells = <1>;
10028909e722SJerome Brunet
10038909e722SJerome Brunet				clocks = <&clkc CLKID_AUDIO>,
10048909e722SJerome Brunet					 <&clkc CLKID_MPLL0>,
10058909e722SJerome Brunet					 <&clkc CLKID_MPLL1>,
10068909e722SJerome Brunet					 <&clkc CLKID_MPLL2>,
10078909e722SJerome Brunet					 <&clkc CLKID_MPLL3>,
10088909e722SJerome Brunet					 <&clkc CLKID_HIFI_PLL>,
10098909e722SJerome Brunet					 <&clkc CLKID_FCLK_DIV3>,
10108909e722SJerome Brunet					 <&clkc CLKID_FCLK_DIV4>,
10118909e722SJerome Brunet					 <&clkc CLKID_GP0_PLL>;
10128909e722SJerome Brunet				clock-names = "pclk",
10138909e722SJerome Brunet					      "mst_in0",
10148909e722SJerome Brunet					      "mst_in1",
10158909e722SJerome Brunet					      "mst_in2",
10168909e722SJerome Brunet					      "mst_in3",
10178909e722SJerome Brunet					      "mst_in4",
10188909e722SJerome Brunet					      "mst_in5",
10198909e722SJerome Brunet					      "mst_in6",
10208909e722SJerome Brunet					      "mst_in7";
10218909e722SJerome Brunet
10228909e722SJerome Brunet				resets = <&reset RESET_AUDIO>;
10238909e722SJerome Brunet			};
102466d58a8fSJerome Brunet
1025f2b8f6a9SJerome Brunet			toddr_a: audio-controller@100 {
1026f2b8f6a9SJerome Brunet				compatible = "amlogic,axg-toddr";
1027f2b8f6a9SJerome Brunet				reg = <0x0 0x100 0x0 0x1c>;
1028f2b8f6a9SJerome Brunet				#sound-dai-cells = <0>;
1029f2b8f6a9SJerome Brunet				sound-name-prefix = "TODDR_A";
1030f2b8f6a9SJerome Brunet				interrupts = <GIC_SPI 84 IRQ_TYPE_EDGE_RISING>;
1031f2b8f6a9SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TODDR_A>;
1032f2b8f6a9SJerome Brunet				resets = <&arb AXG_ARB_TODDR_A>;
1033f2b8f6a9SJerome Brunet				status = "disabled";
1034f2b8f6a9SJerome Brunet			};
1035f2b8f6a9SJerome Brunet
1036f2b8f6a9SJerome Brunet			toddr_b: audio-controller@140 {
1037f2b8f6a9SJerome Brunet				compatible = "amlogic,axg-toddr";
1038f2b8f6a9SJerome Brunet				reg = <0x0 0x140 0x0 0x1c>;
1039f2b8f6a9SJerome Brunet				#sound-dai-cells = <0>;
1040f2b8f6a9SJerome Brunet				sound-name-prefix = "TODDR_B";
1041f2b8f6a9SJerome Brunet				interrupts = <GIC_SPI 85 IRQ_TYPE_EDGE_RISING>;
1042f2b8f6a9SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TODDR_B>;
1043f2b8f6a9SJerome Brunet				resets = <&arb AXG_ARB_TODDR_B>;
1044f2b8f6a9SJerome Brunet				status = "disabled";
1045f2b8f6a9SJerome Brunet			};
1046f2b8f6a9SJerome Brunet
1047f2b8f6a9SJerome Brunet			toddr_c: audio-controller@180 {
1048f2b8f6a9SJerome Brunet				compatible = "amlogic,axg-toddr";
1049f2b8f6a9SJerome Brunet				reg = <0x0 0x180 0x0 0x1c>;
1050f2b8f6a9SJerome Brunet				#sound-dai-cells = <0>;
1051f2b8f6a9SJerome Brunet				sound-name-prefix = "TODDR_C";
1052f2b8f6a9SJerome Brunet				interrupts = <GIC_SPI 86 IRQ_TYPE_EDGE_RISING>;
1053f2b8f6a9SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TODDR_C>;
1054f2b8f6a9SJerome Brunet				resets = <&arb AXG_ARB_TODDR_C>;
1055f2b8f6a9SJerome Brunet				status = "disabled";
1056f2b8f6a9SJerome Brunet			};
1057f2b8f6a9SJerome Brunet
1058f2b8f6a9SJerome Brunet			frddr_a: audio-controller@1c0 {
1059f2b8f6a9SJerome Brunet				compatible = "amlogic,axg-frddr";
1060f2b8f6a9SJerome Brunet				reg = <0x0 0x1c0 0x0 0x1c>;
1061f2b8f6a9SJerome Brunet				#sound-dai-cells = <0>;
1062f2b8f6a9SJerome Brunet				sound-name-prefix = "FRDDR_A";
1063f2b8f6a9SJerome Brunet				interrupts = <GIC_SPI 88 IRQ_TYPE_EDGE_RISING>;
1064f2b8f6a9SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_FRDDR_A>;
1065f2b8f6a9SJerome Brunet				resets = <&arb AXG_ARB_FRDDR_A>;
1066f2b8f6a9SJerome Brunet				status = "disabled";
1067f2b8f6a9SJerome Brunet			};
1068f2b8f6a9SJerome Brunet
1069f2b8f6a9SJerome Brunet			frddr_b: audio-controller@200 {
1070f2b8f6a9SJerome Brunet				compatible = "amlogic,axg-frddr";
1071f2b8f6a9SJerome Brunet				reg = <0x0 0x200 0x0 0x1c>;
1072f2b8f6a9SJerome Brunet				#sound-dai-cells = <0>;
1073f2b8f6a9SJerome Brunet				sound-name-prefix = "FRDDR_B";
1074f2b8f6a9SJerome Brunet				interrupts = <GIC_SPI 89 IRQ_TYPE_EDGE_RISING>;
1075f2b8f6a9SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_FRDDR_B>;
1076f2b8f6a9SJerome Brunet				resets = <&arb AXG_ARB_FRDDR_B>;
1077f2b8f6a9SJerome Brunet				status = "disabled";
1078f2b8f6a9SJerome Brunet			};
1079f2b8f6a9SJerome Brunet
1080f2b8f6a9SJerome Brunet			frddr_c: audio-controller@240 {
1081f2b8f6a9SJerome Brunet				compatible = "amlogic,axg-frddr";
1082f2b8f6a9SJerome Brunet				reg = <0x0 0x240 0x0 0x1c>;
1083f2b8f6a9SJerome Brunet				#sound-dai-cells = <0>;
1084f2b8f6a9SJerome Brunet				sound-name-prefix = "FRDDR_C";
1085f2b8f6a9SJerome Brunet				interrupts = <GIC_SPI 90 IRQ_TYPE_EDGE_RISING>;
1086f2b8f6a9SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_FRDDR_C>;
1087f2b8f6a9SJerome Brunet				resets = <&arb AXG_ARB_FRDDR_C>;
1088f2b8f6a9SJerome Brunet				status = "disabled";
1089f2b8f6a9SJerome Brunet			};
1090f2b8f6a9SJerome Brunet
109166d58a8fSJerome Brunet			arb: reset-controller@280 {
109266d58a8fSJerome Brunet				compatible = "amlogic,meson-axg-audio-arb";
109366d58a8fSJerome Brunet				reg = <0x0 0x280 0x0 0x4>;
109466d58a8fSJerome Brunet				#reset-cells = <1>;
109566d58a8fSJerome Brunet				clocks = <&clkc_audio AUD_CLKID_DDR_ARB>;
109666d58a8fSJerome Brunet			};
1097f08c52deSJerome Brunet
1098bf8e4790SJerome Brunet			tdmin_a: audio-controller@300 {
1099bf8e4790SJerome Brunet				compatible = "amlogic,axg-tdmin";
1100bf8e4790SJerome Brunet				reg = <0x0 0x300 0x0 0x40>;
1101bf8e4790SJerome Brunet				sound-name-prefix = "TDMIN_A";
1102bf8e4790SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TDMIN_A>,
1103bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_A_SCLK>,
1104bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_A_SCLK_SEL>,
1105bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_A_LRCLK>,
1106bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_A_LRCLK>;
1107bf8e4790SJerome Brunet				clock-names = "pclk", "sclk", "sclk_sel",
1108bf8e4790SJerome Brunet					      "lrclk", "lrclk_sel";
1109bf8e4790SJerome Brunet				status = "disabled";
1110bf8e4790SJerome Brunet			};
1111bf8e4790SJerome Brunet
1112bf8e4790SJerome Brunet			tdmin_b: audio-controller@340 {
1113bf8e4790SJerome Brunet				compatible = "amlogic,axg-tdmin";
1114bf8e4790SJerome Brunet				reg = <0x0 0x340 0x0 0x40>;
1115bf8e4790SJerome Brunet				sound-name-prefix = "TDMIN_B";
1116bf8e4790SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TDMIN_B>,
1117bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_B_SCLK>,
1118bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_B_SCLK_SEL>,
1119bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_B_LRCLK>,
1120bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_B_LRCLK>;
1121bf8e4790SJerome Brunet				clock-names = "pclk", "sclk", "sclk_sel",
1122bf8e4790SJerome Brunet					      "lrclk", "lrclk_sel";
1123bf8e4790SJerome Brunet				status = "disabled";
1124bf8e4790SJerome Brunet			};
1125bf8e4790SJerome Brunet
1126bf8e4790SJerome Brunet			tdmin_c: audio-controller@380 {
1127bf8e4790SJerome Brunet				compatible = "amlogic,axg-tdmin";
1128bf8e4790SJerome Brunet				reg = <0x0 0x380 0x0 0x40>;
1129bf8e4790SJerome Brunet				sound-name-prefix = "TDMIN_C";
1130bf8e4790SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TDMIN_C>,
1131bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_C_SCLK>,
1132bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_C_SCLK_SEL>,
1133bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_C_LRCLK>,
1134bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_C_LRCLK>;
1135bf8e4790SJerome Brunet				clock-names = "pclk", "sclk", "sclk_sel",
1136bf8e4790SJerome Brunet					      "lrclk", "lrclk_sel";
1137bf8e4790SJerome Brunet				status = "disabled";
1138bf8e4790SJerome Brunet			};
1139bf8e4790SJerome Brunet
1140bf8e4790SJerome Brunet			tdmin_lb: audio-controller@3c0 {
1141bf8e4790SJerome Brunet				compatible = "amlogic,axg-tdmin";
1142bf8e4790SJerome Brunet				reg = <0x0 0x3c0 0x0 0x40>;
1143bf8e4790SJerome Brunet				sound-name-prefix = "TDMIN_LB";
1144bf8e4790SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TDMIN_LB>,
1145bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_LB_SCLK>,
1146bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_LB_SCLK_SEL>,
1147bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_LB_LRCLK>,
1148bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_LB_LRCLK>;
1149bf8e4790SJerome Brunet				clock-names = "pclk", "sclk", "sclk_sel",
1150bf8e4790SJerome Brunet					      "lrclk", "lrclk_sel";
1151bf8e4790SJerome Brunet				status = "disabled";
1152bf8e4790SJerome Brunet			};
1153bf8e4790SJerome Brunet
1154f08c52deSJerome Brunet			spdifout: audio-controller@480 {
1155f08c52deSJerome Brunet				compatible = "amlogic,axg-spdifout";
1156f08c52deSJerome Brunet				reg = <0x0 0x480 0x0 0x50>;
1157f08c52deSJerome Brunet				#sound-dai-cells = <0>;
1158f08c52deSJerome Brunet				sound-name-prefix = "SPDIFOUT";
1159f08c52deSJerome Brunet				clocks = <&clkc_audio AUD_CLKID_SPDIFOUT>,
1160f08c52deSJerome Brunet					 <&clkc_audio AUD_CLKID_SPDIFOUT_CLK>;
1161f08c52deSJerome Brunet				clock-names = "pclk", "mclk";
1162f08c52deSJerome Brunet				status = "disabled";
1163f08c52deSJerome Brunet			};
1164fd916739SJerome Brunet
1165fd916739SJerome Brunet			tdmout_a: audio-controller@500 {
1166fd916739SJerome Brunet				compatible = "amlogic,axg-tdmout";
1167fd916739SJerome Brunet				reg = <0x0 0x500 0x0 0x40>;
1168fd916739SJerome Brunet				sound-name-prefix = "TDMOUT_A";
1169fd916739SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TDMOUT_A>,
1170fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_A_SCLK>,
1171fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_A_SCLK_SEL>,
1172fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_A_LRCLK>,
1173fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_A_LRCLK>;
1174fd916739SJerome Brunet				clock-names = "pclk", "sclk", "sclk_sel",
1175fd916739SJerome Brunet					      "lrclk", "lrclk_sel";
1176fd916739SJerome Brunet				status = "disabled";
1177fd916739SJerome Brunet			};
1178fd916739SJerome Brunet
1179fd916739SJerome Brunet			tdmout_b: audio-controller@540 {
1180fd916739SJerome Brunet				compatible = "amlogic,axg-tdmout";
1181fd916739SJerome Brunet				reg = <0x0 0x540 0x0 0x40>;
1182fd916739SJerome Brunet				sound-name-prefix = "TDMOUT_B";
1183fd916739SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TDMOUT_B>,
1184fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_B_SCLK>,
1185fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_B_SCLK_SEL>,
1186fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_B_LRCLK>,
1187fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_B_LRCLK>;
1188fd916739SJerome Brunet				clock-names = "pclk", "sclk", "sclk_sel",
1189fd916739SJerome Brunet					      "lrclk", "lrclk_sel";
1190fd916739SJerome Brunet				status = "disabled";
1191fd916739SJerome Brunet			};
1192fd916739SJerome Brunet
1193fd916739SJerome Brunet			tdmout_c: audio-controller@580 {
1194fd916739SJerome Brunet				compatible = "amlogic,axg-tdmout";
1195fd916739SJerome Brunet				reg = <0x0 0x580 0x0 0x40>;
1196fd916739SJerome Brunet				sound-name-prefix = "TDMOUT_C";
1197fd916739SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TDMOUT_C>,
1198fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_C_SCLK>,
1199fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_C_SCLK_SEL>,
1200fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_C_LRCLK>,
1201fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_C_LRCLK>;
1202fd916739SJerome Brunet				clock-names = "pclk", "sclk", "sclk_sel",
1203fd916739SJerome Brunet					      "lrclk", "lrclk_sel";
1204fd916739SJerome Brunet				status = "disabled";
1205fd916739SJerome Brunet			};
12068909e722SJerome Brunet		};
12078909e722SJerome Brunet
12080cb6c604SKevin Hilman		aobus: bus@ff800000 {
12099d59b708SYixun Lan			compatible = "simple-bus";
12109d59b708SYixun Lan			reg = <0x0 0xff800000 0x0 0x100000>;
12119d59b708SYixun Lan			#address-cells = <2>;
12129d59b708SYixun Lan			#size-cells = <2>;
12139d59b708SYixun Lan			ranges = <0x0 0x0 0x0 0xff800000 0x0 0x100000>;
12149d59b708SYixun Lan
1215e03421ecSQiufang Dai			sysctrl_AO: sys-ctrl@0 {
1216445f2bdaSNeil Armstrong				compatible = "amlogic,meson-axg-ao-sysctrl", "simple-mfd", "syscon";
1217e03421ecSQiufang Dai				reg =  <0x0 0x0 0x0 0x100>;
1218e03421ecSQiufang Dai
1219e03421ecSQiufang Dai				clkc_AO: clock-controller {
1220e03421ecSQiufang Dai					compatible = "amlogic,meson-axg-aoclkc";
1221e03421ecSQiufang Dai					#clock-cells = <1>;
1222e03421ecSQiufang Dai					#reset-cells = <1>;
1223e03421ecSQiufang Dai				};
1224e03421ecSQiufang Dai			};
1225e03421ecSQiufang Dai
1226de05ded6SXingyu Chen			pinctrl_aobus: pinctrl@14 {
1227de05ded6SXingyu Chen				compatible = "amlogic,meson-axg-aobus-pinctrl";
1228de05ded6SXingyu Chen				#address-cells = <2>;
1229de05ded6SXingyu Chen				#size-cells = <2>;
1230de05ded6SXingyu Chen				ranges;
1231de05ded6SXingyu Chen
1232de05ded6SXingyu Chen				gpio_ao: bank@14 {
1233de05ded6SXingyu Chen					reg = <0x0 0x00014 0x0 0x8>,
1234de05ded6SXingyu Chen					      <0x0 0x0002c 0x0 0x4>,
1235de05ded6SXingyu Chen					      <0x0 0x00024 0x0 0x8>;
1236de05ded6SXingyu Chen					reg-names = "mux", "pull", "gpio";
1237de05ded6SXingyu Chen					gpio-controller;
1238de05ded6SXingyu Chen					#gpio-cells = <2>;
1239de05ded6SXingyu Chen					gpio-ranges = <&pinctrl_aobus 0 0 15>;
1240de05ded6SXingyu Chen				};
12417bd46a79SYixun Lan
1242c054b6c2SJerome Brunet				i2c_ao_sck_4_pins: i2c_ao_sck_4 {
1243c054b6c2SJerome Brunet					mux {
1244c054b6c2SJerome Brunet						groups = "i2c_ao_sck_4";
1245c054b6c2SJerome Brunet						function = "i2c_ao";
1246c054b6c2SJerome Brunet					};
1247c054b6c2SJerome Brunet				};
1248c054b6c2SJerome Brunet
1249c054b6c2SJerome Brunet				i2c_ao_sck_8_pins: i2c_ao_sck_8 {
1250c054b6c2SJerome Brunet					mux {
1251c054b6c2SJerome Brunet						groups = "i2c_ao_sck_8";
1252c054b6c2SJerome Brunet						function = "i2c_ao";
1253c054b6c2SJerome Brunet					};
1254c054b6c2SJerome Brunet				};
1255c054b6c2SJerome Brunet
1256c054b6c2SJerome Brunet				i2c_ao_sck_10_pins: i2c_ao_sck_10 {
1257c054b6c2SJerome Brunet					mux {
1258c054b6c2SJerome Brunet						groups = "i2c_ao_sck_10";
1259c054b6c2SJerome Brunet						function = "i2c_ao";
1260c054b6c2SJerome Brunet					};
1261c054b6c2SJerome Brunet				};
1262c054b6c2SJerome Brunet
1263c054b6c2SJerome Brunet				i2c_ao_sda_5_pins: i2c_ao_sda_5 {
1264c054b6c2SJerome Brunet					mux {
1265c054b6c2SJerome Brunet						groups = "i2c_ao_sda_5";
1266c054b6c2SJerome Brunet						function = "i2c_ao";
1267c054b6c2SJerome Brunet					};
1268c054b6c2SJerome Brunet				};
1269c054b6c2SJerome Brunet
1270c054b6c2SJerome Brunet				i2c_ao_sda_9_pins: i2c_ao_sda_9 {
1271c054b6c2SJerome Brunet					mux {
1272c054b6c2SJerome Brunet						groups = "i2c_ao_sda_9";
1273c054b6c2SJerome Brunet						function = "i2c_ao";
1274c054b6c2SJerome Brunet					};
1275c054b6c2SJerome Brunet				};
1276c054b6c2SJerome Brunet
1277c054b6c2SJerome Brunet				i2c_ao_sda_11_pins: i2c_ao_sda_11 {
1278c054b6c2SJerome Brunet					mux {
1279c054b6c2SJerome Brunet						groups = "i2c_ao_sda_11";
1280c054b6c2SJerome Brunet						function = "i2c_ao";
1281c054b6c2SJerome Brunet					};
1282c054b6c2SJerome Brunet				};
1283c054b6c2SJerome Brunet
12847bd46a79SYixun Lan				remote_input_ao_pins: remote_input_ao {
12857bd46a79SYixun Lan					mux {
12867bd46a79SYixun Lan						groups = "remote_input_ao";
12877bd46a79SYixun Lan						function = "remote_input_ao";
12887bd46a79SYixun Lan					};
12897bd46a79SYixun Lan				};
12904eae66a6SYixun Lan
12914eae66a6SYixun Lan				uart_ao_a_pins: uart_ao_a {
12924eae66a6SYixun Lan					mux {
12934eae66a6SYixun Lan						groups = "uart_ao_tx_a",
12944eae66a6SYixun Lan							 "uart_ao_rx_a";
12954eae66a6SYixun Lan						function = "uart_ao_a";
12964eae66a6SYixun Lan					};
12974eae66a6SYixun Lan				};
12984eae66a6SYixun Lan
12994eae66a6SYixun Lan				uart_ao_a_cts_rts_pins: uart_ao_a_cts_rts {
13004eae66a6SYixun Lan					mux {
13014eae66a6SYixun Lan						groups = "uart_ao_cts_a",
13024eae66a6SYixun Lan							 "uart_ao_rts_a";
13034eae66a6SYixun Lan						function = "uart_ao_a";
13044eae66a6SYixun Lan					};
13054eae66a6SYixun Lan				};
13064eae66a6SYixun Lan
13074eae66a6SYixun Lan				uart_ao_b_pins: uart_ao_b {
13084eae66a6SYixun Lan					mux {
13094eae66a6SYixun Lan						groups = "uart_ao_tx_b",
13104eae66a6SYixun Lan							 "uart_ao_rx_b";
13114eae66a6SYixun Lan						function = "uart_ao_b";
13124eae66a6SYixun Lan					};
13134eae66a6SYixun Lan				};
13144eae66a6SYixun Lan
13154eae66a6SYixun Lan				uart_ao_b_cts_rts_pins: uart_ao_b_cts_rts {
13164eae66a6SYixun Lan					mux {
13174eae66a6SYixun Lan						groups = "uart_ao_cts_b",
13184eae66a6SYixun Lan							 "uart_ao_rts_b";
13194eae66a6SYixun Lan						function = "uart_ao_b";
13204eae66a6SYixun Lan					};
13214eae66a6SYixun Lan				};
1322de05ded6SXingyu Chen			};
1323de05ded6SXingyu Chen
1324a04c18cbSJerome Brunet			sec_AO: ao-secure@140 {
1325a04c18cbSJerome Brunet				compatible = "amlogic,meson-gx-ao-secure", "syscon";
1326a04c18cbSJerome Brunet				reg = <0x0 0x140 0x0 0x140>;
1327a04c18cbSJerome Brunet				amlogic,has-chip-id;
1328a04c18cbSJerome Brunet			};
1329a04c18cbSJerome Brunet
13304a81e5ddSJian Hu			pwm_AO_cd: pwm@2000 {
1331b4ff05caSJerome Brunet				compatible = "amlogic,meson-axg-ao-pwm";
13324a81e5ddSJian Hu				reg = <0x0 0x02000  0x0 0x20>;
13334a81e5ddSJian Hu				#pwm-cells = <3>;
13344a81e5ddSJian Hu				status = "disabled";
13354a81e5ddSJian Hu			};
13364a81e5ddSJian Hu
13379d59b708SYixun Lan			uart_AO: serial@3000 {
13389d59b708SYixun Lan				compatible = "amlogic,meson-gx-uart", "amlogic,meson-ao-uart";
13399d59b708SYixun Lan				reg = <0x0 0x3000 0x0 0x18>;
13409d59b708SYixun Lan				interrupts = <GIC_SPI 193 IRQ_TYPE_EDGE_RISING>;
13419adda353SYixun Lan				clocks = <&xtal>, <&clkc_AO CLKID_AO_UART1>, <&xtal>;
13429d59b708SYixun Lan				clock-names = "xtal", "pclk", "baud";
13439d59b708SYixun Lan				status = "disabled";
13449d59b708SYixun Lan			};
13459d59b708SYixun Lan
13469d59b708SYixun Lan			uart_AO_B: serial@4000 {
13479d59b708SYixun Lan				compatible = "amlogic,meson-gx-uart", "amlogic,meson-ao-uart";
13489d59b708SYixun Lan				reg = <0x0 0x4000 0x0 0x18>;
13499d59b708SYixun Lan				interrupts = <GIC_SPI 197 IRQ_TYPE_EDGE_RISING>;
13509adda353SYixun Lan				clocks = <&xtal>, <&clkc_AO CLKID_AO_UART2>, <&xtal>;
13519d59b708SYixun Lan				clock-names = "xtal", "pclk", "baud";
13529d59b708SYixun Lan				status = "disabled";
13539d59b708SYixun Lan			};
13547bd46a79SYixun Lan
13558c0cf40fSJerome Brunet			i2c_AO: i2c@5000 {
13568c0cf40fSJerome Brunet				compatible = "amlogic,meson-axg-i2c";
13578c0cf40fSJerome Brunet				reg = <0x0 0x05000 0x0 0x20>;
13588c0cf40fSJerome Brunet				interrupts = <GIC_SPI 195 IRQ_TYPE_EDGE_RISING>;
13598c0cf40fSJerome Brunet				clocks = <&clkc CLKID_AO_I2C>;
13608c0cf40fSJerome Brunet				#address-cells = <1>;
13618c0cf40fSJerome Brunet				#size-cells = <0>;
13628c0cf40fSJerome Brunet				status = "disabled";
13638c0cf40fSJerome Brunet			};
13648c0cf40fSJerome Brunet
13658c0cf40fSJerome Brunet			pwm_AO_ab: pwm@7000 {
13668c0cf40fSJerome Brunet				compatible = "amlogic,meson-axg-ao-pwm";
13678c0cf40fSJerome Brunet				reg = <0x0 0x07000 0x0 0x20>;
13688c0cf40fSJerome Brunet				#pwm-cells = <3>;
13698c0cf40fSJerome Brunet				status = "disabled";
13708c0cf40fSJerome Brunet			};
13718c0cf40fSJerome Brunet
13727bd46a79SYixun Lan			ir: ir@8000 {
13737bd46a79SYixun Lan				compatible = "amlogic,meson-gxbb-ir";
13747bd46a79SYixun Lan				reg = <0x0 0x8000 0x0 0x20>;
13757bd46a79SYixun Lan				interrupts = <GIC_SPI 196 IRQ_TYPE_EDGE_RISING>;
13767bd46a79SYixun Lan				status = "disabled";
13777bd46a79SYixun Lan			};
1378a51b74eaSXingyu Chen
1379a51b74eaSXingyu Chen			saradc: adc@9000 {
1380a51b74eaSXingyu Chen				compatible = "amlogic,meson-axg-saradc",
1381a51b74eaSXingyu Chen					"amlogic,meson-saradc";
1382a51b74eaSXingyu Chen				reg = <0x0 0x9000 0x0 0x38>;
1383a51b74eaSXingyu Chen				#io-channel-cells = <1>;
1384a51b74eaSXingyu Chen				interrupts = <GIC_SPI 73 IRQ_TYPE_EDGE_RISING>;
1385a51b74eaSXingyu Chen				clocks = <&xtal>,
1386a51b74eaSXingyu Chen					 <&clkc_AO CLKID_AO_SAR_ADC>,
1387a51b74eaSXingyu Chen					 <&clkc_AO CLKID_AO_SAR_ADC_CLK>,
1388a51b74eaSXingyu Chen					 <&clkc_AO CLKID_AO_SAR_ADC_SEL>;
1389a51b74eaSXingyu Chen				clock-names = "clkin", "core", "adc_clk", "adc_sel";
1390a51b74eaSXingyu Chen				status = "disabled";
1391a51b74eaSXingyu Chen			};
13929d59b708SYixun Lan		};
13938c0cf40fSJerome Brunet
13948c0cf40fSJerome Brunet		gic: interrupt-controller@ffc01000 {
13958c0cf40fSJerome Brunet			compatible = "arm,gic-400";
13968c0cf40fSJerome Brunet			reg = <0x0 0xffc01000 0 0x1000>,
13978c0cf40fSJerome Brunet			      <0x0 0xffc02000 0 0x2000>,
13988c0cf40fSJerome Brunet			      <0x0 0xffc04000 0 0x2000>,
13998c0cf40fSJerome Brunet			      <0x0 0xffc06000 0 0x2000>;
14008c0cf40fSJerome Brunet			interrupt-controller;
14018c0cf40fSJerome Brunet			interrupts = <GIC_PPI 9
14028c0cf40fSJerome Brunet				(GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>;
14038c0cf40fSJerome Brunet			#interrupt-cells = <3>;
14048c0cf40fSJerome Brunet			#address-cells = <0>;
14058c0cf40fSJerome Brunet		};
14068c0cf40fSJerome Brunet
14078c0cf40fSJerome Brunet		cbus: bus@ffd00000 {
14088c0cf40fSJerome Brunet			compatible = "simple-bus";
14098c0cf40fSJerome Brunet			reg = <0x0 0xffd00000 0x0 0x25000>;
14108c0cf40fSJerome Brunet			#address-cells = <2>;
14118c0cf40fSJerome Brunet			#size-cells = <2>;
14128c0cf40fSJerome Brunet			ranges = <0x0 0x0 0x0 0xffd00000 0x0 0x25000>;
14138c0cf40fSJerome Brunet
14148c0cf40fSJerome Brunet			reset: reset-controller@1004 {
14158c0cf40fSJerome Brunet				compatible = "amlogic,meson-axg-reset";
14168c0cf40fSJerome Brunet				reg = <0x0 0x01004 0x0 0x9c>;
14178c0cf40fSJerome Brunet				#reset-cells = <1>;
14188c0cf40fSJerome Brunet			};
14198c0cf40fSJerome Brunet
14208c0cf40fSJerome Brunet			gpio_intc: interrupt-controller@f080 {
14218c0cf40fSJerome Brunet				compatible = "amlogic,meson-gpio-intc";
14228c0cf40fSJerome Brunet				reg = <0x0 0xf080 0x0 0x10>;
14238c0cf40fSJerome Brunet				interrupt-controller;
14248c0cf40fSJerome Brunet				#interrupt-cells = <2>;
14258c0cf40fSJerome Brunet				amlogic,channel-interrupts = <64 65 66 67 68 69 70 71>;
14268c0cf40fSJerome Brunet				status = "disabled";
14278c0cf40fSJerome Brunet			};
14288c0cf40fSJerome Brunet
14298c0cf40fSJerome Brunet			pwm_ab: pwm@1b000 {
14308c0cf40fSJerome Brunet				compatible = "amlogic,meson-axg-ee-pwm";
14318c0cf40fSJerome Brunet				reg = <0x0 0x1b000 0x0 0x20>;
14328c0cf40fSJerome Brunet				#pwm-cells = <3>;
14338c0cf40fSJerome Brunet				status = "disabled";
14348c0cf40fSJerome Brunet			};
14358c0cf40fSJerome Brunet
14368c0cf40fSJerome Brunet			pwm_cd: pwm@1a000 {
14378c0cf40fSJerome Brunet				compatible = "amlogic,meson-axg-ee-pwm";
14388c0cf40fSJerome Brunet				reg = <0x0 0x1a000 0x0 0x20>;
14398c0cf40fSJerome Brunet				#pwm-cells = <3>;
14408c0cf40fSJerome Brunet				status = "disabled";
14418c0cf40fSJerome Brunet			};
14428c0cf40fSJerome Brunet
14438c0cf40fSJerome Brunet			spicc0: spi@13000 {
14448c0cf40fSJerome Brunet				compatible = "amlogic,meson-axg-spicc";
14458c0cf40fSJerome Brunet				reg = <0x0 0x13000 0x0 0x3c>;
14468c0cf40fSJerome Brunet				interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
14478c0cf40fSJerome Brunet				clocks = <&clkc CLKID_SPICC0>;
14488c0cf40fSJerome Brunet				clock-names = "core";
14498c0cf40fSJerome Brunet				#address-cells = <1>;
14508c0cf40fSJerome Brunet				#size-cells = <0>;
14518c0cf40fSJerome Brunet				status = "disabled";
14528c0cf40fSJerome Brunet			};
14538c0cf40fSJerome Brunet
14548c0cf40fSJerome Brunet			spicc1: spi@15000 {
14558c0cf40fSJerome Brunet				compatible = "amlogic,meson-axg-spicc";
14568c0cf40fSJerome Brunet				reg = <0x0 0x15000 0x0 0x3c>;
14578c0cf40fSJerome Brunet				interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
14588c0cf40fSJerome Brunet				clocks = <&clkc CLKID_SPICC1>;
14598c0cf40fSJerome Brunet				clock-names = "core";
14608c0cf40fSJerome Brunet				#address-cells = <1>;
14618c0cf40fSJerome Brunet				#size-cells = <0>;
14628c0cf40fSJerome Brunet				status = "disabled";
14638c0cf40fSJerome Brunet			};
14648c0cf40fSJerome Brunet
14658c0cf40fSJerome Brunet			i2c3: i2c@1c000 {
14668c0cf40fSJerome Brunet				compatible = "amlogic,meson-axg-i2c";
14678c0cf40fSJerome Brunet				reg = <0x0 0x1c000 0x0 0x20>;
14688c0cf40fSJerome Brunet				interrupts = <GIC_SPI 39 IRQ_TYPE_EDGE_RISING>;
14698c0cf40fSJerome Brunet				clocks = <&clkc CLKID_I2C>;
14708c0cf40fSJerome Brunet				#address-cells = <1>;
14718c0cf40fSJerome Brunet				#size-cells = <0>;
14728c0cf40fSJerome Brunet				status = "disabled";
14738c0cf40fSJerome Brunet			};
14748c0cf40fSJerome Brunet
14758c0cf40fSJerome Brunet			i2c2: i2c@1d000 {
14768c0cf40fSJerome Brunet				compatible = "amlogic,meson-axg-i2c";
14778c0cf40fSJerome Brunet				reg = <0x0 0x1d000 0x0 0x20>;
14788c0cf40fSJerome Brunet				interrupts = <GIC_SPI 215 IRQ_TYPE_EDGE_RISING>;
14798c0cf40fSJerome Brunet				clocks = <&clkc CLKID_I2C>;
14808c0cf40fSJerome Brunet				#address-cells = <1>;
14818c0cf40fSJerome Brunet				#size-cells = <0>;
14828c0cf40fSJerome Brunet				status = "disabled";
14838c0cf40fSJerome Brunet			};
14848c0cf40fSJerome Brunet
14858c0cf40fSJerome Brunet			i2c1: i2c@1e000 {
14868c0cf40fSJerome Brunet				compatible = "amlogic,meson-axg-i2c";
14878c0cf40fSJerome Brunet				reg = <0x0 0x1e000 0x0 0x20>;
14888c0cf40fSJerome Brunet				interrupts = <GIC_SPI 214 IRQ_TYPE_EDGE_RISING>;
14898c0cf40fSJerome Brunet				clocks = <&clkc CLKID_I2C>;
14908c0cf40fSJerome Brunet				#address-cells = <1>;
14918c0cf40fSJerome Brunet				#size-cells = <0>;
14928c0cf40fSJerome Brunet				status = "disabled";
14938c0cf40fSJerome Brunet			};
14948c0cf40fSJerome Brunet
14958c0cf40fSJerome Brunet			i2c0: i2c@1f000 {
14968c0cf40fSJerome Brunet				compatible = "amlogic,meson-axg-i2c";
14978c0cf40fSJerome Brunet				reg = <0x0 0x1f000 0x0 0x20>;
14988c0cf40fSJerome Brunet				interrupts = <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>;
14998c0cf40fSJerome Brunet				clocks = <&clkc CLKID_I2C>;
15008c0cf40fSJerome Brunet				#address-cells = <1>;
15018c0cf40fSJerome Brunet				#size-cells = <0>;
15028c0cf40fSJerome Brunet				status = "disabled";
15038c0cf40fSJerome Brunet			};
15048c0cf40fSJerome Brunet
15058c0cf40fSJerome Brunet			uart_B: serial@23000 {
15068c0cf40fSJerome Brunet				compatible = "amlogic,meson-gx-uart";
15078c0cf40fSJerome Brunet				reg = <0x0 0x23000 0x0 0x18>;
15088c0cf40fSJerome Brunet				interrupts = <GIC_SPI 75 IRQ_TYPE_EDGE_RISING>;
15098c0cf40fSJerome Brunet				status = "disabled";
15108c0cf40fSJerome Brunet				clocks = <&xtal>, <&clkc CLKID_UART1>, <&xtal>;
15118c0cf40fSJerome Brunet				clock-names = "xtal", "pclk", "baud";
15128c0cf40fSJerome Brunet			};
15138c0cf40fSJerome Brunet
15148c0cf40fSJerome Brunet			uart_A: serial@24000 {
15158c0cf40fSJerome Brunet				compatible = "amlogic,meson-gx-uart";
15168c0cf40fSJerome Brunet				reg = <0x0 0x24000 0x0 0x18>;
15178c0cf40fSJerome Brunet				interrupts = <GIC_SPI 26 IRQ_TYPE_EDGE_RISING>;
15188c0cf40fSJerome Brunet				status = "disabled";
15198c0cf40fSJerome Brunet				clocks = <&xtal>, <&clkc CLKID_UART0>, <&xtal>;
15208c0cf40fSJerome Brunet				clock-names = "xtal", "pclk", "baud";
15218c0cf40fSJerome Brunet			};
15228c0cf40fSJerome Brunet		};
15238c0cf40fSJerome Brunet
15248c0cf40fSJerome Brunet		apb: bus@ffe00000 {
15258c0cf40fSJerome Brunet			compatible = "simple-bus";
15268c0cf40fSJerome Brunet			reg = <0x0 0xffe00000 0x0 0x200000>;
15278c0cf40fSJerome Brunet			#address-cells = <2>;
15288c0cf40fSJerome Brunet			#size-cells = <2>;
15298c0cf40fSJerome Brunet			ranges = <0x0 0x0 0x0 0xffe00000 0x0 0x200000>;
15308c0cf40fSJerome Brunet
15318c0cf40fSJerome Brunet			sd_emmc_b: sd@5000 {
15328c0cf40fSJerome Brunet				compatible = "amlogic,meson-axg-mmc";
15338c0cf40fSJerome Brunet				reg = <0x0 0x5000 0x0 0x800>;
15348c0cf40fSJerome Brunet				interrupts = <GIC_SPI 217 IRQ_TYPE_EDGE_RISING>;
15358c0cf40fSJerome Brunet				status = "disabled";
15368c0cf40fSJerome Brunet				clocks = <&clkc CLKID_SD_EMMC_B>,
15378c0cf40fSJerome Brunet					<&clkc CLKID_SD_EMMC_B_CLK0>,
15388c0cf40fSJerome Brunet					<&clkc CLKID_FCLK_DIV2>;
15398c0cf40fSJerome Brunet				clock-names = "core", "clkin0", "clkin1";
15408c0cf40fSJerome Brunet				resets = <&reset RESET_SD_EMMC_B>;
15418c0cf40fSJerome Brunet			};
15428c0cf40fSJerome Brunet
15438c0cf40fSJerome Brunet			sd_emmc_c: mmc@7000 {
15448c0cf40fSJerome Brunet				compatible = "amlogic,meson-axg-mmc";
15458c0cf40fSJerome Brunet				reg = <0x0 0x7000 0x0 0x800>;
15468c0cf40fSJerome Brunet				interrupts = <GIC_SPI 218 IRQ_TYPE_EDGE_RISING>;
15478c0cf40fSJerome Brunet				status = "disabled";
15488c0cf40fSJerome Brunet				clocks = <&clkc CLKID_SD_EMMC_C>,
15498c0cf40fSJerome Brunet					<&clkc CLKID_SD_EMMC_C_CLK0>,
15508c0cf40fSJerome Brunet					<&clkc CLKID_FCLK_DIV2>;
15518c0cf40fSJerome Brunet				clock-names = "core", "clkin0", "clkin1";
15528c0cf40fSJerome Brunet				resets = <&reset RESET_SD_EMMC_C>;
15538c0cf40fSJerome Brunet			};
15548c0cf40fSJerome Brunet		};
15558c0cf40fSJerome Brunet
15568c0cf40fSJerome Brunet		sram: sram@fffc0000 {
15578c0cf40fSJerome Brunet			compatible = "amlogic,meson-axg-sram", "mmio-sram";
15588c0cf40fSJerome Brunet			reg = <0x0 0xfffc0000 0x0 0x20000>;
15598c0cf40fSJerome Brunet			#address-cells = <1>;
15608c0cf40fSJerome Brunet			#size-cells = <1>;
15618c0cf40fSJerome Brunet			ranges = <0 0x0 0xfffc0000 0x20000>;
15628c0cf40fSJerome Brunet
15638c0cf40fSJerome Brunet			cpu_scp_lpri: scp-shmem@0 {
15648c0cf40fSJerome Brunet				compatible = "amlogic,meson-axg-scp-shmem";
15658c0cf40fSJerome Brunet				reg = <0x13000 0x400>;
15668c0cf40fSJerome Brunet			};
15678c0cf40fSJerome Brunet
15688c0cf40fSJerome Brunet			cpu_scp_hpri: scp-shmem@200 {
15698c0cf40fSJerome Brunet				compatible = "amlogic,meson-axg-scp-shmem";
15708c0cf40fSJerome Brunet				reg = <0x13400 0x400>;
15718c0cf40fSJerome Brunet			};
15728c0cf40fSJerome Brunet		};
15738c0cf40fSJerome Brunet	};
15748c0cf40fSJerome Brunet
15758c0cf40fSJerome Brunet	timer {
15768c0cf40fSJerome Brunet		compatible = "arm,armv8-timer";
15778c0cf40fSJerome Brunet		interrupts = <GIC_PPI 13
15788c0cf40fSJerome Brunet			(GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>,
15798c0cf40fSJerome Brunet			     <GIC_PPI 14
15808c0cf40fSJerome Brunet			(GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>,
15818c0cf40fSJerome Brunet			     <GIC_PPI 11
15828c0cf40fSJerome Brunet			(GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>,
15838c0cf40fSJerome Brunet			     <GIC_PPI 10
15848c0cf40fSJerome Brunet			(GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>;
15858c0cf40fSJerome Brunet	};
15868c0cf40fSJerome Brunet
15878c0cf40fSJerome Brunet	xtal: xtal-clk {
15888c0cf40fSJerome Brunet		compatible = "fixed-clock";
15898c0cf40fSJerome Brunet		clock-frequency = <24000000>;
15908c0cf40fSJerome Brunet		clock-output-names = "xtal";
15918c0cf40fSJerome Brunet		#clock-cells = <0>;
15929d59b708SYixun Lan	};
15939d59b708SYixun Lan};
1594