xref: /openbmc/linux/arch/arm64/boot/dts/amlogic/meson-g12.dtsi (revision be63807524ddfd4c2e87ffd6cf2de8e7617d4832)
19ed437d6SJerome Brunet// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
29ed437d6SJerome Brunet/*
39ed437d6SJerome Brunet * Copyright (c) 2019 BayLibre, SAS
49ed437d6SJerome Brunet * Author: Jerome Brunet <jbrunet@baylibre.com>
59ed437d6SJerome Brunet */
69ed437d6SJerome Brunet
79ed437d6SJerome Brunet#include "meson-g12-common.dtsi"
80f674df0SJerome Brunet#include <dt-bindings/clock/axg-audio-clkc.h>
92871626bSJerome Brunet#include <dt-bindings/power/meson-g12a-power.h>
100f674df0SJerome Brunet#include <dt-bindings/reset/amlogic,meson-axg-audio-arb.h>
110f674df0SJerome Brunet#include <dt-bindings/reset/amlogic,meson-g12a-audio-reset.h>
120f674df0SJerome Brunet
130f674df0SJerome Brunet/ {
140f674df0SJerome Brunet	tdmif_a: audio-controller-0 {
150f674df0SJerome Brunet		compatible = "amlogic,axg-tdm-iface";
160f674df0SJerome Brunet		#sound-dai-cells = <0>;
170f674df0SJerome Brunet		sound-name-prefix = "TDM_A";
180f674df0SJerome Brunet		clocks = <&clkc_audio AUD_CLKID_MST_A_MCLK>,
190f674df0SJerome Brunet			 <&clkc_audio AUD_CLKID_MST_A_SCLK>,
200f674df0SJerome Brunet			 <&clkc_audio AUD_CLKID_MST_A_LRCLK>;
210f674df0SJerome Brunet		clock-names = "mclk", "sclk", "lrclk";
220f674df0SJerome Brunet		status = "disabled";
230f674df0SJerome Brunet	};
240f674df0SJerome Brunet
250f674df0SJerome Brunet	tdmif_b: audio-controller-1 {
260f674df0SJerome Brunet		compatible = "amlogic,axg-tdm-iface";
270f674df0SJerome Brunet		#sound-dai-cells = <0>;
280f674df0SJerome Brunet		sound-name-prefix = "TDM_B";
290f674df0SJerome Brunet		clocks = <&clkc_audio AUD_CLKID_MST_B_MCLK>,
300f674df0SJerome Brunet			 <&clkc_audio AUD_CLKID_MST_B_SCLK>,
310f674df0SJerome Brunet			 <&clkc_audio AUD_CLKID_MST_B_LRCLK>;
320f674df0SJerome Brunet		clock-names = "mclk", "sclk", "lrclk";
330f674df0SJerome Brunet		status = "disabled";
340f674df0SJerome Brunet	};
350f674df0SJerome Brunet
360f674df0SJerome Brunet	tdmif_c: audio-controller-2 {
370f674df0SJerome Brunet		compatible = "amlogic,axg-tdm-iface";
380f674df0SJerome Brunet		#sound-dai-cells = <0>;
390f674df0SJerome Brunet		sound-name-prefix = "TDM_C";
400f674df0SJerome Brunet		clocks = <&clkc_audio AUD_CLKID_MST_C_MCLK>,
410f674df0SJerome Brunet			 <&clkc_audio AUD_CLKID_MST_C_SCLK>,
420f674df0SJerome Brunet			 <&clkc_audio AUD_CLKID_MST_C_LRCLK>;
430f674df0SJerome Brunet		clock-names = "mclk", "sclk", "lrclk";
440f674df0SJerome Brunet		status = "disabled";
450f674df0SJerome Brunet	};
460f674df0SJerome Brunet};
470f674df0SJerome Brunet
480f674df0SJerome Brunet&apb {
490f674df0SJerome Brunet	pdm: audio-controller@40000 {
500f674df0SJerome Brunet		compatible = "amlogic,g12a-pdm",
510f674df0SJerome Brunet			     "amlogic,axg-pdm";
520f674df0SJerome Brunet		reg = <0x0 0x40000 0x0 0x34>;
530f674df0SJerome Brunet		#sound-dai-cells = <0>;
540f674df0SJerome Brunet		sound-name-prefix = "PDM";
550f674df0SJerome Brunet		clocks = <&clkc_audio AUD_CLKID_PDM>,
560f674df0SJerome Brunet			 <&clkc_audio AUD_CLKID_PDM_DCLK>,
570f674df0SJerome Brunet			 <&clkc_audio AUD_CLKID_PDM_SYSCLK>;
580f674df0SJerome Brunet		clock-names = "pclk", "dclk", "sysclk";
590f674df0SJerome Brunet		status = "disabled";
600f674df0SJerome Brunet	};
610f674df0SJerome Brunet
620f674df0SJerome Brunet	audio: bus@42000 {
630f674df0SJerome Brunet		compatible = "simple-bus";
640f674df0SJerome Brunet		reg = <0x0 0x42000 0x0 0x2000>;
650f674df0SJerome Brunet		#address-cells = <2>;
660f674df0SJerome Brunet		#size-cells = <2>;
670f674df0SJerome Brunet		ranges = <0x0 0x0 0x0 0x42000 0x0 0x2000>;
680f674df0SJerome Brunet
690f674df0SJerome Brunet		clkc_audio: clock-controller@0 {
700f674df0SJerome Brunet			status = "disabled";
710f674df0SJerome Brunet			compatible = "amlogic,g12a-audio-clkc";
720f674df0SJerome Brunet			reg = <0x0 0x0 0x0 0xb4>;
730f674df0SJerome Brunet			#clock-cells = <1>;
740f674df0SJerome Brunet			#reset-cells = <1>;
750f674df0SJerome Brunet
760f674df0SJerome Brunet			clocks = <&clkc CLKID_AUDIO>,
770f674df0SJerome Brunet				 <&clkc CLKID_MPLL0>,
780f674df0SJerome Brunet				 <&clkc CLKID_MPLL1>,
790f674df0SJerome Brunet				 <&clkc CLKID_MPLL2>,
800f674df0SJerome Brunet				 <&clkc CLKID_MPLL3>,
810f674df0SJerome Brunet				 <&clkc CLKID_HIFI_PLL>,
820f674df0SJerome Brunet				 <&clkc CLKID_FCLK_DIV3>,
830f674df0SJerome Brunet				 <&clkc CLKID_FCLK_DIV4>,
840f674df0SJerome Brunet				 <&clkc CLKID_GP0_PLL>;
850f674df0SJerome Brunet			clock-names = "pclk",
860f674df0SJerome Brunet				      "mst_in0",
870f674df0SJerome Brunet				      "mst_in1",
880f674df0SJerome Brunet				      "mst_in2",
890f674df0SJerome Brunet				      "mst_in3",
900f674df0SJerome Brunet				      "mst_in4",
910f674df0SJerome Brunet				      "mst_in5",
920f674df0SJerome Brunet				      "mst_in6",
930f674df0SJerome Brunet				      "mst_in7";
940f674df0SJerome Brunet
950f674df0SJerome Brunet			resets = <&reset RESET_AUDIO>;
960f674df0SJerome Brunet		};
970f674df0SJerome Brunet
980f674df0SJerome Brunet		toddr_a: audio-controller@100 {
990f674df0SJerome Brunet			compatible = "amlogic,g12a-toddr",
1000f674df0SJerome Brunet				     "amlogic,axg-toddr";
1010f674df0SJerome Brunet			reg = <0x0 0x100 0x0 0x2c>;
1020f674df0SJerome Brunet			#sound-dai-cells = <0>;
1030f674df0SJerome Brunet			sound-name-prefix = "TODDR_A";
1040f674df0SJerome Brunet			interrupts = <GIC_SPI 148 IRQ_TYPE_EDGE_RISING>;
1050f674df0SJerome Brunet			clocks = <&clkc_audio AUD_CLKID_TODDR_A>;
106c725fb00SJerome Brunet			resets = <&arb AXG_ARB_TODDR_A>,
107c725fb00SJerome Brunet				 <&clkc_audio AUD_RESET_TODDR_A>;
108c725fb00SJerome Brunet			reset-names = "arb", "rst";
109*be638075SJerome Brunet			amlogic,fifo-depth = <512>;
1100f674df0SJerome Brunet			status = "disabled";
1110f674df0SJerome Brunet		};
1120f674df0SJerome Brunet
1130f674df0SJerome Brunet		toddr_b: audio-controller@140 {
1140f674df0SJerome Brunet			compatible = "amlogic,g12a-toddr",
1150f674df0SJerome Brunet				     "amlogic,axg-toddr";
1160f674df0SJerome Brunet			reg = <0x0 0x140 0x0 0x2c>;
1170f674df0SJerome Brunet			#sound-dai-cells = <0>;
1180f674df0SJerome Brunet			sound-name-prefix = "TODDR_B";
1190f674df0SJerome Brunet			interrupts = <GIC_SPI 149 IRQ_TYPE_EDGE_RISING>;
1200f674df0SJerome Brunet			clocks = <&clkc_audio AUD_CLKID_TODDR_B>;
121c725fb00SJerome Brunet			resets = <&arb AXG_ARB_TODDR_B>,
122c725fb00SJerome Brunet				 <&clkc_audio AUD_RESET_TODDR_B>;
123c725fb00SJerome Brunet			reset-names = "arb", "rst";
124*be638075SJerome Brunet			amlogic,fifo-depth = <256>;
1250f674df0SJerome Brunet			status = "disabled";
1260f674df0SJerome Brunet		};
1270f674df0SJerome Brunet
1280f674df0SJerome Brunet		toddr_c: audio-controller@180 {
1290f674df0SJerome Brunet			compatible = "amlogic,g12a-toddr",
1300f674df0SJerome Brunet				     "amlogic,axg-toddr";
1310f674df0SJerome Brunet			reg = <0x0 0x180 0x0 0x2c>;
1320f674df0SJerome Brunet			#sound-dai-cells = <0>;
1330f674df0SJerome Brunet			sound-name-prefix = "TODDR_C";
1340f674df0SJerome Brunet			interrupts = <GIC_SPI 150 IRQ_TYPE_EDGE_RISING>;
1350f674df0SJerome Brunet			clocks = <&clkc_audio AUD_CLKID_TODDR_C>;
136c725fb00SJerome Brunet			resets = <&arb AXG_ARB_TODDR_C>,
137c725fb00SJerome Brunet				 <&clkc_audio AUD_RESET_TODDR_C>;
138c725fb00SJerome Brunet			reset-names = "arb", "rst";
139*be638075SJerome Brunet			amlogic,fifo-depth = <256>;
1400f674df0SJerome Brunet			status = "disabled";
1410f674df0SJerome Brunet		};
1420f674df0SJerome Brunet
1430f674df0SJerome Brunet		frddr_a: audio-controller@1c0 {
1440f674df0SJerome Brunet			compatible = "amlogic,g12a-frddr",
1450f674df0SJerome Brunet				     "amlogic,axg-frddr";
1460f674df0SJerome Brunet			reg = <0x0 0x1c0 0x0 0x2c>;
1470f674df0SJerome Brunet			#sound-dai-cells = <0>;
1480f674df0SJerome Brunet			sound-name-prefix = "FRDDR_A";
1490f674df0SJerome Brunet			interrupts = <GIC_SPI 152 IRQ_TYPE_EDGE_RISING>;
1500f674df0SJerome Brunet			clocks = <&clkc_audio AUD_CLKID_FRDDR_A>;
151c725fb00SJerome Brunet			resets = <&arb AXG_ARB_FRDDR_A>,
152c725fb00SJerome Brunet				 <&clkc_audio AUD_RESET_FRDDR_A>;
153c725fb00SJerome Brunet			reset-names = "arb", "rst";
154*be638075SJerome Brunet			amlogic,fifo-depth = <512>;
1550f674df0SJerome Brunet			status = "disabled";
1560f674df0SJerome Brunet		};
1570f674df0SJerome Brunet
1580f674df0SJerome Brunet		frddr_b: audio-controller@200 {
1590f674df0SJerome Brunet			compatible = "amlogic,g12a-frddr",
1600f674df0SJerome Brunet				     "amlogic,axg-frddr";
1610f674df0SJerome Brunet			reg = <0x0 0x200 0x0 0x2c>;
1620f674df0SJerome Brunet			#sound-dai-cells = <0>;
1630f674df0SJerome Brunet			sound-name-prefix = "FRDDR_B";
1640f674df0SJerome Brunet			interrupts = <GIC_SPI 153 IRQ_TYPE_EDGE_RISING>;
1650f674df0SJerome Brunet			clocks = <&clkc_audio AUD_CLKID_FRDDR_B>;
166c725fb00SJerome Brunet			resets = <&arb AXG_ARB_FRDDR_B>,
167c725fb00SJerome Brunet				 <&clkc_audio AUD_RESET_FRDDR_B>;
168c725fb00SJerome Brunet			reset-names = "arb", "rst";
169*be638075SJerome Brunet			amlogic,fifo-depth = <256>;
1700f674df0SJerome Brunet			status = "disabled";
1710f674df0SJerome Brunet		};
1720f674df0SJerome Brunet
1730f674df0SJerome Brunet		frddr_c: audio-controller@240 {
1740f674df0SJerome Brunet			compatible = "amlogic,g12a-frddr",
1750f674df0SJerome Brunet				     "amlogic,axg-frddr";
1760f674df0SJerome Brunet			reg = <0x0 0x240 0x0 0x2c>;
1770f674df0SJerome Brunet			#sound-dai-cells = <0>;
1780f674df0SJerome Brunet			sound-name-prefix = "FRDDR_C";
1790f674df0SJerome Brunet			interrupts = <GIC_SPI 154 IRQ_TYPE_EDGE_RISING>;
1800f674df0SJerome Brunet			clocks = <&clkc_audio AUD_CLKID_FRDDR_C>;
181c725fb00SJerome Brunet			resets = <&arb AXG_ARB_FRDDR_C>,
182c725fb00SJerome Brunet				 <&clkc_audio AUD_RESET_FRDDR_C>;
183c725fb00SJerome Brunet			reset-names = "arb", "rst";
184*be638075SJerome Brunet			amlogic,fifo-depth = <256>;
1850f674df0SJerome Brunet			status = "disabled";
1860f674df0SJerome Brunet		};
1870f674df0SJerome Brunet
1880f674df0SJerome Brunet		arb: reset-controller@280 {
1890f674df0SJerome Brunet			status = "disabled";
1900f674df0SJerome Brunet			compatible = "amlogic,meson-axg-audio-arb";
1910f674df0SJerome Brunet			reg = <0x0 0x280 0x0 0x4>;
1920f674df0SJerome Brunet			#reset-cells = <1>;
1930f674df0SJerome Brunet			clocks = <&clkc_audio AUD_CLKID_DDR_ARB>;
1940f674df0SJerome Brunet		};
1950f674df0SJerome Brunet
1960f674df0SJerome Brunet		tdmin_a: audio-controller@300 {
1970f674df0SJerome Brunet			compatible = "amlogic,g12a-tdmin",
1980f674df0SJerome Brunet				     "amlogic,axg-tdmin";
1990f674df0SJerome Brunet			reg = <0x0 0x300 0x0 0x40>;
2000f674df0SJerome Brunet			sound-name-prefix = "TDMIN_A";
2010f674df0SJerome Brunet			resets = <&clkc_audio AUD_RESET_TDMIN_A>;
2020f674df0SJerome Brunet			clocks = <&clkc_audio AUD_CLKID_TDMIN_A>,
2030f674df0SJerome Brunet				 <&clkc_audio AUD_CLKID_TDMIN_A_SCLK>,
2040f674df0SJerome Brunet				 <&clkc_audio AUD_CLKID_TDMIN_A_SCLK_SEL>,
2050f674df0SJerome Brunet				 <&clkc_audio AUD_CLKID_TDMIN_A_LRCLK>,
2060f674df0SJerome Brunet				 <&clkc_audio AUD_CLKID_TDMIN_A_LRCLK>;
2070f674df0SJerome Brunet			clock-names = "pclk", "sclk", "sclk_sel",
2080f674df0SJerome Brunet				      "lrclk", "lrclk_sel";
2090f674df0SJerome Brunet			status = "disabled";
2100f674df0SJerome Brunet		};
2110f674df0SJerome Brunet
2120f674df0SJerome Brunet		tdmin_b: audio-controller@340 {
2130f674df0SJerome Brunet			compatible = "amlogic,g12a-tdmin",
2140f674df0SJerome Brunet				     "amlogic,axg-tdmin";
2150f674df0SJerome Brunet			reg = <0x0 0x340 0x0 0x40>;
2160f674df0SJerome Brunet			sound-name-prefix = "TDMIN_B";
2170f674df0SJerome Brunet			resets = <&clkc_audio AUD_RESET_TDMIN_B>;
2180f674df0SJerome Brunet			clocks = <&clkc_audio AUD_CLKID_TDMIN_B>,
2190f674df0SJerome Brunet				 <&clkc_audio AUD_CLKID_TDMIN_B_SCLK>,
2200f674df0SJerome Brunet				 <&clkc_audio AUD_CLKID_TDMIN_B_SCLK_SEL>,
2210f674df0SJerome Brunet				 <&clkc_audio AUD_CLKID_TDMIN_B_LRCLK>,
2220f674df0SJerome Brunet				 <&clkc_audio AUD_CLKID_TDMIN_B_LRCLK>;
2230f674df0SJerome Brunet			clock-names = "pclk", "sclk", "sclk_sel",
2240f674df0SJerome Brunet				      "lrclk", "lrclk_sel";
2250f674df0SJerome Brunet			status = "disabled";
2260f674df0SJerome Brunet		};
2270f674df0SJerome Brunet
2280f674df0SJerome Brunet		tdmin_c: audio-controller@380 {
2290f674df0SJerome Brunet			compatible = "amlogic,g12a-tdmin",
2300f674df0SJerome Brunet				     "amlogic,axg-tdmin";
2310f674df0SJerome Brunet			reg = <0x0 0x380 0x0 0x40>;
2320f674df0SJerome Brunet			sound-name-prefix = "TDMIN_C";
2330f674df0SJerome Brunet			resets = <&clkc_audio AUD_RESET_TDMIN_C>;
2340f674df0SJerome Brunet			clocks = <&clkc_audio AUD_CLKID_TDMIN_C>,
2350f674df0SJerome Brunet				 <&clkc_audio AUD_CLKID_TDMIN_C_SCLK>,
2360f674df0SJerome Brunet				 <&clkc_audio AUD_CLKID_TDMIN_C_SCLK_SEL>,
2370f674df0SJerome Brunet				 <&clkc_audio AUD_CLKID_TDMIN_C_LRCLK>,
2380f674df0SJerome Brunet				 <&clkc_audio AUD_CLKID_TDMIN_C_LRCLK>;
2390f674df0SJerome Brunet			clock-names = "pclk", "sclk", "sclk_sel",
2400f674df0SJerome Brunet				      "lrclk", "lrclk_sel";
2410f674df0SJerome Brunet			status = "disabled";
2420f674df0SJerome Brunet		};
2430f674df0SJerome Brunet
2440f674df0SJerome Brunet		tdmin_lb: audio-controller@3c0 {
2450f674df0SJerome Brunet			compatible = "amlogic,g12a-tdmin",
2460f674df0SJerome Brunet				     "amlogic,axg-tdmin";
2470f674df0SJerome Brunet			reg = <0x0 0x3c0 0x0 0x40>;
2480f674df0SJerome Brunet			sound-name-prefix = "TDMIN_LB";
2490f674df0SJerome Brunet			resets = <&clkc_audio AUD_RESET_TDMIN_LB>;
2500f674df0SJerome Brunet			clocks = <&clkc_audio AUD_CLKID_TDMIN_LB>,
2510f674df0SJerome Brunet				 <&clkc_audio AUD_CLKID_TDMIN_LB_SCLK>,
2520f674df0SJerome Brunet				 <&clkc_audio AUD_CLKID_TDMIN_LB_SCLK_SEL>,
2530f674df0SJerome Brunet				 <&clkc_audio AUD_CLKID_TDMIN_LB_LRCLK>,
2540f674df0SJerome Brunet				 <&clkc_audio AUD_CLKID_TDMIN_LB_LRCLK>;
2550f674df0SJerome Brunet			clock-names = "pclk", "sclk", "sclk_sel",
2560f674df0SJerome Brunet				      "lrclk", "lrclk_sel";
2570f674df0SJerome Brunet			status = "disabled";
2580f674df0SJerome Brunet		};
2590f674df0SJerome Brunet
2600f674df0SJerome Brunet		spdifin: audio-controller@400 {
2610f674df0SJerome Brunet			compatible = "amlogic,g12a-spdifin",
2620f674df0SJerome Brunet				     "amlogic,axg-spdifin";
2630f674df0SJerome Brunet			reg = <0x0 0x400 0x0 0x30>;
2640f674df0SJerome Brunet			#sound-dai-cells = <0>;
2650f674df0SJerome Brunet			sound-name-prefix = "SPDIFIN";
2660f674df0SJerome Brunet			interrupts = <GIC_SPI 151 IRQ_TYPE_EDGE_RISING>;
2670f674df0SJerome Brunet			clocks = <&clkc_audio AUD_CLKID_SPDIFIN>,
2680f674df0SJerome Brunet				 <&clkc_audio AUD_CLKID_SPDIFIN_CLK>;
2690f674df0SJerome Brunet			clock-names = "pclk", "refclk";
270c725fb00SJerome Brunet			resets = <&clkc_audio AUD_RESET_SPDIFIN>;
2710f674df0SJerome Brunet			status = "disabled";
2720f674df0SJerome Brunet		};
2730f674df0SJerome Brunet
2740f674df0SJerome Brunet		spdifout: audio-controller@480 {
2750f674df0SJerome Brunet			compatible = "amlogic,g12a-spdifout",
2760f674df0SJerome Brunet				     "amlogic,axg-spdifout";
2770f674df0SJerome Brunet			reg = <0x0 0x480 0x0 0x50>;
2780f674df0SJerome Brunet			#sound-dai-cells = <0>;
2790f674df0SJerome Brunet			sound-name-prefix = "SPDIFOUT";
2800f674df0SJerome Brunet			clocks = <&clkc_audio AUD_CLKID_SPDIFOUT>,
2810f674df0SJerome Brunet				 <&clkc_audio AUD_CLKID_SPDIFOUT_CLK>;
2820f674df0SJerome Brunet			clock-names = "pclk", "mclk";
283c725fb00SJerome Brunet			resets = <&clkc_audio AUD_RESET_SPDIFOUT>;
2840f674df0SJerome Brunet			status = "disabled";
2850f674df0SJerome Brunet		};
2860f674df0SJerome Brunet
2870f674df0SJerome Brunet		tdmout_a: audio-controller@500 {
2880f674df0SJerome Brunet			compatible = "amlogic,g12a-tdmout";
2890f674df0SJerome Brunet			reg = <0x0 0x500 0x0 0x40>;
2900f674df0SJerome Brunet			sound-name-prefix = "TDMOUT_A";
2910f674df0SJerome Brunet			resets = <&clkc_audio AUD_RESET_TDMOUT_A>;
2920f674df0SJerome Brunet			clocks = <&clkc_audio AUD_CLKID_TDMOUT_A>,
2930f674df0SJerome Brunet				 <&clkc_audio AUD_CLKID_TDMOUT_A_SCLK>,
2940f674df0SJerome Brunet				 <&clkc_audio AUD_CLKID_TDMOUT_A_SCLK_SEL>,
2950f674df0SJerome Brunet				 <&clkc_audio AUD_CLKID_TDMOUT_A_LRCLK>,
2960f674df0SJerome Brunet				 <&clkc_audio AUD_CLKID_TDMOUT_A_LRCLK>;
2970f674df0SJerome Brunet			clock-names = "pclk", "sclk", "sclk_sel",
2980f674df0SJerome Brunet				      "lrclk", "lrclk_sel";
2990f674df0SJerome Brunet			status = "disabled";
3000f674df0SJerome Brunet		};
3010f674df0SJerome Brunet
3020f674df0SJerome Brunet		tdmout_b: audio-controller@540 {
3030f674df0SJerome Brunet			compatible = "amlogic,g12a-tdmout";
3040f674df0SJerome Brunet			reg = <0x0 0x540 0x0 0x40>;
3050f674df0SJerome Brunet			sound-name-prefix = "TDMOUT_B";
3060f674df0SJerome Brunet			resets = <&clkc_audio AUD_RESET_TDMOUT_B>;
3070f674df0SJerome Brunet			clocks = <&clkc_audio AUD_CLKID_TDMOUT_B>,
3080f674df0SJerome Brunet				 <&clkc_audio AUD_CLKID_TDMOUT_B_SCLK>,
3090f674df0SJerome Brunet				 <&clkc_audio AUD_CLKID_TDMOUT_B_SCLK_SEL>,
3100f674df0SJerome Brunet				 <&clkc_audio AUD_CLKID_TDMOUT_B_LRCLK>,
3110f674df0SJerome Brunet				 <&clkc_audio AUD_CLKID_TDMOUT_B_LRCLK>;
3120f674df0SJerome Brunet			clock-names = "pclk", "sclk", "sclk_sel",
3130f674df0SJerome Brunet				      "lrclk", "lrclk_sel";
3140f674df0SJerome Brunet			status = "disabled";
3150f674df0SJerome Brunet		};
3160f674df0SJerome Brunet
3170f674df0SJerome Brunet		tdmout_c: audio-controller@580 {
3180f674df0SJerome Brunet			compatible = "amlogic,g12a-tdmout";
3190f674df0SJerome Brunet			reg = <0x0 0x580 0x0 0x40>;
3200f674df0SJerome Brunet			sound-name-prefix = "TDMOUT_C";
3210f674df0SJerome Brunet			resets = <&clkc_audio AUD_RESET_TDMOUT_C>;
3220f674df0SJerome Brunet			clocks = <&clkc_audio AUD_CLKID_TDMOUT_C>,
3230f674df0SJerome Brunet				 <&clkc_audio AUD_CLKID_TDMOUT_C_SCLK>,
3240f674df0SJerome Brunet				 <&clkc_audio AUD_CLKID_TDMOUT_C_SCLK_SEL>,
3250f674df0SJerome Brunet				 <&clkc_audio AUD_CLKID_TDMOUT_C_LRCLK>,
3260f674df0SJerome Brunet				 <&clkc_audio AUD_CLKID_TDMOUT_C_LRCLK>;
3270f674df0SJerome Brunet			clock-names = "pclk", "sclk", "sclk_sel",
3280f674df0SJerome Brunet				      "lrclk", "lrclk_sel";
3290f674df0SJerome Brunet			status = "disabled";
3300f674df0SJerome Brunet		};
3310f674df0SJerome Brunet
3320f674df0SJerome Brunet		spdifout_b: audio-controller@680 {
3330f674df0SJerome Brunet			compatible = "amlogic,g12a-spdifout",
3340f674df0SJerome Brunet				     "amlogic,axg-spdifout";
3350f674df0SJerome Brunet			reg = <0x0 0x680 0x0 0x50>;
3360f674df0SJerome Brunet			#sound-dai-cells = <0>;
3370f674df0SJerome Brunet			sound-name-prefix = "SPDIFOUT_B";
3380f674df0SJerome Brunet			clocks = <&clkc_audio AUD_CLKID_SPDIFOUT_B>,
3390f674df0SJerome Brunet				 <&clkc_audio AUD_CLKID_SPDIFOUT_B_CLK>;
3400f674df0SJerome Brunet			clock-names = "pclk", "mclk";
341c725fb00SJerome Brunet			resets = <&clkc_audio AUD_RESET_SPDIFOUT_B>;
3420f674df0SJerome Brunet			status = "disabled";
3430f674df0SJerome Brunet		};
3440f674df0SJerome Brunet
3450f674df0SJerome Brunet		tohdmitx: audio-controller@744 {
3460f674df0SJerome Brunet			compatible = "amlogic,g12a-tohdmitx";
3470f674df0SJerome Brunet			reg = <0x0 0x744 0x0 0x4>;
3480f674df0SJerome Brunet			#sound-dai-cells = <1>;
3490f674df0SJerome Brunet			sound-name-prefix = "TOHDMITX";
350c725fb00SJerome Brunet			resets = <&clkc_audio AUD_RESET_TOHDMITX>;
3510f674df0SJerome Brunet			status = "disabled";
3520f674df0SJerome Brunet		};
3530f674df0SJerome Brunet	};
3540f674df0SJerome Brunet};
3552871626bSJerome Brunet
356195f1403SGuillaume La Roque&cpu_thermal {
357195f1403SGuillaume La Roque	cooling-maps {
358195f1403SGuillaume La Roque		map0 {
359195f1403SGuillaume La Roque			trip = <&cpu_passive>;
360195f1403SGuillaume La Roque			cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
361195f1403SGuillaume La Roque					 <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
362195f1403SGuillaume La Roque					 <&cpu100 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
363195f1403SGuillaume La Roque					 <&cpu101 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
364195f1403SGuillaume La Roque					 <&cpu102 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
365195f1403SGuillaume La Roque					 <&cpu103 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
366195f1403SGuillaume La Roque		};
367195f1403SGuillaume La Roque		map1 {
368195f1403SGuillaume La Roque			trip = <&cpu_hot>;
369195f1403SGuillaume La Roque			cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
370195f1403SGuillaume La Roque					 <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
371195f1403SGuillaume La Roque					 <&cpu100 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
372195f1403SGuillaume La Roque					 <&cpu101 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
373195f1403SGuillaume La Roque					 <&cpu102 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
374195f1403SGuillaume La Roque					 <&cpu103 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
375195f1403SGuillaume La Roque		};
376195f1403SGuillaume La Roque	};
377195f1403SGuillaume La Roque};
378195f1403SGuillaume La Roque
3792871626bSJerome Brunet&ethmac {
3802871626bSJerome Brunet	power-domains = <&pwrc PWRC_G12A_ETH_ID>;
3812871626bSJerome Brunet};
3822871626bSJerome Brunet
3832871626bSJerome Brunet&vpu {
3842871626bSJerome Brunet	power-domains = <&pwrc PWRC_G12A_VPU_ID>;
3852871626bSJerome Brunet};
3862871626bSJerome Brunet
3872871626bSJerome Brunet&sd_emmc_a {
3882871626bSJerome Brunet	amlogic,dram-access-quirk;
3892871626bSJerome Brunet};
39015767cfdSNeil Armstrong
39115767cfdSNeil Armstrong&simplefb_cvbs {
39215767cfdSNeil Armstrong	power-domains = <&pwrc PWRC_G12A_VPU_ID>;
39315767cfdSNeil Armstrong};
39415767cfdSNeil Armstrong
39515767cfdSNeil Armstrong&simplefb_hdmi {
39615767cfdSNeil Armstrong	power-domains = <&pwrc PWRC_G12A_VPU_ID>;
39715767cfdSNeil Armstrong};
398195f1403SGuillaume La Roque
399