From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from tmnt04.transmode.se (147.175.241.83.in-addr.dgcsystems.net [83.241.175.147]) by ozlabs.org (Postfix) with ESMTP id 70C3667CA5 for ; Fri, 8 Dec 2006 08:33:07 +1100 (EST) From: "Joakim Tjernlund" To: "'Scott Wood'" , Subject: RE: [PATCH 2/4] powerpc: Add the ds1374 RTC to the mpc8349emds devicetree. Date: Thu, 7 Dec 2006 22:32:57 +0100 Message-ID: <008e01c71a47$430d1700$020120ac@Jocke> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" In-Reply-To: <20061207173457.GE22989@ld0162-tx32.am.freescale.net> Cc: i2c@lm-sensors.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > -----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 > --- > 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 = ; > 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