Commit b52e345d authored by Christopher Spinrath's avatar Christopher Spinrath Committed by Maxime Ripard

ARM: dts: sun7i: Enable S/PDIF on the Cubietruck

Enable the S/PDIF transmitter present on the Cubietruck.
Signed-off-by: default avatarChristopher Spinrath <christopher.spinrath@rwth-aachen.de>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent 541ac155
......@@ -94,6 +94,24 @@ mmc3_pwrseq: mmc3_pwrseq {
pinctrl-0 = <&mmc3_pwrseq_pin_cubietruck>;
reset-gpios = <&pio 7 9 GPIO_ACTIVE_LOW>; /* PH9 WIFI_EN */
};
sound {
compatible = "simple-audio-card";
simple-audio-card,name = "On-board SPDIF";
simple-audio-card,cpu {
sound-dai = <&spdif>;
};
simple-audio-card,codec {
sound-dai = <&spdif_out>;
};
};
spdif_out: spdif-out {
#sound-dai-cells = <0>;
compatible = "linux,spdif-dit";
};
};
&ahci {
......@@ -301,6 +319,12 @@ &reg_usb2_vbus {
status = "okay";
};
&spdif {
pinctrl-names = "default";
pinctrl-0 = <&spdif_tx_pins_a>;
status = "okay";
};
&uart0 {
pinctrl-names = "default";
pinctrl-0 = <&uart0_pins_a>;
......
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