Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9e927031 authored by Leo Yan's avatar Leo Yan Committed by Wei Xu
Browse files

arm64: dts: add sp804 timer node for Hi6220



Add sp804 timer for hi6220, so it can be used as broadcast timer.

Signed-off-by: default avatarLeo Yan <leo.yan@linaro.org>
Signed-off-by: default avatarWei Xu <xuwei5@hisilicon.com>
parent 6da3aba6
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -209,5 +209,16 @@
			clock-names = "uartclk", "apb_pclk";
			status = "disabled";
		};

		dual_timer0: timer@f8008000 {
			compatible = "arm,sp804", "arm,primecell";
			reg = <0x0 0xf8008000 0x0 0x1000>;
			interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>,
				     <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
			clocks = <&ao_ctrl HI6220_TIMER0_PCLK>,
				 <&ao_ctrl HI6220_TIMER0_PCLK>,
				 <&ao_ctrl HI6220_TIMER0_PCLK>;
			clock-names = "timer1", "timer2", "apb_pclk";
		};
	};
};