armbian_build/patch/kernel/meson64-dev/4-0013-ARM64-dts-meson-gxbb-p20x-add-i2s-and-spdif-output-i.patch
Igor Pečovnik 99a0630f47
Enable Meson64 DEV branch / kernel 5.4.y, tested for building (#1634)
* [AR-81] Enable Meson64 DEV branch / kernel 5.4.y, tested for building
* Adjust configs
2019-11-26 21:58:00 +01:00

43 lines
1.1 KiB
Diff

From a1fdeaf2823e79893551988bd473a155eadaa5ab Mon Sep 17 00:00:00 2001
From: Jerome Brunet <jbrunet@baylibre.com>
Date: Thu, 30 Mar 2017 15:40:20 +0200
Subject: [PATCH 13/16] ARM64: dts: meson-gxbb-p20x: add i2s and spdif output
interfaces
Add the necessary pins for the i2s and spdif audio interface output and
enable these interfaces
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
---
.../arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi
index a6cb34c28ac8..74c3efb8102a 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi
@@ -300,3 +300,20 @@
&usb1 {
status = "okay";
};
+
+&audio {
+ status = "okay";
+};
+
+&aiu_i2s {
+ pinctrl-0 = <&i2s_am_clk_pins>, <&i2s_out_ao_clk_pins>,
+ <&i2s_out_lr_clk_pins>, <&i2s_out_ch01_ao_pins>;
+ pinctrl-names = "default";
+ status = "okay";
+};
+
+&aiu_spdif {
+ pinctrl-0 = <&spdif_out_ao_6_pins>;
+ pinctrl-names = "default";
+ status = "okay";
+};
--
2.20.1