build/patch/kernel/odroidc2-next/0082-ARM64-dts-meson-initial-aiu-support-for-gxbb.patch
2017-05-21 18:44:19 +02:00

55 lines
1.5 KiB
Diff

From 045b11333a76b8e94c37665cea6b94a2b562a666 Mon Sep 17 00:00:00 2001
From: Jerome Brunet <jbrunet@baylibre.com>
Date: Sun, 12 Feb 2017 01:00:13 +0100
Subject: [PATCH 82/93] ARM64: dts: meson: initial aiu support for gxbb
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
---
arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 31 +++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
index ea111a2..6346776 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
@@ -163,6 +163,37 @@
clocks = <&clkc CLKID_SPI>;
status = "disabled";
};
+
+ aiu: aiu@5400 {
+ compatible = "amlogic,meson-aiu" , "simple-mfd", "syscon" ;
+ reg = <0x0 0x5400 0x0 0x24c>;
+
+ aiu_i2s_dai: aiu-i2s-dai {
+ #sound-dai-cells = <0>;
+ compatible = "amlogic,meson-aiu-i2s-dai";
+ clocks = <&clkc CLKID_CTS_AMCLK>,
+ <&clkc CLKID_AIU>,
+ <&clkc CLKID_AIU_GLUE>,
+ <&clkc CLKID_AOCLK_GATE>,
+ <&clkc CLKID_MIXER_IFACE>;
+ clock-names = "amclk","aiu_top", "aiu_glue",
+ "aoclk", "mixer_if";
+ status = "disbaled";
+ };
+
+ aiu_i2s_dma: aiu_i2s_dma {
+ #sound-dai-cells = <0>;
+ compatible = "amlogic,meson-aiu-i2s-dma";
+ interrupts = <GIC_SPI 48 IRQ_TYPE_EDGE_RISING>;
+ clocks = <&clkc CLKID_AIU>,
+ <&clkc CLKID_AIU_GLUE>,
+ <&clkc CLKID_I2S_OUT>;
+ clock-names = "aiu_top", "aiu_glue",
+ "i2s_out";
+ status = "disabled";
+ };
+ };
+
};
&ethmac {
--
1.9.1