diff options
-rw-r--r-- | Documentation/devicetree/bindings/sound/imx-audio-mqs.txt | 2 | ||||
-rw-r--r-- | arch/arm64/boot/dts/freescale/Makefile | 3 | ||||
-rw-r--r-- | arch/arm64/boot/dts/freescale/fsl-imx8qxp-lpddr4-arm2-mqs.dts | 56 |
3 files changed, 59 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/sound/imx-audio-mqs.txt b/Documentation/devicetree/bindings/sound/imx-audio-mqs.txt index c0195c202894..10ae15a645d3 100644 --- a/Documentation/devicetree/bindings/sound/imx-audio-mqs.txt +++ b/Documentation/devicetree/bindings/sound/imx-audio-mqs.txt @@ -1,7 +1,7 @@ Freescale i.MX audio complex with mqs codec Required properties: -- compatible : "fsl,imx-audio-mqs", "fsl,imx8qm-lpddr4-arm2-mqs". +- compatible : "fsl,imx-audio-mqs", "fsl,imx8qm-lpddr4-arm2-mqs", "fsl,imx8qxp-lpddr4-arm2-mqs" - model : The user-visible name of this sound complex - cpu-dai : The phandle of the i.MX sai controller - audio-codec : The phandle of the mqs audio codec diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile index 89bbd36428e9..4fbebeda279b 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -12,7 +12,8 @@ dtb-$(CONFIG_ARCH_FSL_IMX8QM) += fsl-imx8qm-lpddr4-arm2.dtb \ dtb-$(CONFIG_ARCH_FSL_IMX8QXP) += fsl-imx8qxp-lpddr4-arm2.dtb \ fsl-imx8qxp-lpddr4-arm2-enet2.dtb \ fsl-imx8qxp-lpddr4-arm2-gpmi-nand.dtb \ - fsl-imx8qxp-lpddr4-arm2-it6263.dtb + fsl-imx8qxp-lpddr4-arm2-it6263.dtb \ + fsl-imx8qxp-lpddr4-arm2-mqs.dtb dtb-$(CONFIG_ARCH_FSL_IMX8MQ) += fsl-imx8mq-evk.dtb always := $(dtb-y) diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8qxp-lpddr4-arm2-mqs.dts b/arch/arm64/boot/dts/freescale/fsl-imx8qxp-lpddr4-arm2-mqs.dts new file mode 100644 index 000000000000..b2169becdba4 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/fsl-imx8qxp-lpddr4-arm2-mqs.dts @@ -0,0 +1,56 @@ +/* + * Copyright 2017 NXP + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +#include "fsl-imx8qxp-lpddr4-arm2.dts" + +/ { + sound-cs42888 { + status = "disabled"; + }; + + sound-mqs { + compatible = "fsl,imx8qxp-lpddr4-arm2-mqs", + "fsl,imx-audio-mqs"; + model = "mqs-audio"; + cpu-dai = <&sai1>; + audio-codec = <&mqs>; + asrc-controller = <&asrc1>; + }; +}; + +&esai0 { + status = "disabled"; +}; + +&iomuxc { + + imx8qxp-arm2 { + pinctrl_mqs: mqsgrp { + fsl,pins = < + SC_P_SPDIF0_TX_ADMA_MQS_L 0xc6000061 + SC_P_SPDIF0_RX_ADMA_MQS_R 0xc6000061 + >; + }; + }; +}; + +&mqs { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_mqs>; + status = "okay"; +}; + +&sai1 { + status = "okay"; +}; |