ARM: dts: allwinner: orangepi-zero: Add default audio routing

Line out playback and microphone capture work, after enabling the
corresponding ALSA controls. Tested with the Orange Pi Zero interface
board.

Signed-off-by: J. Neuschäfer <j.ne@posteo.net>
Link: https://patch.msgid.link/20250911-opz-audio-v3-1-9dfd317a8163@posteo.net
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
This commit is contained in:
J. Neuschäfer 2025-09-11 22:23:55 +02:00 committed by Chen-Yu Tsai
parent a1845487af
commit 3173a76002

View File

@ -112,6 +112,20 @@ wifi_pwrseq: pwrseq {
};
};
/*
* Audio input/output is exposed on the 13-pin header and can't be used for
* anything else. However, adapter boards may use different audio routing.
* - https://linux-sunxi.org/Xunlong_Orange_Pi_Zero#Expansion_Port
* - Allwinner H3 Datasheet, section 3.1. Pin Characteristics
*/
&codec {
allwinner,audio-routing =
"Line Out", "LINEOUT",
"MIC1", "Mic",
"Mic", "MBIAS";
status = "disabled";
};
&cpu0 {
cpu-supply = <&reg_vdd_cpux>;
};