Subject: [PATCH] ARM: dts: DRA7: Add node for RTC

From: [email-masked] (Lokesh Vutla)
Date: Mon, 17 Nov 2014 18:34:49 +0530

Hi,
On Monday 17 November 2014 05:47 PM, Sergei Shtylyov wrote:
> Hello.
> 
> On 11/17/2014 7:45 AM, Lokesh Vutla wrote:
> 
>> Add node for RTC.
> 
>> Signed-off-by: Lokesh Vutla <[email-masked]>
>> [nm at ti.com: update with rtc crossbar number]
>> Signed-off-by: Nishanth Menon <[email-masked]>
>> ---
>>   arch/arm/boot/dts/dra7.dtsi | 9 +++++++++
>>   1 file changed, 9 insertions(+)
> 
>> diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi
>> index 9cc9843..f98f9f0 100644
>> --- a/arch/arm/boot/dts/dra7.dtsi
>> +++ b/arch/arm/boot/dts/dra7.dtsi
>> @@ -1075,6 +1075,15 @@
>>               status = "disabled";
>>           };
>>
>> +        rtc: rtcss at 48838000 {
> 
>    Please just name the node "rtc at 48838000", in accordance with ePAPR.
Okay. will update it.
> 
>> +            compatible = "ti,am3352-rtc";
>> +            reg = <0x48838000 0x100>;
>> +            interrupts = <GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH>,
>> +                     <GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH>;
> 
>    2 similar interrupts?
both rtc timer and rtc alarm uses same interrupt on DRA7 Soc.
Driver handles it accordingly.
So passing the same interrupt.

Thanks and regards,
Lokesh
> [...]
> WBR, Sergei