diff mbox series

[v3,3/4] arm64: dts: add RTC nodes for MT2712

Message ID 20200226051303.22560-4-ran.bi@mediatek.com (mailing list archive)
State New, archived
Headers show
Series Add Support for MediaTek MT2712 RTC | expand

Commit Message

Ran Bi Feb. 26, 2020, 5:13 a.m. UTC
This patch add device node for MT2712 RTC.

Signed-off-by: Ran Bi <ran.bi@mediatek.com>
---
 arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Matthias Brugger March 15, 2020, 6:48 p.m. UTC | #1
On 26/02/2020 06:13, Ran Bi wrote:
> This patch add device node for MT2712 RTC.
> 
> Signed-off-by: Ran Bi <ran.bi@mediatek.com>

Applied to v5.6-next/dts64

Thanks!

> ---
>  arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi
> index 43307bad3f0d..31166c17c39a 100644
> --- a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi
> @@ -303,6 +303,12 @@ uart5: serial@1000f000 {
>  		status = "disabled";
>  	};
>  
> +	rtc: rtc@10011000 {
> +		compatible = "mediatek,mt2712-rtc";
> +		reg = <0 0x10011000 0 0x1000>;
> +		interrupts = <GIC_SPI 239 IRQ_TYPE_LEVEL_LOW>;
> +	};
> +
>  	spis1: spi@10013000 {
>  		compatible = "mediatek,mt2712-spi-slave";
>  		reg = <0 0x10013000 0 0x100>;
>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi
index 43307bad3f0d..31166c17c39a 100644
--- a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi
@@ -303,6 +303,12 @@  uart5: serial@1000f000 {
 		status = "disabled";
 	};
 
+	rtc: rtc@10011000 {
+		compatible = "mediatek,mt2712-rtc";
+		reg = <0 0x10011000 0 0x1000>;
+		interrupts = <GIC_SPI 239 IRQ_TYPE_LEVEL_LOW>;
+	};
+
 	spis1: spi@10013000 {
 		compatible = "mediatek,mt2712-spi-slave";
 		reg = <0 0x10013000 0 0x100>;