diff options
author | Shengjiu Wang <shengjiu.wang@nxp.com> | 2020-06-18 14:03:47 +0800 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2020-07-13 19:48:53 +0800 |
commit | 903c0ef28bc4aad4cd30548fd330d590e031338b (patch) | |
tree | 00c995bcd10532c92ac4393a572d0989e496a37a /arch/arm/boot/dts/imx6sx-sdb.dtsi | |
parent | c3a71ffb6df2692b7541af0b3bec589635a04a5a (diff) | |
download | linux-903c0ef28bc4aad4cd30548fd330d590e031338b.tar.bz2 |
ARM: dts: imx6sx-sdb: Add SPDIF support
Add SPDIF support.
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/imx6sx-sdb.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx6sx-sdb.dtsi | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6sx-sdb.dtsi b/arch/arm/boot/dts/imx6sx-sdb.dtsi index 3e5fb72f21fc..6673532018b2 100644 --- a/arch/arm/boot/dts/imx6sx-sdb.dtsi +++ b/arch/arm/boot/dts/imx6sx-sdb.dtsi @@ -179,6 +179,15 @@ }; }; }; + + sound-spdif { + compatible = "fsl,imx-audio-spdif", + "fsl,imx6sx-sdb-spdif"; + model = "imx-spdif"; + spdif-controller = <&spdif>; + spdif-out; + }; + }; &audmux { @@ -296,6 +305,14 @@ status = "disabled"; }; +&spdif { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_spdif>; + assigned-clocks = <&clks IMX6SX_CLK_SPDIF_PODF>; + assigned-clock-rates = <24576000>; + status = "okay"; +}; + &ssi2 { status = "okay"; }; @@ -562,6 +579,12 @@ >; }; + pinctrl_spdif: spdifgrp { + fsl,pins = < + MX6SX_PAD_SD4_DATA4__SPDIF_OUT 0x1b0b0 + >; + }; + pinctrl_uart1: uart1grp { fsl,pins = < MX6SX_PAD_GPIO1_IO04__UART1_DCE_TX 0x1b0b1 |