Commit 6db1aaf4 authored by Jernej Skrabec's avatar Jernej Skrabec Committed by Maxime Ripard

arm64: dts: allwinner: a64: orangepi-win: Enable audio codec

This patch enables internal audio codec on OrangePi Win board by
enabling all relevant nodes and adding appropriate routing. Board has
on-board microphone (MIC1) and 3.5 mm jack with stereo audio and
microphone (MIC2).
Signed-off-by: default avatarJernej Skrabec <jernej.skrabec@siol.net>
Signed-off-by: default avatarMaxime Ripard <mripard@kernel.org>
parent 54ecb8f7
...@@ -114,6 +114,19 @@ wifi_pwrseq: wifi_pwrseq { ...@@ -114,6 +114,19 @@ wifi_pwrseq: wifi_pwrseq {
}; };
}; };
&codec {
status = "okay";
};
&codec_analog {
cpvdd-supply = <&reg_eldo1>;
status = "okay";
};
&dai {
status = "okay";
};
&de { &de {
status = "okay"; status = "okay";
}; };
...@@ -333,6 +346,22 @@ &simplefb_hdmi { ...@@ -333,6 +346,22 @@ &simplefb_hdmi {
vcc-hdmi-supply = <&reg_dldo1>; vcc-hdmi-supply = <&reg_dldo1>;
}; };
&sound {
status = "okay";
simple-audio-card,widgets = "Headphone", "Headphone Jack",
"Microphone", "Microphone Jack",
"Microphone", "Onboard Microphone";
simple-audio-card,routing =
"Left DAC", "AIF1 Slot 0 Left",
"Right DAC", "AIF1 Slot 0 Right",
"AIF1 Slot 0 Left ADC", "Left ADC",
"AIF1 Slot 0 Right ADC", "Right ADC",
"Headphone Jack", "HP",
"MIC2", "Microphone Jack",
"Onboard Microphone", "MBIAS",
"MIC1", "Onboard Microphone";
};
&spi0 { &spi0 {
status = "okay"; status = "okay";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment