i meet some surprising things,when i modify the dts file

hacklu embedway.test at gmail.com
Thu Jul 29 16:08:53 EST 2010

 localbus at f0010100 {
                ranges = <
                                 0 0 FC000000 1000000   
                                 2 0 FA000000 1000000   
                                 1 0 70000000 1000000
                flash at 0,0{


flash at 2,0{


         board-control at 1,0{


this is part of my dts files. I don't kown what each field means in the config rangs.
for instance, 2 0 FA000000 1000000 .
I only konw this:
"2" is means chip selects.
"0" is what?
"Fa00000" means the start address.
"1000000" means the range of the device

but ,I got some puzzled.
when I set the two flash in the 0,1 chips select or 0,2 chips select my linux works well.
and, the board-control only can be set at 1 chis select,otherwise the pci doesn't be detected.

so , what is the chips select? is it based on hardware? but my flash can use 0,1,2 chips select.
or it is just set by software? but my pci devece can only work in 1 chips select.

I also want to know how to write the dts file. I want to understand each node in the dts files.
but I can't get enough documents. I have readed the linux/document/...
could you privode me some useful information?

thank you ver much~


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20100729/7d438e65/attachment-0001.html>

More information about the Linuxppc-dev mailing list