summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2016-11-25 13:34:42 +0100
committerMaxime Ripard <maxime.ripard@free-electrons.com>2017-01-10 18:52:53 +0100
commit282d45ba4788f98e3cf056cfadb9875db7d3b7f6 (patch)
tree6565df36d8e61c377d3191b8a4811b9bde832f9d /arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts
parentARM: dts: sun8i-h3: Add device nodes for audio codec and its analog controls (diff)
downloadlinux-282d45ba4788f98e3cf056cfadb9875db7d3b7f6.tar.xz
linux-282d45ba4788f98e3cf056cfadb9875db7d3b7f6.zip
ARM: dts: sun8i-h3: orange-pi-pc: Enable audio codec
The Orange Pi PC routes the LINEOUT pins to the audio out jack on the board. The onboard microphone is routed to MIC1, with MBIAS providing power. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts')
-rw-r--r--arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts b/arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts
index 98b85be61e17..d43978d3294e 100644
--- a/arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts
+++ b/arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts
@@ -90,6 +90,14 @@
};
};
+&codec {
+ allwinner,audio-routing =
+ "Line Out", "LINEOUT",
+ "MIC1", "Mic",
+ "Mic", "MBIAS";
+ status = "okay";
+};
+
&ehci1 {
status = "okay";
};