summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx7d-12x12-lpddr3-arm2-mqs.dts
diff options
context:
space:
mode:
authorZidan Wang <zidan.wang@freescale.com>2015-08-26 16:16:38 +0800
committerJason Liu <jason.hui.liu@nxp.com>2019-02-12 10:22:51 +0800
commitb50fdbf80c671a0047bd190c53420c2e34ab33f2 (patch)
tree0fca2a4cdef2f3e0f5b5f1174b20a9a0ca0c7307 /arch/arm/boot/dts/imx7d-12x12-lpddr3-arm2-mqs.dts
parentacba7881a82a7a55a07aaecc50b20e06e9def4ad (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.dts48
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";
+};