[PATCH] ARM: dts: pxa168: add timer reset and clock

Doug Brown doug at schmorgal.com
Sun Jun 12 12:48:12 PDT 2022


The timer was missing the clock and reset like the other peripherals
have assigned. This was causing the timer to stop working during boot.

Signed-off-by: Doug Brown <doug at schmorgal.com>
---
 arch/arm/boot/dts/pxa168.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/pxa168.dtsi b/arch/arm/boot/dts/pxa168.dtsi
index 4fe7735c7c58..16212b912b94 100644
--- a/arch/arm/boot/dts/pxa168.dtsi
+++ b/arch/arm/boot/dts/pxa168.dtsi
@@ -53,6 +53,8 @@ timer0: timer at d4014000 {
 				compatible = "mrvl,mmp-timer";
 				reg = <0xd4014000 0x100>;
 				interrupts = <13>;
+				clocks = <&soc_clocks PXA168_CLK_TIMER>;
+				resets = <&soc_clocks PXA168_CLK_TIMER>;
 			};
 
 			uart1: serial at d4017000 {
-- 
2.25.1




More information about the linux-arm-kernel mailing list