diff options
author | Peng Fan <peng.fan@nxp.com> | 2018-10-24 18:41:48 +0800 |
---|---|---|
committer | Jason Liu <jason.hui.liu@nxp.com> | 2019-02-12 10:34:47 +0800 |
commit | bf930000b8d4110f11f94f3fdfafa841249563e4 (patch) | |
tree | 184bc8e57857b6b660a9a5da324aabe6a5296074 /arch/arm64/boot/dts/freescale/fsl-imx8qm-mek-dom0.dts | |
parent | a4d31d7da69af77b7fa3a35bbe4fc2905fe0460a (diff) |
MLK-20056-1 ARM64: dts: imx8qm: passthrough esai0 to domu
Passthrough esai0 to domu, the audio in dom0 is broken for now.
Because of there are some shared clock/power for sai and esai,
we could not cleanly parition the audio. So only support audio
in domu now, in future, we could use paravirtualized audio.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/fsl-imx8qm-mek-dom0.dts')
-rw-r--r-- | arch/arm64/boot/dts/freescale/fsl-imx8qm-mek-dom0.dts | 100 |
1 files changed, 97 insertions, 3 deletions
diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8qm-mek-dom0.dts b/arch/arm64/boot/dts/freescale/fsl-imx8qm-mek-dom0.dts index 15f6badef54a..f1978b81f585 100644 --- a/arch/arm64/boot/dts/freescale/fsl-imx8qm-mek-dom0.dts +++ b/arch/arm64/boot/dts/freescale/fsl-imx8qm-mek-dom0.dts @@ -148,6 +148,25 @@ /* usbotg3 */ SC_R_USB_2 SC_R_USB_2_PHY + /* ESAI0 */ + SC_R_DMA_2_CH6 + SC_R_DMA_2_CH7 + SC_R_ESAI_0 + /* ASRC0 */ + SC_R_DMA_2_CH0 + SC_R_DMA_2_CH1 + SC_R_DMA_2_CH2 + SC_R_DMA_2_CH3 + SC_R_DMA_2_CH4 + SC_R_DMA_2_CH5 + SC_R_ASRC_0 + SC_R_AUDIO_CLK_1 + SC_R_AUDIO_CLK_0 + SC_R_AUDIO_PLL_1 + SC_R_AUDIO_PLL_0 + + SC_R_MCLK_OUT_0 + SC_R_MCLK_OUT_1 >; pads = < /* i2c1_lvds1 */ @@ -189,7 +208,19 @@ SC_P_MIPI_CSI0_GPIO0_00 SC_P_MIPI_CSI0_GPIO0_01 + /* ESAI0 */ + SC_P_ESAI0_FSR + SC_P_ESAI0_FST + SC_P_ESAI0_SCKR + SC_P_ESAI0_SCKT + SC_P_ESAI0_TX0 + SC_P_ESAI0_TX1 + SC_P_ESAI0_TX2_RX3 + SC_P_ESAI0_TX3_RX2 + SC_P_ESAI0_TX4_RX1 + SC_P_ESAI0_TX5_RX0 >; + gpios = <&gpio1 13 GPIO_ACTIVE_LOW>, <&gpio1 27 GPIO_ACTIVE_LOW>, <&gpio1 28 GPIO_ACTIVE_LOW>, @@ -198,6 +229,7 @@ <&gpio4 11 GPIO_ACTIVE_HIGH>, <&gpio4 19 GPIO_ACTIVE_HIGH>, <&gpio4 26 GPIO_ACTIVE_HIGH>, + <&gpio4 25 GPIO_ACTIVE_HIGH>, <&gpio4 27 GPIO_ACTIVE_LOW>, <&gpio4 29 GPIO_ACTIVE_LOW>; }; @@ -357,8 +389,24 @@ &edma01 { #stream-id-cells = <1>; xen,passthrough; - fsl,sc_rsrc_id = <SC_R_DMA_0_CH14>, - <SC_R_DMA_0_CH15>; +}; + +&edma20 { + #stream-id-cells = <1>; + xen,passthrough; + /* Put edma20 and edma21 resource here */ + fsl,sc_rsrc_id = <SC_R_DMA_2_CH0>, + <SC_R_DMA_2_CH1>, + <SC_R_DMA_2_CH2>, + <SC_R_DMA_2_CH3>, + <SC_R_DMA_2_CH4>, + <SC_R_DMA_2_CH5>, + <SC_R_DMA_2_CH6>, + <SC_R_DMA_2_CH7>; +}; + +&edma21 { + xen,passthrough; }; /* @@ -367,7 +415,7 @@ * in dt_dev is enough. */ &smmu { - mmu-masters = <&dpu2 0x13>, <&gpu_3d1 0x15>, + mmu-masters = <&dpu2 0x13>, <&gpu_3d1 0x15>, <&edma20 0x14>, <&usdhc1 0x12>, <&usbotg1 0x11>, <&edma01 0x10>, <&cm41 0x09>, <&pciea 0x08>, <&vpu_decoder 0x7>, <&crypto 0x6>, <&isi_0 0x5>, @@ -752,3 +800,49 @@ #stream-id-cells = <1>; iommus = <&smmu>; }; + +/delete-node/ &{/sound-cs42888}; + +&acm { + xen,passthrough; +}; + +&esai0 { + xen,passthrough; +}; + +&asrc0 { + xen,passthrough; +}; + +&aud_asrc_0_lpcg { + xen,passthrough; +}; + +&aud_esai_0_lpcg { + xen,passthrough; +}; + +&aud_pll_clk0_lpcg { + xen,passthrough; +}; + +&aud_pll_clk1_lpcg { + xen,passthrough; +}; + +&aud_mclkout0_lpcg { + xen,passthrough; +}; + +&aud_mclkout1_lpcg { + xen,passthrough; +}; + +&aud_rec_clk0_lpcg { + xen,passthrough; +}; + +&aud_rec_clk1_lpcg { + xen,passthrough; +}; |