public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: "Joakim Tjernlund" <joakim.tjernlund@transmode•se>
To: "'Scott Wood'" <scottwood@freescale•com>, <linuxppc-dev@ozlabs•org>
Cc: i2c@lm-sensors•org
Subject: RE: [PATCH 2/4] powerpc: Add the ds1374 RTC to the mpc8349emds devicetree.
Date: Thu, 7 Dec 2006 22:32:57 +0100	[thread overview]
Message-ID: <008e01c71a47$430d1700$020120ac@Jocke> (raw)
In-Reply-To: <20061207173457.GE22989@ld0162-tx32.am.freescale.net>

> -----Original Message-----
> From: 
> linuxppc-dev-bounces+joakim.tjernlund=transmode.se@ozlabs•org 
> [mailto:linuxppc-dev-bounces+joakim.tjernlund=transmode.se@ozl
> abs.org] On Behalf Of Scott Wood
> Sent: den 7 december 2006 18:35
> To: linuxppc-dev@ozlabs•org
> Cc: i2c@lm-sensors•org
> Subject: [PATCH 2/4] powerpc: Add the ds1374 RTC to the 
> mpc8349emds devicetree.
> 
> Signed-off-by: Scott Wood <scottwood@freescale•com>
> ---
>  arch/powerpc/boot/dts/mpc8349emds.dts |   10 ++++++++++
>  1 files changed, 10 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/powerpc/boot/dts/mpc8349emds.dts 
> b/arch/powerpc/boot/dts/mpc8349emds.dts
> index 50f4886..889a5b8 100644
> --- a/arch/powerpc/boot/dts/mpc8349emds.dts
> +++ b/arch/powerpc/boot/dts/mpc8349emds.dts
> @@ -55,12 +55,22 @@
>  		};
>  
>  		i2c@3000 {
> +			#address-cells = <1>;
> +			#size-cells = <0>;
>  			device_type = "i2c";
>  			compatible = "fsl-i2c";
>  			reg = <3000 100>;
>  			interrupts = <e 8>;
>  			interrupt-parent = <700>;
>  			dfsrr;
> +
> +			rtc@68 {
> +				device_type = "rtc";
> +				compatible = "ds1374";
> +				reg = <68>;
> +				interrupts = <13 8>;
> +				interrupt-parent = <700>;
> +			};
>  		};
>  
>  		i2c@3100 {
> -- 
> 1.4.2.3

Nice, I have a question/request though:

I have a ds1337 I2C RTC and to make the current rtc-ds1307 do
the right thing, I need to pass module param
rtc-ds1307.force=0,0x68

I would need some way to tell rtc-ds1307 that I have
a ds1337 device from my dts spec.

 Jocke

  reply	other threads:[~2006-12-07 21:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-07 17:34 [PATCH 2/4] powerpc: Add the ds1374 RTC to the mpc8349emds device tree Scott Wood
2006-12-07 21:32 ` Joakim Tjernlund [this message]
2006-12-07 21:39   ` [PATCH 2/4] powerpc: Add the ds1374 RTC to the mpc8349emds devicetree Sergei Shtylyov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='008e01c71a47$430d1700$020120ac@Jocke' \
    --to=joakim.tjernlund@transmode$(echo .)se \
    --cc=i2c@lm-sensors$(echo .)org \
    --cc=linuxppc-dev@ozlabs$(echo .)org \
    --cc=scottwood@freescale$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox