aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2021-04-29 22:58:56 -0500
committerMaxime Ripard <maxime@cerno.tech>2021-05-11 10:17:51 +0200
commit09e0a7ea75e0dcde8db975be52a690663d67c256 (patch)
treebc9ef8c4b99bb18e608a77f791b3856e4ec6306b
parentarm64: dts: allwinner: a64: Allow using multiple codec DAIs (diff)
downloadlinux-dev-09e0a7ea75e0dcde8db975be52a690663d67c256.tar.xz
linux-dev-09e0a7ea75e0dcde8db975be52a690663d67c256.zip
arm64: dts: allwinner: a64: Add pinmux nodes for AIF2/AIF3
Now that the sun8i-codec driver supports AIF2 and AIF3, boards can use them in DAI links. Add the necessary pinmux nodes. Signed-off-by: Samuel Holland <samuel@sholland.org> Signed-off-by: Maxime Ripard <maxime@cerno.tech> Link: https://lore.kernel.org/r/20210430035859.3487-5-samuel@sholland.org
-rw-r--r--arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
index 8d549b7b28c8..34bb455c0f07 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
@@ -659,6 +659,18 @@
interrupt-controller;
#interrupt-cells = <3>;
+ /omit-if-no-ref/
+ aif2_pins: aif2-pins {
+ pins = "PB4", "PB5", "PB6", "PB7";
+ function = "aif2";
+ };
+
+ /omit-if-no-ref/
+ aif3_pins: aif3-pins {
+ pins = "PG10", "PG11", "PG12", "PG13";
+ function = "aif3";
+ };
+
csi_pins: csi-pins {
pins = "PE0", "PE2", "PE3", "PE4", "PE5", "PE6",
"PE7", "PE8", "PE9", "PE10", "PE11";