]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: s32g399a-rdb3: Enable the STM timers
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 31 Jul 2025 14:01:37 +0000 (16:01 +0200)
committerShawn Guo <shawnguo@kernel.org>
Fri, 22 Aug 2025 08:26:12 +0000 (16:26 +0800)
The platform has 8 CPUs, and the Linux STM timer driver is
instantiated per CPU.  Enable 8 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.

Enable STM0 to STM6 and STM8 on the s32g399a-rdb3 platform.

STM7 is skipped, as it differs slightly from the others and requires
an additional property to be properly handled by the driver.

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/s32g399a-rdb3.dts

index 802f543cae4af9608a84deb26a3564072a3a069f..467e0c105c3f7a89a82d95b2cf663b2762c97bd1 100644 (file)
        status = "okay";
 };
 
+&stm0 {
+       status = "okay";
+};
+
+&stm1 {
+       status = "okay";
+};
+
+&stm2 {
+       status = "okay";
+};
+
+&stm3 {
+       status = "okay";
+};
+
+&stm4 {
+       status = "okay";
+};
+
+&stm5 {
+       status = "okay";
+};
+
+&stm6 {
+       status = "okay";
+};
+
+&stm8 {
+       status = "okay";
+};
+
 &i2c4 {
        current-sensor@40 {
                compatible = "ti,ina231";