Skip to content

Commit 7a3ebc9

Browse files
TomasBarakNXPkartben
authored andcommitted
boards: nxp: mimxrt1170_evk_cm7_B: Add wm8962 codec support
- update mimxrt1170 evkb overlay - add wm8962 codec on lpi2c5 - add aliases for i2s samples Signed-off-by: Tomas Barak <tomas.barak@nxp.com>
1 parent 9dd494f commit 7a3ebc9

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

boards/nxp/mimxrt1170_evk/mimxrt1170_evk_mimxrt1176_cm7_B.overlay

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2023 NXP
2+
* Copyright 2023, 2025 NXP
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*/
@@ -16,6 +16,8 @@
1616
aliases {
1717
/delete-property/ magn0;
1818
/delete-property/ accel0;
19+
i2s-codec-tx = &sai1;
20+
i2s-tx = &sai1;
1921
};
2022
};
2123

@@ -102,3 +104,19 @@ m2_hci_uart: &lpuart2 {
102104
status = "okay";
103105
current-speed = <115200>;
104106
};
107+
108+
&lpi2c5 {
109+
pinctrl-0 = <&pinmux_lpi2c5>;
110+
pinctrl-names = "default";
111+
#address-cells = <1>;
112+
#size-cells = <0>;
113+
114+
audio_codec: wm8962@1a {
115+
compatible = "wolfson,wm8962";
116+
reg = <0x1a>;
117+
clock-source = "MCLK";
118+
clocks = <&ccm IMX_CCM_SAI1_CLK 0x2004 4>;
119+
clock-names = "mclk";
120+
};
121+
122+
};

0 commit comments

Comments
 (0)