Skip to content

Commit 81049c5

Browse files
schuamkartben
authored andcommitted
dts: arm: stm32g0: add mcos node
The newly added mcos node contains two childreen `mco1` and `mco2` that can be used to output different clocks on the MCO pins of the stm32g0 microcontrollers. Signed-off-by: Andreas Schuster <[email protected]>
1 parent 41c6257 commit 81049c5

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

dts/arm/st/g0/stm32g0.dtsi

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,18 @@
9494
};
9595
};
9696

97+
mcos {
98+
mco1: mco1 {
99+
compatible = "st,stm32-clock-mco";
100+
status = "disabled";
101+
};
102+
103+
mco2: mco2 {
104+
compatible = "st,stm32-clock-mco";
105+
status = "disabled";
106+
};
107+
};
108+
97109
soc {
98110
flash: flash-controller@40022000 {
99111
compatible = "st,stm32-flash-controller", "st,stm32g0-flash-controller";

0 commit comments

Comments
 (0)