diff options
author | Shengjiu Wang <shengjiu.wang@nxp.com> | 2020-12-07 17:12:36 +0800 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2021-01-07 11:02:14 +0800 |
commit | 4c36eb101986f0719bf10ba14c44346ed85c3806 (patch) | |
tree | f32937a31b1ed5c339f81980ac8a17c262a4ae9c | |
parent | b5f2ace2283ce35df006d1f13ee9ea9dae3ba924 (diff) | |
download | lwn-4c36eb101986f0719bf10ba14c44346ed85c3806.tar.gz lwn-4c36eb101986f0719bf10ba14c44346ed85c3806.zip |
arm64: dts: imx8mn-evk: Add sound-spdif card nodes
Add sound-spdif card nodes which are supported on imx8mn-evk board.
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
-rw-r--r-- | arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi index 1d2c399eabea..a0dddba2e561 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi @@ -67,6 +67,14 @@ "Line Out Jack", "LINEVOUTL", "Line Out Jack", "LINEVOUTR"; }; + + sound-spdif { + compatible = "fsl,imx-audio-spdif"; + model = "imx-spdif"; + spdif-controller = <&spdif1>; + spdif-out; + spdif-in; + }; }; &easrc { @@ -164,6 +172,15 @@ status = "okay"; }; +&spdif1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_spdif1>; + assigned-clocks = <&clk IMX8MN_CLK_SPDIF1>; + assigned-clock-parents = <&clk IMX8MN_AUDIO_PLL1_OUT>; + assigned-clock-rates = <24576000>; + status = "okay"; +}; + &uart2 { /* console */ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart2>; @@ -300,6 +317,13 @@ >; }; + pinctrl_spdif1: spdif1grp { + fsl,pins = < + MX8MN_IOMUXC_SPDIF_TX_SPDIF1_OUT 0xd6 + MX8MN_IOMUXC_SPDIF_RX_SPDIF1_IN 0xd6 + >; + }; + pinctrl_typec1: typec1grp { fsl,pins = < MX8MN_IOMUXC_SD1_STROBE_GPIO2_IO11 0x159 |