[PATCH 2/8] Add uli1575 pci-bridge sector to MPC8641HPCN dts file.

Andy Fleming afleming at freescale.com
Tue Jun 5 06:27:59 EST 2007


On Jun 3, 2007, at 03:33, Gabriel Paubert wrote:

> On Sun, Jun 03, 2007 at 09:41:33AM +0200, Segher Boessenkool wrote:
>>>> Oh what the hell, I'm too curious...  "pnpPNP,0" it is.
>>>>
>>>>> I believe that "8259" should appear somewhere because of the
>>>>> "8259-interrupt-acknowledge" property (defined in CHRP bindings)
>>>>> which you can have on the parent bridge to speed up interrupt
>>>>> vector acquisition.
>>>>
>>>> You're not CHRP so you have nothing to do with the CHRP
>>>> bindings...
>>>
>>> Still, you are close to CHRP
>>
>> Not at all, the rest of the device interrupt subsystem
>> is very different, too.
>
> Given how well you agree, I understand how other people
> might get a bit confused ;-)
>
> This said, I'm looking at device trees right now, and I can understand
> that interrupt-parent of the 8259 is &mpic in mpc8641_hpcn.dts, but
> I don't understand at all why it is &pci1 on the mpc85??cds.dts.
>
> But the definition of the ISA bridge in these files is very strange to
> start with: I've never seen an ISA bridge with only an interrupt  
> controller
> on it, no interrupts are connected to it and its reg property is
> almost certainly wrong. Maybe it is an example of things that should
> not be done.


I take full responsibility for that.  The CDS is a strange beast, so  
I did some strange things in the DTS.

The i8259 is on a subsidiary bus, and so it's one bus #1.  I chose  
not to create a proper node around it.  Not for any good reason.  The  
reason its interrupt parent is pci1 is because the i8259 emits its  
irq though PCI.  This is because the 8555 (and other CDS chips) are  
actually on a PCI card which is connected through PCI 1, while the  
i8259 is behind a bridge on the motherboard into which the CDS  
Carrier Card is plugged.

I always find my grammar stretched to the breaking point when  
describing the PCI topology of the CDS!

The 8641's topology is much simpler, and the i8259 sends its  
interrupts over an external interrupt pin which goes through the mpic/ 
openpic.


Andy



More information about the Linuxppc-dev mailing list