diff mbox

[V2] ARM: dts: DRA7: Add node for RTC

Message ID 1416399788-27557-1-git-send-email-lokeshvutla@ti.com (mailing list archive)
State New, archived
Headers show

Commit Message

Lokesh Vutla Nov. 19, 2014, 12:23 p.m. UTC
Add node for RTC.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
[nm@ti.com: update with rtc crossbar number]
Signed-off-by: Nishanth Menon <nm@ti.com>
---
Changes since v1:
- Fixed rtc dt node label.
 arch/arm/boot/dts/dra7.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)

Comments

Tony Lindgren Nov. 22, 2014, midnight UTC | #1
* Lokesh Vutla <lokeshvutla@ti.com> [141119 04:26]:
> Add node for RTC.
> 
> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
> [nm@ti.com: update with rtc crossbar number]
> Signed-off-by: Nishanth Menon <nm@ti.com>

Applying into omap-for-v3.19/dt-v2 thanks.

Tony

> ---
> Changes since v1:
> - Fixed rtc dt node label.
>  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..5d92562 100644
> --- a/arch/arm/boot/dts/dra7.dtsi
> +++ b/arch/arm/boot/dts/dra7.dtsi
> @@ -1075,6 +1075,15 @@
>  			status = "disabled";
>  		};
>  
> +		rtc@48838000 {
> +			compatible = "ti,am3352-rtc";
> +			reg = <0x48838000 0x100>;
> +			interrupts = <GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH>,
> +				     <GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH>;
> +			ti,hwmods = "rtcss";
> +			clocks = <&sys_32k_ck>;
> +		};
> +
>  		omap_control_usb2phy1: control-phy@4a002300 {
>  			compatible = "ti,control-phy-usb2";
>  			reg = <0x4a002300 0x4>;
> -- 
> 1.9.1
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi
index 9cc9843..5d92562 100644
--- a/arch/arm/boot/dts/dra7.dtsi
+++ b/arch/arm/boot/dts/dra7.dtsi
@@ -1075,6 +1075,15 @@ 
 			status = "disabled";
 		};
 
+		rtc@48838000 {
+			compatible = "ti,am3352-rtc";
+			reg = <0x48838000 0x100>;
+			interrupts = <GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH>;
+			ti,hwmods = "rtcss";
+			clocks = <&sys_32k_ck>;
+		};
+
 		omap_control_usb2phy1: control-phy@4a002300 {
 			compatible = "ti,control-phy-usb2";
 			reg = <0x4a002300 0x4>;