ARM: dts: vf610-twr: Enable SAI ALSA SoC DAI device
authorXiubo Li <Li.Xiubo@freescale.com>
Wed, 19 Feb 2014 07:42:29 +0000 (15:42 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Thu, 20 Feb 2014 01:35:30 +0000 (09:35 +0800)
This patch adds and enables the SAI device.

Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/boot/dts/vf610-twr.dts

index e3a3805..0db3cdb 100644 (file)
                        >;
                };
 
+               pinctrl_sai2: sai2grp {
+                       fsl,pins = <
+                               VF610_PAD_PTA16__SAI2_TX_BCLK           0x02ed
+                               VF610_PAD_PTA18__SAI2_TX_DATA           0x02ee
+                               VF610_PAD_PTA19__SAI2_TX_SYNC           0x02ed
+                               VF610_PAD_PTA21__SAI2_RX_BCLK           0x02ed
+                               VF610_PAD_PTA22__SAI2_RX_DATA           0x02ed
+                               VF610_PAD_PTA23__SAI2_RX_SYNC           0x02ed
+                               VF610_PAD_PTB18__EXT_AUDIO_MCLK         0x02ed
+                       >;
+               };
+
                pinctrl_uart1: uart1grp {
                        fsl,pins = <
                                VF610_PAD_PTB4__UART1_TX                0x21a2
        };
 };
 
+&sai2 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_sai2>;
+       status = "okay";
+};
+
 &uart1 {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_uart1>;