[PATCH] Update kuroboxH[GD].dts with i2c rtc entries, cleanup

Guennadi Liakhovetski g.liakhovetski at gmx.de
Mon Jul 23 15:28:12 EST 2007


On Mon, 23 Jul 2007, David Gibson wrote:

> On Sun, Jul 22, 2007 at 12:43:11AM +0200, Guennadi Liakhovetski wrote:
> [snip]
> > @@ -64,11 +62,19 @@ build with: "dtc -f -I dts -O dtb -o kuroboxHD.dtb -V 16 kuroboxHD.dts"
> >  			  fef00000 fef00000 00100000>;	/* pci iack */
> >  
> >  		i2c at 80003000 {
> > +			#address-cells = <1>;
> > +			#size-cells = <0>;
> >  			device_type = "i2c";
> >  			compatible = "fsl-i2c";
> >  			reg = <80003000 1000>;
> >  			interrupts = <5 2>;
> >  			interrupt-parent = <&mpic>;
> > +
> > +			rtc at 32 {
> > +				device_type = "rtc";
> > +				compatible = "ricoh,rs5c372b";
> > +				reg = <32>;
> 
> Ok, just making sure that rtc at 0x32 (decimal 50) is correct, rather
> than at decimal 32.

Yes, it is. I even tested it:-)

Thanks
Guennadi
---
Guennadi Liakhovetski



More information about the Linuxppc-dev mailing list