All of lore.kernel.org
 help / color / mirror / Atom feed
From: "hacklu" <embedway.test@gmail.com>
To: "Grant Likely" <grant.likely@secretlab.ca>
Cc: linuxppc-dev <linuxppc-dev@lists.ozlabs.org>
Subject: one more question about dts
Date: Wed, 21 Jul 2010 10:37:58 +0800	[thread overview]
Message-ID: <201007211037566748594@gmail.com> (raw)

[-- 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 --]

             reply	other threads:[~2010-07-21  2:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-21  2:37 hacklu [this message]
2010-07-21  2:59 ` one more question about dts Grant Likely

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201007211037566748594@gmail.com \
    --to=embedway.test@gmail.com \
    --cc=grant.likely@secretlab.ca \
    --cc=linuxppc-dev@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.