summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi
diff options
context:
space:
mode:
authorNicolin Chen <Guangyu.Chen@freescale.com>2013-12-16 11:37:48 +0100
committerShawn Guo <shawn.guo@linaro.org>2014-02-09 14:29:20 +0100
commit1169cf1f4d609f1e2046c8fb1a3c47c8a478d214 (patch)
treecd18977b19ce9b40bcff1df40df419d2fca63669 /arch/arm/boot/dts/imx6qdl-sabreauto.dtsi
parentARM: dts: imx6qdl-sabrelite: remove usdhc4 wp-gpio (diff)
downloadlinux-1169cf1f4d609f1e2046c8fb1a3c47c8a478d214.tar.xz
linux-1169cf1f4d609f1e2046c8fb1a3c47c8a478d214.zip
ARM: dts: imx6qdl: add spdif support for sabreauto
This patch adds spdif support for imx6qdl-sabreauto by inserting the cpu dai node with pinctrl group and its ASoC dai link node. Signed-off-by: Nicolin Chen <Guangyu.Chen@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/imx6qdl-sabreauto.dtsi')
-rw-r--r--arch/arm/boot/dts/imx6qdl-sabreauto.dtsi20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi
index 260f98764679..5fb41afad287 100644
--- a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi
@@ -14,6 +14,14 @@
memory {
reg = <0x10000000 0x80000000>;
};
+
+ sound-spdif {
+ compatible = "fsl,imx-audio-spdif",
+ "fsl,imx-sabreauto-spdif";
+ model = "imx-spdif";
+ spdif-controller = <&spdif>;
+ spdif-in;
+ };
};
&ecspi1 {
@@ -114,6 +122,12 @@
>;
};
+ pinctrl_spdif: spdifgrp {
+ fsl,pins = <
+ MX6QDL_PAD_KEY_COL3__SPDIF_IN 0x1b0b0
+ >;
+ };
+
pinctrl_uart4: uart4grp {
fsl,pins = <
MX6QDL_PAD_KEY_COL0__UART4_TX_DATA 0x1b0b1
@@ -222,6 +236,12 @@
};
};
+&spdif {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_spdif>;
+ status = "okay";
+};
+
&uart4 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_uart4>;