Re: [PATCH] ARM: realview: basic device tree implementation

2014-05-08 Thread Arnd Bergmann
On Thursday 08 May 2014 13:20:19 Linus Walleij wrote: > On Wed, Mar 26, 2014 at 10:09 AM, Arnd Bergmann wrote: > > > Catalin originally added the sparsemem hack. I asked him today about > > it, and he also thinks that sparsemem without the hack should work, > > as long as there is highmem support

Re: [PATCH] ARM: realview: basic device tree implementation

2014-05-08 Thread Linus Walleij
On Wed, Mar 26, 2014 at 10:09 AM, Arnd Bergmann wrote: > Catalin originally added the sparsemem hack. I asked him today about > it, and he also thinks that sparsemem without the hack should work, > as long as there is highmem support. I think we can either do away > with it entirely, or use the p

Re: [PATCH] ARM: realview: basic device tree implementation

2014-05-08 Thread Linus Walleij
On Wed, Mar 26, 2014 at 10:09 AM, Arnd Bergmann wrote: > I don't know if the ATAGS are actually correct in common boot loaders, > since the kernel has been overriding them for ages. The RealView U-Boot has not seen a commit since 2010 when Peter Pearse retired but appears to pass incorrect ATAGs

Re: [PATCH] ARM: realview: basic device tree implementation

2014-05-08 Thread Linus Walleij
On Wed, Mar 26, 2014 at 6:59 AM, Rob Herring wrote: > On Wed, Mar 26, 2014 at 4:27 AM, Linus Walleij > wrote: >> + if (of_machine_is_compatible("arm,realview-eb")) >> + /* >> +* 1MB (128KB/way), 8-way associativity, >> +* evmon/parity/share en

Re: [PATCH] ARM: realview: basic device tree implementation

2014-05-08 Thread Linus Walleij
On Wed, Mar 26, 2014 at 3:56 AM, Arnd Bergmann wrote: >> + timer01: timer@10104000 { >> + compatible = "arm,sp804", "arm,primecell"; >> + reg = <0x10104000 0x1000>; >> + interrupt-parent = <&intc_dc1176>; >> +

Re: [PATCH] ARM: realview: basic device tree implementation

2014-03-26 Thread Arnd Bergmann
On Wednesday 26 March 2014 11:56:30 Arnd Bergmann wrote: > > + /* > > + * Generic RealView fixup > > + * Most RealView platforms have 512MB contiguous RAM at 0x7000. > > + * Half of this is mirrored at 0. > > + */ > > + else { > > +#ifdef CONFIG_REALVIEW_HIGH_PHYS_OF

Re: [PATCH] ARM: realview: basic device tree implementation

2014-03-26 Thread Arnd Bergmann
On Wednesday 26 March 2014 08:59:32 Rob Herring wrote: > On Wed, Mar 26, 2014 at 4:27 AM, Linus Walleij > wrote: > > menu "RealView platform type" > > depends on ARCH_REALVIEW > > > > +config REALVIEW_DT > > + bool "Support RealView(R) Device Tree based boot" > > + select ARM

Re: [PATCH] ARM: realview: basic device tree implementation

2014-03-26 Thread Rob Herring
On Wed, Mar 26, 2014 at 4:27 AM, Linus Walleij wrote: > This implements basic device tree boot support for the RealView > platforms, with a basic device tree for ARM PB1176 as an example. > > The implementation is done with a new DT-specific board file > using only pre-existing bindings for the ba

Re: [PATCH] ARM: realview: basic device tree implementation

2014-03-26 Thread Arnd Bergmann
On Wednesday 26 March 2014 10:27:40 Linus Walleij wrote: > This implements basic device tree boot support for the RealView > platforms, with a basic device tree for ARM PB1176 as an example. > > The implementation is done with a new DT-specific board file > using only pre-existing bindings for the

[PATCH] ARM: realview: basic device tree implementation

2014-03-26 Thread Linus Walleij
This implements basic device tree boot support for the RealView platforms, with a basic device tree for ARM PB1176 as an example. The implementation is done with a new DT-specific board file using only pre-existing bindings for the basic IRQ, timer and serial port drivers. A new compatible type is