From mboxrd@z Thu Jan 1 00:00:00 1970 From: anders.berg@lsi.com (Anders Berg) Date: Thu, 24 Apr 2014 19:47:41 +0200 Subject: [PATCH v2 3/6] ARM: dts: Device tree for AXM55xx. In-Reply-To: References: <2386bd1367aa44741979461358a72dec89608597.1398335771.git.anders.berg@lsi.com> Message-ID: <20140424174741.GA23444@swsaberg01> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Thu, Apr 24, 2014 at 03:24:14PM +0200, Linus Walleij wrote: > On Thu, Apr 24, 2014 at 12:44 PM, Anders Berg wrote: > > > Add device tree for the Amarillo validation board with an AXM5516 SoC. > > > > Signed-off-by: Anders Berg > (...) > > > + timer0: timer at 2010091000 { > > + compatible = "arm,sp804", "arm,primecell"; > > + reg = <0x20 0x10091000 0 0x1000>; > > + interrupts = , > > + , > > + , > > + , > > + , > > + , > > + , > > + , > > + ; > > + clocks = <&clk_per>; > > + clock-names = "apb_pclk"; > > + status = "okay"; > > + }; > > + > > + gpio0: gpio at 2010092000 { > > + #gpio-cells = <2>; > > + compatible = "arm,pl061", "arm,primecell"; > > + gpio-controller; > > + reg = <0x20 0x10092000 0x00 0x1000>; > > + interrupts = , > > + , > > + , > > + , > > + , > > + , > > + , > > + ; > > + clocks = <&clk_per>; > > + clock-names = "apb_pclk"; > > + status = "disabled"; > > + }; > > One interrupt per CPU core? > > The drivers for these blocks will really just grab the first IRQ and > then I guess they > will only be able to execute on CPU0. > > It's definately correct to list all the IRQs here, but how do you envision > the drivers making use of them in the long run? It's one interrupt line per input pin (so with the current driver only the first pin is usable as interrupt source). /Anders > > Yours, > Linus Walleij >