[PATCH 03/11] powerpc/85xx: Rework PCI nodes on P1020RDB

Tabi Timur-B04825 B04825 at freescale.com
Mon Oct 24 01:37:17 EST 2011


On Sat, Oct 22, 2011 at 4:20 PM, Kumar Gala <galak at kernel.crashing.org> wrote:
> * Move SoC specific details like irq mapping to SoC dtsi
> * Update interrupt property to cover both error interrupt and PCIe
>  runtime interrupts

Are we going to be doing this for all our device trees?  If so, then I
think we need to document what properties the board dts should be
defining when it includes a node from a dtsi.  Something like this:

dtsi:
               pcie at 0 {
                       /* dts should define 'reg' and 'ranges' */
                       reg = <0 0 0 0 0>;
                       #interrupt-cells = <1>;

I suppose it's obvious that 'reg' and 'ranges' should be defined, so
this isn't the best example.  But we should document if any other
properties should be defined.

For example, the SSI nodes contain a bunch of SOC- and board-specific
properties.

-- 
Timur Tabi
Linux kernel developer at Freescale


More information about the Linuxppc-dev mailing list