1
0
Fork 0

ARM: dts: imx7d-12x12-lpddr3: support audio sound card wm8958

Add imx7d-12x12-lpddr3-val-sai.dts to support wm8958

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
5.4-rM2-2.2.x-imx-squashed
Shengjiu Wang 2019-11-15 19:58:23 +08:00 committed by Dong Aisheng
parent 8697b6ab32
commit 8a1a24adab
2 changed files with 44 additions and 0 deletions

View File

@ -664,6 +664,7 @@ dtb-$(CONFIG_SOC_IMX7D) += \
imx7d-sdb-reva.dtb \
imx7d-sdb-sht11.dtb \
imx7d-12x12-lpddr3-val.dtb \
imx7d-12x12-lpddr3-val-sai.dtb \
imx7d-zii-rmu2.dtb \
imx7d-zii-rpu2.dtb \
imx7s-colibri-eval-v3.dtb \

View File

@ -0,0 +1,43 @@
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
* Copyright (C) 2015 Freescale Semiconductor, Inc.
*/
#include "imx7d-12x12-lpddr3-val.dts"
/ {
sound {
compatible = "fsl,imx7d-12x12-lpddr3-arm2-wm8958",
"fsl,imx-audio-wm8958";
model = "wm8958-audio";
cpu-dai = <&sai1>;
audio-codec = <&codec>;
codec-master;
hp-det-gpios = <&gpio1 12 1>;
};
};
&iomuxc {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&pinctrl_hog_1 &pinctrl_hog_headphone_det>;
pinctrl-1 = <&pinctrl_hog_1 &pinctrl_hog_sd2_vselect>;
};
&sai1 {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&pinctrl_sai1>;
pinctrl-1 = <&pinctrl_sai1>;
status = "okay";
};
&sdma {
status = "okay";
};
&sim1 {
status = "disabled";
};
&usdhc2 {
no-1-8-v;
};