2013-06-21 16:25:19

by Philippe Reynes

[permalink] [raw]
Subject: [PATCH] apf27dev: add rtc ds1374 to the device tree


Signed-off-by: Philippe Reynes <[email protected]>
---
arch/arm/boot/dts/imx27-apf27dev.dts | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/dts/imx27-apf27dev.dts b/arch/arm/boot/dts/imx27-apf27dev.dts
index 66b8e1c..2a377ca 100644
--- a/arch/arm/boot/dts/imx27-apf27dev.dts
+++ b/arch/arm/boot/dts/imx27-apf27dev.dts
@@ -53,6 +53,11 @@
&i2c1 {
clock-frequency = <400000>;
status = "okay";
+
+ rtc@68 {
+ compatible = "dallas,ds1374";
+ reg = <0x68>;
+ };
};

&i2c2 {
--
1.7.4.4


2013-06-24 13:12:17

by Shawn Guo

[permalink] [raw]
Subject: Re: [PATCH] apf27dev: add rtc ds1374 to the device tree

On Fri, Jun 21, 2013 at 06:24:13PM +0200, Philippe Reynes wrote:
>
> Signed-off-by: Philippe Reynes <[email protected]>

Applied, thanks.

Shawn

> ---
> arch/arm/boot/dts/imx27-apf27dev.dts | 5 +++++
> 1 files changed, 5 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/boot/dts/imx27-apf27dev.dts b/arch/arm/boot/dts/imx27-apf27dev.dts
> index 66b8e1c..2a377ca 100644
> --- a/arch/arm/boot/dts/imx27-apf27dev.dts
> +++ b/arch/arm/boot/dts/imx27-apf27dev.dts
> @@ -53,6 +53,11 @@
> &i2c1 {
> clock-frequency = <400000>;
> status = "okay";
> +
> + rtc@68 {
> + compatible = "dallas,ds1374";
> + reg = <0x68>;
> + };
> };
>
> &i2c2 {
> --
> 1.7.4.4
>