Skip to content

Commit f305443

Browse files
FelixWang47831jhedberg
authored andcommitted
dts: arm: nxp: Add STM device tree info
1. Add clocks property for stm_0 and stm_1 2. Set stm_0 status okay for frdm_mcxe31b board dts Signed-off-by: Felix Wang <[email protected]>
1 parent 3621caa commit f305443

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

boards/nxp/frdm_mcxe31b/frdm_mcxe31b.dts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,3 +165,8 @@
165165
mux-0-dc-5-div = <4>;
166166
mux-0-dc-6-div = <1>;
167167
};
168+
169+
&stm_0 {
170+
status = "okay";
171+
prescaler = <1>;
172+
};

dts/arm/nxp/nxp_mcxe31x_common.dtsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -972,13 +972,15 @@
972972
compatible = "nxp,stm";
973973
reg = <0x274000 0x68>;
974974
interrupts = <39 0>;
975+
clocks = <&mc_cgm MCUX_STM0_CLK>;
975976
status = "disabled";
976977
};
977978

978979
stm_1: stm@474000 {
979980
compatible = "nxp,stm";
980981
reg = <0x474000 0x68>;
981982
interrupts = <40 0>;
983+
clocks = <&mc_cgm MCUX_STM1_CLK>;
982984
status = "disabled";
983985
};
984986

0 commit comments

Comments
 (0)