diff options
author | Christopher Spinrath <christopher.spinrath@rwth-aachen.de> | 2016-11-23 01:07:57 +0100 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2017-01-02 13:59:42 +0800 |
commit | 1eac1e3dd4c341b1f9b45d67679d092188b29d34 (patch) | |
tree | 09fed6429753248d6ca67da3d649238880877d8c | |
parent | 5051bff33102bc8a6497c11671297f1698a5a56e (diff) | |
download | op-kernel-dev-1eac1e3dd4c341b1f9b45d67679d092188b29d34.zip op-kernel-dev-1eac1e3dd4c341b1f9b45d67679d092188b29d34.tar.gz |
ARM: dts: imx6q-cm-fx6: enable S/PDIF support
Enable the S/PDIF transceiver present on the cm-fx6 module.
Signed-off-by: Christopher Spinrath <christopher.spinrath@rwth-aachen.de>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
-rw-r--r-- | arch/arm/boot/dts/imx6q-cm-fx6.dts | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6q-cm-fx6.dts b/arch/arm/boot/dts/imx6q-cm-fx6.dts index a150bca..dbea8806 100644 --- a/arch/arm/boot/dts/imx6q-cm-fx6.dts +++ b/arch/arm/boot/dts/imx6q-cm-fx6.dts @@ -89,6 +89,14 @@ gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>; enable-active-high; }; + + sound-spdif { + compatible = "fsl,imx-audio-spdif"; + model = "imx-spdif"; + spdif-controller = <&spdif>; + spdif-out; + spdif-in; + }; }; &cpu0 { @@ -222,6 +230,13 @@ >; }; + pinctrl_spdif: spdifgrp { + fsl,pins = < + MX6QDL_PAD_GPIO_16__SPDIF_IN 0x1b0b0 + MX6QDL_PAD_GPIO_19__SPDIF_OUT 0x1b0b0 + >; + }; + pinctrl_uart4: uart4grp { fsl,pins = < MX6QDL_PAD_KEY_COL0__UART4_TX_DATA 0x1b0b1 @@ -259,6 +274,12 @@ status = "okay"; }; +&spdif { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_spdif>; + status = "okay"; +}; + &uart4 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart4>; |