File tree Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Original file line number Diff line number Diff line change 229229 <SAI1_TXD0_PIO2_8>,
230230 <SAI1_RX_FS_PIO1_7>,
231231 <SAI1_RX_BCLK_PIO3_18>,
232+ <SAI1_MCLK_PIO3_6>,
232233 <SAI1_RXD0_PIO2_9>;
233234 drive-strength = "high";
234235 slew-rate = "fast";
235236 input-enable;
236237 };
237238 };
239+
240+ pinmux_flexcomm2_i2c: pinmux_flexcomm2_i2c {
241+ group0 {
242+ pinmux = <FC2_P0_PIO4_0>,
243+ <FC2_P1_PIO4_1>;
244+ slew-rate = "fast";
245+ drive-strength = "low";
246+ input-enable;
247+ bias-pull-up;
248+ drive-open-drain;
249+ };
250+ };
238251};
Original file line number Diff line number Diff line change 175175
176176&flexcomm2_lpi2c2 {
177177 status = "okay";
178+ pinctrl-0 = <&pinmux_flexcomm2_i2c>;
179+ pinctrl-names = "default";
180+ clock-frequency = <I2C_BITRATE_STANDARD>;
181+ #address-cells = <1>;
182+ #size-cells = <0>;
183+
184+ /* Note: The DA7212 codec is not populated on this board by default.
185+ * Refer to the board MCX_N5XX_EVK to use this sample with the same codec.
186+ */
187+ audio_codec: da7212@1a {
188+ compatible = "dlg,da7212";
189+ reg = <0x1a>;
190+ clocks = <&syscon MCUX_SAI1_CLK>;
191+ clock-source = "MCLK";
192+ clock-names = "mclk";
193+ };
178194};
179195
180196&flexcomm3 {
You can’t perform that action at this time.
0 commit comments