Thread (1 message) 1 message, 1 author, 2012-08-16

Re: [PATCH 5/6] ARM: integrator: convert AMBA devices to device tree

From: Arnd Bergmann <hidden>
Date: 2012-08-16 13:56:38
Also in: linux-arm-kernel

Possibly related (same subject, not in this thread)

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help