[PATCH 2/5] Add legacy devices to mpc8641_hpcn.dts

Arnd Bergmann arnd at arndb.de
Sun Jul 8 05:23:25 EST 2007


On Saturday 07 July 2007, Sergei Shtylyov wrote:
> > +                     isa at f0 {
> > +                             device_type = "isa";
> >                               #interrupt-cells = <2>;
> > -                             built-in;
> > -                             compatible = "chrp,iic";
> > -                             big-endian;
> > -                             interrupts = <49 2>;
> > -                             interrupt-parent = <&mpic>;
> > +                             #size-cells = <1>;
> > +                             #address-cells = <2>;
> > +                             reg = <f000 0 0 0 0>;
> > +                             ranges = <1 0 01000000 0 0 00001000>;
> > +                             interrupt-parent = <4d0>;
> > +
> > +                             8042 at 60 {
> > +                                     device_type = "8042";
> > +                                     reg = <1 60 1 1 64 1>;
> 
>     What does that leading 1 in the address signify?

It signifies an I/O port address instead of an MMIO address, note how
<1 60> is transformed to <1000000 0 60> on PCI, which is transformed
to mmio address <e2000000 60> in the host through the various ranges
properties.

	Arnd <><


More information about the Linuxppc-dev mailing list