]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: s32g274-rd2: Enable the STM timers
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 31 Jul 2025 14:01:35 +0000 (16:01 +0200)
committerShawn Guo <shawnguo@kernel.org>
Fri, 22 Aug 2025 08:26:12 +0000 (16:26 +0800)
Enable the timers STM0 -> STM3 on the s32g274-rd2

The platform has 4 CPUs, and the Linux STM timer driver is
instantiated per CPU.  Enable 4 STM timers that can be used as
replacements for the ARM architected timers.  The remaining STM timers
are not useful to the Linux kernel and provide no benefit, so they are
left disabled.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com>
Cc: Thomas Fossati <thomas.fossati@linaro.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/s32g274a-rdb2.dts

index b5ba51696f43221689c4c2e261cf4993036cc38c..505776d19151c4d8e6de07c5e8e5c77f714487da 100644 (file)
        status = "okay";
 };
 
+&stm0 {
+       status = "okay";
+};
+
+&stm1 {
+       status = "okay";
+};
+
+&stm2 {
+       status = "okay";
+};
+
+&stm3 {
+       status = "okay";
+};
+
 &usdhc0 {
        pinctrl-names = "default", "state_100mhz", "state_200mhz";
        pinctrl-0 = <&pinctrl_usdhc0>;