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>;
822c130695SJerome Brunet			clocks = <&scpi_dvfs 0>;
839d59b708SYixun Lan		};
849d59b708SYixun Lan
859d59b708SYixun Lan		cpu1: cpu@1 {
869d59b708SYixun Lan			device_type = "cpu";
879d59b708SYixun Lan			compatible = "arm,cortex-a53", "arm,armv8";
889d59b708SYixun Lan			reg = <0x0 0x1>;
899d59b708SYixun Lan			enable-method = "psci";
909d59b708SYixun Lan			next-level-cache = <&l2>;
912c130695SJerome Brunet			clocks = <&scpi_dvfs 0>;
929d59b708SYixun Lan		};
939d59b708SYixun Lan
949d59b708SYixun Lan		cpu2: cpu@2 {
959d59b708SYixun Lan			device_type = "cpu";
969d59b708SYixun Lan			compatible = "arm,cortex-a53", "arm,armv8";
979d59b708SYixun Lan			reg = <0x0 0x2>;
989d59b708SYixun Lan			enable-method = "psci";
999d59b708SYixun Lan			next-level-cache = <&l2>;
1002c130695SJerome Brunet			clocks = <&scpi_dvfs 0>;
1019d59b708SYixun Lan		};
1029d59b708SYixun Lan
1039d59b708SYixun Lan		cpu3: cpu@3 {
1049d59b708SYixun Lan			device_type = "cpu";
1059d59b708SYixun Lan			compatible = "arm,cortex-a53", "arm,armv8";
1069d59b708SYixun Lan			reg = <0x0 0x3>;
1079d59b708SYixun Lan			enable-method = "psci";
1089d59b708SYixun Lan			next-level-cache = <&l2>;
1092c130695SJerome Brunet			clocks = <&scpi_dvfs 0>;
1109d59b708SYixun Lan		};
1119d59b708SYixun Lan
1129d59b708SYixun Lan		l2: l2-cache0 {
1139d59b708SYixun Lan			compatible = "cache";
1149d59b708SYixun Lan		};
1159d59b708SYixun Lan	};
1169d59b708SYixun Lan
11796dc5702SJerome Brunet	sm: secure-monitor {
11896dc5702SJerome Brunet		compatible = "amlogic,meson-gxbb-sm";
11996dc5702SJerome Brunet	};
12096dc5702SJerome Brunet
1219d59b708SYixun Lan	psci {
1229d59b708SYixun Lan		compatible = "arm,psci-1.0";
1239d59b708SYixun Lan		method = "smc";
1249d59b708SYixun Lan	};
1259d59b708SYixun Lan
1268c0cf40fSJerome Brunet	reserved-memory {
1278c0cf40fSJerome Brunet		#address-cells = <2>;
1288c0cf40fSJerome Brunet		#size-cells = <2>;
1298c0cf40fSJerome Brunet		ranges;
1308c0cf40fSJerome Brunet
1318c0cf40fSJerome Brunet		/* 16 MiB reserved for Hardware ROM Firmware */
1328c0cf40fSJerome Brunet		hwrom_reserved: hwrom@0 {
1338c0cf40fSJerome Brunet			reg = <0x0 0x0 0x0 0x1000000>;
1348c0cf40fSJerome Brunet			no-map;
13508307aabSJerome Brunet		};
13608307aabSJerome Brunet
1378c0cf40fSJerome Brunet		/* Alternate 3 MiB reserved for ARM Trusted Firmware (BL31) */
1388c0cf40fSJerome Brunet		secmon_reserved: secmon@5000000 {
1398c0cf40fSJerome Brunet			reg = <0x0 0x05000000 0x0 0x300000>;
1408c0cf40fSJerome Brunet			no-map;
14108307aabSJerome Brunet		};
1425e395e14SYixun Lan	};
1435e395e14SYixun Lan
1442c130695SJerome Brunet	scpi {
1452c130695SJerome Brunet		compatible = "arm,scpi-pre-1.0";
1462c130695SJerome Brunet		mboxes = <&mailbox 1 &mailbox 2>;
1472c130695SJerome Brunet		shmem = <&cpu_scp_lpri &cpu_scp_hpri>;
1482c130695SJerome Brunet
1492c130695SJerome Brunet		scpi_clocks: clocks {
1502c130695SJerome Brunet			compatible = "arm,scpi-clocks";
1512c130695SJerome Brunet
1522c130695SJerome Brunet			scpi_dvfs: clock-controller {
1532c130695SJerome Brunet				compatible = "arm,scpi-dvfs-clocks";
1542c130695SJerome Brunet				#clock-cells = <1>;
1552c130695SJerome Brunet				clock-indices = <0>;
1562c130695SJerome Brunet				clock-output-names = "vcpu";
1572c130695SJerome Brunet			};
1582c130695SJerome Brunet		};
1592c130695SJerome Brunet
1602c130695SJerome Brunet		scpi_sensors: sensors {
1612c130695SJerome Brunet			compatible = "amlogic,meson-gxbb-scpi-sensors";
1622c130695SJerome Brunet			#thermal-sensor-cells = <1>;
1632c130695SJerome Brunet		};
1642c130695SJerome Brunet	};
1652c130695SJerome Brunet
1669d59b708SYixun Lan	soc {
1679d59b708SYixun Lan		compatible = "simple-bus";
1689d59b708SYixun Lan		#address-cells = <2>;
1699d59b708SYixun Lan		#size-cells = <2>;
1709d59b708SYixun Lan		ranges;
1719d59b708SYixun Lan
1728c0cf40fSJerome Brunet		ethmac: ethernet@ff3f0000 {
173eaf8f57cSNeil Armstrong			compatible = "amlogic,meson-axg-dwmac", "snps,dwmac";
1748c0cf40fSJerome Brunet			reg = <0x0 0xff3f0000 0x0 0x10000
1758c0cf40fSJerome Brunet			       0x0 0xff634540 0x0 0x8>;
1768c0cf40fSJerome Brunet			interrupts = <GIC_SPI 8 IRQ_TYPE_EDGE_RISING>;
1778c0cf40fSJerome Brunet			interrupt-names = "macirq";
1788c0cf40fSJerome Brunet			clocks = <&clkc CLKID_ETH>,
1798c0cf40fSJerome Brunet				 <&clkc CLKID_FCLK_DIV2>,
1808c0cf40fSJerome Brunet				 <&clkc CLKID_MPLL2>;
1818c0cf40fSJerome Brunet			clock-names = "stmmaceth", "clkin0", "clkin1";
1828c0cf40fSJerome Brunet			status = "disabled";
1838c0cf40fSJerome Brunet		};
1848c0cf40fSJerome Brunet
185c362e4e0SJerome Brunet		pdm: audio-controller@ff632000 {
186c362e4e0SJerome Brunet			compatible = "amlogic,axg-pdm";
187c362e4e0SJerome Brunet			reg = <0x0 0xff632000 0x0 0x34>;
188c362e4e0SJerome Brunet			#sound-dai-cells = <0>;
189c362e4e0SJerome Brunet			sound-name-prefix = "PDM";
190c362e4e0SJerome Brunet			clocks = <&clkc_audio AUD_CLKID_PDM>,
191c362e4e0SJerome Brunet				 <&clkc_audio AUD_CLKID_PDM_DCLK>,
192c362e4e0SJerome Brunet				 <&clkc_audio AUD_CLKID_PDM_SYSCLK>;
193c362e4e0SJerome Brunet			clock-names = "pclk", "dclk", "sysclk";
194c362e4e0SJerome Brunet			status = "disabled";
195c362e4e0SJerome Brunet		};
196c362e4e0SJerome Brunet
1978c0cf40fSJerome Brunet		periphs: bus@ff634000 {
198221cf34bSNan Li			compatible = "simple-bus";
1998c0cf40fSJerome Brunet			reg = <0x0 0xff634000 0x0 0x2000>;
200221cf34bSNan Li			#address-cells = <2>;
201221cf34bSNan Li			#size-cells = <2>;
2028c0cf40fSJerome Brunet			ranges = <0x0 0x0 0x0 0xff634000 0x0 0x2000>;
203221cf34bSNan Li
2048c0cf40fSJerome Brunet			hwrng: rng@18 {
2058c0cf40fSJerome Brunet				compatible = "amlogic,meson-rng";
2068c0cf40fSJerome Brunet				reg = <0x0 0x18 0x0 0x4>;
2078c0cf40fSJerome Brunet				clocks = <&clkc CLKID_RNG0>;
2088c0cf40fSJerome Brunet				clock-names = "core";
209221cf34bSNan Li			};
210221cf34bSNan Li
2118c0cf40fSJerome Brunet			pinctrl_periphs: pinctrl@480 {
2128c0cf40fSJerome Brunet				compatible = "amlogic,meson-axg-periphs-pinctrl";
2138c0cf40fSJerome Brunet				#address-cells = <2>;
2148c0cf40fSJerome Brunet				#size-cells = <2>;
2158c0cf40fSJerome Brunet				ranges;
2168c0cf40fSJerome Brunet
2178c0cf40fSJerome Brunet				gpio: bank@480 {
2188c0cf40fSJerome Brunet					reg = <0x0 0x00480 0x0 0x40>,
2198c0cf40fSJerome Brunet					      <0x0 0x004e8 0x0 0x14>,
2208c0cf40fSJerome Brunet					      <0x0 0x00520 0x0 0x14>,
2218c0cf40fSJerome Brunet					      <0x0 0x00430 0x0 0x3c>;
2228c0cf40fSJerome Brunet					reg-names = "mux", "pull", "pull-enable", "gpio";
2238c0cf40fSJerome Brunet					gpio-controller;
2248c0cf40fSJerome Brunet					#gpio-cells = <2>;
2258c0cf40fSJerome Brunet					gpio-ranges = <&pinctrl_periphs 0 0 86>;
226221cf34bSNan Li				};
2278c0cf40fSJerome Brunet
2288c0cf40fSJerome Brunet				i2c0_pins: i2c0 {
2298c0cf40fSJerome Brunet					mux {
2308c0cf40fSJerome Brunet						groups = "i2c0_sck",
2318c0cf40fSJerome Brunet							 "i2c0_sda";
2328c0cf40fSJerome Brunet						function = "i2c0";
2331c5cc1c8SJerome Brunet						bias-disable;
2348c0cf40fSJerome Brunet					};
2358c0cf40fSJerome Brunet				};
2368c0cf40fSJerome Brunet
2378c0cf40fSJerome Brunet				i2c1_x_pins: i2c1_x {
2388c0cf40fSJerome Brunet					mux {
2398c0cf40fSJerome Brunet						groups = "i2c1_sck_x",
2408c0cf40fSJerome Brunet							 "i2c1_sda_x";
2418c0cf40fSJerome Brunet						function = "i2c1";
2421c5cc1c8SJerome Brunet						bias-disable;
2438c0cf40fSJerome Brunet					};
2448c0cf40fSJerome Brunet				};
2458c0cf40fSJerome Brunet
2468c0cf40fSJerome Brunet				i2c1_z_pins: i2c1_z {
2478c0cf40fSJerome Brunet					mux {
2488c0cf40fSJerome Brunet						groups = "i2c1_sck_z",
2498c0cf40fSJerome Brunet							 "i2c1_sda_z";
2508c0cf40fSJerome Brunet						function = "i2c1";
2511c5cc1c8SJerome Brunet						bias-disable;
2528c0cf40fSJerome Brunet					};
2538c0cf40fSJerome Brunet				};
2548c0cf40fSJerome Brunet
2558c0cf40fSJerome Brunet				i2c2_a_pins: i2c2_a {
2568c0cf40fSJerome Brunet					mux {
2578c0cf40fSJerome Brunet						groups = "i2c2_sck_a",
2588c0cf40fSJerome Brunet							 "i2c2_sda_a";
2598c0cf40fSJerome Brunet						function = "i2c2";
2601c5cc1c8SJerome Brunet						bias-disable;
2618c0cf40fSJerome Brunet					};
2628c0cf40fSJerome Brunet				};
2638c0cf40fSJerome Brunet
2648c0cf40fSJerome Brunet				i2c2_x_pins: i2c2_x {
2658c0cf40fSJerome Brunet					mux {
2668c0cf40fSJerome Brunet						groups = "i2c2_sck_x",
2678c0cf40fSJerome Brunet							 "i2c2_sda_x";
2688c0cf40fSJerome Brunet						function = "i2c2";
2691c5cc1c8SJerome Brunet						bias-disable;
2708c0cf40fSJerome Brunet					};
2718c0cf40fSJerome Brunet				};
2728c0cf40fSJerome Brunet
2738c0cf40fSJerome Brunet				i2c3_a6_pins: i2c3_a6 {
2748c0cf40fSJerome Brunet					mux {
2758c0cf40fSJerome Brunet						groups = "i2c3_sda_a6",
2768c0cf40fSJerome Brunet							 "i2c3_sck_a7";
2778c0cf40fSJerome Brunet						function = "i2c3";
2781c5cc1c8SJerome Brunet						bias-disable;
2798c0cf40fSJerome Brunet					};
2808c0cf40fSJerome Brunet				};
2818c0cf40fSJerome Brunet
2828c0cf40fSJerome Brunet				i2c3_a12_pins: i2c3_a12 {
2838c0cf40fSJerome Brunet					mux {
2848c0cf40fSJerome Brunet						groups = "i2c3_sda_a12",
2858c0cf40fSJerome Brunet							 "i2c3_sck_a13";
2868c0cf40fSJerome Brunet						function = "i2c3";
2871c5cc1c8SJerome Brunet						bias-disable;
2888c0cf40fSJerome Brunet					};
2898c0cf40fSJerome Brunet				};
2908c0cf40fSJerome Brunet
2918c0cf40fSJerome Brunet				i2c3_a19_pins: i2c3_a19 {
2928c0cf40fSJerome Brunet					mux {
2938c0cf40fSJerome Brunet						groups = "i2c3_sda_a19",
2948c0cf40fSJerome Brunet							 "i2c3_sck_a20";
2958c0cf40fSJerome Brunet						function = "i2c3";
2961c5cc1c8SJerome Brunet						bias-disable;
2978c0cf40fSJerome Brunet					};
2988c0cf40fSJerome Brunet				};
2998c0cf40fSJerome Brunet
3008c0cf40fSJerome Brunet				emmc_pins: emmc {
3018c0cf40fSJerome Brunet					mux {
3028c0cf40fSJerome Brunet						groups = "emmc_nand_d0",
3038c0cf40fSJerome Brunet							 "emmc_nand_d1",
3048c0cf40fSJerome Brunet							 "emmc_nand_d2",
3058c0cf40fSJerome Brunet							 "emmc_nand_d3",
3068c0cf40fSJerome Brunet							 "emmc_nand_d4",
3078c0cf40fSJerome Brunet							 "emmc_nand_d5",
3088c0cf40fSJerome Brunet							 "emmc_nand_d6",
3098c0cf40fSJerome Brunet							 "emmc_nand_d7",
3108c0cf40fSJerome Brunet							 "emmc_clk",
3118c0cf40fSJerome Brunet							 "emmc_cmd",
3128c0cf40fSJerome Brunet							 "emmc_ds";
3138c0cf40fSJerome Brunet						function = "emmc";
31496a13691SJerome Brunet						bias-disable;
3158c0cf40fSJerome Brunet					};
3168c0cf40fSJerome Brunet				};
3178c0cf40fSJerome Brunet
3188c0cf40fSJerome Brunet				emmc_clk_gate_pins: emmc_clk_gate {
3198c0cf40fSJerome Brunet					mux {
3208c0cf40fSJerome Brunet						groups = "BOOT_8";
3218c0cf40fSJerome Brunet						function = "gpio_periphs";
3228c0cf40fSJerome Brunet						bias-pull-down;
3238c0cf40fSJerome Brunet					};
3248c0cf40fSJerome Brunet				};
3258c0cf40fSJerome Brunet
3268c0cf40fSJerome Brunet				eth_rgmii_x_pins: eth-x-rgmii {
3278c0cf40fSJerome Brunet					mux {
3288c0cf40fSJerome Brunet						groups = "eth_mdio_x",
3298c0cf40fSJerome Brunet							 "eth_mdc_x",
3308c0cf40fSJerome Brunet							 "eth_rgmii_rx_clk_x",
3318c0cf40fSJerome Brunet							 "eth_rx_dv_x",
3328c0cf40fSJerome Brunet							 "eth_rxd0_x",
3338c0cf40fSJerome Brunet							 "eth_rxd1_x",
3348c0cf40fSJerome Brunet							 "eth_rxd2_rgmii",
3358c0cf40fSJerome Brunet							 "eth_rxd3_rgmii",
3368c0cf40fSJerome Brunet							 "eth_rgmii_tx_clk",
3378c0cf40fSJerome Brunet							 "eth_txen_x",
3388c0cf40fSJerome Brunet							 "eth_txd0_x",
3398c0cf40fSJerome Brunet							 "eth_txd1_x",
3408c0cf40fSJerome Brunet							 "eth_txd2_rgmii",
3418c0cf40fSJerome Brunet							 "eth_txd3_rgmii";
3428c0cf40fSJerome Brunet						function = "eth";
3431c5cc1c8SJerome Brunet						bias-disable;
3448c0cf40fSJerome Brunet					};
3458c0cf40fSJerome Brunet				};
3468c0cf40fSJerome Brunet
3478c0cf40fSJerome Brunet				eth_rgmii_y_pins: eth-y-rgmii {
3488c0cf40fSJerome Brunet					mux {
3498c0cf40fSJerome Brunet						groups = "eth_mdio_y",
3508c0cf40fSJerome Brunet							 "eth_mdc_y",
3518c0cf40fSJerome Brunet							 "eth_rgmii_rx_clk_y",
3528c0cf40fSJerome Brunet							 "eth_rx_dv_y",
3538c0cf40fSJerome Brunet							 "eth_rxd0_y",
3548c0cf40fSJerome Brunet							 "eth_rxd1_y",
3558c0cf40fSJerome Brunet							 "eth_rxd2_rgmii",
3568c0cf40fSJerome Brunet							 "eth_rxd3_rgmii",
3578c0cf40fSJerome Brunet							 "eth_rgmii_tx_clk",
3588c0cf40fSJerome Brunet							 "eth_txen_y",
3598c0cf40fSJerome Brunet							 "eth_txd0_y",
3608c0cf40fSJerome Brunet							 "eth_txd1_y",
3618c0cf40fSJerome Brunet							 "eth_txd2_rgmii",
3628c0cf40fSJerome Brunet							 "eth_txd3_rgmii";
3638c0cf40fSJerome Brunet						function = "eth";
3641c5cc1c8SJerome Brunet						bias-disable;
3658c0cf40fSJerome Brunet					};
3668c0cf40fSJerome Brunet				};
3678c0cf40fSJerome Brunet
3688c0cf40fSJerome Brunet				eth_rmii_x_pins: eth-x-rmii {
3698c0cf40fSJerome Brunet					mux {
3708c0cf40fSJerome Brunet						groups = "eth_mdio_x",
3718c0cf40fSJerome Brunet							 "eth_mdc_x",
3728c0cf40fSJerome Brunet							 "eth_rgmii_rx_clk_x",
3738c0cf40fSJerome Brunet							 "eth_rx_dv_x",
3748c0cf40fSJerome Brunet							 "eth_rxd0_x",
3758c0cf40fSJerome Brunet							 "eth_rxd1_x",
3768c0cf40fSJerome Brunet							 "eth_txen_x",
3778c0cf40fSJerome Brunet							 "eth_txd0_x",
3788c0cf40fSJerome Brunet							 "eth_txd1_x";
3798c0cf40fSJerome Brunet						function = "eth";
3801c5cc1c8SJerome Brunet						bias-disable;
3818c0cf40fSJerome Brunet					};
3828c0cf40fSJerome Brunet				};
3838c0cf40fSJerome Brunet
3848c0cf40fSJerome Brunet				eth_rmii_y_pins: eth-y-rmii {
3858c0cf40fSJerome Brunet					mux {
3868c0cf40fSJerome Brunet						groups = "eth_mdio_y",
3878c0cf40fSJerome Brunet							 "eth_mdc_y",
3888c0cf40fSJerome Brunet							 "eth_rgmii_rx_clk_y",
3898c0cf40fSJerome Brunet							 "eth_rx_dv_y",
3908c0cf40fSJerome Brunet							 "eth_rxd0_y",
3918c0cf40fSJerome Brunet							 "eth_rxd1_y",
3928c0cf40fSJerome Brunet							 "eth_txen_y",
3938c0cf40fSJerome Brunet							 "eth_txd0_y",
3948c0cf40fSJerome Brunet							 "eth_txd1_y";
3958c0cf40fSJerome Brunet						function = "eth";
3961c5cc1c8SJerome Brunet						bias-disable;
3978c0cf40fSJerome Brunet					};
3988c0cf40fSJerome Brunet				};
3998c0cf40fSJerome Brunet
4008c0cf40fSJerome Brunet				mclk_b_pins: mclk_b {
4018c0cf40fSJerome Brunet					mux {
4028c0cf40fSJerome Brunet						groups = "mclk_b";
4038c0cf40fSJerome Brunet						function = "mclk_b";
4041c5cc1c8SJerome Brunet						bias-disable;
4058c0cf40fSJerome Brunet					};
4068c0cf40fSJerome Brunet				};
4078c0cf40fSJerome Brunet
4088c0cf40fSJerome Brunet				mclk_c_pins: mclk_c {
4098c0cf40fSJerome Brunet					mux {
4108c0cf40fSJerome Brunet						groups = "mclk_c";
4118c0cf40fSJerome Brunet						function = "mclk_c";
4121c5cc1c8SJerome Brunet						bias-disable;
4138c0cf40fSJerome Brunet					};
4148c0cf40fSJerome Brunet				};
4158c0cf40fSJerome Brunet
4168c0cf40fSJerome Brunet				pdm_dclk_a14_pins: pdm_dclk_a14 {
4178c0cf40fSJerome Brunet					mux {
4188c0cf40fSJerome Brunet						groups = "pdm_dclk_a14";
4198c0cf40fSJerome Brunet						function = "pdm";
4201c5cc1c8SJerome Brunet						bias-disable;
4218c0cf40fSJerome Brunet					};
4228c0cf40fSJerome Brunet				};
4238c0cf40fSJerome Brunet
4248c0cf40fSJerome Brunet				pdm_dclk_a19_pins: pdm_dclk_a19 {
4258c0cf40fSJerome Brunet					mux {
4268c0cf40fSJerome Brunet						groups = "pdm_dclk_a19";
4278c0cf40fSJerome Brunet						function = "pdm";
4281c5cc1c8SJerome Brunet						bias-disable;
4298c0cf40fSJerome Brunet					};
4308c0cf40fSJerome Brunet				};
4318c0cf40fSJerome Brunet
4328c0cf40fSJerome Brunet				pdm_din0_pins: pdm_din0 {
4338c0cf40fSJerome Brunet					mux {
4348c0cf40fSJerome Brunet						groups = "pdm_din0";
4358c0cf40fSJerome Brunet						function = "pdm";
4361c5cc1c8SJerome Brunet						bias-disable;
4378c0cf40fSJerome Brunet					};
4388c0cf40fSJerome Brunet				};
4398c0cf40fSJerome Brunet
4408c0cf40fSJerome Brunet				pdm_din1_pins: pdm_din1 {
4418c0cf40fSJerome Brunet					mux {
4428c0cf40fSJerome Brunet						groups = "pdm_din1";
4438c0cf40fSJerome Brunet						function = "pdm";
4441c5cc1c8SJerome Brunet						bias-disable;
4458c0cf40fSJerome Brunet					};
4468c0cf40fSJerome Brunet				};
4478c0cf40fSJerome Brunet
4488c0cf40fSJerome Brunet				pdm_din2_pins: pdm_din2 {
4498c0cf40fSJerome Brunet					mux {
4508c0cf40fSJerome Brunet						groups = "pdm_din2";
4518c0cf40fSJerome Brunet						function = "pdm";
4521c5cc1c8SJerome Brunet						bias-disable;
4538c0cf40fSJerome Brunet					};
4548c0cf40fSJerome Brunet				};
4558c0cf40fSJerome Brunet
4568c0cf40fSJerome Brunet				pdm_din3_pins: pdm_din3 {
4578c0cf40fSJerome Brunet					mux {
4588c0cf40fSJerome Brunet						groups = "pdm_din3";
4598c0cf40fSJerome Brunet						function = "pdm";
4601c5cc1c8SJerome Brunet						bias-disable;
4618c0cf40fSJerome Brunet					};
4628c0cf40fSJerome Brunet				};
4638c0cf40fSJerome Brunet
4648c0cf40fSJerome Brunet				pwm_a_a_pins: pwm_a_a {
4658c0cf40fSJerome Brunet					mux {
4668c0cf40fSJerome Brunet						groups = "pwm_a_a";
4678c0cf40fSJerome Brunet						function = "pwm_a";
4681c5cc1c8SJerome Brunet						bias-disable;
4698c0cf40fSJerome Brunet					};
4708c0cf40fSJerome Brunet				};
4718c0cf40fSJerome Brunet
4728c0cf40fSJerome Brunet				pwm_a_x18_pins: pwm_a_x18 {
4738c0cf40fSJerome Brunet					mux {
4748c0cf40fSJerome Brunet						groups = "pwm_a_x18";
4758c0cf40fSJerome Brunet						function = "pwm_a";
4761c5cc1c8SJerome Brunet						bias-disable;
4778c0cf40fSJerome Brunet					};
4788c0cf40fSJerome Brunet				};
4798c0cf40fSJerome Brunet
4808c0cf40fSJerome Brunet				pwm_a_x20_pins: pwm_a_x20 {
4818c0cf40fSJerome Brunet					mux {
4828c0cf40fSJerome Brunet						groups = "pwm_a_x20";
4838c0cf40fSJerome Brunet						function = "pwm_a";
4841c5cc1c8SJerome Brunet						bias-disable;
4858c0cf40fSJerome Brunet					};
4868c0cf40fSJerome Brunet				};
4878c0cf40fSJerome Brunet
4888c0cf40fSJerome Brunet				pwm_a_z_pins: pwm_a_z {
4898c0cf40fSJerome Brunet					mux {
4908c0cf40fSJerome Brunet						groups = "pwm_a_z";
4918c0cf40fSJerome Brunet						function = "pwm_a";
4921c5cc1c8SJerome Brunet						bias-disable;
4938c0cf40fSJerome Brunet					};
4948c0cf40fSJerome Brunet				};
4958c0cf40fSJerome Brunet
4968c0cf40fSJerome Brunet				pwm_b_a_pins: pwm_b_a {
4978c0cf40fSJerome Brunet					mux {
4988c0cf40fSJerome Brunet						groups = "pwm_b_a";
4998c0cf40fSJerome Brunet						function = "pwm_b";
5001c5cc1c8SJerome Brunet						bias-disable;
5018c0cf40fSJerome Brunet					};
5028c0cf40fSJerome Brunet				};
5038c0cf40fSJerome Brunet
5048c0cf40fSJerome Brunet				pwm_b_x_pins: pwm_b_x {
5058c0cf40fSJerome Brunet					mux {
5068c0cf40fSJerome Brunet						groups = "pwm_b_x";
5078c0cf40fSJerome Brunet						function = "pwm_b";
5081c5cc1c8SJerome Brunet						bias-disable;
5098c0cf40fSJerome Brunet					};
5108c0cf40fSJerome Brunet				};
5118c0cf40fSJerome Brunet
5128c0cf40fSJerome Brunet				pwm_b_z_pins: pwm_b_z {
5138c0cf40fSJerome Brunet					mux {
5148c0cf40fSJerome Brunet						groups = "pwm_b_z";
5158c0cf40fSJerome Brunet						function = "pwm_b";
5161c5cc1c8SJerome Brunet						bias-disable;
5178c0cf40fSJerome Brunet					};
5188c0cf40fSJerome Brunet				};
5198c0cf40fSJerome Brunet
5208c0cf40fSJerome Brunet				pwm_c_a_pins: pwm_c_a {
5218c0cf40fSJerome Brunet					mux {
5228c0cf40fSJerome Brunet						groups = "pwm_c_a";
5238c0cf40fSJerome Brunet						function = "pwm_c";
5241c5cc1c8SJerome Brunet						bias-disable;
5258c0cf40fSJerome Brunet					};
5268c0cf40fSJerome Brunet				};
5278c0cf40fSJerome Brunet
5288c0cf40fSJerome Brunet				pwm_c_x10_pins: pwm_c_x10 {
5298c0cf40fSJerome Brunet					mux {
5308c0cf40fSJerome Brunet						groups = "pwm_c_x10";
5318c0cf40fSJerome Brunet						function = "pwm_c";
5321c5cc1c8SJerome Brunet						bias-disable;
5338c0cf40fSJerome Brunet					};
5348c0cf40fSJerome Brunet				};
5358c0cf40fSJerome Brunet
5368c0cf40fSJerome Brunet				pwm_c_x17_pins: pwm_c_x17 {
5378c0cf40fSJerome Brunet					mux {
5388c0cf40fSJerome Brunet						groups = "pwm_c_x17";
5398c0cf40fSJerome Brunet						function = "pwm_c";
5401c5cc1c8SJerome Brunet						bias-disable;
5418c0cf40fSJerome Brunet					};
5428c0cf40fSJerome Brunet				};
5438c0cf40fSJerome Brunet
5448c0cf40fSJerome Brunet				pwm_d_x11_pins: pwm_d_x11 {
5458c0cf40fSJerome Brunet					mux {
5468c0cf40fSJerome Brunet						groups = "pwm_d_x11";
5478c0cf40fSJerome Brunet						function = "pwm_d";
5481c5cc1c8SJerome Brunet						bias-disable;
5498c0cf40fSJerome Brunet					};
5508c0cf40fSJerome Brunet				};
5518c0cf40fSJerome Brunet
5528c0cf40fSJerome Brunet				pwm_d_x16_pins: pwm_d_x16 {
5538c0cf40fSJerome Brunet					mux {
5548c0cf40fSJerome Brunet						groups = "pwm_d_x16";
5558c0cf40fSJerome Brunet						function = "pwm_d";
5561c5cc1c8SJerome Brunet						bias-disable;
5578c0cf40fSJerome Brunet					};
5588c0cf40fSJerome Brunet				};
5598c0cf40fSJerome Brunet
5608c0cf40fSJerome Brunet				sdio_pins: sdio {
5618c0cf40fSJerome Brunet					mux {
5628c0cf40fSJerome Brunet						groups = "sdio_d0",
5638c0cf40fSJerome Brunet							 "sdio_d1",
5648c0cf40fSJerome Brunet							 "sdio_d2",
5658c0cf40fSJerome Brunet							 "sdio_d3",
5668c0cf40fSJerome Brunet							 "sdio_cmd",
5678c0cf40fSJerome Brunet							 "sdio_clk";
5688c0cf40fSJerome Brunet						function = "sdio";
56996a13691SJerome Brunet						bias-disable;
5708c0cf40fSJerome Brunet					};
5718c0cf40fSJerome Brunet				};
5728c0cf40fSJerome Brunet
5738c0cf40fSJerome Brunet				sdio_clk_gate_pins: sdio_clk_gate {
5748c0cf40fSJerome Brunet					mux {
5758c0cf40fSJerome Brunet						groups = "GPIOX_4";
5768c0cf40fSJerome Brunet						function = "gpio_periphs";
5778c0cf40fSJerome Brunet						bias-pull-down;
5788c0cf40fSJerome Brunet					};
5798c0cf40fSJerome Brunet				};
5808c0cf40fSJerome Brunet
5818c0cf40fSJerome Brunet				spdif_in_z_pins: spdif_in_z {
5828c0cf40fSJerome Brunet					mux {
5838c0cf40fSJerome Brunet						groups = "spdif_in_z";
5848c0cf40fSJerome Brunet						function = "spdif_in";
5851c5cc1c8SJerome Brunet						bias-disable;
5868c0cf40fSJerome Brunet					};
5878c0cf40fSJerome Brunet				};
5888c0cf40fSJerome Brunet
5898c0cf40fSJerome Brunet				spdif_in_a1_pins: spdif_in_a1 {
5908c0cf40fSJerome Brunet					mux {
5918c0cf40fSJerome Brunet						groups = "spdif_in_a1";
5928c0cf40fSJerome Brunet						function = "spdif_in";
5931c5cc1c8SJerome Brunet						bias-disable;
5948c0cf40fSJerome Brunet					};
5958c0cf40fSJerome Brunet				};
5968c0cf40fSJerome Brunet
5978c0cf40fSJerome Brunet				spdif_in_a7_pins: spdif_in_a7 {
5988c0cf40fSJerome Brunet					mux {
5998c0cf40fSJerome Brunet						groups = "spdif_in_a7";
6008c0cf40fSJerome Brunet						function = "spdif_in";
6011c5cc1c8SJerome Brunet						bias-disable;
6028c0cf40fSJerome Brunet					};
6038c0cf40fSJerome Brunet				};
6048c0cf40fSJerome Brunet
6058c0cf40fSJerome Brunet				spdif_in_a19_pins: spdif_in_a19 {
6068c0cf40fSJerome Brunet					mux {
6078c0cf40fSJerome Brunet						groups = "spdif_in_a19";
6088c0cf40fSJerome Brunet						function = "spdif_in";
6091c5cc1c8SJerome Brunet						bias-disable;
6108c0cf40fSJerome Brunet					};
6118c0cf40fSJerome Brunet				};
6128c0cf40fSJerome Brunet
6138c0cf40fSJerome Brunet				spdif_in_a20_pins: spdif_in_a20 {
6148c0cf40fSJerome Brunet					mux {
6158c0cf40fSJerome Brunet						groups = "spdif_in_a20";
6168c0cf40fSJerome Brunet						function = "spdif_in";
6171c5cc1c8SJerome Brunet						bias-disable;
6188c0cf40fSJerome Brunet					};
6198c0cf40fSJerome Brunet				};
6208c0cf40fSJerome Brunet
6218c0cf40fSJerome Brunet				spdif_out_a1_pins: spdif_out_a1 {
6228c0cf40fSJerome Brunet					mux {
6238c0cf40fSJerome Brunet						groups = "spdif_out_a1";
6248c0cf40fSJerome Brunet						function = "spdif_out";
6251c5cc1c8SJerome Brunet						bias-disable;
6268c0cf40fSJerome Brunet					};
6278c0cf40fSJerome Brunet				};
6288c0cf40fSJerome Brunet
6298c0cf40fSJerome Brunet				spdif_out_a11_pins: spdif_out_a11 {
6308c0cf40fSJerome Brunet					mux {
6318c0cf40fSJerome Brunet						groups = "spdif_out_a11";
6328c0cf40fSJerome Brunet						function = "spdif_out";
6331c5cc1c8SJerome Brunet						bias-disable;
6348c0cf40fSJerome Brunet					};
6358c0cf40fSJerome Brunet				};
6368c0cf40fSJerome Brunet
6378c0cf40fSJerome Brunet				spdif_out_a19_pins: spdif_out_a19 {
6388c0cf40fSJerome Brunet					mux {
6398c0cf40fSJerome Brunet						groups = "spdif_out_a19";
6408c0cf40fSJerome Brunet						function = "spdif_out";
6411c5cc1c8SJerome Brunet						bias-disable;
6428c0cf40fSJerome Brunet					};
6438c0cf40fSJerome Brunet				};
6448c0cf40fSJerome Brunet
6458c0cf40fSJerome Brunet				spdif_out_a20_pins: spdif_out_a20 {
6468c0cf40fSJerome Brunet					mux {
6478c0cf40fSJerome Brunet						groups = "spdif_out_a20";
6488c0cf40fSJerome Brunet						function = "spdif_out";
6491c5cc1c8SJerome Brunet						bias-disable;
6508c0cf40fSJerome Brunet					};
6518c0cf40fSJerome Brunet				};
6528c0cf40fSJerome Brunet
6538c0cf40fSJerome Brunet				spdif_out_z_pins: spdif_out_z {
6548c0cf40fSJerome Brunet					mux {
6558c0cf40fSJerome Brunet						groups = "spdif_out_z";
6568c0cf40fSJerome Brunet						function = "spdif_out";
6571c5cc1c8SJerome Brunet						bias-disable;
6588c0cf40fSJerome Brunet					};
6598c0cf40fSJerome Brunet				};
6608c0cf40fSJerome Brunet
6618c0cf40fSJerome Brunet				spi0_pins: spi0 {
6628c0cf40fSJerome Brunet					mux {
6638c0cf40fSJerome Brunet						groups = "spi0_miso",
6648c0cf40fSJerome Brunet							 "spi0_mosi",
6658c0cf40fSJerome Brunet							 "spi0_clk";
6668c0cf40fSJerome Brunet						function = "spi0";
6671c5cc1c8SJerome Brunet						bias-disable;
6688c0cf40fSJerome Brunet					};
6698c0cf40fSJerome Brunet				};
6708c0cf40fSJerome Brunet
6718c0cf40fSJerome Brunet				spi0_ss0_pins: spi0_ss0 {
6728c0cf40fSJerome Brunet					mux {
6738c0cf40fSJerome Brunet						groups = "spi0_ss0";
6748c0cf40fSJerome Brunet						function = "spi0";
6751c5cc1c8SJerome Brunet						bias-disable;
6768c0cf40fSJerome Brunet					};
6778c0cf40fSJerome Brunet				};
6788c0cf40fSJerome Brunet
6798c0cf40fSJerome Brunet				spi0_ss1_pins: spi0_ss1 {
6808c0cf40fSJerome Brunet					mux {
6818c0cf40fSJerome Brunet						groups = "spi0_ss1";
6828c0cf40fSJerome Brunet						function = "spi0";
6831c5cc1c8SJerome Brunet						bias-disable;
6848c0cf40fSJerome Brunet					};
6858c0cf40fSJerome Brunet				};
6868c0cf40fSJerome Brunet
6878c0cf40fSJerome Brunet				spi0_ss2_pins: spi0_ss2 {
6888c0cf40fSJerome Brunet					mux {
6898c0cf40fSJerome Brunet						groups = "spi0_ss2";
6908c0cf40fSJerome Brunet						function = "spi0";
6911c5cc1c8SJerome Brunet						bias-disable;
6928c0cf40fSJerome Brunet					};
6938c0cf40fSJerome Brunet				};
6948c0cf40fSJerome Brunet
6958c0cf40fSJerome Brunet				spi1_a_pins: spi1_a {
6968c0cf40fSJerome Brunet					mux {
6978c0cf40fSJerome Brunet						groups = "spi1_miso_a",
6988c0cf40fSJerome Brunet							 "spi1_mosi_a",
6998c0cf40fSJerome Brunet							 "spi1_clk_a";
7008c0cf40fSJerome Brunet						function = "spi1";
7011c5cc1c8SJerome Brunet						bias-disable;
7028c0cf40fSJerome Brunet					};
7038c0cf40fSJerome Brunet				};
7048c0cf40fSJerome Brunet
7058c0cf40fSJerome Brunet				spi1_ss0_a_pins: spi1_ss0_a {
7068c0cf40fSJerome Brunet					mux {
7078c0cf40fSJerome Brunet						groups = "spi1_ss0_a";
7088c0cf40fSJerome Brunet						function = "spi1";
7091c5cc1c8SJerome Brunet						bias-disable;
7108c0cf40fSJerome Brunet					};
7118c0cf40fSJerome Brunet				};
7128c0cf40fSJerome Brunet
7138c0cf40fSJerome Brunet				spi1_ss1_pins: spi1_ss1 {
7148c0cf40fSJerome Brunet					mux {
7158c0cf40fSJerome Brunet						groups = "spi1_ss1";
7168c0cf40fSJerome Brunet						function = "spi1";
7171c5cc1c8SJerome Brunet						bias-disable;
7188c0cf40fSJerome Brunet					};
7198c0cf40fSJerome Brunet				};
7208c0cf40fSJerome Brunet
7218c0cf40fSJerome Brunet				spi1_x_pins: spi1_x {
7228c0cf40fSJerome Brunet					mux {
7238c0cf40fSJerome Brunet						groups = "spi1_miso_x",
7248c0cf40fSJerome Brunet							 "spi1_mosi_x",
7258c0cf40fSJerome Brunet							 "spi1_clk_x";
7268c0cf40fSJerome Brunet						function = "spi1";
7271c5cc1c8SJerome Brunet						bias-disable;
7288c0cf40fSJerome Brunet					};
7298c0cf40fSJerome Brunet				};
7308c0cf40fSJerome Brunet
7318c0cf40fSJerome Brunet				spi1_ss0_x_pins: spi1_ss0_x {
7328c0cf40fSJerome Brunet					mux {
7338c0cf40fSJerome Brunet						groups = "spi1_ss0_x";
7348c0cf40fSJerome Brunet						function = "spi1";
7351c5cc1c8SJerome Brunet						bias-disable;
7368c0cf40fSJerome Brunet					};
7378c0cf40fSJerome Brunet				};
7388c0cf40fSJerome Brunet
7398c0cf40fSJerome Brunet				tdma_din0_pins: tdma_din0 {
7408c0cf40fSJerome Brunet					mux {
7418c0cf40fSJerome Brunet						groups = "tdma_din0";
7428c0cf40fSJerome Brunet						function = "tdma";
7431c5cc1c8SJerome Brunet						bias-disable;
7448c0cf40fSJerome Brunet					};
7458c0cf40fSJerome Brunet				};
7468c0cf40fSJerome Brunet
7478c0cf40fSJerome Brunet				tdma_dout0_x14_pins: tdma_dout0_x14 {
7488c0cf40fSJerome Brunet					mux {
7498c0cf40fSJerome Brunet						groups = "tdma_dout0_x14";
7508c0cf40fSJerome Brunet						function = "tdma";
7511c5cc1c8SJerome Brunet						bias-disable;
7528c0cf40fSJerome Brunet					};
7538c0cf40fSJerome Brunet				};
7548c0cf40fSJerome Brunet
7558c0cf40fSJerome Brunet				tdma_dout0_x15_pins: tdma_dout0_x15 {
7568c0cf40fSJerome Brunet					mux {
7578c0cf40fSJerome Brunet						groups = "tdma_dout0_x15";
7588c0cf40fSJerome Brunet						function = "tdma";
7591c5cc1c8SJerome Brunet						bias-disable;
7608c0cf40fSJerome Brunet					};
7618c0cf40fSJerome Brunet				};
7628c0cf40fSJerome Brunet
7638c0cf40fSJerome Brunet				tdma_dout1_pins: tdma_dout1 {
7648c0cf40fSJerome Brunet					mux {
7658c0cf40fSJerome Brunet						groups = "tdma_dout1";
7668c0cf40fSJerome Brunet						function = "tdma";
7671c5cc1c8SJerome Brunet						bias-disable;
7688c0cf40fSJerome Brunet					};
7698c0cf40fSJerome Brunet				};
7708c0cf40fSJerome Brunet
7718c0cf40fSJerome Brunet				tdma_din1_pins: tdma_din1 {
7728c0cf40fSJerome Brunet					mux {
7738c0cf40fSJerome Brunet						groups = "tdma_din1";
7748c0cf40fSJerome Brunet						function = "tdma";
7751c5cc1c8SJerome Brunet						bias-disable;
7768c0cf40fSJerome Brunet					};
7778c0cf40fSJerome Brunet				};
7788c0cf40fSJerome Brunet
7798c0cf40fSJerome Brunet				tdma_fs_pins: tdma_fs {
7808c0cf40fSJerome Brunet					mux {
7818c0cf40fSJerome Brunet						groups = "tdma_fs";
7828c0cf40fSJerome Brunet						function = "tdma";
7831c5cc1c8SJerome Brunet						bias-disable;
7848c0cf40fSJerome Brunet					};
7858c0cf40fSJerome Brunet				};
7868c0cf40fSJerome Brunet
7878c0cf40fSJerome Brunet				tdma_fs_slv_pins: tdma_fs_slv {
7888c0cf40fSJerome Brunet					mux {
7898c0cf40fSJerome Brunet						groups = "tdma_fs_slv";
7908c0cf40fSJerome Brunet						function = "tdma";
7911c5cc1c8SJerome Brunet						bias-disable;
7928c0cf40fSJerome Brunet					};
7938c0cf40fSJerome Brunet				};
7948c0cf40fSJerome Brunet
7958c0cf40fSJerome Brunet				tdma_sclk_pins: tdma_sclk {
7968c0cf40fSJerome Brunet					mux {
7978c0cf40fSJerome Brunet						groups = "tdma_sclk";
7988c0cf40fSJerome Brunet						function = "tdma";
7991c5cc1c8SJerome Brunet						bias-disable;
8008c0cf40fSJerome Brunet					};
8018c0cf40fSJerome Brunet				};
8028c0cf40fSJerome Brunet
8038c0cf40fSJerome Brunet				tdma_sclk_slv_pins: tdma_sclk_slv {
8048c0cf40fSJerome Brunet					mux {
8058c0cf40fSJerome Brunet						groups = "tdma_sclk_slv";
8068c0cf40fSJerome Brunet						function = "tdma";
8071c5cc1c8SJerome Brunet						bias-disable;
8088c0cf40fSJerome Brunet					};
8098c0cf40fSJerome Brunet				};
8108c0cf40fSJerome Brunet
8118c0cf40fSJerome Brunet				tdmb_din0_pins: tdmb_din0 {
8128c0cf40fSJerome Brunet					mux {
8138c0cf40fSJerome Brunet						groups = "tdmb_din0";
8148c0cf40fSJerome Brunet						function = "tdmb";
8151c5cc1c8SJerome Brunet						bias-disable;
8168c0cf40fSJerome Brunet					};
8178c0cf40fSJerome Brunet				};
8188c0cf40fSJerome Brunet
8198c0cf40fSJerome Brunet				tdmb_din1_pins: tdmb_din1 {
8208c0cf40fSJerome Brunet					mux {
8218c0cf40fSJerome Brunet						groups = "tdmb_din1";
8228c0cf40fSJerome Brunet						function = "tdmb";
8231c5cc1c8SJerome Brunet						bias-disable;
8248c0cf40fSJerome Brunet					};
8258c0cf40fSJerome Brunet				};
8268c0cf40fSJerome Brunet
8278c0cf40fSJerome Brunet				tdmb_din2_pins: tdmb_din2 {
8288c0cf40fSJerome Brunet					mux {
8298c0cf40fSJerome Brunet						groups = "tdmb_din2";
8308c0cf40fSJerome Brunet						function = "tdmb";
8311c5cc1c8SJerome Brunet						bias-disable;
8328c0cf40fSJerome Brunet					};
8338c0cf40fSJerome Brunet				};
8348c0cf40fSJerome Brunet
8358c0cf40fSJerome Brunet				tdmb_din3_pins: tdmb_din3 {
8368c0cf40fSJerome Brunet					mux {
8378c0cf40fSJerome Brunet						groups = "tdmb_din3";
8388c0cf40fSJerome Brunet						function = "tdmb";
8391c5cc1c8SJerome Brunet						bias-disable;
8408c0cf40fSJerome Brunet					};
8418c0cf40fSJerome Brunet				};
8428c0cf40fSJerome Brunet
8438c0cf40fSJerome Brunet				tdmb_dout0_pins: tdmb_dout0 {
8448c0cf40fSJerome Brunet					mux {
8458c0cf40fSJerome Brunet						groups = "tdmb_dout0";
8468c0cf40fSJerome Brunet						function = "tdmb";
8471c5cc1c8SJerome Brunet						bias-disable;
8488c0cf40fSJerome Brunet					};
8498c0cf40fSJerome Brunet				};
8508c0cf40fSJerome Brunet
8518c0cf40fSJerome Brunet				tdmb_dout1_pins: tdmb_dout1 {
8528c0cf40fSJerome Brunet					mux {
8538c0cf40fSJerome Brunet						groups = "tdmb_dout1";
8548c0cf40fSJerome Brunet						function = "tdmb";
8551c5cc1c8SJerome Brunet						bias-disable;
8568c0cf40fSJerome Brunet					};
8578c0cf40fSJerome Brunet				};
8588c0cf40fSJerome Brunet
8598c0cf40fSJerome Brunet				tdmb_dout2_pins: tdmb_dout2 {
8608c0cf40fSJerome Brunet					mux {
8618c0cf40fSJerome Brunet						groups = "tdmb_dout2";
8628c0cf40fSJerome Brunet						function = "tdmb";
8631c5cc1c8SJerome Brunet						bias-disable;
8648c0cf40fSJerome Brunet					};
8658c0cf40fSJerome Brunet				};
8668c0cf40fSJerome Brunet
8678c0cf40fSJerome Brunet				tdmb_dout3_pins: tdmb_dout3 {
8688c0cf40fSJerome Brunet					mux {
8698c0cf40fSJerome Brunet						groups = "tdmb_dout3";
8708c0cf40fSJerome Brunet						function = "tdmb";
8711c5cc1c8SJerome Brunet						bias-disable;
8728c0cf40fSJerome Brunet					};
8738c0cf40fSJerome Brunet				};
8748c0cf40fSJerome Brunet
8758c0cf40fSJerome Brunet				tdmb_fs_pins: tdmb_fs {
8768c0cf40fSJerome Brunet					mux {
8778c0cf40fSJerome Brunet						groups = "tdmb_fs";
8788c0cf40fSJerome Brunet						function = "tdmb";
8791c5cc1c8SJerome Brunet						bias-disable;
8808c0cf40fSJerome Brunet					};
8818c0cf40fSJerome Brunet				};
8828c0cf40fSJerome Brunet
8838c0cf40fSJerome Brunet				tdmb_fs_slv_pins: tdmb_fs_slv {
8848c0cf40fSJerome Brunet					mux {
8858c0cf40fSJerome Brunet						groups = "tdmb_fs_slv";
8868c0cf40fSJerome Brunet						function = "tdmb";
8871c5cc1c8SJerome Brunet						bias-disable;
8888c0cf40fSJerome Brunet					};
8898c0cf40fSJerome Brunet				};
8908c0cf40fSJerome Brunet
8918c0cf40fSJerome Brunet				tdmb_sclk_pins: tdmb_sclk {
8928c0cf40fSJerome Brunet					mux {
8938c0cf40fSJerome Brunet						groups = "tdmb_sclk";
8948c0cf40fSJerome Brunet						function = "tdmb";
8951c5cc1c8SJerome Brunet						bias-disable;
8968c0cf40fSJerome Brunet					};
8978c0cf40fSJerome Brunet				};
8988c0cf40fSJerome Brunet
8998c0cf40fSJerome Brunet				tdmb_sclk_slv_pins: tdmb_sclk_slv {
9008c0cf40fSJerome Brunet					mux {
9018c0cf40fSJerome Brunet						groups = "tdmb_sclk_slv";
9028c0cf40fSJerome Brunet						function = "tdmb";
9031c5cc1c8SJerome Brunet						bias-disable;
9048c0cf40fSJerome Brunet					};
9058c0cf40fSJerome Brunet				};
9068c0cf40fSJerome Brunet
9078c0cf40fSJerome Brunet				tdmc_fs_pins: tdmc_fs {
9088c0cf40fSJerome Brunet					mux {
9098c0cf40fSJerome Brunet						groups = "tdmc_fs";
9108c0cf40fSJerome Brunet						function = "tdmc";
9111c5cc1c8SJerome Brunet						bias-disable;
9128c0cf40fSJerome Brunet					};
9138c0cf40fSJerome Brunet				};
9148c0cf40fSJerome Brunet
9158c0cf40fSJerome Brunet				tdmc_fs_slv_pins: tdmc_fs_slv {
9168c0cf40fSJerome Brunet					mux {
9178c0cf40fSJerome Brunet						groups = "tdmc_fs_slv";
9188c0cf40fSJerome Brunet						function = "tdmc";
9191c5cc1c8SJerome Brunet						bias-disable;
9208c0cf40fSJerome Brunet					};
9218c0cf40fSJerome Brunet				};
9228c0cf40fSJerome Brunet
9238c0cf40fSJerome Brunet				tdmc_sclk_pins: tdmc_sclk {
9248c0cf40fSJerome Brunet					mux {
9258c0cf40fSJerome Brunet						groups = "tdmc_sclk";
9268c0cf40fSJerome Brunet						function = "tdmc";
9271c5cc1c8SJerome Brunet						bias-disable;
9288c0cf40fSJerome Brunet					};
9298c0cf40fSJerome Brunet				};
9308c0cf40fSJerome Brunet
9318c0cf40fSJerome Brunet				tdmc_sclk_slv_pins: tdmc_sclk_slv {
9328c0cf40fSJerome Brunet					mux {
9338c0cf40fSJerome Brunet						groups = "tdmc_sclk_slv";
9348c0cf40fSJerome Brunet						function = "tdmc";
9351c5cc1c8SJerome Brunet						bias-disable;
9368c0cf40fSJerome Brunet					};
9378c0cf40fSJerome Brunet				};
9388c0cf40fSJerome Brunet
9398c0cf40fSJerome Brunet				tdmc_din0_pins: tdmc_din0 {
9408c0cf40fSJerome Brunet					mux {
9418c0cf40fSJerome Brunet						groups = "tdmc_din0";
9428c0cf40fSJerome Brunet						function = "tdmc";
9431c5cc1c8SJerome Brunet						bias-disable;
9448c0cf40fSJerome Brunet					};
9458c0cf40fSJerome Brunet				};
9468c0cf40fSJerome Brunet
9478c0cf40fSJerome Brunet				tdmc_din1_pins: tdmc_din1 {
9488c0cf40fSJerome Brunet					mux {
9498c0cf40fSJerome Brunet						groups = "tdmc_din1";
9508c0cf40fSJerome Brunet						function = "tdmc";
9511c5cc1c8SJerome Brunet						bias-disable;
9528c0cf40fSJerome Brunet					};
9538c0cf40fSJerome Brunet				};
9548c0cf40fSJerome Brunet
9558c0cf40fSJerome Brunet				tdmc_din2_pins: tdmc_din2 {
9568c0cf40fSJerome Brunet					mux {
9578c0cf40fSJerome Brunet						groups = "tdmc_din2";
9588c0cf40fSJerome Brunet						function = "tdmc";
9591c5cc1c8SJerome Brunet						bias-disable;
9608c0cf40fSJerome Brunet					};
9618c0cf40fSJerome Brunet				};
9628c0cf40fSJerome Brunet
9638c0cf40fSJerome Brunet				tdmc_din3_pins: tdmc_din3 {
9648c0cf40fSJerome Brunet					mux {
9658c0cf40fSJerome Brunet						groups = "tdmc_din3";
9668c0cf40fSJerome Brunet						function = "tdmc";
9671c5cc1c8SJerome Brunet						bias-disable;
9688c0cf40fSJerome Brunet					};
9698c0cf40fSJerome Brunet				};
9708c0cf40fSJerome Brunet
9718c0cf40fSJerome Brunet				tdmc_dout0_pins: tdmc_dout0 {
9728c0cf40fSJerome Brunet					mux {
9738c0cf40fSJerome Brunet						groups = "tdmc_dout0";
9748c0cf40fSJerome Brunet						function = "tdmc";
9751c5cc1c8SJerome Brunet						bias-disable;
9768c0cf40fSJerome Brunet					};
9778c0cf40fSJerome Brunet				};
9788c0cf40fSJerome Brunet
9798c0cf40fSJerome Brunet				tdmc_dout1_pins: tdmc_dout1 {
9808c0cf40fSJerome Brunet					mux {
9818c0cf40fSJerome Brunet						groups = "tdmc_dout1";
9828c0cf40fSJerome Brunet						function = "tdmc";
9831c5cc1c8SJerome Brunet						bias-disable;
9848c0cf40fSJerome Brunet					};
9858c0cf40fSJerome Brunet				};
9868c0cf40fSJerome Brunet
9878c0cf40fSJerome Brunet				tdmc_dout2_pins: tdmc_dout2 {
9888c0cf40fSJerome Brunet					mux {
9898c0cf40fSJerome Brunet						groups = "tdmc_dout2";
9908c0cf40fSJerome Brunet						function = "tdmc";
9911c5cc1c8SJerome Brunet						bias-disable;
9928c0cf40fSJerome Brunet					};
9938c0cf40fSJerome Brunet				};
9948c0cf40fSJerome Brunet
9958c0cf40fSJerome Brunet				tdmc_dout3_pins: tdmc_dout3 {
9968c0cf40fSJerome Brunet					mux {
9978c0cf40fSJerome Brunet						groups = "tdmc_dout3";
9988c0cf40fSJerome Brunet						function = "tdmc";
9991c5cc1c8SJerome Brunet						bias-disable;
10008c0cf40fSJerome Brunet					};
10018c0cf40fSJerome Brunet				};
10028c0cf40fSJerome Brunet
10038c0cf40fSJerome Brunet				uart_a_pins: uart_a {
10048c0cf40fSJerome Brunet					mux {
10058c0cf40fSJerome Brunet						groups = "uart_tx_a",
10068c0cf40fSJerome Brunet							 "uart_rx_a";
10078c0cf40fSJerome Brunet						function = "uart_a";
10081c5cc1c8SJerome Brunet						bias-disable;
10098c0cf40fSJerome Brunet					};
10108c0cf40fSJerome Brunet				};
10118c0cf40fSJerome Brunet
10128c0cf40fSJerome Brunet				uart_a_cts_rts_pins: uart_a_cts_rts {
10138c0cf40fSJerome Brunet					mux {
10148c0cf40fSJerome Brunet						groups = "uart_cts_a",
10158c0cf40fSJerome Brunet							 "uart_rts_a";
10168c0cf40fSJerome Brunet						function = "uart_a";
10171c5cc1c8SJerome Brunet						bias-disable;
10188c0cf40fSJerome Brunet					};
10198c0cf40fSJerome Brunet				};
10208c0cf40fSJerome Brunet
10218c0cf40fSJerome Brunet				uart_b_x_pins: uart_b_x {
10228c0cf40fSJerome Brunet					mux {
10238c0cf40fSJerome Brunet						groups = "uart_tx_b_x",
10248c0cf40fSJerome Brunet							 "uart_rx_b_x";
10258c0cf40fSJerome Brunet						function = "uart_b";
10261c5cc1c8SJerome Brunet						bias-disable;
10278c0cf40fSJerome Brunet					};
10288c0cf40fSJerome Brunet				};
10298c0cf40fSJerome Brunet
10308c0cf40fSJerome Brunet				uart_b_x_cts_rts_pins: uart_b_x_cts_rts {
10318c0cf40fSJerome Brunet					mux {
10328c0cf40fSJerome Brunet						groups = "uart_cts_b_x",
10338c0cf40fSJerome Brunet							 "uart_rts_b_x";
10348c0cf40fSJerome Brunet						function = "uart_b";
10351c5cc1c8SJerome Brunet						bias-disable;
10368c0cf40fSJerome Brunet					};
10378c0cf40fSJerome Brunet				};
10388c0cf40fSJerome Brunet
10398c0cf40fSJerome Brunet				uart_b_z_pins: uart_b_z {
10408c0cf40fSJerome Brunet					mux {
10418c0cf40fSJerome Brunet						groups = "uart_tx_b_z",
10428c0cf40fSJerome Brunet							 "uart_rx_b_z";
10438c0cf40fSJerome Brunet						function = "uart_b";
10441c5cc1c8SJerome Brunet						bias-disable;
10458c0cf40fSJerome Brunet					};
10468c0cf40fSJerome Brunet				};
10478c0cf40fSJerome Brunet
10488c0cf40fSJerome Brunet				uart_b_z_cts_rts_pins: uart_b_z_cts_rts {
10498c0cf40fSJerome Brunet					mux {
10508c0cf40fSJerome Brunet						groups = "uart_cts_b_z",
10518c0cf40fSJerome Brunet							 "uart_rts_b_z";
10528c0cf40fSJerome Brunet						function = "uart_b";
10531c5cc1c8SJerome Brunet						bias-disable;
10548c0cf40fSJerome Brunet					};
10558c0cf40fSJerome Brunet				};
10568c0cf40fSJerome Brunet
10578c0cf40fSJerome Brunet				uart_ao_b_z_pins: uart_ao_b_z {
10588c0cf40fSJerome Brunet					mux {
10598c0cf40fSJerome Brunet						groups = "uart_ao_tx_b_z",
10608c0cf40fSJerome Brunet							 "uart_ao_rx_b_z";
10618c0cf40fSJerome Brunet						function = "uart_ao_b_z";
10621c5cc1c8SJerome Brunet						bias-disable;
10638c0cf40fSJerome Brunet					};
10648c0cf40fSJerome Brunet				};
10658c0cf40fSJerome Brunet
10668c0cf40fSJerome Brunet				uart_ao_b_z_cts_rts_pins: uart_ao_b_z_cts_rts {
10678c0cf40fSJerome Brunet					mux {
10688c0cf40fSJerome Brunet						groups = "uart_ao_cts_b_z",
10698c0cf40fSJerome Brunet							 "uart_ao_rts_b_z";
10708c0cf40fSJerome Brunet						function = "uart_ao_b_z";
10711c5cc1c8SJerome Brunet						bias-disable;
10728c0cf40fSJerome Brunet					};
10738c0cf40fSJerome Brunet				};
10748c0cf40fSJerome Brunet			};
10758c0cf40fSJerome Brunet		};
10768c0cf40fSJerome Brunet
10778c0cf40fSJerome Brunet		hiubus: bus@ff63c000 {
10788c0cf40fSJerome Brunet			compatible = "simple-bus";
10798c0cf40fSJerome Brunet			reg = <0x0 0xff63c000 0x0 0x1c00>;
10808c0cf40fSJerome Brunet			#address-cells = <2>;
10818c0cf40fSJerome Brunet			#size-cells = <2>;
10828c0cf40fSJerome Brunet			ranges = <0x0 0x0 0x0 0xff63c000 0x0 0x1c00>;
10838c0cf40fSJerome Brunet
10848c0cf40fSJerome Brunet			sysctrl: system-controller@0 {
10858c0cf40fSJerome Brunet				compatible = "amlogic,meson-axg-hhi-sysctrl",
1086445f2bdaSNeil Armstrong					     "simple-mfd", "syscon";
10878c0cf40fSJerome Brunet				reg = <0 0 0 0x400>;
10888c0cf40fSJerome Brunet
10898c0cf40fSJerome Brunet				clkc: clock-controller {
10908c0cf40fSJerome Brunet					compatible = "amlogic,axg-clkc";
10918c0cf40fSJerome Brunet					#clock-cells = <1>;
10928c0cf40fSJerome Brunet				};
10938c0cf40fSJerome Brunet			};
10948c0cf40fSJerome Brunet		};
10958c0cf40fSJerome Brunet
10969fdff382SJerome Brunet		mailbox: mailbox@ff63c404 {
10978c0cf40fSJerome Brunet			compatible = "amlogic,meson-gx-mhu", "amlogic,meson-gxbb-mhu";
10989fdff382SJerome Brunet			reg = <0 0xff63c404 0 0x4c>;
10998c0cf40fSJerome Brunet			interrupts = <GIC_SPI 208 IRQ_TYPE_EDGE_RISING>,
11008c0cf40fSJerome Brunet				     <GIC_SPI 209 IRQ_TYPE_EDGE_RISING>,
11018c0cf40fSJerome Brunet				     <GIC_SPI 210 IRQ_TYPE_EDGE_RISING>;
11028c0cf40fSJerome Brunet			#mbox-cells = <1>;
1103221cf34bSNan Li		};
1104221cf34bSNan Li
11058909e722SJerome Brunet		audio: bus@ff642000 {
11068909e722SJerome Brunet			compatible = "simple-bus";
11078909e722SJerome Brunet			reg = <0x0 0xff642000 0x0 0x2000>;
11088909e722SJerome Brunet			#address-cells = <2>;
11098909e722SJerome Brunet			#size-cells = <2>;
11108909e722SJerome Brunet			ranges = <0x0 0x0 0x0 0xff642000 0x0 0x2000>;
11118909e722SJerome Brunet
11128909e722SJerome Brunet			clkc_audio: clock-controller@0 {
11138909e722SJerome Brunet				compatible = "amlogic,axg-audio-clkc";
11148909e722SJerome Brunet				reg = <0x0 0x0 0x0 0xb4>;
11158909e722SJerome Brunet				#clock-cells = <1>;
11168909e722SJerome Brunet
11178909e722SJerome Brunet				clocks = <&clkc CLKID_AUDIO>,
11188909e722SJerome Brunet					 <&clkc CLKID_MPLL0>,
11198909e722SJerome Brunet					 <&clkc CLKID_MPLL1>,
11208909e722SJerome Brunet					 <&clkc CLKID_MPLL2>,
11218909e722SJerome Brunet					 <&clkc CLKID_MPLL3>,
11228909e722SJerome Brunet					 <&clkc CLKID_HIFI_PLL>,
11238909e722SJerome Brunet					 <&clkc CLKID_FCLK_DIV3>,
11248909e722SJerome Brunet					 <&clkc CLKID_FCLK_DIV4>,
11258909e722SJerome Brunet					 <&clkc CLKID_GP0_PLL>;
11268909e722SJerome Brunet				clock-names = "pclk",
11278909e722SJerome Brunet					      "mst_in0",
11288909e722SJerome Brunet					      "mst_in1",
11298909e722SJerome Brunet					      "mst_in2",
11308909e722SJerome Brunet					      "mst_in3",
11318909e722SJerome Brunet					      "mst_in4",
11328909e722SJerome Brunet					      "mst_in5",
11338909e722SJerome Brunet					      "mst_in6",
11348909e722SJerome Brunet					      "mst_in7";
11358909e722SJerome Brunet
11368909e722SJerome Brunet				resets = <&reset RESET_AUDIO>;
11378909e722SJerome Brunet			};
113866d58a8fSJerome Brunet
1139f2b8f6a9SJerome Brunet			toddr_a: audio-controller@100 {
1140f2b8f6a9SJerome Brunet				compatible = "amlogic,axg-toddr";
1141f2b8f6a9SJerome Brunet				reg = <0x0 0x100 0x0 0x1c>;
1142f2b8f6a9SJerome Brunet				#sound-dai-cells = <0>;
1143f2b8f6a9SJerome Brunet				sound-name-prefix = "TODDR_A";
1144f2b8f6a9SJerome Brunet				interrupts = <GIC_SPI 84 IRQ_TYPE_EDGE_RISING>;
1145f2b8f6a9SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TODDR_A>;
1146f2b8f6a9SJerome Brunet				resets = <&arb AXG_ARB_TODDR_A>;
1147f2b8f6a9SJerome Brunet				status = "disabled";
1148f2b8f6a9SJerome Brunet			};
1149f2b8f6a9SJerome Brunet
1150f2b8f6a9SJerome Brunet			toddr_b: audio-controller@140 {
1151f2b8f6a9SJerome Brunet				compatible = "amlogic,axg-toddr";
1152f2b8f6a9SJerome Brunet				reg = <0x0 0x140 0x0 0x1c>;
1153f2b8f6a9SJerome Brunet				#sound-dai-cells = <0>;
1154f2b8f6a9SJerome Brunet				sound-name-prefix = "TODDR_B";
1155f2b8f6a9SJerome Brunet				interrupts = <GIC_SPI 85 IRQ_TYPE_EDGE_RISING>;
1156f2b8f6a9SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TODDR_B>;
1157f2b8f6a9SJerome Brunet				resets = <&arb AXG_ARB_TODDR_B>;
1158f2b8f6a9SJerome Brunet				status = "disabled";
1159f2b8f6a9SJerome Brunet			};
1160f2b8f6a9SJerome Brunet
1161f2b8f6a9SJerome Brunet			toddr_c: audio-controller@180 {
1162f2b8f6a9SJerome Brunet				compatible = "amlogic,axg-toddr";
1163f2b8f6a9SJerome Brunet				reg = <0x0 0x180 0x0 0x1c>;
1164f2b8f6a9SJerome Brunet				#sound-dai-cells = <0>;
1165f2b8f6a9SJerome Brunet				sound-name-prefix = "TODDR_C";
1166f2b8f6a9SJerome Brunet				interrupts = <GIC_SPI 86 IRQ_TYPE_EDGE_RISING>;
1167f2b8f6a9SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TODDR_C>;
1168f2b8f6a9SJerome Brunet				resets = <&arb AXG_ARB_TODDR_C>;
1169f2b8f6a9SJerome Brunet				status = "disabled";
1170f2b8f6a9SJerome Brunet			};
1171f2b8f6a9SJerome Brunet
1172f2b8f6a9SJerome Brunet			frddr_a: audio-controller@1c0 {
1173f2b8f6a9SJerome Brunet				compatible = "amlogic,axg-frddr";
1174f2b8f6a9SJerome Brunet				reg = <0x0 0x1c0 0x0 0x1c>;
1175f2b8f6a9SJerome Brunet				#sound-dai-cells = <0>;
1176f2b8f6a9SJerome Brunet				sound-name-prefix = "FRDDR_A";
1177f2b8f6a9SJerome Brunet				interrupts = <GIC_SPI 88 IRQ_TYPE_EDGE_RISING>;
1178f2b8f6a9SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_FRDDR_A>;
1179f2b8f6a9SJerome Brunet				resets = <&arb AXG_ARB_FRDDR_A>;
1180f2b8f6a9SJerome Brunet				status = "disabled";
1181f2b8f6a9SJerome Brunet			};
1182f2b8f6a9SJerome Brunet
1183f2b8f6a9SJerome Brunet			frddr_b: audio-controller@200 {
1184f2b8f6a9SJerome Brunet				compatible = "amlogic,axg-frddr";
1185f2b8f6a9SJerome Brunet				reg = <0x0 0x200 0x0 0x1c>;
1186f2b8f6a9SJerome Brunet				#sound-dai-cells = <0>;
1187f2b8f6a9SJerome Brunet				sound-name-prefix = "FRDDR_B";
1188f2b8f6a9SJerome Brunet				interrupts = <GIC_SPI 89 IRQ_TYPE_EDGE_RISING>;
1189f2b8f6a9SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_FRDDR_B>;
1190f2b8f6a9SJerome Brunet				resets = <&arb AXG_ARB_FRDDR_B>;
1191f2b8f6a9SJerome Brunet				status = "disabled";
1192f2b8f6a9SJerome Brunet			};
1193f2b8f6a9SJerome Brunet
1194f2b8f6a9SJerome Brunet			frddr_c: audio-controller@240 {
1195f2b8f6a9SJerome Brunet				compatible = "amlogic,axg-frddr";
1196f2b8f6a9SJerome Brunet				reg = <0x0 0x240 0x0 0x1c>;
1197f2b8f6a9SJerome Brunet				#sound-dai-cells = <0>;
1198f2b8f6a9SJerome Brunet				sound-name-prefix = "FRDDR_C";
1199f2b8f6a9SJerome Brunet				interrupts = <GIC_SPI 90 IRQ_TYPE_EDGE_RISING>;
1200f2b8f6a9SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_FRDDR_C>;
1201f2b8f6a9SJerome Brunet				resets = <&arb AXG_ARB_FRDDR_C>;
1202f2b8f6a9SJerome Brunet				status = "disabled";
1203f2b8f6a9SJerome Brunet			};
1204f2b8f6a9SJerome Brunet
120566d58a8fSJerome Brunet			arb: reset-controller@280 {
120666d58a8fSJerome Brunet				compatible = "amlogic,meson-axg-audio-arb";
120766d58a8fSJerome Brunet				reg = <0x0 0x280 0x0 0x4>;
120866d58a8fSJerome Brunet				#reset-cells = <1>;
120966d58a8fSJerome Brunet				clocks = <&clkc_audio AUD_CLKID_DDR_ARB>;
121066d58a8fSJerome Brunet			};
1211f08c52deSJerome Brunet
1212bf8e4790SJerome Brunet			tdmin_a: audio-controller@300 {
1213bf8e4790SJerome Brunet				compatible = "amlogic,axg-tdmin";
1214bf8e4790SJerome Brunet				reg = <0x0 0x300 0x0 0x40>;
1215bf8e4790SJerome Brunet				sound-name-prefix = "TDMIN_A";
1216bf8e4790SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TDMIN_A>,
1217bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_A_SCLK>,
1218bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_A_SCLK_SEL>,
1219bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_A_LRCLK>,
1220bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_A_LRCLK>;
1221bf8e4790SJerome Brunet				clock-names = "pclk", "sclk", "sclk_sel",
1222bf8e4790SJerome Brunet					      "lrclk", "lrclk_sel";
1223bf8e4790SJerome Brunet				status = "disabled";
1224bf8e4790SJerome Brunet			};
1225bf8e4790SJerome Brunet
1226bf8e4790SJerome Brunet			tdmin_b: audio-controller@340 {
1227bf8e4790SJerome Brunet				compatible = "amlogic,axg-tdmin";
1228bf8e4790SJerome Brunet				reg = <0x0 0x340 0x0 0x40>;
1229bf8e4790SJerome Brunet				sound-name-prefix = "TDMIN_B";
1230bf8e4790SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TDMIN_B>,
1231bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_B_SCLK>,
1232bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_B_SCLK_SEL>,
1233bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_B_LRCLK>,
1234bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_B_LRCLK>;
1235bf8e4790SJerome Brunet				clock-names = "pclk", "sclk", "sclk_sel",
1236bf8e4790SJerome Brunet					      "lrclk", "lrclk_sel";
1237bf8e4790SJerome Brunet				status = "disabled";
1238bf8e4790SJerome Brunet			};
1239bf8e4790SJerome Brunet
1240bf8e4790SJerome Brunet			tdmin_c: audio-controller@380 {
1241bf8e4790SJerome Brunet				compatible = "amlogic,axg-tdmin";
1242bf8e4790SJerome Brunet				reg = <0x0 0x380 0x0 0x40>;
1243bf8e4790SJerome Brunet				sound-name-prefix = "TDMIN_C";
1244bf8e4790SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TDMIN_C>,
1245bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_C_SCLK>,
1246bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_C_SCLK_SEL>,
1247bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_C_LRCLK>,
1248bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_C_LRCLK>;
1249bf8e4790SJerome Brunet				clock-names = "pclk", "sclk", "sclk_sel",
1250bf8e4790SJerome Brunet					      "lrclk", "lrclk_sel";
1251bf8e4790SJerome Brunet				status = "disabled";
1252bf8e4790SJerome Brunet			};
1253bf8e4790SJerome Brunet
1254bf8e4790SJerome Brunet			tdmin_lb: audio-controller@3c0 {
1255bf8e4790SJerome Brunet				compatible = "amlogic,axg-tdmin";
1256bf8e4790SJerome Brunet				reg = <0x0 0x3c0 0x0 0x40>;
1257bf8e4790SJerome Brunet				sound-name-prefix = "TDMIN_LB";
1258bf8e4790SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TDMIN_LB>,
1259bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_LB_SCLK>,
1260bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_LB_SCLK_SEL>,
1261bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_LB_LRCLK>,
1262bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_LB_LRCLK>;
1263bf8e4790SJerome Brunet				clock-names = "pclk", "sclk", "sclk_sel",
1264bf8e4790SJerome Brunet					      "lrclk", "lrclk_sel";
1265bf8e4790SJerome Brunet				status = "disabled";
1266bf8e4790SJerome Brunet			};
1267bf8e4790SJerome Brunet
1268f08c52deSJerome Brunet			spdifout: audio-controller@480 {
1269f08c52deSJerome Brunet				compatible = "amlogic,axg-spdifout";
1270f08c52deSJerome Brunet				reg = <0x0 0x480 0x0 0x50>;
1271f08c52deSJerome Brunet				#sound-dai-cells = <0>;
1272f08c52deSJerome Brunet				sound-name-prefix = "SPDIFOUT";
1273f08c52deSJerome Brunet				clocks = <&clkc_audio AUD_CLKID_SPDIFOUT>,
1274f08c52deSJerome Brunet					 <&clkc_audio AUD_CLKID_SPDIFOUT_CLK>;
1275f08c52deSJerome Brunet				clock-names = "pclk", "mclk";
1276f08c52deSJerome Brunet				status = "disabled";
1277f08c52deSJerome Brunet			};
1278fd916739SJerome Brunet
1279fd916739SJerome Brunet			tdmout_a: audio-controller@500 {
1280fd916739SJerome Brunet				compatible = "amlogic,axg-tdmout";
1281fd916739SJerome Brunet				reg = <0x0 0x500 0x0 0x40>;
1282fd916739SJerome Brunet				sound-name-prefix = "TDMOUT_A";
1283fd916739SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TDMOUT_A>,
1284fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_A_SCLK>,
1285fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_A_SCLK_SEL>,
1286fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_A_LRCLK>,
1287fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_A_LRCLK>;
1288fd916739SJerome Brunet				clock-names = "pclk", "sclk", "sclk_sel",
1289fd916739SJerome Brunet					      "lrclk", "lrclk_sel";
1290fd916739SJerome Brunet				status = "disabled";
1291fd916739SJerome Brunet			};
1292fd916739SJerome Brunet
1293fd916739SJerome Brunet			tdmout_b: audio-controller@540 {
1294fd916739SJerome Brunet				compatible = "amlogic,axg-tdmout";
1295fd916739SJerome Brunet				reg = <0x0 0x540 0x0 0x40>;
1296fd916739SJerome Brunet				sound-name-prefix = "TDMOUT_B";
1297fd916739SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TDMOUT_B>,
1298fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_B_SCLK>,
1299fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_B_SCLK_SEL>,
1300fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_B_LRCLK>,
1301fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_B_LRCLK>;
1302fd916739SJerome Brunet				clock-names = "pclk", "sclk", "sclk_sel",
1303fd916739SJerome Brunet					      "lrclk", "lrclk_sel";
1304fd916739SJerome Brunet				status = "disabled";
1305fd916739SJerome Brunet			};
1306fd916739SJerome Brunet
1307fd916739SJerome Brunet			tdmout_c: audio-controller@580 {
1308fd916739SJerome Brunet				compatible = "amlogic,axg-tdmout";
1309fd916739SJerome Brunet				reg = <0x0 0x580 0x0 0x40>;
1310fd916739SJerome Brunet				sound-name-prefix = "TDMOUT_C";
1311fd916739SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TDMOUT_C>,
1312fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_C_SCLK>,
1313fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_C_SCLK_SEL>,
1314fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_C_LRCLK>,
1315fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_C_LRCLK>;
1316fd916739SJerome Brunet				clock-names = "pclk", "sclk", "sclk_sel",
1317fd916739SJerome Brunet					      "lrclk", "lrclk_sel";
1318fd916739SJerome Brunet				status = "disabled";
1319fd916739SJerome Brunet			};
13208909e722SJerome Brunet		};
13218909e722SJerome Brunet
13220cb6c604SKevin Hilman		aobus: bus@ff800000 {
13239d59b708SYixun Lan			compatible = "simple-bus";
13249d59b708SYixun Lan			reg = <0x0 0xff800000 0x0 0x100000>;
13259d59b708SYixun Lan			#address-cells = <2>;
13269d59b708SYixun Lan			#size-cells = <2>;
13279d59b708SYixun Lan			ranges = <0x0 0x0 0x0 0xff800000 0x0 0x100000>;
13289d59b708SYixun Lan
1329e03421ecSQiufang Dai			sysctrl_AO: sys-ctrl@0 {
1330445f2bdaSNeil Armstrong				compatible = "amlogic,meson-axg-ao-sysctrl", "simple-mfd", "syscon";
1331e03421ecSQiufang Dai				reg =  <0x0 0x0 0x0 0x100>;
1332e03421ecSQiufang Dai
1333e03421ecSQiufang Dai				clkc_AO: clock-controller {
1334e03421ecSQiufang Dai					compatible = "amlogic,meson-axg-aoclkc";
1335e03421ecSQiufang Dai					#clock-cells = <1>;
1336e03421ecSQiufang Dai					#reset-cells = <1>;
1337e03421ecSQiufang Dai				};
1338e03421ecSQiufang Dai			};
1339e03421ecSQiufang Dai
1340de05ded6SXingyu Chen			pinctrl_aobus: pinctrl@14 {
1341de05ded6SXingyu Chen				compatible = "amlogic,meson-axg-aobus-pinctrl";
1342de05ded6SXingyu Chen				#address-cells = <2>;
1343de05ded6SXingyu Chen				#size-cells = <2>;
1344de05ded6SXingyu Chen				ranges;
1345de05ded6SXingyu Chen
1346de05ded6SXingyu Chen				gpio_ao: bank@14 {
1347de05ded6SXingyu Chen					reg = <0x0 0x00014 0x0 0x8>,
1348de05ded6SXingyu Chen					      <0x0 0x0002c 0x0 0x4>,
1349de05ded6SXingyu Chen					      <0x0 0x00024 0x0 0x8>;
1350de05ded6SXingyu Chen					reg-names = "mux", "pull", "gpio";
1351de05ded6SXingyu Chen					gpio-controller;
1352de05ded6SXingyu Chen					#gpio-cells = <2>;
1353de05ded6SXingyu Chen					gpio-ranges = <&pinctrl_aobus 0 0 15>;
1354de05ded6SXingyu Chen				};
13557bd46a79SYixun Lan
1356c054b6c2SJerome Brunet				i2c_ao_sck_4_pins: i2c_ao_sck_4 {
1357c054b6c2SJerome Brunet					mux {
1358c054b6c2SJerome Brunet						groups = "i2c_ao_sck_4";
1359c054b6c2SJerome Brunet						function = "i2c_ao";
13601c5cc1c8SJerome Brunet						bias-disable;
1361c054b6c2SJerome Brunet					};
1362c054b6c2SJerome Brunet				};
1363c054b6c2SJerome Brunet
1364c054b6c2SJerome Brunet				i2c_ao_sck_8_pins: i2c_ao_sck_8 {
1365c054b6c2SJerome Brunet					mux {
1366c054b6c2SJerome Brunet						groups = "i2c_ao_sck_8";
1367c054b6c2SJerome Brunet						function = "i2c_ao";
13681c5cc1c8SJerome Brunet						bias-disable;
1369c054b6c2SJerome Brunet					};
1370c054b6c2SJerome Brunet				};
1371c054b6c2SJerome Brunet
1372c054b6c2SJerome Brunet				i2c_ao_sck_10_pins: i2c_ao_sck_10 {
1373c054b6c2SJerome Brunet					mux {
1374c054b6c2SJerome Brunet						groups = "i2c_ao_sck_10";
1375c054b6c2SJerome Brunet						function = "i2c_ao";
13761c5cc1c8SJerome Brunet						bias-disable;
1377c054b6c2SJerome Brunet					};
1378c054b6c2SJerome Brunet				};
1379c054b6c2SJerome Brunet
1380c054b6c2SJerome Brunet				i2c_ao_sda_5_pins: i2c_ao_sda_5 {
1381c054b6c2SJerome Brunet					mux {
1382c054b6c2SJerome Brunet						groups = "i2c_ao_sda_5";
1383c054b6c2SJerome Brunet						function = "i2c_ao";
13841c5cc1c8SJerome Brunet						bias-disable;
1385c054b6c2SJerome Brunet					};
1386c054b6c2SJerome Brunet				};
1387c054b6c2SJerome Brunet
1388c054b6c2SJerome Brunet				i2c_ao_sda_9_pins: i2c_ao_sda_9 {
1389c054b6c2SJerome Brunet					mux {
1390c054b6c2SJerome Brunet						groups = "i2c_ao_sda_9";
1391c054b6c2SJerome Brunet						function = "i2c_ao";
13921c5cc1c8SJerome Brunet						bias-disable;
1393c054b6c2SJerome Brunet					};
1394c054b6c2SJerome Brunet				};
1395c054b6c2SJerome Brunet
1396c054b6c2SJerome Brunet				i2c_ao_sda_11_pins: i2c_ao_sda_11 {
1397c054b6c2SJerome Brunet					mux {
1398c054b6c2SJerome Brunet						groups = "i2c_ao_sda_11";
1399c054b6c2SJerome Brunet						function = "i2c_ao";
14001c5cc1c8SJerome Brunet						bias-disable;
1401c054b6c2SJerome Brunet					};
1402c054b6c2SJerome Brunet				};
1403c054b6c2SJerome Brunet
14047bd46a79SYixun Lan				remote_input_ao_pins: remote_input_ao {
14057bd46a79SYixun Lan					mux {
14067bd46a79SYixun Lan						groups = "remote_input_ao";
14077bd46a79SYixun Lan						function = "remote_input_ao";
14081c5cc1c8SJerome Brunet						bias-disable;
14097bd46a79SYixun Lan					};
14107bd46a79SYixun Lan				};
14114eae66a6SYixun Lan
14124eae66a6SYixun Lan				uart_ao_a_pins: uart_ao_a {
14134eae66a6SYixun Lan					mux {
14144eae66a6SYixun Lan						groups = "uart_ao_tx_a",
14154eae66a6SYixun Lan							 "uart_ao_rx_a";
14164eae66a6SYixun Lan						function = "uart_ao_a";
14171c5cc1c8SJerome Brunet						bias-disable;
14184eae66a6SYixun Lan					};
14194eae66a6SYixun Lan				};
14204eae66a6SYixun Lan
14214eae66a6SYixun Lan				uart_ao_a_cts_rts_pins: uart_ao_a_cts_rts {
14224eae66a6SYixun Lan					mux {
14234eae66a6SYixun Lan						groups = "uart_ao_cts_a",
14244eae66a6SYixun Lan							 "uart_ao_rts_a";
14254eae66a6SYixun Lan						function = "uart_ao_a";
14261c5cc1c8SJerome Brunet						bias-disable;
14274eae66a6SYixun Lan					};
14284eae66a6SYixun Lan				};
14294eae66a6SYixun Lan
14304eae66a6SYixun Lan				uart_ao_b_pins: uart_ao_b {
14314eae66a6SYixun Lan					mux {
14324eae66a6SYixun Lan						groups = "uart_ao_tx_b",
14334eae66a6SYixun Lan							 "uart_ao_rx_b";
14344eae66a6SYixun Lan						function = "uart_ao_b";
14351c5cc1c8SJerome Brunet						bias-disable;
14364eae66a6SYixun Lan					};
14374eae66a6SYixun Lan				};
14384eae66a6SYixun Lan
14394eae66a6SYixun Lan				uart_ao_b_cts_rts_pins: uart_ao_b_cts_rts {
14404eae66a6SYixun Lan					mux {
14414eae66a6SYixun Lan						groups = "uart_ao_cts_b",
14424eae66a6SYixun Lan							 "uart_ao_rts_b";
14434eae66a6SYixun Lan						function = "uart_ao_b";
14441c5cc1c8SJerome Brunet						bias-disable;
14454eae66a6SYixun Lan					};
14464eae66a6SYixun Lan				};
1447de05ded6SXingyu Chen			};
1448de05ded6SXingyu Chen
1449a04c18cbSJerome Brunet			sec_AO: ao-secure@140 {
1450a04c18cbSJerome Brunet				compatible = "amlogic,meson-gx-ao-secure", "syscon";
1451a04c18cbSJerome Brunet				reg = <0x0 0x140 0x0 0x140>;
1452a04c18cbSJerome Brunet				amlogic,has-chip-id;
1453a04c18cbSJerome Brunet			};
1454a04c18cbSJerome Brunet
14554a81e5ddSJian Hu			pwm_AO_cd: pwm@2000 {
1456b4ff05caSJerome Brunet				compatible = "amlogic,meson-axg-ao-pwm";
14574a81e5ddSJian Hu				reg = <0x0 0x02000  0x0 0x20>;
14584a81e5ddSJian Hu				#pwm-cells = <3>;
14594a81e5ddSJian Hu				status = "disabled";
14604a81e5ddSJian Hu			};
14614a81e5ddSJian Hu
14629d59b708SYixun Lan			uart_AO: serial@3000 {
14639d59b708SYixun Lan				compatible = "amlogic,meson-gx-uart", "amlogic,meson-ao-uart";
14649d59b708SYixun Lan				reg = <0x0 0x3000 0x0 0x18>;
14659d59b708SYixun Lan				interrupts = <GIC_SPI 193 IRQ_TYPE_EDGE_RISING>;
14669adda353SYixun Lan				clocks = <&xtal>, <&clkc_AO CLKID_AO_UART1>, <&xtal>;
14679d59b708SYixun Lan				clock-names = "xtal", "pclk", "baud";
14689d59b708SYixun Lan				status = "disabled";
14699d59b708SYixun Lan			};
14709d59b708SYixun Lan
14719d59b708SYixun Lan			uart_AO_B: serial@4000 {
14729d59b708SYixun Lan				compatible = "amlogic,meson-gx-uart", "amlogic,meson-ao-uart";
14739d59b708SYixun Lan				reg = <0x0 0x4000 0x0 0x18>;
14749d59b708SYixun Lan				interrupts = <GIC_SPI 197 IRQ_TYPE_EDGE_RISING>;
14759adda353SYixun Lan				clocks = <&xtal>, <&clkc_AO CLKID_AO_UART2>, <&xtal>;
14769d59b708SYixun Lan				clock-names = "xtal", "pclk", "baud";
14779d59b708SYixun Lan				status = "disabled";
14789d59b708SYixun Lan			};
14797bd46a79SYixun Lan
14808c0cf40fSJerome Brunet			i2c_AO: i2c@5000 {
14818c0cf40fSJerome Brunet				compatible = "amlogic,meson-axg-i2c";
14828c0cf40fSJerome Brunet				reg = <0x0 0x05000 0x0 0x20>;
14838c0cf40fSJerome Brunet				interrupts = <GIC_SPI 195 IRQ_TYPE_EDGE_RISING>;
14848c0cf40fSJerome Brunet				clocks = <&clkc CLKID_AO_I2C>;
14858c0cf40fSJerome Brunet				#address-cells = <1>;
14868c0cf40fSJerome Brunet				#size-cells = <0>;
14878c0cf40fSJerome Brunet				status = "disabled";
14888c0cf40fSJerome Brunet			};
14898c0cf40fSJerome Brunet
14908c0cf40fSJerome Brunet			pwm_AO_ab: pwm@7000 {
14918c0cf40fSJerome Brunet				compatible = "amlogic,meson-axg-ao-pwm";
14928c0cf40fSJerome Brunet				reg = <0x0 0x07000 0x0 0x20>;
14938c0cf40fSJerome Brunet				#pwm-cells = <3>;
14948c0cf40fSJerome Brunet				status = "disabled";
14958c0cf40fSJerome Brunet			};
14968c0cf40fSJerome Brunet
14977bd46a79SYixun Lan			ir: ir@8000 {
14987bd46a79SYixun Lan				compatible = "amlogic,meson-gxbb-ir";
14997bd46a79SYixun Lan				reg = <0x0 0x8000 0x0 0x20>;
15007bd46a79SYixun Lan				interrupts = <GIC_SPI 196 IRQ_TYPE_EDGE_RISING>;
15017bd46a79SYixun Lan				status = "disabled";
15027bd46a79SYixun Lan			};
1503a51b74eaSXingyu Chen
1504a51b74eaSXingyu Chen			saradc: adc@9000 {
1505a51b74eaSXingyu Chen				compatible = "amlogic,meson-axg-saradc",
1506a51b74eaSXingyu Chen					"amlogic,meson-saradc";
1507a51b74eaSXingyu Chen				reg = <0x0 0x9000 0x0 0x38>;
1508a51b74eaSXingyu Chen				#io-channel-cells = <1>;
1509a51b74eaSXingyu Chen				interrupts = <GIC_SPI 73 IRQ_TYPE_EDGE_RISING>;
1510a51b74eaSXingyu Chen				clocks = <&xtal>,
1511a51b74eaSXingyu Chen					 <&clkc_AO CLKID_AO_SAR_ADC>,
1512a51b74eaSXingyu Chen					 <&clkc_AO CLKID_AO_SAR_ADC_CLK>,
1513a51b74eaSXingyu Chen					 <&clkc_AO CLKID_AO_SAR_ADC_SEL>;
1514a51b74eaSXingyu Chen				clock-names = "clkin", "core", "adc_clk", "adc_sel";
1515a51b74eaSXingyu Chen				status = "disabled";
1516a51b74eaSXingyu Chen			};
15179d59b708SYixun Lan		};
15188c0cf40fSJerome Brunet
15198c0cf40fSJerome Brunet		gic: interrupt-controller@ffc01000 {
15208c0cf40fSJerome Brunet			compatible = "arm,gic-400";
15218c0cf40fSJerome Brunet			reg = <0x0 0xffc01000 0 0x1000>,
15228c0cf40fSJerome Brunet			      <0x0 0xffc02000 0 0x2000>,
15238c0cf40fSJerome Brunet			      <0x0 0xffc04000 0 0x2000>,
15248c0cf40fSJerome Brunet			      <0x0 0xffc06000 0 0x2000>;
15258c0cf40fSJerome Brunet			interrupt-controller;
15268c0cf40fSJerome Brunet			interrupts = <GIC_PPI 9
15278c0cf40fSJerome Brunet				(GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>;
15288c0cf40fSJerome Brunet			#interrupt-cells = <3>;
15298c0cf40fSJerome Brunet			#address-cells = <0>;
15308c0cf40fSJerome Brunet		};
15318c0cf40fSJerome Brunet
15328c0cf40fSJerome Brunet		cbus: bus@ffd00000 {
15338c0cf40fSJerome Brunet			compatible = "simple-bus";
15348c0cf40fSJerome Brunet			reg = <0x0 0xffd00000 0x0 0x25000>;
15358c0cf40fSJerome Brunet			#address-cells = <2>;
15368c0cf40fSJerome Brunet			#size-cells = <2>;
15378c0cf40fSJerome Brunet			ranges = <0x0 0x0 0x0 0xffd00000 0x0 0x25000>;
15388c0cf40fSJerome Brunet
15398c0cf40fSJerome Brunet			reset: reset-controller@1004 {
15408c0cf40fSJerome Brunet				compatible = "amlogic,meson-axg-reset";
15418c0cf40fSJerome Brunet				reg = <0x0 0x01004 0x0 0x9c>;
15428c0cf40fSJerome Brunet				#reset-cells = <1>;
15438c0cf40fSJerome Brunet			};
15448c0cf40fSJerome Brunet
15458c0cf40fSJerome Brunet			gpio_intc: interrupt-controller@f080 {
15468c0cf40fSJerome Brunet				compatible = "amlogic,meson-gpio-intc";
15478c0cf40fSJerome Brunet				reg = <0x0 0xf080 0x0 0x10>;
15488c0cf40fSJerome Brunet				interrupt-controller;
15498c0cf40fSJerome Brunet				#interrupt-cells = <2>;
15508c0cf40fSJerome Brunet				amlogic,channel-interrupts = <64 65 66 67 68 69 70 71>;
15518c0cf40fSJerome Brunet				status = "disabled";
15528c0cf40fSJerome Brunet			};
15538c0cf40fSJerome Brunet
15548c0cf40fSJerome Brunet			pwm_ab: pwm@1b000 {
15558c0cf40fSJerome Brunet				compatible = "amlogic,meson-axg-ee-pwm";
15568c0cf40fSJerome Brunet				reg = <0x0 0x1b000 0x0 0x20>;
15578c0cf40fSJerome Brunet				#pwm-cells = <3>;
15588c0cf40fSJerome Brunet				status = "disabled";
15598c0cf40fSJerome Brunet			};
15608c0cf40fSJerome Brunet
15618c0cf40fSJerome Brunet			pwm_cd: pwm@1a000 {
15628c0cf40fSJerome Brunet				compatible = "amlogic,meson-axg-ee-pwm";
15638c0cf40fSJerome Brunet				reg = <0x0 0x1a000 0x0 0x20>;
15648c0cf40fSJerome Brunet				#pwm-cells = <3>;
15658c0cf40fSJerome Brunet				status = "disabled";
15668c0cf40fSJerome Brunet			};
15678c0cf40fSJerome Brunet
15688c0cf40fSJerome Brunet			spicc0: spi@13000 {
15698c0cf40fSJerome Brunet				compatible = "amlogic,meson-axg-spicc";
15708c0cf40fSJerome Brunet				reg = <0x0 0x13000 0x0 0x3c>;
15718c0cf40fSJerome Brunet				interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
15728c0cf40fSJerome Brunet				clocks = <&clkc CLKID_SPICC0>;
15738c0cf40fSJerome Brunet				clock-names = "core";
15748c0cf40fSJerome Brunet				#address-cells = <1>;
15758c0cf40fSJerome Brunet				#size-cells = <0>;
15768c0cf40fSJerome Brunet				status = "disabled";
15778c0cf40fSJerome Brunet			};
15788c0cf40fSJerome Brunet
15798c0cf40fSJerome Brunet			spicc1: spi@15000 {
15808c0cf40fSJerome Brunet				compatible = "amlogic,meson-axg-spicc";
15818c0cf40fSJerome Brunet				reg = <0x0 0x15000 0x0 0x3c>;
15828c0cf40fSJerome Brunet				interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
15838c0cf40fSJerome Brunet				clocks = <&clkc CLKID_SPICC1>;
15848c0cf40fSJerome Brunet				clock-names = "core";
15858c0cf40fSJerome Brunet				#address-cells = <1>;
15868c0cf40fSJerome Brunet				#size-cells = <0>;
15878c0cf40fSJerome Brunet				status = "disabled";
15888c0cf40fSJerome Brunet			};
15898c0cf40fSJerome Brunet
15908c0cf40fSJerome Brunet			i2c3: i2c@1c000 {
15918c0cf40fSJerome Brunet				compatible = "amlogic,meson-axg-i2c";
15928c0cf40fSJerome Brunet				reg = <0x0 0x1c000 0x0 0x20>;
15938c0cf40fSJerome Brunet				interrupts = <GIC_SPI 39 IRQ_TYPE_EDGE_RISING>;
15948c0cf40fSJerome Brunet				clocks = <&clkc CLKID_I2C>;
15958c0cf40fSJerome Brunet				#address-cells = <1>;
15968c0cf40fSJerome Brunet				#size-cells = <0>;
15978c0cf40fSJerome Brunet				status = "disabled";
15988c0cf40fSJerome Brunet			};
15998c0cf40fSJerome Brunet
16008c0cf40fSJerome Brunet			i2c2: i2c@1d000 {
16018c0cf40fSJerome Brunet				compatible = "amlogic,meson-axg-i2c";
16028c0cf40fSJerome Brunet				reg = <0x0 0x1d000 0x0 0x20>;
16038c0cf40fSJerome Brunet				interrupts = <GIC_SPI 215 IRQ_TYPE_EDGE_RISING>;
16048c0cf40fSJerome Brunet				clocks = <&clkc CLKID_I2C>;
16058c0cf40fSJerome Brunet				#address-cells = <1>;
16068c0cf40fSJerome Brunet				#size-cells = <0>;
16078c0cf40fSJerome Brunet				status = "disabled";
16088c0cf40fSJerome Brunet			};
16098c0cf40fSJerome Brunet
16108c0cf40fSJerome Brunet			i2c1: i2c@1e000 {
16118c0cf40fSJerome Brunet				compatible = "amlogic,meson-axg-i2c";
16128c0cf40fSJerome Brunet				reg = <0x0 0x1e000 0x0 0x20>;
16138c0cf40fSJerome Brunet				interrupts = <GIC_SPI 214 IRQ_TYPE_EDGE_RISING>;
16148c0cf40fSJerome Brunet				clocks = <&clkc CLKID_I2C>;
16158c0cf40fSJerome Brunet				#address-cells = <1>;
16168c0cf40fSJerome Brunet				#size-cells = <0>;
16178c0cf40fSJerome Brunet				status = "disabled";
16188c0cf40fSJerome Brunet			};
16198c0cf40fSJerome Brunet
16208c0cf40fSJerome Brunet			i2c0: i2c@1f000 {
16218c0cf40fSJerome Brunet				compatible = "amlogic,meson-axg-i2c";
16228c0cf40fSJerome Brunet				reg = <0x0 0x1f000 0x0 0x20>;
16238c0cf40fSJerome Brunet				interrupts = <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>;
16248c0cf40fSJerome Brunet				clocks = <&clkc CLKID_I2C>;
16258c0cf40fSJerome Brunet				#address-cells = <1>;
16268c0cf40fSJerome Brunet				#size-cells = <0>;
16278c0cf40fSJerome Brunet				status = "disabled";
16288c0cf40fSJerome Brunet			};
16298c0cf40fSJerome Brunet
16308c0cf40fSJerome Brunet			uart_B: serial@23000 {
16318c0cf40fSJerome Brunet				compatible = "amlogic,meson-gx-uart";
16328c0cf40fSJerome Brunet				reg = <0x0 0x23000 0x0 0x18>;
16338c0cf40fSJerome Brunet				interrupts = <GIC_SPI 75 IRQ_TYPE_EDGE_RISING>;
16348c0cf40fSJerome Brunet				status = "disabled";
16358c0cf40fSJerome Brunet				clocks = <&xtal>, <&clkc CLKID_UART1>, <&xtal>;
16368c0cf40fSJerome Brunet				clock-names = "xtal", "pclk", "baud";
16378c0cf40fSJerome Brunet			};
16388c0cf40fSJerome Brunet
16398c0cf40fSJerome Brunet			uart_A: serial@24000 {
16408c0cf40fSJerome Brunet				compatible = "amlogic,meson-gx-uart";
16418c0cf40fSJerome Brunet				reg = <0x0 0x24000 0x0 0x18>;
16428c0cf40fSJerome Brunet				interrupts = <GIC_SPI 26 IRQ_TYPE_EDGE_RISING>;
16438c0cf40fSJerome Brunet				status = "disabled";
16448c0cf40fSJerome Brunet				clocks = <&xtal>, <&clkc CLKID_UART0>, <&xtal>;
16458c0cf40fSJerome Brunet				clock-names = "xtal", "pclk", "baud";
16468c0cf40fSJerome Brunet			};
16478c0cf40fSJerome Brunet		};
16488c0cf40fSJerome Brunet
16498c0cf40fSJerome Brunet		apb: bus@ffe00000 {
16508c0cf40fSJerome Brunet			compatible = "simple-bus";
16518c0cf40fSJerome Brunet			reg = <0x0 0xffe00000 0x0 0x200000>;
16528c0cf40fSJerome Brunet			#address-cells = <2>;
16538c0cf40fSJerome Brunet			#size-cells = <2>;
16548c0cf40fSJerome Brunet			ranges = <0x0 0x0 0x0 0xffe00000 0x0 0x200000>;
16558c0cf40fSJerome Brunet
16568c0cf40fSJerome Brunet			sd_emmc_b: sd@5000 {
16578c0cf40fSJerome Brunet				compatible = "amlogic,meson-axg-mmc";
16588c0cf40fSJerome Brunet				reg = <0x0 0x5000 0x0 0x800>;
16598c0cf40fSJerome Brunet				interrupts = <GIC_SPI 217 IRQ_TYPE_EDGE_RISING>;
16608c0cf40fSJerome Brunet				status = "disabled";
16618c0cf40fSJerome Brunet				clocks = <&clkc CLKID_SD_EMMC_B>,
16628c0cf40fSJerome Brunet					<&clkc CLKID_SD_EMMC_B_CLK0>,
16638c0cf40fSJerome Brunet					<&clkc CLKID_FCLK_DIV2>;
16648c0cf40fSJerome Brunet				clock-names = "core", "clkin0", "clkin1";
16658c0cf40fSJerome Brunet				resets = <&reset RESET_SD_EMMC_B>;
16668c0cf40fSJerome Brunet			};
16678c0cf40fSJerome Brunet
16688c0cf40fSJerome Brunet			sd_emmc_c: mmc@7000 {
16698c0cf40fSJerome Brunet				compatible = "amlogic,meson-axg-mmc";
16708c0cf40fSJerome Brunet				reg = <0x0 0x7000 0x0 0x800>;
16718c0cf40fSJerome Brunet				interrupts = <GIC_SPI 218 IRQ_TYPE_EDGE_RISING>;
16728c0cf40fSJerome Brunet				status = "disabled";
16738c0cf40fSJerome Brunet				clocks = <&clkc CLKID_SD_EMMC_C>,
16748c0cf40fSJerome Brunet					<&clkc CLKID_SD_EMMC_C_CLK0>,
16758c0cf40fSJerome Brunet					<&clkc CLKID_FCLK_DIV2>;
16768c0cf40fSJerome Brunet				clock-names = "core", "clkin0", "clkin1";
16778c0cf40fSJerome Brunet				resets = <&reset RESET_SD_EMMC_C>;
16788c0cf40fSJerome Brunet			};
16798c0cf40fSJerome Brunet		};
16808c0cf40fSJerome Brunet
16818c0cf40fSJerome Brunet		sram: sram@fffc0000 {
16828c0cf40fSJerome Brunet			compatible = "amlogic,meson-axg-sram", "mmio-sram";
16838c0cf40fSJerome Brunet			reg = <0x0 0xfffc0000 0x0 0x20000>;
16848c0cf40fSJerome Brunet			#address-cells = <1>;
16858c0cf40fSJerome Brunet			#size-cells = <1>;
16868c0cf40fSJerome Brunet			ranges = <0 0x0 0xfffc0000 0x20000>;
16878c0cf40fSJerome Brunet
16889c2d16bbSJerome Brunet			cpu_scp_lpri: scp-shmem@13000 {
16898c0cf40fSJerome Brunet				compatible = "amlogic,meson-axg-scp-shmem";
16908c0cf40fSJerome Brunet				reg = <0x13000 0x400>;
16918c0cf40fSJerome Brunet			};
16928c0cf40fSJerome Brunet
16939c2d16bbSJerome Brunet			cpu_scp_hpri: scp-shmem@13400 {
16948c0cf40fSJerome Brunet				compatible = "amlogic,meson-axg-scp-shmem";
16958c0cf40fSJerome Brunet				reg = <0x13400 0x400>;
16968c0cf40fSJerome Brunet			};
16978c0cf40fSJerome Brunet		};
16988c0cf40fSJerome Brunet	};
16998c0cf40fSJerome Brunet
17008c0cf40fSJerome Brunet	timer {
17018c0cf40fSJerome Brunet		compatible = "arm,armv8-timer";
17028c0cf40fSJerome Brunet		interrupts = <GIC_PPI 13
17038c0cf40fSJerome Brunet			(GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>,
17048c0cf40fSJerome Brunet			     <GIC_PPI 14
17058c0cf40fSJerome Brunet			(GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>,
17068c0cf40fSJerome Brunet			     <GIC_PPI 11
17078c0cf40fSJerome Brunet			(GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>,
17088c0cf40fSJerome Brunet			     <GIC_PPI 10
17098c0cf40fSJerome Brunet			(GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>;
17108c0cf40fSJerome Brunet	};
17118c0cf40fSJerome Brunet
17128c0cf40fSJerome Brunet	xtal: xtal-clk {
17138c0cf40fSJerome Brunet		compatible = "fixed-clock";
17148c0cf40fSJerome Brunet		clock-frequency = <24000000>;
17158c0cf40fSJerome Brunet		clock-output-names = "xtal";
17168c0cf40fSJerome Brunet		#clock-cells = <0>;
17179d59b708SYixun Lan	};
17189d59b708SYixun Lan};
1719