Skip to content

Commit 85651ad

Browse files
committed
WIP: add I2S output on stm32h7s78_dk
Signed-off-by: Titouan Christophe <[email protected]>
1 parent 0826996 commit 85651ad

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

boards/st/stm32h7s78_dk/stm32h7s78_dk.dts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,16 @@
171171
&i2c1 {
172172
pinctrl-0 = <&i2c1_scl_pb6 &i2c1_sda_pb9>;
173173
pinctrl-names = "default";
174+
status = "okay";
175+
176+
audio_codec: wm8904g@1a {
177+
compatible = "wolfson,wm8904";
178+
reg = <0x1a>;
179+
};
180+
};
181+
182+
&i2s6 {
183+
status = "okay";
174184
};
175185

176186
&die_temp {

dts/arm/st/h7rs/stm32h7rs.dtsi

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -492,6 +492,17 @@
492492
status = "disabled";
493493
};
494494

495+
i2s6: i2s@58001400 {
496+
compatible = "st,stm32h7-i2s", "st,stm32-i2s";
497+
#address-cells = <1>;
498+
#size-cells = <0>;
499+
reg = <0x58001400 0x400>;
500+
clocks = <&rcc STM32_CLOCK(APB4, 5U)>,
501+
<&rcc STM32_CLOCK_BUS_APB4 SPI6_SEL(0)>;
502+
interrupts = <63 0>;
503+
status = "disabled";
504+
};
505+
495506
iwdg: iwdg1: watchdog@58004800 {
496507
compatible = "st,stm32-watchdog";
497508
reg = <0x58004800 0x400>;

0 commit comments

Comments
 (0)