diff options
author | Zidan Wang <zidan.wang@freescale.com> | 2015-09-07 17:04:54 +0800 |
---|---|---|
committer | Octavian Purdila <octavian.purdila@nxp.com> | 2017-02-23 14:21:42 +0200 |
commit | 2b79abed5f565ad10634110f220e281aa74e9001 (patch) | |
tree | 9df9fd1b8193235486f0bf1e7316bc7e1c7c4b2e /arch/arm/boot/dts/imx6sl-evk.dts | |
parent | db2976674e562f4a908f21ab1324a4bae18ee474 (diff) |
MLK-11513-02 ARM: dts: add spdif sound card support for imx6sl-evk board
add spdif sound card support for imx6sl-evk board
Signed-off-by: Zidan Wang <zidan.wang@freescale.com>
Diffstat (limited to 'arch/arm/boot/dts/imx6sl-evk.dts')
-rw-r--r-- | arch/arm/boot/dts/imx6sl-evk.dts | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6sl-evk.dts b/arch/arm/boot/dts/imx6sl-evk.dts index df9d8046edb1..86377a67ee0e 100644 --- a/arch/arm/boot/dts/imx6sl-evk.dts +++ b/arch/arm/boot/dts/imx6sl-evk.dts @@ -109,6 +109,14 @@ mux-ext-port = <3>; hp-det-gpios = <&gpio4 19 1>; }; + + sound-spdif { + compatible = "fsl,imx-audio-spdif", + "fsl,imx6sl-evk-spdif"; + model = "imx-spdif"; + spdif-controller = <&spdif>; + spdif-out; + }; }; &audmux { @@ -410,6 +418,12 @@ >; }; + pinctrl_spdif: spdifgrp { + fsl,pins = < + MX6SL_PAD_SD2_DAT4__SPDIF_OUT 0x80000000 + >; + }; + pinctrl_uart1: uart1grp { fsl,pins = < MX6SL_PAD_UART1_RXD__UART1_RX_DATA 0x1b0b1 @@ -612,6 +626,16 @@ status = "okay"; }; +&spdif { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_spdif>; + assigned-clocks = <&clks IMX6SL_CLK_SPDIF0_SEL>, + <&clks IMX6SL_CLK_SPDIF0_PODF>; + assigned-clock-parents = <&clks IMX6SL_CLK_PLL3_PFD3>; + assigned-clock-rates = <0>, <227368421>; + status = "okay"; +}; + &ssi2 { fsl,mode = "i2s-slave"; assigned-clocks = <&clks IMX6SL_CLK_SSI2_SEL>, |