Skip to content

Commit e58afb3

Browse files
alcharkkrzk
authored andcommitted
ARM: dts: vt8500: list all four timer interrupts
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Krzysztof Kozlowski <[email protected]>
1 parent 7314374 commit e58afb3

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

arch/arm/boot/dts/vt8500/vt8500.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
timer@d8130100 {
112112
compatible = "via,vt8500-timer";
113113
reg = <0xd8130100 0x28>;
114-
interrupts = <36>;
114+
interrupts = <36>, <37>, <38>, <39>;
115115
};
116116

117117
ehci@d8007900 {

arch/arm/boot/dts/vt8500/wm8505.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@
209209
timer@d8130100 {
210210
compatible = "via,vt8500-timer";
211211
reg = <0xd8130100 0x28>;
212-
interrupts = <36>;
212+
interrupts = <36>, <37>, <38>, <39>;
213213
};
214214

215215
ehci@d8007100 {

arch/arm/boot/dts/vt8500/wm8650.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@
181181
timer@d8130100 {
182182
compatible = "via,vt8500-timer";
183183
reg = <0xd8130100 0x28>;
184-
interrupts = <36>;
184+
interrupts = <36>, <37>, <38>, <39>;
185185
};
186186

187187
ehci@d8007900 {

arch/arm/boot/dts/vt8500/wm8750.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@
253253
timer@d8130100 {
254254
compatible = "via,vt8500-timer";
255255
reg = <0xd8130100 0x28>;
256-
interrupts = <36>;
256+
interrupts = <36>, <37>, <38>, <39>;
257257
};
258258

259259
ehci@d8007900 {

arch/arm/boot/dts/vt8500/wm8850.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@
240240
timer@d8130100 {
241241
compatible = "via,vt8500-timer";
242242
reg = <0xd8130100 0x28>;
243-
interrupts = <36>;
243+
interrupts = <36>, <37>, <38>, <39>;
244244
};
245245

246246
ehci@d8007900 {

0 commit comments

Comments
 (0)