Re: [ORLinux] [PATCH] openrisc: Add DTS and defconfig for DE0-Nano

2013-11-17 Thread Jonas Bonn
Hi Olof, I think this discussion is veering away from what's relevant for the linux-kernel and devicetree lists and did consider dropping them at this point... but let's leave them in the discussion a bit longer in case there's some sage guidance to be found there on the topic of doing sane v

Re: [ORLinux] [PATCH] openrisc: Add DTS and defconfig for DE0-Nano

2013-11-16 Thread Olof Kindgren
2013/11/16 Stefan Kristiansson > > On Fri, Nov 15, 2013 at 10:50:18AM +0100, Jonas Bonn wrote: > > >+ > > >+i2c0: ocores@a000 { > > >+#address-cells = <1>; > > >+#size-cells = <0>; > > >+compatible = "opencores,i2c-ocores"; > > > > Version number needed.

Re: [ORLinux] [PATCH] openrisc: Add DTS and defconfig for DE0-Nano

2013-11-15 Thread Mark Rutland
[...] > Version number needed. OpenCores wanted "projectname-rtlsvn###" where > ### > is the SVN commit number of the RTL directory in the project's source > repository. > > >>> > >>> That's gonna need some information diving, as Stefan's orpsoc git > >>> repositories > >

Re: [ORLinux] [PATCH] openrisc: Add DTS and defconfig for DE0-Nano

2013-11-15 Thread Jonas Bonn
On 11/15/2013 12:39 PM, Olof Kindgren wrote: 2013/11/15 Jonas Bonn On 11/15/2013 11:22 AM, Geert Uytterhoeven wrote: This should probably be "altera,de0_nano". We also need to put a version "terasic,de0_nano"? The board says "Designed and manufactured by Terasic". Hmm, the sticker on th

Re: [ORLinux] [PATCH] openrisc: Add DTS and defconfig for DE0-Nano

2013-11-15 Thread Geert Uytterhoeven
On Fri, Nov 15, 2013 at 12:39 PM, Olof Kindgren wrote: > More generally, can Linux use out-of-tree DTS files in an easy way? It's > handy to have them in the kernel, but the best fit might actually be to put > them in the corresponding orpsocv3 system directory. That would also make it > easier to

Re: [ORLinux] [PATCH] openrisc: Add DTS and defconfig for DE0-Nano

2013-11-15 Thread Andrew Back
On 15 November 2013 10:10, Geert Uytterhoeven wrote: > On Fri, Nov 15, 2013 at 11:04 AM, Andrew Back wrote: >> P012060013 >> 94V-0 >> HL9-VO > > Same here. > >> 1227 F > > Mine says "1321 F" > > Do you have the 8 MiB Spansion FL064PIF? Yes. Although it looks as though someone has drawn over the

Re: [ORLinux] [PATCH] openrisc: Add DTS and defconfig for DE0-Nano

2013-11-15 Thread Geert Uytterhoeven
On Fri, Nov 15, 2013 at 11:04 AM, Andrew Back wrote: > P012060013 > 94V-0 > HL9-VO Same here. > 1227 F Mine says "1321 F" Do you have the 8 MiB Spansion FL064PIF? > Plus a barcode sticker which I assume is the S/N. Idem ditto. And the last 4 digits don't match the sticker on the box. Hmm...

Re: [ORLinux] [PATCH] openrisc: Add DTS and defconfig for DE0-Nano

2013-11-15 Thread Andrew Back
On 15 November 2013 09:52, Jonas Bonn wrote: > On 11/10/2013 06:51 AM, Stefan Kristiansson wrote: >> >> On Sat, Nov 09, 2013 at 09:37:31PM +0100, Geert Uytterhoeven wrote: >>> >>> Notable changes: >>>- Change flash0 to spansion,s25sl064p, due to kernel message >>> m25p80 spi32766.0: found

Re: [ORLinux] [PATCH] openrisc: Add DTS and defconfig for DE0-Nano

2013-11-15 Thread Jonas Bonn
On 11/10/2013 06:51 AM, Stefan Kristiansson wrote: On Sat, Nov 09, 2013 at 09:37:31PM +0100, Geert Uytterhoeven wrote: Notable changes: - Change flash0 to spansion,s25sl064p, due to kernel message m25p80 spi32766.0: found s25sl064p, expected m25p10 This is due to Altera changing the EP

Re: [ORLinux] [PATCH] openrisc: Add DTS and defconfig for DE0-Nano

2013-11-10 Thread Geert Uytterhoeven
On Sun, Nov 10, 2013 at 6:51 AM, Stefan Kristiansson wrote: > On Sat, Nov 09, 2013 at 09:37:31PM +0100, Geert Uytterhoeven wrote: >> Add a DTS and defconfig for the Terasic DE0-Nano Development and Education >> Board running ORPSoC. This board contains an Altera Cyclone IV FPGA with >> support ch

Re: [ORLinux] [PATCH] openrisc: Add DTS and defconfig for DE0-Nano

2013-11-09 Thread Stefan Kristiansson
On Sat, Nov 09, 2013 at 09:37:31PM +0100, Geert Uytterhoeven wrote: > Add a DTS and defconfig for the Terasic DE0-Nano Development and Education > Board running ORPSoC. This board contains an Altera Cyclone IV FPGA with > support chips and I/O. > > The DTS was derived from published versions by K