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

Commit d97e862e authored by Sjoerd Simons's avatar Sjoerd Simons Committed by Heiko Stuebner
Browse files

ARM: dts: rockchip: Add SPDIF optical out on Radxa Rock



This enables the SPDIF optical audio output on the Radxa Rock

Signed-off-by: default avatarSjoerd Simons <sjoerd.simons@collabora.co.uk>
Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent 39b37ce2
Loading
Loading
Loading
Loading
+19 −0
Original line number Diff line number Diff line
@@ -90,6 +90,21 @@
		};
	};

	sound {
		compatible = "simple-audio-card";
		simple-audio-card,name = "SPDIF";

		simple-audio-card,dai-link@1 {  /* S/PDIF - S/PDIF */
			cpu { sound-dai = <&spdif>; };
			codec { sound-dai = <&spdif_out>; };
		};
	};

	spdif_out: spdif-out {
		compatible = "linux,spdif-dit";
		#sound-dai-cells = <0>;
	};

	ir_recv: gpio-ir-receiver {
		compatible = "gpio-ir-receiver";
		gpios = <&gpio0 10 1>;
@@ -345,6 +360,10 @@
	};
};

&spdif {
	status = "okay";
};

&uart0 {
	status = "okay";
};