ARM: dts: rockchip: fix rk3288 watchdog irq
Subsystems (2)
Heiko Stuebner
maintainerPATCH 1/1 ARM: dts: rockchip: fix rk3288 watchdog irq
The watchdog irq is actually SPI 79, which translates to the original 111 in the manual where the SPI irqs start at 32.
The current dw_wdt driver does not use the irq at all, so this issue never surfaced. Nevertheless fix this for a time we want to use the irq.
---
Found while verifying the data for the quite similar rk3368 arm64 soc.
arch/arm/boot/dts/rk3288.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/rk3288.dtsi +1 -1
@@ -626,7 +626,7 @@ compatible = "rockchip,rk3288-wdt", "snps,dw-wdt"; reg = <0xff800000 0x100>; clocks = <&cru PCLK_WDT>; - interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>; + interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>; status = "disabled"; };
Signature · 1 line
2.1.4
PATCH 1/1 ARM: dts: rockchip: fix rk3288 watchdog irq
Heiko,
Quoted 5 lines · Heiko Stuebner
The watchdog irq is actually SPI 79, which translates to the original 111 in the manual where the SPI irqs start at 32.
The currentdw_wdtdriver does not use the irq at all, so this issue never surfaced. Nevertheless fix this for a time we want to use the irq.
Quoted 7 lines
Fixes 2ab557b72d46 ("ARM: dts: rockchip: add core rk3288 dtsi")Signed-off-by Heiko Stuebner <[email protected]>---
Found while verifying the data for the quite similar rk3368 arm64 soc.arch/arm/boot/dts/rk3288.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
* gpio0 shows up in TRM as 113
* gpio0 is in dts as SPI 81
* wdt shows up in TRM as 111
* so wdt should be in dts as SPI 79
...so yup.
PATCH 1/1 ARM: dts: rockchip: fix rk3288 watchdog irq
In reply to Heiko StuebnerAm Freitag, 19. Juni 2015, 16:31:14 schrieb Heiko Stuebner:
Quoted 7 lines
The watchdog irq is actually SPI 79, which translates to the original 111 in the manual where the SPI irqs start at 32.
The currentdw_wdtdriver does not use the irq at all, so this issue never surfaced. Nevertheless fix this for a time we want to use the irq.Fixes 2ab557b72d46 ("ARM: dts: rockchip: add core rk3288 dtsi")Signed-off-by Heiko Stuebner <[email protected]>
applied to dts changes for 4.3