add internal audio DAC support on the g12 and sm1 SoC family

Signed-off-by: Jerome Brunet <[email protected]>
---
 arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi 
b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi
index c0aef7d69117..593a006f4b7b 100644
--- a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi
@@ -250,6 +250,17 @@ hwrng: rng@218 {
                                };
                        };
 
+                       acodec: audio-controller@32000 {
+                               compatible = "amlogic,t9015";
+                               reg = <0x0 0x32000 0x0 0x14>;
+                               #sound-dai-cells = <0>;
+                               sound-name-prefix = "ACODEC";
+                               clocks = <&clkc CLKID_AUDIO_CODEC>;
+                               clock-names = "pclk";
+                               resets = <&reset RESET_AUDIO_CODEC>;
+                               status = "disabled";
+                       };
+
                        periphs: bus@34400 {
                                compatible = "simple-bus";
                                reg = <0x0 0x34400 0x0 0x400>;
-- 
2.25.4

Reply via email to