diff options
author | Adrian Alonso <adrian.alonso@nxp.com> | 2020-11-10 14:03:56 -0600 |
---|---|---|
committer | Adrian Alonso <adrian.alonso@nxp.com> | 2020-11-19 13:28:36 -0600 |
commit | c71bae8eef0e65ef91ef2156693723b528f12f8c (patch) | |
tree | 4501dc28747d1345aba6c8e52c3e13d5b0b2fa03 /arch/arm64/boot/dts/freescale/imx8mm-evk-iqaudio-dacplus.dts | |
parent | a996534911f0c3827aac39e9e3546a3a3e7173ff (diff) |
MLK-24931-1: dts: arm64: freescale: imx8mm evk iqaudio dacplus
Enable support for IQauidio dacplus audio hats on
iMX8MMini EVK.
Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com>
Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
(cherry picked from commit 95b3f81802fe52fbe66ce6fbb28ae43f78d85f04)
Diffstat (limited to 'arch/arm64/boot/dts/freescale/imx8mm-evk-iqaudio-dacplus.dts')
-rw-r--r-- | arch/arm64/boot/dts/freescale/imx8mm-evk-iqaudio-dacplus.dts | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mm-evk-iqaudio-dacplus.dts b/arch/arm64/boot/dts/freescale/imx8mm-evk-iqaudio-dacplus.dts new file mode 100644 index 000000000000..170db2331657 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mm-evk-iqaudio-dacplus.dts @@ -0,0 +1,79 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright 2020 NXP. + */ + +#include "imx8mm-evk.dts" + +/ { + reg_3v3_vext: regulator-3v3-vext { + compatible = "regulator-fixed"; + regulator-name = "3V3_VEXT"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; + + sound-ak4458 { + status = "disabled"; + }; + + sound-micfil { + status = "disabled"; + }; + + sound-pcm512x { + compatible = "fsl,imx-audio-pcm512x"; + model = "pcm512x-audio"; + audio-cpu = <&sai5>; + audio-codec = <&pcm512x>; + format = "i2s"; + audio-widgets = + "Line", "Left Line Out Jack", + "Line", "Right Line Out Jack"; + audio-routing = + "Left Line Out Jack", "OUTL", + "Right Line Out Jack", "OUTR"; + dac,24db_digital_gain; + }; +}; + +&i2c3 { + ak4458_1: ak4458@10 { + status = "disabled"; + }; + + ak4458_2: ak4458@12 { + status = "disabled"; + }; + + ak4497: ak4497@11 { + status = "disabled"; + }; + + pcm512x: pcm512x@4c { + compatible = "ti,pcm5122"; + reg = <0x4c>; + AVDD-supply = <®_3v3_vext>; + DVDD-supply = <®_3v3_vext>; + CPVDD-supply = <®_3v3_vext>; + }; +}; + +&iomuxc { + pinctrl_sai5: sai5grp { + fsl,pins = < + MX8MM_IOMUXC_SAI5_RXD1_SAI5_TX_SYNC 0xd6 + MX8MM_IOMUXC_SAI5_RXD2_SAI5_TX_BCLK 0xd6 + MX8MM_IOMUXC_SAI5_RXD3_SAI5_TX_DATA0 0xd6 + MX8MM_IOMUXC_SAI5_RXD0_SAI5_RX_DATA0 0xd6 + >; + }; +}; + +&micfil { + status = "disabled"; +}; + +&sai5 { + status = "okay"; +}; |