2014-10-01 16:41:59

by Alexandre Belloni

[permalink] [raw]
Subject: [PATCH] ARM: at91/dt: at91sam9rl: add rtc

Add rtc support to the at91sam9rl dtsi file.

Signed-off-by: Alexandre Belloni <[email protected]>
---
arch/arm/boot/dts/at91sam9rl.dtsi | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/arch/arm/boot/dts/at91sam9rl.dtsi b/arch/arm/boot/dts/at91sam9rl.dtsi
index ab56c8b81dfa..984468a56fa4 100644
--- a/arch/arm/boot/dts/at91sam9rl.dtsi
+++ b/arch/arm/boot/dts/at91sam9rl.dtsi
@@ -1059,6 +1059,13 @@
clocks = <&slow_rc_osc &slow_osc>;
};
};
+
+ rtc@fffffeb0 {
+ compatible = "atmel,at91rm9200-rtc";
+ reg = <0xfffffeb0 0x40>;
+ interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
+ status = "disabled";
+ };
};
};

--
1.9.1


2014-11-19 13:17:34

by Nicolas Ferre

[permalink] [raw]
Subject: Re: [PATCH] ARM: at91/dt: at91sam9rl: add rtc

On 01/10/2014 18:41, Alexandre Belloni :
> Add rtc support to the at91sam9rl dtsi file.
>
> Signed-off-by: Alexandre Belloni <[email protected]>

Acked-by: Nicolas Ferre <[email protected]>

And stacked on top of at91-3.19-dt2

Thanks, bye.

> ---
> arch/arm/boot/dts/at91sam9rl.dtsi | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/arch/arm/boot/dts/at91sam9rl.dtsi b/arch/arm/boot/dts/at91sam9rl.dtsi
> index ab56c8b81dfa..984468a56fa4 100644
> --- a/arch/arm/boot/dts/at91sam9rl.dtsi
> +++ b/arch/arm/boot/dts/at91sam9rl.dtsi
> @@ -1059,6 +1059,13 @@
> clocks = <&slow_rc_osc &slow_osc>;
> };
> };
> +
> + rtc@fffffeb0 {
> + compatible = "atmel,at91rm9200-rtc";
> + reg = <0xfffffeb0 0x40>;
> + interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
> + status = "disabled";
> + };
> };
> };
>
>


--
Nicolas Ferre