diff options
author | Viorel Suman <viorel.suman@nxp.com> | 2020-02-13 13:14:19 +0200 |
---|---|---|
committer | Viorel Suman <viorel.suman@nxp.com> | 2020-02-20 12:58:22 +0200 |
commit | f15f7281ea1b1aeefc499b67250d011cdc5311c0 (patch) | |
tree | 4fe6bd95ba2c8b834253284a85f01048a7a3e770 /arch/arm64 | |
parent | 3ab5b7605d78e0d9a4a9109ddb64858d0597210a (diff) |
MLK-23313-6: dts: arm64: imx8mp-ab2: enable eARC module
Enable eARC module configured by default in eARC TX/RX mode.
Signed-off-by: Viorel Suman <viorel.suman@nxp.com>
Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Diffstat (limited to 'arch/arm64')
-rwxr-xr-x | arch/arm64/boot/dts/freescale/imx8mp-ab2.dts | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mp-ab2.dts b/arch/arm64/boot/dts/freescale/imx8mp-ab2.dts index e35f81867556..51a449f42aa8 100755 --- a/arch/arm64/boot/dts/freescale/imx8mp-ab2.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-ab2.dts @@ -68,6 +68,12 @@ cpu-dai = <&micfil>; }; + sound-earc { + compatible = "fsl,imx-audio-xcvr"; + model = "imx-audio-earc"; + cpu-dai = <&earc>; + }; + sound-ak4458 { compatible = "fsl,imx-audio-ak4458"; model = "ak4458-audio"; @@ -385,6 +391,19 @@ status = "okay"; }; +&earc { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_earc>; + /** + * Bit 0: TX enabled + * Bit 1: RX enabled + * Bits 3..2: 0=SPDIF, 1=ARC, 2=EARC, 3=RESERVED + */ + fsl,xcvr-mode = <0xb>; /* EARC, RX + TX */ + #sound-dai-cells = <0>; + status = "okay"; +}; + &sdma2 { status = "okay"; }; @@ -596,6 +615,15 @@ >; }; + pinctrl_earc: earcgrp { + fsl,pins = < + MX8MP_IOMUXC_HDMI_DDC_SCL__HDMIMIX_EARC_SCL 0x400001c3 + MX8MP_IOMUXC_HDMI_DDC_SDA__HDMIMIX_EARC_SDA 0x400001c3 + MX8MP_IOMUXC_HDMI_HPD__HDMIMIX_EARC_DC_HPD 0x40000019 + MX8MP_IOMUXC_HDMI_CEC__HDMIMIX_EARC_CEC 0x40000019 + >; + }; + pinctrl_uart1: uart1grp { fsl,pins = < MX8MP_IOMUXC_UART1_RXD__UART1_DCE_RX 0x140 |