diff options
author | Zidan Wang <zidan.wang@freescale.com> | 2015-08-26 16:16:38 +0800 |
---|---|---|
committer | Nitin Garg <nitin.garg@nxp.com> | 2016-01-14 10:59:59 -0600 |
commit | d19d79d47b62772315e690a551f74fb1ef338542 (patch) | |
tree | e3c12cb95cc3ac98a21fc46e5ceef681e1ab7b95 /arch/arm/boot/dts/imx7d-12x12-lpddr3-arm2-mqs.dts | |
parent | 57eb56bf50b1738e73d3f35124d263ca51e4adfd (diff) |
MLK-11422 ARM: dts: imx7d-12x12-lpddr3-arm2: add mqs sound card support
add mqs sound card support
Signed-off-by: Zidan Wang <zidan.wang@freescale.com>
Diffstat (limited to 'arch/arm/boot/dts/imx7d-12x12-lpddr3-arm2-mqs.dts')
-rw-r--r-- | arch/arm/boot/dts/imx7d-12x12-lpddr3-arm2-mqs.dts | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx7d-12x12-lpddr3-arm2-mqs.dts b/arch/arm/boot/dts/imx7d-12x12-lpddr3-arm2-mqs.dts new file mode 100644 index 000000000000..3a166a8326a1 --- /dev/null +++ b/arch/arm/boot/dts/imx7d-12x12-lpddr3-arm2-mqs.dts @@ -0,0 +1,48 @@ +/* + * Copyright (C) 2015 Freescale Semiconductor, Inc. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#include "imx7d-12x12-lpddr3-arm2.dts" + +/ { + sound-mqs { + compatible = "fsl,imx7d-12x12-lpddr3-arm2-mqs", + "fsl,imx-audio-mqs"; + model = "mqs-audio"; + cpu-dai = <&sai1>; + audio-codec = <&mqs>; + }; +}; + +&clks { + assigned-clocks = <&clks IMX7D_PLL_AUDIO_POST_DIV>; + assigned-clock-rates = <786432000>; +}; + +&mqs { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_mqs>; + clocks = <&clks IMX7D_SAI1_ROOT_CLK>; + clock-names = "mclk"; + status = "okay"; +}; + +&sai1 { + assigned-clocks = <&clks IMX7D_SAI1_ROOT_SRC>, + <&clks IMX7D_SAI1_ROOT_CLK>; + assigned-clock-parents = <&clks IMX7D_PLL_AUDIO_POST_DIV>; + assigned-clock-rates = <0>, <24576000>; + status = "okay"; +}; + +&sdma { + status = "okay"; +}; + +&sim1 { + status = "disabled"; +}; |