Skip to content

Commit 29c4d4c

Browse files
TE-N-ShengjiuWangShawn Guo
authored andcommitted
arm64: dts: imx8mp: Add audio XCVR device node
XCVR (Audio Transceiver) is a on-chip functional module found on i.MX8MP. It supports HDMI2.1 eARC, HDMI1.4 ARC and SPDIF. The reset controller is provided by the audio block control driver. Signed-off-by: Shengjiu Wang <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
1 parent a38d101 commit 29c4d4c

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

arch/arm64/boot/dts/freescale/imx8mp.dtsi

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1541,6 +1541,31 @@
15411541
dma-names = "tx";
15421542
status = "disabled";
15431543
};
1544+
1545+
xcvr: xcvr@30cc0000 {
1546+
compatible = "fsl,imx8mp-xcvr";
1547+
reg = <0x30cc0000 0x800>,
1548+
<0x30cc0800 0x400>,
1549+
<0x30cc0c00 0x080>,
1550+
<0x30cc0e00 0x080>;
1551+
reg-names = "ram", "regs", "rxfifo",
1552+
"txfifo";
1553+
interrupts = /* XCVR IRQ 0 */
1554+
<GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>,
1555+
/* XCVR IRQ 1 */
1556+
<GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>,
1557+
/* XCVR PHY - SPDIF wakeup IRQ */
1558+
<GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>;
1559+
clocks = <&audio_blk_ctrl IMX8MP_CLK_AUDIOMIX_EARC_IPG>,
1560+
<&audio_blk_ctrl IMX8MP_CLK_AUDIOMIX_EARC_PHY>,
1561+
<&audio_blk_ctrl IMX8MP_CLK_AUDIOMIX_SPBA2_ROOT>,
1562+
<&audio_blk_ctrl IMX8MP_CLK_AUDIOMIX_AUDPLL_ROOT>;
1563+
clock-names = "ipg", "phy", "spba", "pll_ipg";
1564+
dmas = <&sdma2 30 2 0>, <&sdma2 31 2 0>;
1565+
dma-names = "rx", "tx";
1566+
resets = <&audio_blk_ctrl 0>;
1567+
status = "disabled";
1568+
};
15441569
};
15451570

15461571
sdma3: dma-controller@30e00000 {
@@ -1569,6 +1594,7 @@
15691594
compatible = "fsl,imx8mp-audio-blk-ctrl";
15701595
reg = <0x30e20000 0x10000>;
15711596
#clock-cells = <1>;
1597+
#reset-cells = <1>;
15721598
clocks = <&clk IMX8MP_CLK_AUDIO_ROOT>,
15731599
<&clk IMX8MP_CLK_SAI1>,
15741600
<&clk IMX8MP_CLK_SAI2>,

0 commit comments

Comments
 (0)