8devices / carambola

Carambola - RT305x/SoC based PCB
http://openwrt.org/
GNU General Public License v2.0
26 stars 12 forks source link

GPIO pin interrupt IRQ's #7

Open Zodiac-69 opened 11 years ago

Zodiac-69 commented 11 years ago

Every GPIO pin can generate an interrupt with number 40 + GPIO pin number. But the init code set the max value to 48 - irq.h - "#define NR_IRQS 48" Thus GPIO(1) to GPIO(8) only.

Please increase this to at least 54, this will give us IRQ's for all the GPIO's available to us.

Zodiac69

8devices commented 11 years ago

I will take a look at this once I am done with OpenWRT upstream merging (2 month schedule, #6)

Zodiac-69 commented 11 years ago

I see that in "carambola-master\target\linux\ramips\files\arch\mips\include\asm\mach-ralink\rt305x\irq.h" the number of IRQ's is still only 8 - #define NR_IRQS 48

No plan to increase this to the full 14 I/O's that are available to us?