From f15f7281ea1b1aeefc499b67250d011cdc5311c0 Mon Sep 17 00:00:00 2001 From: Viorel Suman Date: Thu, 13 Feb 2020 13:14:19 +0200 Subject: 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 Reviewed-by: Shengjiu Wang --- arch/arm64/boot/dts/freescale/imx8mp-ab2.dts | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'arch/arm64/boot/dts/freescale/imx8mp-ab2.dts') 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 -- cgit v1.2.3