|
|
Re: [PATCH 5/6] ARM: integrator: convert AMBA devices to device tree |
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
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
[Linux ARM (vger)] [Linux ARM MSM] [Linux Omap] [Linux Arm] [Linux Tegra] [Fedora ARM] [eCos] [Linux Fastboot] [Gcc Help] [Git] [DCCP] [IETF Announce] [Security] [PDAs] [Linux] [Linux MIPS] [Yosemite Campsites] [Photos]
![]() |
![]() |