diff mbox

arm/dts: am33xx rtc node

Message ID 1350643825-9657-1-git-send-email-afzal@ti.com (mailing list archive)
State New, archived
Headers show

Commit Message

Afzal Mohammed Oct. 19, 2012, 10:50 a.m. UTC
add am33xx rtc node.

Signed-off-by: Afzal Mohammed <afzal@ti.com>
---

Based on v3.7-rc1,
Dependent on series "rtc: omap dt support (for am33xx)",
(https://lkml.org/lkml/2012/10/19/163)
Tested on Beagle Bone.

 arch/arm/boot/dts/am33xx.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)

Comments

Afzal Mohammed Oct. 19, 2012, 10:54 a.m. UTC | #1
+ linux-omap and Daniel

On Fri, Oct 19, 2012 at 16:20:21, Mohammed, Afzal wrote:
> add am33xx rtc node.
> 
> Signed-off-by: Afzal Mohammed <afzal@ti.com>
> ---
> 
> Based on v3.7-rc1,
> Dependent on series "rtc: omap dt support (for am33xx)",
> (https://lkml.org/lkml/2012/10/19/163)
> Tested on Beagle Bone.
> 
>  arch/arm/boot/dts/am33xx.dtsi | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
> index bb31bff..356711e 100644
> --- a/arch/arm/boot/dts/am33xx.dtsi
> +++ b/arch/arm/boot/dts/am33xx.dtsi
> @@ -210,5 +210,14 @@
>  			interrupt-parent = <&intc>;
>  			interrupts = <91>;
>  		};
> +
> +		rtc {
> +			compatible = "ti,da830-rtc";
> +			ti,hwmods = "rtc";
> +			reg = <0x44e3e000 0x1000>;
> +			interrupt-parent = <&intc>;
> +			interrupts = <75
> +				      76>;
> +		};
>  	};
>  };
> -- 
> 1.7.12
> 
>
Afzal Mohammed Oct. 30, 2012, 9:39 a.m. UTC | #2
Hi Benoit,

On Friday 19 October 2012 04:20 PM, Afzal Mohammed wrote:
> add am33xx rtc node.
>
> Signed-off-by: Afzal Mohammed<afzal@ti.com>
> ---
>
> Based on v3.7-rc1,
> Dependent on series "rtc: omap dt support (for am33xx)",
> (https://lkml.org/lkml/2012/10/19/163)

The dependent series has been merged on -mm tree
and are now present in linux-next.

v2 of this patch has been sent with modification on subject
to follow new convention and removing interrupt parent.

Regards
Afzal
diff mbox

Patch

diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
index bb31bff..356711e 100644
--- a/arch/arm/boot/dts/am33xx.dtsi
+++ b/arch/arm/boot/dts/am33xx.dtsi
@@ -210,5 +210,14 @@ 
 			interrupt-parent = <&intc>;
 			interrupts = <91>;
 		};
+
+		rtc {
+			compatible = "ti,da830-rtc";
+			ti,hwmods = "rtc";
+			reg = <0x44e3e000 0x1000>;
+			interrupt-parent = <&intc>;
+			interrupts = <75
+				      76>;
+		};
 	};
 };