Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e20f0493 authored by Marcus Cooper's avatar Marcus Cooper Committed by Maxime Ripard
Browse files

ARM: dts: sun8i-h3: orange-pi-2: Enable audio codec



The Orange Pi 2 routes the LINEOUT pins through a SGM8900 PA which
needs to be enabled. The onboard microphone is routed to MIC1, with
MBIAS providing power.

Signed-off-by: default avatarMarcus Cooper <codekipper@gmail.com>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent 62628be2
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -104,6 +104,15 @@
	};
};

&codec {
	allwinner,pa-gpios = <&pio 0 16 GPIO_ACTIVE_HIGH>; /* PA16 */
	allwinner,audio-routing =
		"Speaker", "LINEOUT",
		"MIC1", "Mic",
		"Mic",  "MBIAS";
	status = "okay";
};

&ehci1 {
	status = "okay";
};