lkml.org 
[lkml]   [2014]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] ARM: at91/dt: at91sam9m10g45ek add rtc node
On 02/09/2014 12:52, Erik van Luijk :
> Signed-off-by: Erik van Luijk <evanluijk@interact.nl>

Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>

and added to the at91-3.18-dt3 branch.

I also sent your remarks to the Documentation department in Atmel:
thanks a lot for your help.

> ---
> arch/arm/boot/dts/at91sam9g45.dtsi | 7 +++++++
> arch/arm/boot/dts/at91sam9m10g45ek.dts | 3 +++
> 2 files changed, 10 insertions(+)
>
> diff --git a/arch/arm/boot/dts/at91sam9g45.dtsi b/arch/arm/boot/dts/at91sam9g45.dtsi
> index 932a669..bf62c18 100644
> --- a/arch/arm/boot/dts/at91sam9g45.dtsi
> +++ b/arch/arm/boot/dts/at91sam9g45.dtsi
> @@ -1070,6 +1070,13 @@
> status = "disabled";
> };
>
> + rtc@fffffdb0 {
> + compatible = "atmel,at91rm9200-rtc";
> + reg = <0xfffffdb0 0x30>;
> + interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
> + status = "disabled";
> + };
> +
> spi0: spi@fffa4000 {
> #address-cells = <1>;
> #size-cells = <0>;
> diff --git a/arch/arm/boot/dts/at91sam9m10g45ek.dts b/arch/arm/boot/dts/at91sam9m10g45ek.dts
> index 96ccc7d..2dd2347 100644
> --- a/arch/arm/boot/dts/at91sam9m10g45ek.dts
> +++ b/arch/arm/boot/dts/at91sam9m10g45ek.dts
> @@ -70,6 +70,9 @@
>
> watchdog@fffffd40 {
> status = "okay";

BTW, there was an issue here: "};" missing..

I corrected it.

> +
> + rtc@fffffdb0 {
> + status = "okay";
> };
>
> mmc0: mmc@fff80000 {
>


--
Nicolas Ferre


\
 
 \ /
  Last update: 2014-09-18 19:01    [W:0.071 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site