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";
2338c0cf40fSJerome Brunet					};
2348c0cf40fSJerome Brunet				};
2358c0cf40fSJerome Brunet
2368c0cf40fSJerome Brunet				i2c1_x_pins: i2c1_x {
2378c0cf40fSJerome Brunet					mux {
2388c0cf40fSJerome Brunet						groups = "i2c1_sck_x",
2398c0cf40fSJerome Brunet							 "i2c1_sda_x";
2408c0cf40fSJerome Brunet						function = "i2c1";
2418c0cf40fSJerome Brunet					};
2428c0cf40fSJerome Brunet				};
2438c0cf40fSJerome Brunet
2448c0cf40fSJerome Brunet				i2c1_z_pins: i2c1_z {
2458c0cf40fSJerome Brunet					mux {
2468c0cf40fSJerome Brunet						groups = "i2c1_sck_z",
2478c0cf40fSJerome Brunet							 "i2c1_sda_z";
2488c0cf40fSJerome Brunet						function = "i2c1";
2498c0cf40fSJerome Brunet					};
2508c0cf40fSJerome Brunet				};
2518c0cf40fSJerome Brunet
2528c0cf40fSJerome Brunet				i2c2_a_pins: i2c2_a {
2538c0cf40fSJerome Brunet					mux {
2548c0cf40fSJerome Brunet						groups = "i2c2_sck_a",
2558c0cf40fSJerome Brunet							 "i2c2_sda_a";
2568c0cf40fSJerome Brunet						function = "i2c2";
2578c0cf40fSJerome Brunet					};
2588c0cf40fSJerome Brunet				};
2598c0cf40fSJerome Brunet
2608c0cf40fSJerome Brunet				i2c2_x_pins: i2c2_x {
2618c0cf40fSJerome Brunet					mux {
2628c0cf40fSJerome Brunet						groups = "i2c2_sck_x",
2638c0cf40fSJerome Brunet							 "i2c2_sda_x";
2648c0cf40fSJerome Brunet						function = "i2c2";
2658c0cf40fSJerome Brunet					};
2668c0cf40fSJerome Brunet				};
2678c0cf40fSJerome Brunet
2688c0cf40fSJerome Brunet				i2c3_a6_pins: i2c3_a6 {
2698c0cf40fSJerome Brunet					mux {
2708c0cf40fSJerome Brunet						groups = "i2c3_sda_a6",
2718c0cf40fSJerome Brunet							 "i2c3_sck_a7";
2728c0cf40fSJerome Brunet						function = "i2c3";
2738c0cf40fSJerome Brunet					};
2748c0cf40fSJerome Brunet				};
2758c0cf40fSJerome Brunet
2768c0cf40fSJerome Brunet				i2c3_a12_pins: i2c3_a12 {
2778c0cf40fSJerome Brunet					mux {
2788c0cf40fSJerome Brunet						groups = "i2c3_sda_a12",
2798c0cf40fSJerome Brunet							 "i2c3_sck_a13";
2808c0cf40fSJerome Brunet						function = "i2c3";
2818c0cf40fSJerome Brunet					};
2828c0cf40fSJerome Brunet				};
2838c0cf40fSJerome Brunet
2848c0cf40fSJerome Brunet				i2c3_a19_pins: i2c3_a19 {
2858c0cf40fSJerome Brunet					mux {
2868c0cf40fSJerome Brunet						groups = "i2c3_sda_a19",
2878c0cf40fSJerome Brunet							 "i2c3_sck_a20";
2888c0cf40fSJerome Brunet						function = "i2c3";
2898c0cf40fSJerome Brunet					};
2908c0cf40fSJerome Brunet				};
2918c0cf40fSJerome Brunet
2928c0cf40fSJerome Brunet				emmc_pins: emmc {
2938c0cf40fSJerome Brunet					mux {
2948c0cf40fSJerome Brunet						groups = "emmc_nand_d0",
2958c0cf40fSJerome Brunet							 "emmc_nand_d1",
2968c0cf40fSJerome Brunet							 "emmc_nand_d2",
2978c0cf40fSJerome Brunet							 "emmc_nand_d3",
2988c0cf40fSJerome Brunet							 "emmc_nand_d4",
2998c0cf40fSJerome Brunet							 "emmc_nand_d5",
3008c0cf40fSJerome Brunet							 "emmc_nand_d6",
3018c0cf40fSJerome Brunet							 "emmc_nand_d7",
3028c0cf40fSJerome Brunet							 "emmc_clk",
3038c0cf40fSJerome Brunet							 "emmc_cmd",
3048c0cf40fSJerome Brunet							 "emmc_ds";
3058c0cf40fSJerome Brunet						function = "emmc";
30696a13691SJerome Brunet						bias-disable;
3078c0cf40fSJerome Brunet					};
3088c0cf40fSJerome Brunet				};
3098c0cf40fSJerome Brunet
3108c0cf40fSJerome Brunet				emmc_clk_gate_pins: emmc_clk_gate {
3118c0cf40fSJerome Brunet					mux {
3128c0cf40fSJerome Brunet						groups = "BOOT_8";
3138c0cf40fSJerome Brunet						function = "gpio_periphs";
3148c0cf40fSJerome Brunet						bias-pull-down;
3158c0cf40fSJerome Brunet					};
3168c0cf40fSJerome Brunet				};
3178c0cf40fSJerome Brunet
3188c0cf40fSJerome Brunet				eth_rgmii_x_pins: eth-x-rgmii {
3198c0cf40fSJerome Brunet					mux {
3208c0cf40fSJerome Brunet						groups = "eth_mdio_x",
3218c0cf40fSJerome Brunet							 "eth_mdc_x",
3228c0cf40fSJerome Brunet							 "eth_rgmii_rx_clk_x",
3238c0cf40fSJerome Brunet							 "eth_rx_dv_x",
3248c0cf40fSJerome Brunet							 "eth_rxd0_x",
3258c0cf40fSJerome Brunet							 "eth_rxd1_x",
3268c0cf40fSJerome Brunet							 "eth_rxd2_rgmii",
3278c0cf40fSJerome Brunet							 "eth_rxd3_rgmii",
3288c0cf40fSJerome Brunet							 "eth_rgmii_tx_clk",
3298c0cf40fSJerome Brunet							 "eth_txen_x",
3308c0cf40fSJerome Brunet							 "eth_txd0_x",
3318c0cf40fSJerome Brunet							 "eth_txd1_x",
3328c0cf40fSJerome Brunet							 "eth_txd2_rgmii",
3338c0cf40fSJerome Brunet							 "eth_txd3_rgmii";
3348c0cf40fSJerome Brunet						function = "eth";
3358c0cf40fSJerome Brunet					};
3368c0cf40fSJerome Brunet				};
3378c0cf40fSJerome Brunet
3388c0cf40fSJerome Brunet				eth_rgmii_y_pins: eth-y-rgmii {
3398c0cf40fSJerome Brunet					mux {
3408c0cf40fSJerome Brunet						groups = "eth_mdio_y",
3418c0cf40fSJerome Brunet							 "eth_mdc_y",
3428c0cf40fSJerome Brunet							 "eth_rgmii_rx_clk_y",
3438c0cf40fSJerome Brunet							 "eth_rx_dv_y",
3448c0cf40fSJerome Brunet							 "eth_rxd0_y",
3458c0cf40fSJerome Brunet							 "eth_rxd1_y",
3468c0cf40fSJerome Brunet							 "eth_rxd2_rgmii",
3478c0cf40fSJerome Brunet							 "eth_rxd3_rgmii",
3488c0cf40fSJerome Brunet							 "eth_rgmii_tx_clk",
3498c0cf40fSJerome Brunet							 "eth_txen_y",
3508c0cf40fSJerome Brunet							 "eth_txd0_y",
3518c0cf40fSJerome Brunet							 "eth_txd1_y",
3528c0cf40fSJerome Brunet							 "eth_txd2_rgmii",
3538c0cf40fSJerome Brunet							 "eth_txd3_rgmii";
3548c0cf40fSJerome Brunet						function = "eth";
3558c0cf40fSJerome Brunet					};
3568c0cf40fSJerome Brunet				};
3578c0cf40fSJerome Brunet
3588c0cf40fSJerome Brunet				eth_rmii_x_pins: eth-x-rmii {
3598c0cf40fSJerome Brunet					mux {
3608c0cf40fSJerome Brunet						groups = "eth_mdio_x",
3618c0cf40fSJerome Brunet							 "eth_mdc_x",
3628c0cf40fSJerome Brunet							 "eth_rgmii_rx_clk_x",
3638c0cf40fSJerome Brunet							 "eth_rx_dv_x",
3648c0cf40fSJerome Brunet							 "eth_rxd0_x",
3658c0cf40fSJerome Brunet							 "eth_rxd1_x",
3668c0cf40fSJerome Brunet							 "eth_txen_x",
3678c0cf40fSJerome Brunet							 "eth_txd0_x",
3688c0cf40fSJerome Brunet							 "eth_txd1_x";
3698c0cf40fSJerome Brunet						function = "eth";
3708c0cf40fSJerome Brunet					};
3718c0cf40fSJerome Brunet				};
3728c0cf40fSJerome Brunet
3738c0cf40fSJerome Brunet				eth_rmii_y_pins: eth-y-rmii {
3748c0cf40fSJerome Brunet					mux {
3758c0cf40fSJerome Brunet						groups = "eth_mdio_y",
3768c0cf40fSJerome Brunet							 "eth_mdc_y",
3778c0cf40fSJerome Brunet							 "eth_rgmii_rx_clk_y",
3788c0cf40fSJerome Brunet							 "eth_rx_dv_y",
3798c0cf40fSJerome Brunet							 "eth_rxd0_y",
3808c0cf40fSJerome Brunet							 "eth_rxd1_y",
3818c0cf40fSJerome Brunet							 "eth_txen_y",
3828c0cf40fSJerome Brunet							 "eth_txd0_y",
3838c0cf40fSJerome Brunet							 "eth_txd1_y";
3848c0cf40fSJerome Brunet						function = "eth";
3858c0cf40fSJerome Brunet					};
3868c0cf40fSJerome Brunet				};
3878c0cf40fSJerome Brunet
3888c0cf40fSJerome Brunet				mclk_b_pins: mclk_b {
3898c0cf40fSJerome Brunet					mux {
3908c0cf40fSJerome Brunet						groups = "mclk_b";
3918c0cf40fSJerome Brunet						function = "mclk_b";
3928c0cf40fSJerome Brunet					};
3938c0cf40fSJerome Brunet				};
3948c0cf40fSJerome Brunet
3958c0cf40fSJerome Brunet				mclk_c_pins: mclk_c {
3968c0cf40fSJerome Brunet					mux {
3978c0cf40fSJerome Brunet						groups = "mclk_c";
3988c0cf40fSJerome Brunet						function = "mclk_c";
3998c0cf40fSJerome Brunet					};
4008c0cf40fSJerome Brunet				};
4018c0cf40fSJerome Brunet
4028c0cf40fSJerome Brunet				pdm_dclk_a14_pins: pdm_dclk_a14 {
4038c0cf40fSJerome Brunet					mux {
4048c0cf40fSJerome Brunet						groups = "pdm_dclk_a14";
4058c0cf40fSJerome Brunet						function = "pdm";
4068c0cf40fSJerome Brunet					};
4078c0cf40fSJerome Brunet				};
4088c0cf40fSJerome Brunet
4098c0cf40fSJerome Brunet				pdm_dclk_a19_pins: pdm_dclk_a19 {
4108c0cf40fSJerome Brunet					mux {
4118c0cf40fSJerome Brunet						groups = "pdm_dclk_a19";
4128c0cf40fSJerome Brunet						function = "pdm";
4138c0cf40fSJerome Brunet					};
4148c0cf40fSJerome Brunet				};
4158c0cf40fSJerome Brunet
4168c0cf40fSJerome Brunet				pdm_din0_pins: pdm_din0 {
4178c0cf40fSJerome Brunet					mux {
4188c0cf40fSJerome Brunet						groups = "pdm_din0";
4198c0cf40fSJerome Brunet						function = "pdm";
4208c0cf40fSJerome Brunet					};
4218c0cf40fSJerome Brunet				};
4228c0cf40fSJerome Brunet
4238c0cf40fSJerome Brunet				pdm_din1_pins: pdm_din1 {
4248c0cf40fSJerome Brunet					mux {
4258c0cf40fSJerome Brunet						groups = "pdm_din1";
4268c0cf40fSJerome Brunet						function = "pdm";
4278c0cf40fSJerome Brunet					};
4288c0cf40fSJerome Brunet				};
4298c0cf40fSJerome Brunet
4308c0cf40fSJerome Brunet				pdm_din2_pins: pdm_din2 {
4318c0cf40fSJerome Brunet					mux {
4328c0cf40fSJerome Brunet						groups = "pdm_din2";
4338c0cf40fSJerome Brunet						function = "pdm";
4348c0cf40fSJerome Brunet					};
4358c0cf40fSJerome Brunet				};
4368c0cf40fSJerome Brunet
4378c0cf40fSJerome Brunet				pdm_din3_pins: pdm_din3 {
4388c0cf40fSJerome Brunet					mux {
4398c0cf40fSJerome Brunet						groups = "pdm_din3";
4408c0cf40fSJerome Brunet						function = "pdm";
4418c0cf40fSJerome Brunet					};
4428c0cf40fSJerome Brunet				};
4438c0cf40fSJerome Brunet
4448c0cf40fSJerome Brunet				pwm_a_a_pins: pwm_a_a {
4458c0cf40fSJerome Brunet					mux {
4468c0cf40fSJerome Brunet						groups = "pwm_a_a";
4478c0cf40fSJerome Brunet						function = "pwm_a";
4488c0cf40fSJerome Brunet					};
4498c0cf40fSJerome Brunet				};
4508c0cf40fSJerome Brunet
4518c0cf40fSJerome Brunet				pwm_a_x18_pins: pwm_a_x18 {
4528c0cf40fSJerome Brunet					mux {
4538c0cf40fSJerome Brunet						groups = "pwm_a_x18";
4548c0cf40fSJerome Brunet						function = "pwm_a";
4558c0cf40fSJerome Brunet					};
4568c0cf40fSJerome Brunet				};
4578c0cf40fSJerome Brunet
4588c0cf40fSJerome Brunet				pwm_a_x20_pins: pwm_a_x20 {
4598c0cf40fSJerome Brunet					mux {
4608c0cf40fSJerome Brunet						groups = "pwm_a_x20";
4618c0cf40fSJerome Brunet						function = "pwm_a";
4628c0cf40fSJerome Brunet					};
4638c0cf40fSJerome Brunet				};
4648c0cf40fSJerome Brunet
4658c0cf40fSJerome Brunet				pwm_a_z_pins: pwm_a_z {
4668c0cf40fSJerome Brunet					mux {
4678c0cf40fSJerome Brunet						groups = "pwm_a_z";
4688c0cf40fSJerome Brunet						function = "pwm_a";
4698c0cf40fSJerome Brunet					};
4708c0cf40fSJerome Brunet				};
4718c0cf40fSJerome Brunet
4728c0cf40fSJerome Brunet				pwm_b_a_pins: pwm_b_a {
4738c0cf40fSJerome Brunet					mux {
4748c0cf40fSJerome Brunet						groups = "pwm_b_a";
4758c0cf40fSJerome Brunet						function = "pwm_b";
4768c0cf40fSJerome Brunet					};
4778c0cf40fSJerome Brunet				};
4788c0cf40fSJerome Brunet
4798c0cf40fSJerome Brunet				pwm_b_x_pins: pwm_b_x {
4808c0cf40fSJerome Brunet					mux {
4818c0cf40fSJerome Brunet						groups = "pwm_b_x";
4828c0cf40fSJerome Brunet						function = "pwm_b";
4838c0cf40fSJerome Brunet					};
4848c0cf40fSJerome Brunet				};
4858c0cf40fSJerome Brunet
4868c0cf40fSJerome Brunet				pwm_b_z_pins: pwm_b_z {
4878c0cf40fSJerome Brunet					mux {
4888c0cf40fSJerome Brunet						groups = "pwm_b_z";
4898c0cf40fSJerome Brunet						function = "pwm_b";
4908c0cf40fSJerome Brunet					};
4918c0cf40fSJerome Brunet				};
4928c0cf40fSJerome Brunet
4938c0cf40fSJerome Brunet				pwm_c_a_pins: pwm_c_a {
4948c0cf40fSJerome Brunet					mux {
4958c0cf40fSJerome Brunet						groups = "pwm_c_a";
4968c0cf40fSJerome Brunet						function = "pwm_c";
4978c0cf40fSJerome Brunet					};
4988c0cf40fSJerome Brunet				};
4998c0cf40fSJerome Brunet
5008c0cf40fSJerome Brunet				pwm_c_x10_pins: pwm_c_x10 {
5018c0cf40fSJerome Brunet					mux {
5028c0cf40fSJerome Brunet						groups = "pwm_c_x10";
5038c0cf40fSJerome Brunet						function = "pwm_c";
5048c0cf40fSJerome Brunet					};
5058c0cf40fSJerome Brunet				};
5068c0cf40fSJerome Brunet
5078c0cf40fSJerome Brunet				pwm_c_x17_pins: pwm_c_x17 {
5088c0cf40fSJerome Brunet					mux {
5098c0cf40fSJerome Brunet						groups = "pwm_c_x17";
5108c0cf40fSJerome Brunet						function = "pwm_c";
5118c0cf40fSJerome Brunet					};
5128c0cf40fSJerome Brunet				};
5138c0cf40fSJerome Brunet
5148c0cf40fSJerome Brunet				pwm_d_x11_pins: pwm_d_x11 {
5158c0cf40fSJerome Brunet					mux {
5168c0cf40fSJerome Brunet						groups = "pwm_d_x11";
5178c0cf40fSJerome Brunet						function = "pwm_d";
5188c0cf40fSJerome Brunet					};
5198c0cf40fSJerome Brunet				};
5208c0cf40fSJerome Brunet
5218c0cf40fSJerome Brunet				pwm_d_x16_pins: pwm_d_x16 {
5228c0cf40fSJerome Brunet					mux {
5238c0cf40fSJerome Brunet						groups = "pwm_d_x16";
5248c0cf40fSJerome Brunet						function = "pwm_d";
5258c0cf40fSJerome Brunet					};
5268c0cf40fSJerome Brunet				};
5278c0cf40fSJerome Brunet
5288c0cf40fSJerome Brunet				sdio_pins: sdio {
5298c0cf40fSJerome Brunet					mux {
5308c0cf40fSJerome Brunet						groups = "sdio_d0",
5318c0cf40fSJerome Brunet							 "sdio_d1",
5328c0cf40fSJerome Brunet							 "sdio_d2",
5338c0cf40fSJerome Brunet							 "sdio_d3",
5348c0cf40fSJerome Brunet							 "sdio_cmd",
5358c0cf40fSJerome Brunet							 "sdio_clk";
5368c0cf40fSJerome Brunet						function = "sdio";
53796a13691SJerome Brunet						bias-disable;
5388c0cf40fSJerome Brunet					};
5398c0cf40fSJerome Brunet				};
5408c0cf40fSJerome Brunet
5418c0cf40fSJerome Brunet				sdio_clk_gate_pins: sdio_clk_gate {
5428c0cf40fSJerome Brunet					mux {
5438c0cf40fSJerome Brunet						groups = "GPIOX_4";
5448c0cf40fSJerome Brunet						function = "gpio_periphs";
5458c0cf40fSJerome Brunet						bias-pull-down;
5468c0cf40fSJerome Brunet					};
5478c0cf40fSJerome Brunet				};
5488c0cf40fSJerome Brunet
5498c0cf40fSJerome Brunet				spdif_in_z_pins: spdif_in_z {
5508c0cf40fSJerome Brunet					mux {
5518c0cf40fSJerome Brunet						groups = "spdif_in_z";
5528c0cf40fSJerome Brunet						function = "spdif_in";
5538c0cf40fSJerome Brunet					};
5548c0cf40fSJerome Brunet				};
5558c0cf40fSJerome Brunet
5568c0cf40fSJerome Brunet				spdif_in_a1_pins: spdif_in_a1 {
5578c0cf40fSJerome Brunet					mux {
5588c0cf40fSJerome Brunet						groups = "spdif_in_a1";
5598c0cf40fSJerome Brunet						function = "spdif_in";
5608c0cf40fSJerome Brunet					};
5618c0cf40fSJerome Brunet				};
5628c0cf40fSJerome Brunet
5638c0cf40fSJerome Brunet				spdif_in_a7_pins: spdif_in_a7 {
5648c0cf40fSJerome Brunet					mux {
5658c0cf40fSJerome Brunet						groups = "spdif_in_a7";
5668c0cf40fSJerome Brunet						function = "spdif_in";
5678c0cf40fSJerome Brunet					};
5688c0cf40fSJerome Brunet				};
5698c0cf40fSJerome Brunet
5708c0cf40fSJerome Brunet				spdif_in_a19_pins: spdif_in_a19 {
5718c0cf40fSJerome Brunet					mux {
5728c0cf40fSJerome Brunet						groups = "spdif_in_a19";
5738c0cf40fSJerome Brunet						function = "spdif_in";
5748c0cf40fSJerome Brunet					};
5758c0cf40fSJerome Brunet				};
5768c0cf40fSJerome Brunet
5778c0cf40fSJerome Brunet				spdif_in_a20_pins: spdif_in_a20 {
5788c0cf40fSJerome Brunet					mux {
5798c0cf40fSJerome Brunet						groups = "spdif_in_a20";
5808c0cf40fSJerome Brunet						function = "spdif_in";
5818c0cf40fSJerome Brunet					};
5828c0cf40fSJerome Brunet				};
5838c0cf40fSJerome Brunet
5848c0cf40fSJerome Brunet				spdif_out_a1_pins: spdif_out_a1 {
5858c0cf40fSJerome Brunet					mux {
5868c0cf40fSJerome Brunet						groups = "spdif_out_a1";
5878c0cf40fSJerome Brunet						function = "spdif_out";
5888c0cf40fSJerome Brunet					};
5898c0cf40fSJerome Brunet				};
5908c0cf40fSJerome Brunet
5918c0cf40fSJerome Brunet				spdif_out_a11_pins: spdif_out_a11 {
5928c0cf40fSJerome Brunet					mux {
5938c0cf40fSJerome Brunet						groups = "spdif_out_a11";
5948c0cf40fSJerome Brunet						function = "spdif_out";
5958c0cf40fSJerome Brunet					};
5968c0cf40fSJerome Brunet				};
5978c0cf40fSJerome Brunet
5988c0cf40fSJerome Brunet				spdif_out_a19_pins: spdif_out_a19 {
5998c0cf40fSJerome Brunet					mux {
6008c0cf40fSJerome Brunet						groups = "spdif_out_a19";
6018c0cf40fSJerome Brunet						function = "spdif_out";
6028c0cf40fSJerome Brunet					};
6038c0cf40fSJerome Brunet				};
6048c0cf40fSJerome Brunet
6058c0cf40fSJerome Brunet				spdif_out_a20_pins: spdif_out_a20 {
6068c0cf40fSJerome Brunet					mux {
6078c0cf40fSJerome Brunet						groups = "spdif_out_a20";
6088c0cf40fSJerome Brunet						function = "spdif_out";
6098c0cf40fSJerome Brunet					};
6108c0cf40fSJerome Brunet				};
6118c0cf40fSJerome Brunet
6128c0cf40fSJerome Brunet				spdif_out_z_pins: spdif_out_z {
6138c0cf40fSJerome Brunet					mux {
6148c0cf40fSJerome Brunet						groups = "spdif_out_z";
6158c0cf40fSJerome Brunet						function = "spdif_out";
6168c0cf40fSJerome Brunet					};
6178c0cf40fSJerome Brunet				};
6188c0cf40fSJerome Brunet
6198c0cf40fSJerome Brunet				spi0_pins: spi0 {
6208c0cf40fSJerome Brunet					mux {
6218c0cf40fSJerome Brunet						groups = "spi0_miso",
6228c0cf40fSJerome Brunet							 "spi0_mosi",
6238c0cf40fSJerome Brunet							 "spi0_clk";
6248c0cf40fSJerome Brunet						function = "spi0";
6258c0cf40fSJerome Brunet					};
6268c0cf40fSJerome Brunet				};
6278c0cf40fSJerome Brunet
6288c0cf40fSJerome Brunet				spi0_ss0_pins: spi0_ss0 {
6298c0cf40fSJerome Brunet					mux {
6308c0cf40fSJerome Brunet						groups = "spi0_ss0";
6318c0cf40fSJerome Brunet						function = "spi0";
6328c0cf40fSJerome Brunet					};
6338c0cf40fSJerome Brunet				};
6348c0cf40fSJerome Brunet
6358c0cf40fSJerome Brunet				spi0_ss1_pins: spi0_ss1 {
6368c0cf40fSJerome Brunet					mux {
6378c0cf40fSJerome Brunet						groups = "spi0_ss1";
6388c0cf40fSJerome Brunet						function = "spi0";
6398c0cf40fSJerome Brunet					};
6408c0cf40fSJerome Brunet				};
6418c0cf40fSJerome Brunet
6428c0cf40fSJerome Brunet				spi0_ss2_pins: spi0_ss2 {
6438c0cf40fSJerome Brunet					mux {
6448c0cf40fSJerome Brunet						groups = "spi0_ss2";
6458c0cf40fSJerome Brunet						function = "spi0";
6468c0cf40fSJerome Brunet					};
6478c0cf40fSJerome Brunet				};
6488c0cf40fSJerome Brunet
6498c0cf40fSJerome Brunet				spi1_a_pins: spi1_a {
6508c0cf40fSJerome Brunet					mux {
6518c0cf40fSJerome Brunet						groups = "spi1_miso_a",
6528c0cf40fSJerome Brunet							 "spi1_mosi_a",
6538c0cf40fSJerome Brunet							 "spi1_clk_a";
6548c0cf40fSJerome Brunet						function = "spi1";
6558c0cf40fSJerome Brunet					};
6568c0cf40fSJerome Brunet				};
6578c0cf40fSJerome Brunet
6588c0cf40fSJerome Brunet				spi1_ss0_a_pins: spi1_ss0_a {
6598c0cf40fSJerome Brunet					mux {
6608c0cf40fSJerome Brunet						groups = "spi1_ss0_a";
6618c0cf40fSJerome Brunet						function = "spi1";
6628c0cf40fSJerome Brunet					};
6638c0cf40fSJerome Brunet				};
6648c0cf40fSJerome Brunet
6658c0cf40fSJerome Brunet				spi1_ss1_pins: spi1_ss1 {
6668c0cf40fSJerome Brunet					mux {
6678c0cf40fSJerome Brunet						groups = "spi1_ss1";
6688c0cf40fSJerome Brunet						function = "spi1";
6698c0cf40fSJerome Brunet					};
6708c0cf40fSJerome Brunet				};
6718c0cf40fSJerome Brunet
6728c0cf40fSJerome Brunet				spi1_x_pins: spi1_x {
6738c0cf40fSJerome Brunet					mux {
6748c0cf40fSJerome Brunet						groups = "spi1_miso_x",
6758c0cf40fSJerome Brunet							 "spi1_mosi_x",
6768c0cf40fSJerome Brunet							 "spi1_clk_x";
6778c0cf40fSJerome Brunet						function = "spi1";
6788c0cf40fSJerome Brunet					};
6798c0cf40fSJerome Brunet				};
6808c0cf40fSJerome Brunet
6818c0cf40fSJerome Brunet				spi1_ss0_x_pins: spi1_ss0_x {
6828c0cf40fSJerome Brunet					mux {
6838c0cf40fSJerome Brunet						groups = "spi1_ss0_x";
6848c0cf40fSJerome Brunet						function = "spi1";
6858c0cf40fSJerome Brunet					};
6868c0cf40fSJerome Brunet				};
6878c0cf40fSJerome Brunet
6888c0cf40fSJerome Brunet				tdma_din0_pins: tdma_din0 {
6898c0cf40fSJerome Brunet					mux {
6908c0cf40fSJerome Brunet						groups = "tdma_din0";
6918c0cf40fSJerome Brunet						function = "tdma";
6928c0cf40fSJerome Brunet					};
6938c0cf40fSJerome Brunet				};
6948c0cf40fSJerome Brunet
6958c0cf40fSJerome Brunet				tdma_dout0_x14_pins: tdma_dout0_x14 {
6968c0cf40fSJerome Brunet					mux {
6978c0cf40fSJerome Brunet						groups = "tdma_dout0_x14";
6988c0cf40fSJerome Brunet						function = "tdma";
6998c0cf40fSJerome Brunet					};
7008c0cf40fSJerome Brunet				};
7018c0cf40fSJerome Brunet
7028c0cf40fSJerome Brunet				tdma_dout0_x15_pins: tdma_dout0_x15 {
7038c0cf40fSJerome Brunet					mux {
7048c0cf40fSJerome Brunet						groups = "tdma_dout0_x15";
7058c0cf40fSJerome Brunet						function = "tdma";
7068c0cf40fSJerome Brunet					};
7078c0cf40fSJerome Brunet				};
7088c0cf40fSJerome Brunet
7098c0cf40fSJerome Brunet				tdma_dout1_pins: tdma_dout1 {
7108c0cf40fSJerome Brunet					mux {
7118c0cf40fSJerome Brunet						groups = "tdma_dout1";
7128c0cf40fSJerome Brunet						function = "tdma";
7138c0cf40fSJerome Brunet					};
7148c0cf40fSJerome Brunet				};
7158c0cf40fSJerome Brunet
7168c0cf40fSJerome Brunet				tdma_din1_pins: tdma_din1 {
7178c0cf40fSJerome Brunet					mux {
7188c0cf40fSJerome Brunet						groups = "tdma_din1";
7198c0cf40fSJerome Brunet						function = "tdma";
7208c0cf40fSJerome Brunet					};
7218c0cf40fSJerome Brunet				};
7228c0cf40fSJerome Brunet
7238c0cf40fSJerome Brunet				tdma_fs_pins: tdma_fs {
7248c0cf40fSJerome Brunet					mux {
7258c0cf40fSJerome Brunet						groups = "tdma_fs";
7268c0cf40fSJerome Brunet						function = "tdma";
7278c0cf40fSJerome Brunet					};
7288c0cf40fSJerome Brunet				};
7298c0cf40fSJerome Brunet
7308c0cf40fSJerome Brunet				tdma_fs_slv_pins: tdma_fs_slv {
7318c0cf40fSJerome Brunet					mux {
7328c0cf40fSJerome Brunet						groups = "tdma_fs_slv";
7338c0cf40fSJerome Brunet						function = "tdma";
7348c0cf40fSJerome Brunet					};
7358c0cf40fSJerome Brunet				};
7368c0cf40fSJerome Brunet
7378c0cf40fSJerome Brunet				tdma_sclk_pins: tdma_sclk {
7388c0cf40fSJerome Brunet					mux {
7398c0cf40fSJerome Brunet						groups = "tdma_sclk";
7408c0cf40fSJerome Brunet						function = "tdma";
7418c0cf40fSJerome Brunet					};
7428c0cf40fSJerome Brunet				};
7438c0cf40fSJerome Brunet
7448c0cf40fSJerome Brunet				tdma_sclk_slv_pins: tdma_sclk_slv {
7458c0cf40fSJerome Brunet					mux {
7468c0cf40fSJerome Brunet						groups = "tdma_sclk_slv";
7478c0cf40fSJerome Brunet						function = "tdma";
7488c0cf40fSJerome Brunet					};
7498c0cf40fSJerome Brunet				};
7508c0cf40fSJerome Brunet
7518c0cf40fSJerome Brunet				tdmb_din0_pins: tdmb_din0 {
7528c0cf40fSJerome Brunet					mux {
7538c0cf40fSJerome Brunet						groups = "tdmb_din0";
7548c0cf40fSJerome Brunet						function = "tdmb";
7558c0cf40fSJerome Brunet					};
7568c0cf40fSJerome Brunet				};
7578c0cf40fSJerome Brunet
7588c0cf40fSJerome Brunet				tdmb_din1_pins: tdmb_din1 {
7598c0cf40fSJerome Brunet					mux {
7608c0cf40fSJerome Brunet						groups = "tdmb_din1";
7618c0cf40fSJerome Brunet						function = "tdmb";
7628c0cf40fSJerome Brunet					};
7638c0cf40fSJerome Brunet				};
7648c0cf40fSJerome Brunet
7658c0cf40fSJerome Brunet				tdmb_din2_pins: tdmb_din2 {
7668c0cf40fSJerome Brunet					mux {
7678c0cf40fSJerome Brunet						groups = "tdmb_din2";
7688c0cf40fSJerome Brunet						function = "tdmb";
7698c0cf40fSJerome Brunet					};
7708c0cf40fSJerome Brunet				};
7718c0cf40fSJerome Brunet
7728c0cf40fSJerome Brunet				tdmb_din3_pins: tdmb_din3 {
7738c0cf40fSJerome Brunet					mux {
7748c0cf40fSJerome Brunet						groups = "tdmb_din3";
7758c0cf40fSJerome Brunet						function = "tdmb";
7768c0cf40fSJerome Brunet					};
7778c0cf40fSJerome Brunet				};
7788c0cf40fSJerome Brunet
7798c0cf40fSJerome Brunet				tdmb_dout0_pins: tdmb_dout0 {
7808c0cf40fSJerome Brunet					mux {
7818c0cf40fSJerome Brunet						groups = "tdmb_dout0";
7828c0cf40fSJerome Brunet						function = "tdmb";
7838c0cf40fSJerome Brunet					};
7848c0cf40fSJerome Brunet				};
7858c0cf40fSJerome Brunet
7868c0cf40fSJerome Brunet				tdmb_dout1_pins: tdmb_dout1 {
7878c0cf40fSJerome Brunet					mux {
7888c0cf40fSJerome Brunet						groups = "tdmb_dout1";
7898c0cf40fSJerome Brunet						function = "tdmb";
7908c0cf40fSJerome Brunet					};
7918c0cf40fSJerome Brunet				};
7928c0cf40fSJerome Brunet
7938c0cf40fSJerome Brunet				tdmb_dout2_pins: tdmb_dout2 {
7948c0cf40fSJerome Brunet					mux {
7958c0cf40fSJerome Brunet						groups = "tdmb_dout2";
7968c0cf40fSJerome Brunet						function = "tdmb";
7978c0cf40fSJerome Brunet					};
7988c0cf40fSJerome Brunet				};
7998c0cf40fSJerome Brunet
8008c0cf40fSJerome Brunet				tdmb_dout3_pins: tdmb_dout3 {
8018c0cf40fSJerome Brunet					mux {
8028c0cf40fSJerome Brunet						groups = "tdmb_dout3";
8038c0cf40fSJerome Brunet						function = "tdmb";
8048c0cf40fSJerome Brunet					};
8058c0cf40fSJerome Brunet				};
8068c0cf40fSJerome Brunet
8078c0cf40fSJerome Brunet				tdmb_fs_pins: tdmb_fs {
8088c0cf40fSJerome Brunet					mux {
8098c0cf40fSJerome Brunet						groups = "tdmb_fs";
8108c0cf40fSJerome Brunet						function = "tdmb";
8118c0cf40fSJerome Brunet					};
8128c0cf40fSJerome Brunet				};
8138c0cf40fSJerome Brunet
8148c0cf40fSJerome Brunet				tdmb_fs_slv_pins: tdmb_fs_slv {
8158c0cf40fSJerome Brunet					mux {
8168c0cf40fSJerome Brunet						groups = "tdmb_fs_slv";
8178c0cf40fSJerome Brunet						function = "tdmb";
8188c0cf40fSJerome Brunet					};
8198c0cf40fSJerome Brunet				};
8208c0cf40fSJerome Brunet
8218c0cf40fSJerome Brunet				tdmb_sclk_pins: tdmb_sclk {
8228c0cf40fSJerome Brunet					mux {
8238c0cf40fSJerome Brunet						groups = "tdmb_sclk";
8248c0cf40fSJerome Brunet						function = "tdmb";
8258c0cf40fSJerome Brunet					};
8268c0cf40fSJerome Brunet				};
8278c0cf40fSJerome Brunet
8288c0cf40fSJerome Brunet				tdmb_sclk_slv_pins: tdmb_sclk_slv {
8298c0cf40fSJerome Brunet					mux {
8308c0cf40fSJerome Brunet						groups = "tdmb_sclk_slv";
8318c0cf40fSJerome Brunet						function = "tdmb";
8328c0cf40fSJerome Brunet					};
8338c0cf40fSJerome Brunet				};
8348c0cf40fSJerome Brunet
8358c0cf40fSJerome Brunet				tdmc_fs_pins: tdmc_fs {
8368c0cf40fSJerome Brunet					mux {
8378c0cf40fSJerome Brunet						groups = "tdmc_fs";
8388c0cf40fSJerome Brunet						function = "tdmc";
8398c0cf40fSJerome Brunet					};
8408c0cf40fSJerome Brunet				};
8418c0cf40fSJerome Brunet
8428c0cf40fSJerome Brunet				tdmc_fs_slv_pins: tdmc_fs_slv {
8438c0cf40fSJerome Brunet					mux {
8448c0cf40fSJerome Brunet						groups = "tdmc_fs_slv";
8458c0cf40fSJerome Brunet						function = "tdmc";
8468c0cf40fSJerome Brunet					};
8478c0cf40fSJerome Brunet				};
8488c0cf40fSJerome Brunet
8498c0cf40fSJerome Brunet				tdmc_sclk_pins: tdmc_sclk {
8508c0cf40fSJerome Brunet					mux {
8518c0cf40fSJerome Brunet						groups = "tdmc_sclk";
8528c0cf40fSJerome Brunet						function = "tdmc";
8538c0cf40fSJerome Brunet					};
8548c0cf40fSJerome Brunet				};
8558c0cf40fSJerome Brunet
8568c0cf40fSJerome Brunet				tdmc_sclk_slv_pins: tdmc_sclk_slv {
8578c0cf40fSJerome Brunet					mux {
8588c0cf40fSJerome Brunet						groups = "tdmc_sclk_slv";
8598c0cf40fSJerome Brunet						function = "tdmc";
8608c0cf40fSJerome Brunet					};
8618c0cf40fSJerome Brunet				};
8628c0cf40fSJerome Brunet
8638c0cf40fSJerome Brunet				tdmc_din0_pins: tdmc_din0 {
8648c0cf40fSJerome Brunet					mux {
8658c0cf40fSJerome Brunet						groups = "tdmc_din0";
8668c0cf40fSJerome Brunet						function = "tdmc";
8678c0cf40fSJerome Brunet					};
8688c0cf40fSJerome Brunet				};
8698c0cf40fSJerome Brunet
8708c0cf40fSJerome Brunet				tdmc_din1_pins: tdmc_din1 {
8718c0cf40fSJerome Brunet					mux {
8728c0cf40fSJerome Brunet						groups = "tdmc_din1";
8738c0cf40fSJerome Brunet						function = "tdmc";
8748c0cf40fSJerome Brunet					};
8758c0cf40fSJerome Brunet				};
8768c0cf40fSJerome Brunet
8778c0cf40fSJerome Brunet				tdmc_din2_pins: tdmc_din2 {
8788c0cf40fSJerome Brunet					mux {
8798c0cf40fSJerome Brunet						groups = "tdmc_din2";
8808c0cf40fSJerome Brunet						function = "tdmc";
8818c0cf40fSJerome Brunet					};
8828c0cf40fSJerome Brunet				};
8838c0cf40fSJerome Brunet
8848c0cf40fSJerome Brunet				tdmc_din3_pins: tdmc_din3 {
8858c0cf40fSJerome Brunet					mux {
8868c0cf40fSJerome Brunet						groups = "tdmc_din3";
8878c0cf40fSJerome Brunet						function = "tdmc";
8888c0cf40fSJerome Brunet					};
8898c0cf40fSJerome Brunet				};
8908c0cf40fSJerome Brunet
8918c0cf40fSJerome Brunet				tdmc_dout0_pins: tdmc_dout0 {
8928c0cf40fSJerome Brunet					mux {
8938c0cf40fSJerome Brunet						groups = "tdmc_dout0";
8948c0cf40fSJerome Brunet						function = "tdmc";
8958c0cf40fSJerome Brunet					};
8968c0cf40fSJerome Brunet				};
8978c0cf40fSJerome Brunet
8988c0cf40fSJerome Brunet				tdmc_dout1_pins: tdmc_dout1 {
8998c0cf40fSJerome Brunet					mux {
9008c0cf40fSJerome Brunet						groups = "tdmc_dout1";
9018c0cf40fSJerome Brunet						function = "tdmc";
9028c0cf40fSJerome Brunet					};
9038c0cf40fSJerome Brunet				};
9048c0cf40fSJerome Brunet
9058c0cf40fSJerome Brunet				tdmc_dout2_pins: tdmc_dout2 {
9068c0cf40fSJerome Brunet					mux {
9078c0cf40fSJerome Brunet						groups = "tdmc_dout2";
9088c0cf40fSJerome Brunet						function = "tdmc";
9098c0cf40fSJerome Brunet					};
9108c0cf40fSJerome Brunet				};
9118c0cf40fSJerome Brunet
9128c0cf40fSJerome Brunet				tdmc_dout3_pins: tdmc_dout3 {
9138c0cf40fSJerome Brunet					mux {
9148c0cf40fSJerome Brunet						groups = "tdmc_dout3";
9158c0cf40fSJerome Brunet						function = "tdmc";
9168c0cf40fSJerome Brunet					};
9178c0cf40fSJerome Brunet				};
9188c0cf40fSJerome Brunet
9198c0cf40fSJerome Brunet				uart_a_pins: uart_a {
9208c0cf40fSJerome Brunet					mux {
9218c0cf40fSJerome Brunet						groups = "uart_tx_a",
9228c0cf40fSJerome Brunet							 "uart_rx_a";
9238c0cf40fSJerome Brunet						function = "uart_a";
9248c0cf40fSJerome Brunet					};
9258c0cf40fSJerome Brunet				};
9268c0cf40fSJerome Brunet
9278c0cf40fSJerome Brunet				uart_a_cts_rts_pins: uart_a_cts_rts {
9288c0cf40fSJerome Brunet					mux {
9298c0cf40fSJerome Brunet						groups = "uart_cts_a",
9308c0cf40fSJerome Brunet							 "uart_rts_a";
9318c0cf40fSJerome Brunet						function = "uart_a";
9328c0cf40fSJerome Brunet					};
9338c0cf40fSJerome Brunet				};
9348c0cf40fSJerome Brunet
9358c0cf40fSJerome Brunet				uart_b_x_pins: uart_b_x {
9368c0cf40fSJerome Brunet					mux {
9378c0cf40fSJerome Brunet						groups = "uart_tx_b_x",
9388c0cf40fSJerome Brunet							 "uart_rx_b_x";
9398c0cf40fSJerome Brunet						function = "uart_b";
9408c0cf40fSJerome Brunet					};
9418c0cf40fSJerome Brunet				};
9428c0cf40fSJerome Brunet
9438c0cf40fSJerome Brunet				uart_b_x_cts_rts_pins: uart_b_x_cts_rts {
9448c0cf40fSJerome Brunet					mux {
9458c0cf40fSJerome Brunet						groups = "uart_cts_b_x",
9468c0cf40fSJerome Brunet							 "uart_rts_b_x";
9478c0cf40fSJerome Brunet						function = "uart_b";
9488c0cf40fSJerome Brunet					};
9498c0cf40fSJerome Brunet				};
9508c0cf40fSJerome Brunet
9518c0cf40fSJerome Brunet				uart_b_z_pins: uart_b_z {
9528c0cf40fSJerome Brunet					mux {
9538c0cf40fSJerome Brunet						groups = "uart_tx_b_z",
9548c0cf40fSJerome Brunet							 "uart_rx_b_z";
9558c0cf40fSJerome Brunet						function = "uart_b";
9568c0cf40fSJerome Brunet					};
9578c0cf40fSJerome Brunet				};
9588c0cf40fSJerome Brunet
9598c0cf40fSJerome Brunet				uart_b_z_cts_rts_pins: uart_b_z_cts_rts {
9608c0cf40fSJerome Brunet					mux {
9618c0cf40fSJerome Brunet						groups = "uart_cts_b_z",
9628c0cf40fSJerome Brunet							 "uart_rts_b_z";
9638c0cf40fSJerome Brunet						function = "uart_b";
9648c0cf40fSJerome Brunet					};
9658c0cf40fSJerome Brunet				};
9668c0cf40fSJerome Brunet
9678c0cf40fSJerome Brunet				uart_ao_b_z_pins: uart_ao_b_z {
9688c0cf40fSJerome Brunet					mux {
9698c0cf40fSJerome Brunet						groups = "uart_ao_tx_b_z",
9708c0cf40fSJerome Brunet							 "uart_ao_rx_b_z";
9718c0cf40fSJerome Brunet						function = "uart_ao_b_z";
9728c0cf40fSJerome Brunet					};
9738c0cf40fSJerome Brunet				};
9748c0cf40fSJerome Brunet
9758c0cf40fSJerome Brunet				uart_ao_b_z_cts_rts_pins: uart_ao_b_z_cts_rts {
9768c0cf40fSJerome Brunet					mux {
9778c0cf40fSJerome Brunet						groups = "uart_ao_cts_b_z",
9788c0cf40fSJerome Brunet							 "uart_ao_rts_b_z";
9798c0cf40fSJerome Brunet						function = "uart_ao_b_z";
9808c0cf40fSJerome Brunet					};
9818c0cf40fSJerome Brunet				};
9828c0cf40fSJerome Brunet			};
9838c0cf40fSJerome Brunet		};
9848c0cf40fSJerome Brunet
9858c0cf40fSJerome Brunet		hiubus: bus@ff63c000 {
9868c0cf40fSJerome Brunet			compatible = "simple-bus";
9878c0cf40fSJerome Brunet			reg = <0x0 0xff63c000 0x0 0x1c00>;
9888c0cf40fSJerome Brunet			#address-cells = <2>;
9898c0cf40fSJerome Brunet			#size-cells = <2>;
9908c0cf40fSJerome Brunet			ranges = <0x0 0x0 0x0 0xff63c000 0x0 0x1c00>;
9918c0cf40fSJerome Brunet
9928c0cf40fSJerome Brunet			sysctrl: system-controller@0 {
9938c0cf40fSJerome Brunet				compatible = "amlogic,meson-axg-hhi-sysctrl",
994445f2bdaSNeil Armstrong					     "simple-mfd", "syscon";
9958c0cf40fSJerome Brunet				reg = <0 0 0 0x400>;
9968c0cf40fSJerome Brunet
9978c0cf40fSJerome Brunet				clkc: clock-controller {
9988c0cf40fSJerome Brunet					compatible = "amlogic,axg-clkc";
9998c0cf40fSJerome Brunet					#clock-cells = <1>;
10008c0cf40fSJerome Brunet				};
10018c0cf40fSJerome Brunet			};
10028c0cf40fSJerome Brunet		};
10038c0cf40fSJerome Brunet
10049fdff382SJerome Brunet		mailbox: mailbox@ff63c404 {
10058c0cf40fSJerome Brunet			compatible = "amlogic,meson-gx-mhu", "amlogic,meson-gxbb-mhu";
10069fdff382SJerome Brunet			reg = <0 0xff63c404 0 0x4c>;
10078c0cf40fSJerome Brunet			interrupts = <GIC_SPI 208 IRQ_TYPE_EDGE_RISING>,
10088c0cf40fSJerome Brunet				     <GIC_SPI 209 IRQ_TYPE_EDGE_RISING>,
10098c0cf40fSJerome Brunet				     <GIC_SPI 210 IRQ_TYPE_EDGE_RISING>;
10108c0cf40fSJerome Brunet			#mbox-cells = <1>;
1011221cf34bSNan Li		};
1012221cf34bSNan Li
10138909e722SJerome Brunet		audio: bus@ff642000 {
10148909e722SJerome Brunet			compatible = "simple-bus";
10158909e722SJerome Brunet			reg = <0x0 0xff642000 0x0 0x2000>;
10168909e722SJerome Brunet			#address-cells = <2>;
10178909e722SJerome Brunet			#size-cells = <2>;
10188909e722SJerome Brunet			ranges = <0x0 0x0 0x0 0xff642000 0x0 0x2000>;
10198909e722SJerome Brunet
10208909e722SJerome Brunet			clkc_audio: clock-controller@0 {
10218909e722SJerome Brunet				compatible = "amlogic,axg-audio-clkc";
10228909e722SJerome Brunet				reg = <0x0 0x0 0x0 0xb4>;
10238909e722SJerome Brunet				#clock-cells = <1>;
10248909e722SJerome Brunet
10258909e722SJerome Brunet				clocks = <&clkc CLKID_AUDIO>,
10268909e722SJerome Brunet					 <&clkc CLKID_MPLL0>,
10278909e722SJerome Brunet					 <&clkc CLKID_MPLL1>,
10288909e722SJerome Brunet					 <&clkc CLKID_MPLL2>,
10298909e722SJerome Brunet					 <&clkc CLKID_MPLL3>,
10308909e722SJerome Brunet					 <&clkc CLKID_HIFI_PLL>,
10318909e722SJerome Brunet					 <&clkc CLKID_FCLK_DIV3>,
10328909e722SJerome Brunet					 <&clkc CLKID_FCLK_DIV4>,
10338909e722SJerome Brunet					 <&clkc CLKID_GP0_PLL>;
10348909e722SJerome Brunet				clock-names = "pclk",
10358909e722SJerome Brunet					      "mst_in0",
10368909e722SJerome Brunet					      "mst_in1",
10378909e722SJerome Brunet					      "mst_in2",
10388909e722SJerome Brunet					      "mst_in3",
10398909e722SJerome Brunet					      "mst_in4",
10408909e722SJerome Brunet					      "mst_in5",
10418909e722SJerome Brunet					      "mst_in6",
10428909e722SJerome Brunet					      "mst_in7";
10438909e722SJerome Brunet
10448909e722SJerome Brunet				resets = <&reset RESET_AUDIO>;
10458909e722SJerome Brunet			};
104666d58a8fSJerome Brunet
1047f2b8f6a9SJerome Brunet			toddr_a: audio-controller@100 {
1048f2b8f6a9SJerome Brunet				compatible = "amlogic,axg-toddr";
1049f2b8f6a9SJerome Brunet				reg = <0x0 0x100 0x0 0x1c>;
1050f2b8f6a9SJerome Brunet				#sound-dai-cells = <0>;
1051f2b8f6a9SJerome Brunet				sound-name-prefix = "TODDR_A";
1052f2b8f6a9SJerome Brunet				interrupts = <GIC_SPI 84 IRQ_TYPE_EDGE_RISING>;
1053f2b8f6a9SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TODDR_A>;
1054f2b8f6a9SJerome Brunet				resets = <&arb AXG_ARB_TODDR_A>;
1055f2b8f6a9SJerome Brunet				status = "disabled";
1056f2b8f6a9SJerome Brunet			};
1057f2b8f6a9SJerome Brunet
1058f2b8f6a9SJerome Brunet			toddr_b: audio-controller@140 {
1059f2b8f6a9SJerome Brunet				compatible = "amlogic,axg-toddr";
1060f2b8f6a9SJerome Brunet				reg = <0x0 0x140 0x0 0x1c>;
1061f2b8f6a9SJerome Brunet				#sound-dai-cells = <0>;
1062f2b8f6a9SJerome Brunet				sound-name-prefix = "TODDR_B";
1063f2b8f6a9SJerome Brunet				interrupts = <GIC_SPI 85 IRQ_TYPE_EDGE_RISING>;
1064f2b8f6a9SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TODDR_B>;
1065f2b8f6a9SJerome Brunet				resets = <&arb AXG_ARB_TODDR_B>;
1066f2b8f6a9SJerome Brunet				status = "disabled";
1067f2b8f6a9SJerome Brunet			};
1068f2b8f6a9SJerome Brunet
1069f2b8f6a9SJerome Brunet			toddr_c: audio-controller@180 {
1070f2b8f6a9SJerome Brunet				compatible = "amlogic,axg-toddr";
1071f2b8f6a9SJerome Brunet				reg = <0x0 0x180 0x0 0x1c>;
1072f2b8f6a9SJerome Brunet				#sound-dai-cells = <0>;
1073f2b8f6a9SJerome Brunet				sound-name-prefix = "TODDR_C";
1074f2b8f6a9SJerome Brunet				interrupts = <GIC_SPI 86 IRQ_TYPE_EDGE_RISING>;
1075f2b8f6a9SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TODDR_C>;
1076f2b8f6a9SJerome Brunet				resets = <&arb AXG_ARB_TODDR_C>;
1077f2b8f6a9SJerome Brunet				status = "disabled";
1078f2b8f6a9SJerome Brunet			};
1079f2b8f6a9SJerome Brunet
1080f2b8f6a9SJerome Brunet			frddr_a: audio-controller@1c0 {
1081f2b8f6a9SJerome Brunet				compatible = "amlogic,axg-frddr";
1082f2b8f6a9SJerome Brunet				reg = <0x0 0x1c0 0x0 0x1c>;
1083f2b8f6a9SJerome Brunet				#sound-dai-cells = <0>;
1084f2b8f6a9SJerome Brunet				sound-name-prefix = "FRDDR_A";
1085f2b8f6a9SJerome Brunet				interrupts = <GIC_SPI 88 IRQ_TYPE_EDGE_RISING>;
1086f2b8f6a9SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_FRDDR_A>;
1087f2b8f6a9SJerome Brunet				resets = <&arb AXG_ARB_FRDDR_A>;
1088f2b8f6a9SJerome Brunet				status = "disabled";
1089f2b8f6a9SJerome Brunet			};
1090f2b8f6a9SJerome Brunet
1091f2b8f6a9SJerome Brunet			frddr_b: audio-controller@200 {
1092f2b8f6a9SJerome Brunet				compatible = "amlogic,axg-frddr";
1093f2b8f6a9SJerome Brunet				reg = <0x0 0x200 0x0 0x1c>;
1094f2b8f6a9SJerome Brunet				#sound-dai-cells = <0>;
1095f2b8f6a9SJerome Brunet				sound-name-prefix = "FRDDR_B";
1096f2b8f6a9SJerome Brunet				interrupts = <GIC_SPI 89 IRQ_TYPE_EDGE_RISING>;
1097f2b8f6a9SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_FRDDR_B>;
1098f2b8f6a9SJerome Brunet				resets = <&arb AXG_ARB_FRDDR_B>;
1099f2b8f6a9SJerome Brunet				status = "disabled";
1100f2b8f6a9SJerome Brunet			};
1101f2b8f6a9SJerome Brunet
1102f2b8f6a9SJerome Brunet			frddr_c: audio-controller@240 {
1103f2b8f6a9SJerome Brunet				compatible = "amlogic,axg-frddr";
1104f2b8f6a9SJerome Brunet				reg = <0x0 0x240 0x0 0x1c>;
1105f2b8f6a9SJerome Brunet				#sound-dai-cells = <0>;
1106f2b8f6a9SJerome Brunet				sound-name-prefix = "FRDDR_C";
1107f2b8f6a9SJerome Brunet				interrupts = <GIC_SPI 90 IRQ_TYPE_EDGE_RISING>;
1108f2b8f6a9SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_FRDDR_C>;
1109f2b8f6a9SJerome Brunet				resets = <&arb AXG_ARB_FRDDR_C>;
1110f2b8f6a9SJerome Brunet				status = "disabled";
1111f2b8f6a9SJerome Brunet			};
1112f2b8f6a9SJerome Brunet
111366d58a8fSJerome Brunet			arb: reset-controller@280 {
111466d58a8fSJerome Brunet				compatible = "amlogic,meson-axg-audio-arb";
111566d58a8fSJerome Brunet				reg = <0x0 0x280 0x0 0x4>;
111666d58a8fSJerome Brunet				#reset-cells = <1>;
111766d58a8fSJerome Brunet				clocks = <&clkc_audio AUD_CLKID_DDR_ARB>;
111866d58a8fSJerome Brunet			};
1119f08c52deSJerome Brunet
1120bf8e4790SJerome Brunet			tdmin_a: audio-controller@300 {
1121bf8e4790SJerome Brunet				compatible = "amlogic,axg-tdmin";
1122bf8e4790SJerome Brunet				reg = <0x0 0x300 0x0 0x40>;
1123bf8e4790SJerome Brunet				sound-name-prefix = "TDMIN_A";
1124bf8e4790SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TDMIN_A>,
1125bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_A_SCLK>,
1126bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_A_SCLK_SEL>,
1127bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_A_LRCLK>,
1128bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_A_LRCLK>;
1129bf8e4790SJerome Brunet				clock-names = "pclk", "sclk", "sclk_sel",
1130bf8e4790SJerome Brunet					      "lrclk", "lrclk_sel";
1131bf8e4790SJerome Brunet				status = "disabled";
1132bf8e4790SJerome Brunet			};
1133bf8e4790SJerome Brunet
1134bf8e4790SJerome Brunet			tdmin_b: audio-controller@340 {
1135bf8e4790SJerome Brunet				compatible = "amlogic,axg-tdmin";
1136bf8e4790SJerome Brunet				reg = <0x0 0x340 0x0 0x40>;
1137bf8e4790SJerome Brunet				sound-name-prefix = "TDMIN_B";
1138bf8e4790SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TDMIN_B>,
1139bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_B_SCLK>,
1140bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_B_SCLK_SEL>,
1141bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_B_LRCLK>,
1142bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_B_LRCLK>;
1143bf8e4790SJerome Brunet				clock-names = "pclk", "sclk", "sclk_sel",
1144bf8e4790SJerome Brunet					      "lrclk", "lrclk_sel";
1145bf8e4790SJerome Brunet				status = "disabled";
1146bf8e4790SJerome Brunet			};
1147bf8e4790SJerome Brunet
1148bf8e4790SJerome Brunet			tdmin_c: audio-controller@380 {
1149bf8e4790SJerome Brunet				compatible = "amlogic,axg-tdmin";
1150bf8e4790SJerome Brunet				reg = <0x0 0x380 0x0 0x40>;
1151bf8e4790SJerome Brunet				sound-name-prefix = "TDMIN_C";
1152bf8e4790SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TDMIN_C>,
1153bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_C_SCLK>,
1154bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_C_SCLK_SEL>,
1155bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_C_LRCLK>,
1156bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_C_LRCLK>;
1157bf8e4790SJerome Brunet				clock-names = "pclk", "sclk", "sclk_sel",
1158bf8e4790SJerome Brunet					      "lrclk", "lrclk_sel";
1159bf8e4790SJerome Brunet				status = "disabled";
1160bf8e4790SJerome Brunet			};
1161bf8e4790SJerome Brunet
1162bf8e4790SJerome Brunet			tdmin_lb: audio-controller@3c0 {
1163bf8e4790SJerome Brunet				compatible = "amlogic,axg-tdmin";
1164bf8e4790SJerome Brunet				reg = <0x0 0x3c0 0x0 0x40>;
1165bf8e4790SJerome Brunet				sound-name-prefix = "TDMIN_LB";
1166bf8e4790SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TDMIN_LB>,
1167bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_LB_SCLK>,
1168bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_LB_SCLK_SEL>,
1169bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_LB_LRCLK>,
1170bf8e4790SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMIN_LB_LRCLK>;
1171bf8e4790SJerome Brunet				clock-names = "pclk", "sclk", "sclk_sel",
1172bf8e4790SJerome Brunet					      "lrclk", "lrclk_sel";
1173bf8e4790SJerome Brunet				status = "disabled";
1174bf8e4790SJerome Brunet			};
1175bf8e4790SJerome Brunet
1176f08c52deSJerome Brunet			spdifout: audio-controller@480 {
1177f08c52deSJerome Brunet				compatible = "amlogic,axg-spdifout";
1178f08c52deSJerome Brunet				reg = <0x0 0x480 0x0 0x50>;
1179f08c52deSJerome Brunet				#sound-dai-cells = <0>;
1180f08c52deSJerome Brunet				sound-name-prefix = "SPDIFOUT";
1181f08c52deSJerome Brunet				clocks = <&clkc_audio AUD_CLKID_SPDIFOUT>,
1182f08c52deSJerome Brunet					 <&clkc_audio AUD_CLKID_SPDIFOUT_CLK>;
1183f08c52deSJerome Brunet				clock-names = "pclk", "mclk";
1184f08c52deSJerome Brunet				status = "disabled";
1185f08c52deSJerome Brunet			};
1186fd916739SJerome Brunet
1187fd916739SJerome Brunet			tdmout_a: audio-controller@500 {
1188fd916739SJerome Brunet				compatible = "amlogic,axg-tdmout";
1189fd916739SJerome Brunet				reg = <0x0 0x500 0x0 0x40>;
1190fd916739SJerome Brunet				sound-name-prefix = "TDMOUT_A";
1191fd916739SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TDMOUT_A>,
1192fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_A_SCLK>,
1193fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_A_SCLK_SEL>,
1194fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_A_LRCLK>,
1195fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_A_LRCLK>;
1196fd916739SJerome Brunet				clock-names = "pclk", "sclk", "sclk_sel",
1197fd916739SJerome Brunet					      "lrclk", "lrclk_sel";
1198fd916739SJerome Brunet				status = "disabled";
1199fd916739SJerome Brunet			};
1200fd916739SJerome Brunet
1201fd916739SJerome Brunet			tdmout_b: audio-controller@540 {
1202fd916739SJerome Brunet				compatible = "amlogic,axg-tdmout";
1203fd916739SJerome Brunet				reg = <0x0 0x540 0x0 0x40>;
1204fd916739SJerome Brunet				sound-name-prefix = "TDMOUT_B";
1205fd916739SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TDMOUT_B>,
1206fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_B_SCLK>,
1207fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_B_SCLK_SEL>,
1208fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_B_LRCLK>,
1209fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_B_LRCLK>;
1210fd916739SJerome Brunet				clock-names = "pclk", "sclk", "sclk_sel",
1211fd916739SJerome Brunet					      "lrclk", "lrclk_sel";
1212fd916739SJerome Brunet				status = "disabled";
1213fd916739SJerome Brunet			};
1214fd916739SJerome Brunet
1215fd916739SJerome Brunet			tdmout_c: audio-controller@580 {
1216fd916739SJerome Brunet				compatible = "amlogic,axg-tdmout";
1217fd916739SJerome Brunet				reg = <0x0 0x580 0x0 0x40>;
1218fd916739SJerome Brunet				sound-name-prefix = "TDMOUT_C";
1219fd916739SJerome Brunet				clocks = <&clkc_audio AUD_CLKID_TDMOUT_C>,
1220fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_C_SCLK>,
1221fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_C_SCLK_SEL>,
1222fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_C_LRCLK>,
1223fd916739SJerome Brunet					 <&clkc_audio AUD_CLKID_TDMOUT_C_LRCLK>;
1224fd916739SJerome Brunet				clock-names = "pclk", "sclk", "sclk_sel",
1225fd916739SJerome Brunet					      "lrclk", "lrclk_sel";
1226fd916739SJerome Brunet				status = "disabled";
1227fd916739SJerome Brunet			};
12288909e722SJerome Brunet		};
12298909e722SJerome Brunet
12300cb6c604SKevin Hilman		aobus: bus@ff800000 {
12319d59b708SYixun Lan			compatible = "simple-bus";
12329d59b708SYixun Lan			reg = <0x0 0xff800000 0x0 0x100000>;
12339d59b708SYixun Lan			#address-cells = <2>;
12349d59b708SYixun Lan			#size-cells = <2>;
12359d59b708SYixun Lan			ranges = <0x0 0x0 0x0 0xff800000 0x0 0x100000>;
12369d59b708SYixun Lan
1237e03421ecSQiufang Dai			sysctrl_AO: sys-ctrl@0 {
1238445f2bdaSNeil Armstrong				compatible = "amlogic,meson-axg-ao-sysctrl", "simple-mfd", "syscon";
1239e03421ecSQiufang Dai				reg =  <0x0 0x0 0x0 0x100>;
1240e03421ecSQiufang Dai
1241e03421ecSQiufang Dai				clkc_AO: clock-controller {
1242e03421ecSQiufang Dai					compatible = "amlogic,meson-axg-aoclkc";
1243e03421ecSQiufang Dai					#clock-cells = <1>;
1244e03421ecSQiufang Dai					#reset-cells = <1>;
1245e03421ecSQiufang Dai				};
1246e03421ecSQiufang Dai			};
1247e03421ecSQiufang Dai
1248de05ded6SXingyu Chen			pinctrl_aobus: pinctrl@14 {
1249de05ded6SXingyu Chen				compatible = "amlogic,meson-axg-aobus-pinctrl";
1250de05ded6SXingyu Chen				#address-cells = <2>;
1251de05ded6SXingyu Chen				#size-cells = <2>;
1252de05ded6SXingyu Chen				ranges;
1253de05ded6SXingyu Chen
1254de05ded6SXingyu Chen				gpio_ao: bank@14 {
1255de05ded6SXingyu Chen					reg = <0x0 0x00014 0x0 0x8>,
1256de05ded6SXingyu Chen					      <0x0 0x0002c 0x0 0x4>,
1257de05ded6SXingyu Chen					      <0x0 0x00024 0x0 0x8>;
1258de05ded6SXingyu Chen					reg-names = "mux", "pull", "gpio";
1259de05ded6SXingyu Chen					gpio-controller;
1260de05ded6SXingyu Chen					#gpio-cells = <2>;
1261de05ded6SXingyu Chen					gpio-ranges = <&pinctrl_aobus 0 0 15>;
1262de05ded6SXingyu Chen				};
12637bd46a79SYixun Lan
1264c054b6c2SJerome Brunet				i2c_ao_sck_4_pins: i2c_ao_sck_4 {
1265c054b6c2SJerome Brunet					mux {
1266c054b6c2SJerome Brunet						groups = "i2c_ao_sck_4";
1267c054b6c2SJerome Brunet						function = "i2c_ao";
1268c054b6c2SJerome Brunet					};
1269c054b6c2SJerome Brunet				};
1270c054b6c2SJerome Brunet
1271c054b6c2SJerome Brunet				i2c_ao_sck_8_pins: i2c_ao_sck_8 {
1272c054b6c2SJerome Brunet					mux {
1273c054b6c2SJerome Brunet						groups = "i2c_ao_sck_8";
1274c054b6c2SJerome Brunet						function = "i2c_ao";
1275c054b6c2SJerome Brunet					};
1276c054b6c2SJerome Brunet				};
1277c054b6c2SJerome Brunet
1278c054b6c2SJerome Brunet				i2c_ao_sck_10_pins: i2c_ao_sck_10 {
1279c054b6c2SJerome Brunet					mux {
1280c054b6c2SJerome Brunet						groups = "i2c_ao_sck_10";
1281c054b6c2SJerome Brunet						function = "i2c_ao";
1282c054b6c2SJerome Brunet					};
1283c054b6c2SJerome Brunet				};
1284c054b6c2SJerome Brunet
1285c054b6c2SJerome Brunet				i2c_ao_sda_5_pins: i2c_ao_sda_5 {
1286c054b6c2SJerome Brunet					mux {
1287c054b6c2SJerome Brunet						groups = "i2c_ao_sda_5";
1288c054b6c2SJerome Brunet						function = "i2c_ao";
1289c054b6c2SJerome Brunet					};
1290c054b6c2SJerome Brunet				};
1291c054b6c2SJerome Brunet
1292c054b6c2SJerome Brunet				i2c_ao_sda_9_pins: i2c_ao_sda_9 {
1293c054b6c2SJerome Brunet					mux {
1294c054b6c2SJerome Brunet						groups = "i2c_ao_sda_9";
1295c054b6c2SJerome Brunet						function = "i2c_ao";
1296c054b6c2SJerome Brunet					};
1297c054b6c2SJerome Brunet				};
1298c054b6c2SJerome Brunet
1299c054b6c2SJerome Brunet				i2c_ao_sda_11_pins: i2c_ao_sda_11 {
1300c054b6c2SJerome Brunet					mux {
1301c054b6c2SJerome Brunet						groups = "i2c_ao_sda_11";
1302c054b6c2SJerome Brunet						function = "i2c_ao";
1303c054b6c2SJerome Brunet					};
1304c054b6c2SJerome Brunet				};
1305c054b6c2SJerome Brunet
13067bd46a79SYixun Lan				remote_input_ao_pins: remote_input_ao {
13077bd46a79SYixun Lan					mux {
13087bd46a79SYixun Lan						groups = "remote_input_ao";
13097bd46a79SYixun Lan						function = "remote_input_ao";
13107bd46a79SYixun Lan					};
13117bd46a79SYixun Lan				};
13124eae66a6SYixun Lan
13134eae66a6SYixun Lan				uart_ao_a_pins: uart_ao_a {
13144eae66a6SYixun Lan					mux {
13154eae66a6SYixun Lan						groups = "uart_ao_tx_a",
13164eae66a6SYixun Lan							 "uart_ao_rx_a";
13174eae66a6SYixun Lan						function = "uart_ao_a";
13184eae66a6SYixun Lan					};
13194eae66a6SYixun Lan				};
13204eae66a6SYixun Lan
13214eae66a6SYixun Lan				uart_ao_a_cts_rts_pins: uart_ao_a_cts_rts {
13224eae66a6SYixun Lan					mux {
13234eae66a6SYixun Lan						groups = "uart_ao_cts_a",
13244eae66a6SYixun Lan							 "uart_ao_rts_a";
13254eae66a6SYixun Lan						function = "uart_ao_a";
13264eae66a6SYixun Lan					};
13274eae66a6SYixun Lan				};
13284eae66a6SYixun Lan
13294eae66a6SYixun Lan				uart_ao_b_pins: uart_ao_b {
13304eae66a6SYixun Lan					mux {
13314eae66a6SYixun Lan						groups = "uart_ao_tx_b",
13324eae66a6SYixun Lan							 "uart_ao_rx_b";
13334eae66a6SYixun Lan						function = "uart_ao_b";
13344eae66a6SYixun Lan					};
13354eae66a6SYixun Lan				};
13364eae66a6SYixun Lan
13374eae66a6SYixun Lan				uart_ao_b_cts_rts_pins: uart_ao_b_cts_rts {
13384eae66a6SYixun Lan					mux {
13394eae66a6SYixun Lan						groups = "uart_ao_cts_b",
13404eae66a6SYixun Lan							 "uart_ao_rts_b";
13414eae66a6SYixun Lan						function = "uart_ao_b";
13424eae66a6SYixun Lan					};
13434eae66a6SYixun Lan				};
1344de05ded6SXingyu Chen			};
1345de05ded6SXingyu Chen
1346a04c18cbSJerome Brunet			sec_AO: ao-secure@140 {
1347a04c18cbSJerome Brunet				compatible = "amlogic,meson-gx-ao-secure", "syscon";
1348a04c18cbSJerome Brunet				reg = <0x0 0x140 0x0 0x140>;
1349a04c18cbSJerome Brunet				amlogic,has-chip-id;
1350a04c18cbSJerome Brunet			};
1351a04c18cbSJerome Brunet
13524a81e5ddSJian Hu			pwm_AO_cd: pwm@2000 {
1353b4ff05caSJerome Brunet				compatible = "amlogic,meson-axg-ao-pwm";
13544a81e5ddSJian Hu				reg = <0x0 0x02000  0x0 0x20>;
13554a81e5ddSJian Hu				#pwm-cells = <3>;
13564a81e5ddSJian Hu				status = "disabled";
13574a81e5ddSJian Hu			};
13584a81e5ddSJian Hu
13599d59b708SYixun Lan			uart_AO: serial@3000 {
13609d59b708SYixun Lan				compatible = "amlogic,meson-gx-uart", "amlogic,meson-ao-uart";
13619d59b708SYixun Lan				reg = <0x0 0x3000 0x0 0x18>;
13629d59b708SYixun Lan				interrupts = <GIC_SPI 193 IRQ_TYPE_EDGE_RISING>;
13639adda353SYixun Lan				clocks = <&xtal>, <&clkc_AO CLKID_AO_UART1>, <&xtal>;
13649d59b708SYixun Lan				clock-names = "xtal", "pclk", "baud";
13659d59b708SYixun Lan				status = "disabled";
13669d59b708SYixun Lan			};
13679d59b708SYixun Lan
13689d59b708SYixun Lan			uart_AO_B: serial@4000 {
13699d59b708SYixun Lan				compatible = "amlogic,meson-gx-uart", "amlogic,meson-ao-uart";
13709d59b708SYixun Lan				reg = <0x0 0x4000 0x0 0x18>;
13719d59b708SYixun Lan				interrupts = <GIC_SPI 197 IRQ_TYPE_EDGE_RISING>;
13729adda353SYixun Lan				clocks = <&xtal>, <&clkc_AO CLKID_AO_UART2>, <&xtal>;
13739d59b708SYixun Lan				clock-names = "xtal", "pclk", "baud";
13749d59b708SYixun Lan				status = "disabled";
13759d59b708SYixun Lan			};
13767bd46a79SYixun Lan
13778c0cf40fSJerome Brunet			i2c_AO: i2c@5000 {
13788c0cf40fSJerome Brunet				compatible = "amlogic,meson-axg-i2c";
13798c0cf40fSJerome Brunet				reg = <0x0 0x05000 0x0 0x20>;
13808c0cf40fSJerome Brunet				interrupts = <GIC_SPI 195 IRQ_TYPE_EDGE_RISING>;
13818c0cf40fSJerome Brunet				clocks = <&clkc CLKID_AO_I2C>;
13828c0cf40fSJerome Brunet				#address-cells = <1>;
13838c0cf40fSJerome Brunet				#size-cells = <0>;
13848c0cf40fSJerome Brunet				status = "disabled";
13858c0cf40fSJerome Brunet			};
13868c0cf40fSJerome Brunet
13878c0cf40fSJerome Brunet			pwm_AO_ab: pwm@7000 {
13888c0cf40fSJerome Brunet				compatible = "amlogic,meson-axg-ao-pwm";
13898c0cf40fSJerome Brunet				reg = <0x0 0x07000 0x0 0x20>;
13908c0cf40fSJerome Brunet				#pwm-cells = <3>;
13918c0cf40fSJerome Brunet				status = "disabled";
13928c0cf40fSJerome Brunet			};
13938c0cf40fSJerome Brunet
13947bd46a79SYixun Lan			ir: ir@8000 {
13957bd46a79SYixun Lan				compatible = "amlogic,meson-gxbb-ir";
13967bd46a79SYixun Lan				reg = <0x0 0x8000 0x0 0x20>;
13977bd46a79SYixun Lan				interrupts = <GIC_SPI 196 IRQ_TYPE_EDGE_RISING>;
13987bd46a79SYixun Lan				status = "disabled";
13997bd46a79SYixun Lan			};
1400a51b74eaSXingyu Chen
1401a51b74eaSXingyu Chen			saradc: adc@9000 {
1402a51b74eaSXingyu Chen				compatible = "amlogic,meson-axg-saradc",
1403a51b74eaSXingyu Chen					"amlogic,meson-saradc";
1404a51b74eaSXingyu Chen				reg = <0x0 0x9000 0x0 0x38>;
1405a51b74eaSXingyu Chen				#io-channel-cells = <1>;
1406a51b74eaSXingyu Chen				interrupts = <GIC_SPI 73 IRQ_TYPE_EDGE_RISING>;
1407a51b74eaSXingyu Chen				clocks = <&xtal>,
1408a51b74eaSXingyu Chen					 <&clkc_AO CLKID_AO_SAR_ADC>,
1409a51b74eaSXingyu Chen					 <&clkc_AO CLKID_AO_SAR_ADC_CLK>,
1410a51b74eaSXingyu Chen					 <&clkc_AO CLKID_AO_SAR_ADC_SEL>;
1411a51b74eaSXingyu Chen				clock-names = "clkin", "core", "adc_clk", "adc_sel";
1412a51b74eaSXingyu Chen				status = "disabled";
1413a51b74eaSXingyu Chen			};
14149d59b708SYixun Lan		};
14158c0cf40fSJerome Brunet
14168c0cf40fSJerome Brunet		gic: interrupt-controller@ffc01000 {
14178c0cf40fSJerome Brunet			compatible = "arm,gic-400";
14188c0cf40fSJerome Brunet			reg = <0x0 0xffc01000 0 0x1000>,
14198c0cf40fSJerome Brunet			      <0x0 0xffc02000 0 0x2000>,
14208c0cf40fSJerome Brunet			      <0x0 0xffc04000 0 0x2000>,
14218c0cf40fSJerome Brunet			      <0x0 0xffc06000 0 0x2000>;
14228c0cf40fSJerome Brunet			interrupt-controller;
14238c0cf40fSJerome Brunet			interrupts = <GIC_PPI 9
14248c0cf40fSJerome Brunet				(GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>;
14258c0cf40fSJerome Brunet			#interrupt-cells = <3>;
14268c0cf40fSJerome Brunet			#address-cells = <0>;
14278c0cf40fSJerome Brunet		};
14288c0cf40fSJerome Brunet
14298c0cf40fSJerome Brunet		cbus: bus@ffd00000 {
14308c0cf40fSJerome Brunet			compatible = "simple-bus";
14318c0cf40fSJerome Brunet			reg = <0x0 0xffd00000 0x0 0x25000>;
14328c0cf40fSJerome Brunet			#address-cells = <2>;
14338c0cf40fSJerome Brunet			#size-cells = <2>;
14348c0cf40fSJerome Brunet			ranges = <0x0 0x0 0x0 0xffd00000 0x0 0x25000>;
14358c0cf40fSJerome Brunet
14368c0cf40fSJerome Brunet			reset: reset-controller@1004 {
14378c0cf40fSJerome Brunet				compatible = "amlogic,meson-axg-reset";
14388c0cf40fSJerome Brunet				reg = <0x0 0x01004 0x0 0x9c>;
14398c0cf40fSJerome Brunet				#reset-cells = <1>;
14408c0cf40fSJerome Brunet			};
14418c0cf40fSJerome Brunet
14428c0cf40fSJerome Brunet			gpio_intc: interrupt-controller@f080 {
14438c0cf40fSJerome Brunet				compatible = "amlogic,meson-gpio-intc";
14448c0cf40fSJerome Brunet				reg = <0x0 0xf080 0x0 0x10>;
14458c0cf40fSJerome Brunet				interrupt-controller;
14468c0cf40fSJerome Brunet				#interrupt-cells = <2>;
14478c0cf40fSJerome Brunet				amlogic,channel-interrupts = <64 65 66 67 68 69 70 71>;
14488c0cf40fSJerome Brunet				status = "disabled";
14498c0cf40fSJerome Brunet			};
14508c0cf40fSJerome Brunet
14518c0cf40fSJerome Brunet			pwm_ab: pwm@1b000 {
14528c0cf40fSJerome Brunet				compatible = "amlogic,meson-axg-ee-pwm";
14538c0cf40fSJerome Brunet				reg = <0x0 0x1b000 0x0 0x20>;
14548c0cf40fSJerome Brunet				#pwm-cells = <3>;
14558c0cf40fSJerome Brunet				status = "disabled";
14568c0cf40fSJerome Brunet			};
14578c0cf40fSJerome Brunet
14588c0cf40fSJerome Brunet			pwm_cd: pwm@1a000 {
14598c0cf40fSJerome Brunet				compatible = "amlogic,meson-axg-ee-pwm";
14608c0cf40fSJerome Brunet				reg = <0x0 0x1a000 0x0 0x20>;
14618c0cf40fSJerome Brunet				#pwm-cells = <3>;
14628c0cf40fSJerome Brunet				status = "disabled";
14638c0cf40fSJerome Brunet			};
14648c0cf40fSJerome Brunet
14658c0cf40fSJerome Brunet			spicc0: spi@13000 {
14668c0cf40fSJerome Brunet				compatible = "amlogic,meson-axg-spicc";
14678c0cf40fSJerome Brunet				reg = <0x0 0x13000 0x0 0x3c>;
14688c0cf40fSJerome Brunet				interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
14698c0cf40fSJerome Brunet				clocks = <&clkc CLKID_SPICC0>;
14708c0cf40fSJerome Brunet				clock-names = "core";
14718c0cf40fSJerome Brunet				#address-cells = <1>;
14728c0cf40fSJerome Brunet				#size-cells = <0>;
14738c0cf40fSJerome Brunet				status = "disabled";
14748c0cf40fSJerome Brunet			};
14758c0cf40fSJerome Brunet
14768c0cf40fSJerome Brunet			spicc1: spi@15000 {
14778c0cf40fSJerome Brunet				compatible = "amlogic,meson-axg-spicc";
14788c0cf40fSJerome Brunet				reg = <0x0 0x15000 0x0 0x3c>;
14798c0cf40fSJerome Brunet				interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
14808c0cf40fSJerome Brunet				clocks = <&clkc CLKID_SPICC1>;
14818c0cf40fSJerome Brunet				clock-names = "core";
14828c0cf40fSJerome Brunet				#address-cells = <1>;
14838c0cf40fSJerome Brunet				#size-cells = <0>;
14848c0cf40fSJerome Brunet				status = "disabled";
14858c0cf40fSJerome Brunet			};
14868c0cf40fSJerome Brunet
14878c0cf40fSJerome Brunet			i2c3: i2c@1c000 {
14888c0cf40fSJerome Brunet				compatible = "amlogic,meson-axg-i2c";
14898c0cf40fSJerome Brunet				reg = <0x0 0x1c000 0x0 0x20>;
14908c0cf40fSJerome Brunet				interrupts = <GIC_SPI 39 IRQ_TYPE_EDGE_RISING>;
14918c0cf40fSJerome Brunet				clocks = <&clkc CLKID_I2C>;
14928c0cf40fSJerome Brunet				#address-cells = <1>;
14938c0cf40fSJerome Brunet				#size-cells = <0>;
14948c0cf40fSJerome Brunet				status = "disabled";
14958c0cf40fSJerome Brunet			};
14968c0cf40fSJerome Brunet
14978c0cf40fSJerome Brunet			i2c2: i2c@1d000 {
14988c0cf40fSJerome Brunet				compatible = "amlogic,meson-axg-i2c";
14998c0cf40fSJerome Brunet				reg = <0x0 0x1d000 0x0 0x20>;
15008c0cf40fSJerome Brunet				interrupts = <GIC_SPI 215 IRQ_TYPE_EDGE_RISING>;
15018c0cf40fSJerome Brunet				clocks = <&clkc CLKID_I2C>;
15028c0cf40fSJerome Brunet				#address-cells = <1>;
15038c0cf40fSJerome Brunet				#size-cells = <0>;
15048c0cf40fSJerome Brunet				status = "disabled";
15058c0cf40fSJerome Brunet			};
15068c0cf40fSJerome Brunet
15078c0cf40fSJerome Brunet			i2c1: i2c@1e000 {
15088c0cf40fSJerome Brunet				compatible = "amlogic,meson-axg-i2c";
15098c0cf40fSJerome Brunet				reg = <0x0 0x1e000 0x0 0x20>;
15108c0cf40fSJerome Brunet				interrupts = <GIC_SPI 214 IRQ_TYPE_EDGE_RISING>;
15118c0cf40fSJerome Brunet				clocks = <&clkc CLKID_I2C>;
15128c0cf40fSJerome Brunet				#address-cells = <1>;
15138c0cf40fSJerome Brunet				#size-cells = <0>;
15148c0cf40fSJerome Brunet				status = "disabled";
15158c0cf40fSJerome Brunet			};
15168c0cf40fSJerome Brunet
15178c0cf40fSJerome Brunet			i2c0: i2c@1f000 {
15188c0cf40fSJerome Brunet				compatible = "amlogic,meson-axg-i2c";
15198c0cf40fSJerome Brunet				reg = <0x0 0x1f000 0x0 0x20>;
15208c0cf40fSJerome Brunet				interrupts = <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>;
15218c0cf40fSJerome Brunet				clocks = <&clkc CLKID_I2C>;
15228c0cf40fSJerome Brunet				#address-cells = <1>;
15238c0cf40fSJerome Brunet				#size-cells = <0>;
15248c0cf40fSJerome Brunet				status = "disabled";
15258c0cf40fSJerome Brunet			};
15268c0cf40fSJerome Brunet
15278c0cf40fSJerome Brunet			uart_B: serial@23000 {
15288c0cf40fSJerome Brunet				compatible = "amlogic,meson-gx-uart";
15298c0cf40fSJerome Brunet				reg = <0x0 0x23000 0x0 0x18>;
15308c0cf40fSJerome Brunet				interrupts = <GIC_SPI 75 IRQ_TYPE_EDGE_RISING>;
15318c0cf40fSJerome Brunet				status = "disabled";
15328c0cf40fSJerome Brunet				clocks = <&xtal>, <&clkc CLKID_UART1>, <&xtal>;
15338c0cf40fSJerome Brunet				clock-names = "xtal", "pclk", "baud";
15348c0cf40fSJerome Brunet			};
15358c0cf40fSJerome Brunet
15368c0cf40fSJerome Brunet			uart_A: serial@24000 {
15378c0cf40fSJerome Brunet				compatible = "amlogic,meson-gx-uart";
15388c0cf40fSJerome Brunet				reg = <0x0 0x24000 0x0 0x18>;
15398c0cf40fSJerome Brunet				interrupts = <GIC_SPI 26 IRQ_TYPE_EDGE_RISING>;
15408c0cf40fSJerome Brunet				status = "disabled";
15418c0cf40fSJerome Brunet				clocks = <&xtal>, <&clkc CLKID_UART0>, <&xtal>;
15428c0cf40fSJerome Brunet				clock-names = "xtal", "pclk", "baud";
15438c0cf40fSJerome Brunet			};
15448c0cf40fSJerome Brunet		};
15458c0cf40fSJerome Brunet
15468c0cf40fSJerome Brunet		apb: bus@ffe00000 {
15478c0cf40fSJerome Brunet			compatible = "simple-bus";
15488c0cf40fSJerome Brunet			reg = <0x0 0xffe00000 0x0 0x200000>;
15498c0cf40fSJerome Brunet			#address-cells = <2>;
15508c0cf40fSJerome Brunet			#size-cells = <2>;
15518c0cf40fSJerome Brunet			ranges = <0x0 0x0 0x0 0xffe00000 0x0 0x200000>;
15528c0cf40fSJerome Brunet
15538c0cf40fSJerome Brunet			sd_emmc_b: sd@5000 {
15548c0cf40fSJerome Brunet				compatible = "amlogic,meson-axg-mmc";
15558c0cf40fSJerome Brunet				reg = <0x0 0x5000 0x0 0x800>;
15568c0cf40fSJerome Brunet				interrupts = <GIC_SPI 217 IRQ_TYPE_EDGE_RISING>;
15578c0cf40fSJerome Brunet				status = "disabled";
15588c0cf40fSJerome Brunet				clocks = <&clkc CLKID_SD_EMMC_B>,
15598c0cf40fSJerome Brunet					<&clkc CLKID_SD_EMMC_B_CLK0>,
15608c0cf40fSJerome Brunet					<&clkc CLKID_FCLK_DIV2>;
15618c0cf40fSJerome Brunet				clock-names = "core", "clkin0", "clkin1";
15628c0cf40fSJerome Brunet				resets = <&reset RESET_SD_EMMC_B>;
15638c0cf40fSJerome Brunet			};
15648c0cf40fSJerome Brunet
15658c0cf40fSJerome Brunet			sd_emmc_c: mmc@7000 {
15668c0cf40fSJerome Brunet				compatible = "amlogic,meson-axg-mmc";
15678c0cf40fSJerome Brunet				reg = <0x0 0x7000 0x0 0x800>;
15688c0cf40fSJerome Brunet				interrupts = <GIC_SPI 218 IRQ_TYPE_EDGE_RISING>;
15698c0cf40fSJerome Brunet				status = "disabled";
15708c0cf40fSJerome Brunet				clocks = <&clkc CLKID_SD_EMMC_C>,
15718c0cf40fSJerome Brunet					<&clkc CLKID_SD_EMMC_C_CLK0>,
15728c0cf40fSJerome Brunet					<&clkc CLKID_FCLK_DIV2>;
15738c0cf40fSJerome Brunet				clock-names = "core", "clkin0", "clkin1";
15748c0cf40fSJerome Brunet				resets = <&reset RESET_SD_EMMC_C>;
15758c0cf40fSJerome Brunet			};
15768c0cf40fSJerome Brunet		};
15778c0cf40fSJerome Brunet
15788c0cf40fSJerome Brunet		sram: sram@fffc0000 {
15798c0cf40fSJerome Brunet			compatible = "amlogic,meson-axg-sram", "mmio-sram";
15808c0cf40fSJerome Brunet			reg = <0x0 0xfffc0000 0x0 0x20000>;
15818c0cf40fSJerome Brunet			#address-cells = <1>;
15828c0cf40fSJerome Brunet			#size-cells = <1>;
15838c0cf40fSJerome Brunet			ranges = <0 0x0 0xfffc0000 0x20000>;
15848c0cf40fSJerome Brunet
15859c2d16bbSJerome Brunet			cpu_scp_lpri: scp-shmem@13000 {
15868c0cf40fSJerome Brunet				compatible = "amlogic,meson-axg-scp-shmem";
15878c0cf40fSJerome Brunet				reg = <0x13000 0x400>;
15888c0cf40fSJerome Brunet			};
15898c0cf40fSJerome Brunet
15909c2d16bbSJerome Brunet			cpu_scp_hpri: scp-shmem@13400 {
15918c0cf40fSJerome Brunet				compatible = "amlogic,meson-axg-scp-shmem";
15928c0cf40fSJerome Brunet				reg = <0x13400 0x400>;
15938c0cf40fSJerome Brunet			};
15948c0cf40fSJerome Brunet		};
15958c0cf40fSJerome Brunet	};
15968c0cf40fSJerome Brunet
15978c0cf40fSJerome Brunet	timer {
15988c0cf40fSJerome Brunet		compatible = "arm,armv8-timer";
15998c0cf40fSJerome Brunet		interrupts = <GIC_PPI 13
16008c0cf40fSJerome Brunet			(GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>,
16018c0cf40fSJerome Brunet			     <GIC_PPI 14
16028c0cf40fSJerome Brunet			(GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>,
16038c0cf40fSJerome Brunet			     <GIC_PPI 11
16048c0cf40fSJerome Brunet			(GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>,
16058c0cf40fSJerome Brunet			     <GIC_PPI 10
16068c0cf40fSJerome Brunet			(GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>;
16078c0cf40fSJerome Brunet	};
16088c0cf40fSJerome Brunet
16098c0cf40fSJerome Brunet	xtal: xtal-clk {
16108c0cf40fSJerome Brunet		compatible = "fixed-clock";
16118c0cf40fSJerome Brunet		clock-frequency = <24000000>;
16128c0cf40fSJerome Brunet		clock-output-names = "xtal";
16138c0cf40fSJerome Brunet		#clock-cells = <0>;
16149d59b708SYixun Lan	};
16159d59b708SYixun Lan};
1616