On Thursday 16 August 2012, Linus Walleij wrote:
> +       fpga {
> +               compatible = "arm,amba-bus", "simple-bus";
> +               #address-cells = <1>;
> +               #size-cells = <1>;
> +               ranges;
> +
> +               rtc: rtc@15000000 {
> +                       compatible = "arm,pl031", "arm,primecell";
> +                       reg = <0x15000000 0x1000>;
> +                       interrupt-parent = <&pic>;
> +                       interrupts = <8>;
> +                       arm,primecell-periphid = <0x00041030>;
> +               };
> +
> +               uart0: uart@16000000 {
> +                       compatible = "arm,pl011", "arm,primecell";
> +                       reg = <0x16000000 0x1000>;
> +                       interrupt-parent = <&pic>;
> +                       interrupts = <1>;
> +                       arm,primecell-periphid = <0x00041010>;
> +               };
> +
> +               uart1: uart@17000000 {
> +                       compatible = "arm,pl011", "arm,primecell";
> +                       reg = <0x17000000 0x1000>;
> +                       interrupt-parent = <&pic>;
> +                       interrupts = <2>;
> +                       arm,primecell-periphid = <0x00041010>;
> +               };

When all devices set the same interrupt-parent, you can just as well
move that property to the fpga node.

        Arnd
_______________________________________________
devicetree-discuss mailing list
[email protected]
https://lists.ozlabs.org/listinfo/devicetree-discuss

Reply via email to