]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: dts: imx6qdl: add spdif support for sabreauto
authorNicolin Chen <Guangyu.Chen@freescale.com>
Mon, 16 Dec 2013 10:37:48 +0000 (18:37 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Tue, 31 Dec 2013 03:06:14 +0000 (11:06 +0800)
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>
arch/arm/boot/dts/imx6qdl-sabreauto.dtsi

index a526796fdaacc6ecf6ebfe03342cf9f81a00acbe..26fa0e57f4dcab3203f93a482bb3b470c4069d99 100644 (file)
        memory {
                reg = <0x10000000 0x80000000>;
        };
+
+       sound-spdif {
+               compatible = "fsl,imx-audio-spdif",
+                          "fsl,imx-sabreauto-spdif";
+               model = "imx-spdif";
+               spdif-controller = <&spdif>;
+               spdif-in;
+       };
 };
 
 &ecspi1 {
                        fsl,pins = <MX6QDL_GPMI_NAND_PINGRP1>;
                };
 
+               pinctrl_spdif: spdifgrp {
+                       fsl,pins = <
+                               MX6QDL_PAD_KEY_COL3__SPDIF_IN 0x1b0b0
+                       >;
+               };
+
                pinctrl_uart4: uart4grp {
                        fsl,pins = <MX6QDL_UART4_PINGRP1>;
                };
        };
 };
 
+&spdif {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_spdif>;
+       status = "okay";
+};
+
 &uart4 {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_uart4>;