Re: [PATCH v2 18/29] nios2: Device tree support

2014-07-15 Thread Ley Foon Tan
On Tue, Jul 15, 2014 at 5:41 PM, Arnd Bergmann wrote: > On Tuesday 15 July 2014 16:45:45 Ley Foon Tan wrote: >> +static struct of_device_id altera_of_bus_ids[] __initdata = { >> + { .compatible = "simple-bus", }, >> + { .compatible = "altr,avalon", }, >> + {} >> +}; > > Can you c

Re: [PATCH v2 18/29] nios2: Device tree support

2014-07-15 Thread Arnd Bergmann
On Tuesday 15 July 2014 16:45:45 Ley Foon Tan wrote: > +static struct of_device_id altera_of_bus_ids[] __initdata = { > + { .compatible = "simple-bus", }, > + { .compatible = "altr,avalon", }, > + {} > +}; Can you change the avalon bus nodes to be compatible to with "simple-bus"

[PATCH v2 18/29] nios2: Device tree support

2014-07-15 Thread Ley Foon Tan
Add device tree support to arch/nios2. Signed-off-by: Ley Foon Tan --- Documentation/devicetree/bindings/nios2/nios2.txt | 62 + Documentation/devicetree/bindings/nios2/timer.txt | 19 +++ arch/nios2/boot/dts/3c120_devboard.dts| 155 ++ arch/nios2/boot/l