diff options
author | Christopher Spinrath <christopher.spinrath@rwth-aachen.de> | 2016-04-24 19:02:58 -0400 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2016-04-25 03:56:34 -0400 |
commit | b52e345d43cfe9214fecfa92375525a086d39581 (patch) | |
tree | b9fbb99cd7de1d60c1b12d44b56d5c6669e75b0d | |
parent | 541ac1554e1269c4462a2166992d87b752abda64 (diff) |
ARM: dts: sun7i: Enable S/PDIF on the Cubietruck
Enable the S/PDIF transmitter present on the Cubietruck.
Signed-off-by: Christopher Spinrath <christopher.spinrath@rwth-aachen.de>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
-rw-r--r-- | arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts index 8da939ab8350..83f39b0362cb 100644 --- a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts +++ b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts | |||
@@ -94,6 +94,24 @@ | |||
94 | pinctrl-0 = <&mmc3_pwrseq_pin_cubietruck>; | 94 | pinctrl-0 = <&mmc3_pwrseq_pin_cubietruck>; |
95 | reset-gpios = <&pio 7 9 GPIO_ACTIVE_LOW>; /* PH9 WIFI_EN */ | 95 | reset-gpios = <&pio 7 9 GPIO_ACTIVE_LOW>; /* PH9 WIFI_EN */ |
96 | }; | 96 | }; |
97 | |||
98 | sound { | ||
99 | compatible = "simple-audio-card"; | ||
100 | simple-audio-card,name = "On-board SPDIF"; | ||
101 | |||
102 | simple-audio-card,cpu { | ||
103 | sound-dai = <&spdif>; | ||
104 | }; | ||
105 | |||
106 | simple-audio-card,codec { | ||
107 | sound-dai = <&spdif_out>; | ||
108 | }; | ||
109 | }; | ||
110 | |||
111 | spdif_out: spdif-out { | ||
112 | #sound-dai-cells = <0>; | ||
113 | compatible = "linux,spdif-dit"; | ||
114 | }; | ||
97 | }; | 115 | }; |
98 | 116 | ||
99 | &ahci { | 117 | &ahci { |
@@ -301,6 +319,12 @@ | |||
301 | status = "okay"; | 319 | status = "okay"; |
302 | }; | 320 | }; |
303 | 321 | ||
322 | &spdif { | ||
323 | pinctrl-names = "default"; | ||
324 | pinctrl-0 = <&spdif_tx_pins_a>; | ||
325 | status = "okay"; | ||
326 | }; | ||
327 | |||
304 | &uart0 { | 328 | &uart0 { |
305 | pinctrl-names = "default"; | 329 | pinctrl-names = "default"; |
306 | pinctrl-0 = <&uart0_pins_a>; | 330 | pinctrl-0 = <&uart0_pins_a>; |