[PATCH] Add aliases node to 8641hpcn DTS file.

Jon Loeliger jdl at freescale.com
Thu Dec 6 05:05:07 EST 2007


On Wed, 2007-12-05 at 11:38, Grant Likely wrote:

> >
> > +       aliases {
> > +               ethernet0 = &enet0;
> > +               ethernet1 = &enet1;
> > +               ethernet2 = &enet2;
> > +               ethernet3 = &enet3;
> > +               serial0 = &serial0;
> > +               serial1 = &serial1;
> > +               pci0 = &pci0;
> > +               pci1 = &pci1;
> > +       };
> 
> I had thought aliases were supposed to be full paths to nodes instead
> of phandles.  Was I wrong?

Indeed, that is correct.  And they are!

=> fdt addr c00000
=> fdt print /aliases
aliases {
        ethernet0 = "/soc8641 at f8000000/ethernet at 24000";
        ethernet1 = "/soc8641 at f8000000/ethernet at 25000";
        ethernet2 = "/soc8641 at f8000000/ethernet at 26000";
        ethernet3 = "/soc8641 at f8000000/ethernet at 27000";
        serial0 = "/soc8641 at f8000000/serial at 4500";
        serial1 = "/soc8641 at f8000000/serial at 4600";
        pci0 = "/pcie at f8008000";
        pci1 = "/pcie at f8009000";
};
=> bootm 1000000 - c00000

Grant, you need to keep up, man.  Just this morning
I pushed Gibson's patch to DTC to support this. :-)

jdl





More information about the Linuxppc-dev mailing list