Re: ppc405ex GPIO mapping

2009-06-22 Thread Lada Podivin
Eh, sorry! I mean include/asm-generic/gpio.h NOT include/linux/gpio.h ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: ppc405ex GPIO mapping

2009-06-22 Thread Lada Podivin
Hi, I have the same board and I had a similar problem. I use 2.6.30, so I don't know whether 2.6.25 supports the following - however, here's my suggestion. Set these options in your kernel config: CONFIG_GPIOLIB=y and CONFIG_PPC4xx_GPIO=y. Before compilation do "export KCPPFLAGS=-DARCH_NR_GPIOS=32

ppc405ex GPIO mapping

2009-06-22 Thread Cote, Sylvain
Hi, I am using kernel 2.6.25.20 on my Kilauea eval board (ppc405ex). I want to access some GPIO's. I have configured my u-boot to reflect what GPIO configuration I need. I try to access my GPIO's in my driver. When accessing GPIO's, I get this error in the kernel <>. 0xef600800 is the bas