linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* one more question about dts
@ 2010-07-21  2:37 hacklu
  2010-07-21  2:59 ` Grant Likely
  0 siblings, 1 reply; 2+ messages in thread
From: hacklu @ 2010-07-21  2:37 UTC (permalink / raw)
  To: Grant Likely; +Cc: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 1291 bytes --]

my board is mpc8247,and i write it's dts by   imitating mpc8272's dts 

how can i set the localbus address?

localbus@f0010100 {
                compatible = "fsl,mpc8272-localbus",
                             "fsl,pq2-localbus";
                #address-cells = <2>;
                #size-cells = <1>;
                reg = <f0010100 40>;
                ranges = <
                                 0 0 70000000 1000000  #my flash1
                                 1 0 71000000 1000000  #my flash2
                                 2 ?  ???????    ???????   #how to set it for board-control?
 3  ?  ????        ????        # how to set it for pci_pic                       >;

....
 board-control@2,0 {
                        reg = <1 0 20>;
                        compatible = "fsl,mpc8272ads-bcsr";
                };
                PCI_PIC: interrupt-controller@3,0 {
                        compatible = "fsl,mpc8272ads-pci-pic",
                                     "fsl,pq2ads-pci-pic";
                        #interrupt-cells = <1>;
                        interrupt-controller;
                        reg = <3 0 8>;
                        interrupt-parent = <&PIC>;
                        interrupts = <14 8>;
                };

thanks for answering~
2010-07-21 



hacklu 

[-- Attachment #2: Type: text/html, Size: 5434 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-07-21  2:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-21  2:37 one more question about dts hacklu
2010-07-21  2:59 ` Grant Likely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).