ARM: dts: vt8500: list all four timer interrupts
authorAlexey Charkov <alchark@gmail.com>
Wed, 7 May 2025 06:58:33 +0000 (10:58 +0400)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 12 May 2025 06:35:24 +0000 (08:35 +0200)
VIA/WonderMedia SoC timer can generate up to four interrupts corresponding
to four timer match registers (firing when the 32-bit freerunning clock
source counter matches either of the match registers, respectively).

List all four interrupts in device trees.

This also enables the system event timer to use a match register other
than 0, which can then in turn be used as a system watchdog (watchdog
function is not available on other channels)

Signed-off-by: Alexey Charkov <alchark@gmail.com>
Link: https://lore.kernel.org/r/20250507-vt8500-timer-updates-v2-4-65e5d1b0855e@gmail.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
arch/arm/boot/dts/vt8500/vt8500.dtsi
arch/arm/boot/dts/vt8500/wm8505.dtsi
arch/arm/boot/dts/vt8500/wm8650.dtsi
arch/arm/boot/dts/vt8500/wm8750.dtsi
arch/arm/boot/dts/vt8500/wm8850.dtsi

index e64363e5fe23e859e5262115865153b7a2e690c8..3db1340b130dd454ed677e8f0e5f6e8dea1fafb5 100644 (file)
                timer@d8130100 {
                        compatible = "via,vt8500-timer";
                        reg = <0xd8130100 0x28>;
-                       interrupts = <36>;
+                       interrupts = <36>, <37>, <38>, <39>;
                };
 
                ehci@d8007900 {
index ce06baa6cecbeca2655f5e5884b37697b23ced35..fd4aca7e33f6c5e7ce95456e3a5ce2ff70bdace3 100644 (file)
                timer@d8130100 {
                        compatible = "via,vt8500-timer";
                        reg = <0xd8130100 0x28>;
-                       interrupts = <36>;
+                       interrupts = <36>, <37>, <38>, <39>;
                };
 
                ehci@d8007100 {
index 4bb0b0b3211e94f00de810582313748be4a238c7..e8c92215ae0bbfa6a2257125e695a3af5ff01997 100644 (file)
                timer@d8130100 {
                        compatible = "via,vt8500-timer";
                        reg = <0xd8130100 0x28>;
-                       interrupts = <36>;
+                       interrupts = <36>, <37>, <38>, <39>;
                };
 
                ehci@d8007900 {
index f6fe35feea12ca95f5fb744496d786fdab0196c0..0124e215e47f53cef08a36eb86935506597d3c1c 100644 (file)
                timer@d8130100 {
                        compatible = "via,vt8500-timer";
                        reg = <0xd8130100 0x28>;
-                       interrupts = <36>;
+                       interrupts = <36>, <37>, <38>, <39>;
                };
 
                ehci@d8007900 {
index d64d17f9e8cd26784d355f02e95b4117d4b0beb8..9a936a1484aab27982243cd4fff8725219b5f20b 100644 (file)
                timer@d8130100 {
                        compatible = "via,vt8500-timer";
                        reg = <0xd8130100 0x28>;
-                       interrupts = <36>;
+                       interrupts = <36>, <37>, <38>, <39>;
                };
 
                ehci@d8007900 {