On Tue, 16 Dec 2014, Boris Brezillon wrote:
> On Tue, 16 Dec 2014 13:56:26 +0100 (CET)
> Okay, that's what I had in mind, thanks for clarifying this aspect.
> 
> Regarding the DT representation, it should look like this, right ?
> 
> aic: interrupt-controller@fffff000 {
>       #interrupt-cells = <3>;
>       compatible = "atmel,at91rm9200-aic";
>       interrupt-controller;
>       reg = <0xfffff000 0x200>;
>       atmel,external-irqs = <29 30 31>;
> 
>       irq1_demux: irq1-demux {
>               #interrupt-cells = <1>;
>               interrupt-controller;
>       }
> };
> 
> pit: timer@fffffd30 {
>       compatible = "atmel,at91sam9260-pit";
>       reg = <0xfffffd30 0xf>;
>       /* 0 is the id reserved for the PIT */
>       interrupts-extended = <&irq1_demux 0>;
>       clocks = <&mck>;
> };
> 
> pmc: pmc@fffffc00 {
>       compatible = "atmel,at91sam9260-pmc";
>       reg = <0xfffffc00 0x100>;
>       /* 1 is the id reserved for the PMC */
>       interrupts-extended = <&irq1_demux 1>;

Not that I'm a DT expert, but that looks about right.

Thanks,

        tglx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to