mirror of
https://github.com/Fishwaldo/build.git
synced 2025-07-24 05:48:41 +00:00
* Move Meson64 to 5.6.y * Move Meson64 U-boot to 2020.04 Tested on Odroid C2 * Merge, replace and update patches from Khadas branch
99 lines
2.8 KiB
Diff
99 lines
2.8 KiB
Diff
From 884f16bf7d65d4666b0ee2b381a6adc810b0584d Mon Sep 17 00:00:00 2001
|
|
From: Jerome Brunet <jbrunet@baylibre.com>
|
|
Date: Tue, 22 Oct 2019 18:15:43 +0200
|
|
Subject: [PATCH 049/101] WIP: arm64: dts: meson-gx: add playback audio devices
|
|
|
|
FIXME: Missing gxbb ATM
|
|
|
|
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
|
|
---
|
|
arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 13 +++++++++
|
|
arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 34 ++++++++++++++++++++++
|
|
2 files changed, 47 insertions(+)
|
|
|
|
diff --git a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
|
|
index 40db06e28b66..962a56e0e8b4 100644
|
|
--- a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
|
|
+++ b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
|
|
@@ -226,6 +226,17 @@
|
|
#reset-cells = <1>;
|
|
};
|
|
|
|
+ aiu: audio-controller@5400 {
|
|
+ compatible = "amlogic,aiu";
|
|
+ #sound-dai-cells = <2>;
|
|
+ sound-name-prefix = "AIU";
|
|
+ reg = <0x0 0x5400 0x0 0x2ac>;
|
|
+ interrupts = <GIC_SPI 48 IRQ_TYPE_EDGE_RISING>,
|
|
+ <GIC_SPI 50 IRQ_TYPE_EDGE_RISING>;
|
|
+ interrupt-names = "i2s", "spdif";
|
|
+ status = "disabled";
|
|
+ };
|
|
+
|
|
uart_A: serial@84c0 {
|
|
compatible = "amlogic,meson-gx-uart";
|
|
reg = <0x0 0x84c0 0x0 0x18>;
|
|
@@ -574,6 +585,8 @@
|
|
interrupts = <GIC_SPI 57 IRQ_TYPE_EDGE_RISING>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
+ #sound-dai-cells = <0>;
|
|
+ sound-name-prefix = "HDMITX";
|
|
status = "disabled";
|
|
|
|
/* VPU VENC Input */
|
|
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi
|
|
index 259d86399390..ec50e93470f9 100644
|
|
--- a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi
|
|
+++ b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi
|
|
@@ -14,6 +14,17 @@
|
|
compatible = "amlogic,meson-gxl";
|
|
|
|
soc {
|
|
+ acodec: audio-controller@c8832000 {
|
|
+ compatible = "amlogic,t9015";
|
|
+ reg = <0x0 0xc8832000 0x0 0x14>;
|
|
+ #sound-dai-cells = <0>;
|
|
+ sound-name-prefix = "ACODEC";
|
|
+ clocks = <&clkc CLKID_ACODEC>;
|
|
+ clock-names = "pclk";
|
|
+ resets = <&reset RESET_ACODEC>;
|
|
+ status = "disabled";
|
|
+ };
|
|
+
|
|
usb0: usb@c9000000 {
|
|
status = "disabled";
|
|
compatible = "amlogic,meson-gxl-dwc3";
|
|
@@ -49,6 +60,29 @@
|
|
};
|
|
};
|
|
|
|
+&aiu {
|
|
+ compatible = "amlogic,aiu-gxl", "amlogic,aiu";
|
|
+ clocks = <&clkc CLKID_AIU_GLUE>,
|
|
+ <&clkc CLKID_I2S_OUT>,
|
|
+ <&clkc CLKID_AOCLK_GATE>,
|
|
+ <&clkc CLKID_CTS_AMCLK>,
|
|
+ <&clkc CLKID_MIXER_IFACE>,
|
|
+ <&clkc CLKID_IEC958>,
|
|
+ <&clkc CLKID_IEC958_GATE>,
|
|
+ <&clkc CLKID_CTS_MCLK_I958>,
|
|
+ <&clkc CLKID_CTS_I958>;
|
|
+ clock-names = "pclk",
|
|
+ "i2s_pclk",
|
|
+ "i2s_aoclk",
|
|
+ "i2s_mclk",
|
|
+ "i2s_mixer",
|
|
+ "spdif_pclk",
|
|
+ "spdif_aoclk",
|
|
+ "spdif_mclk",
|
|
+ "spdif_mclk_sel";
|
|
+ resets = <&reset RESET_AIU>;
|
|
+};
|
|
+
|
|
&apb {
|
|
usb2_phy0: phy@78000 {
|
|
compatible = "amlogic,meson-gxl-usb2-phy";
|
|
--
|
|
2.17.1
|
|
|