Dez/2006 The driver is modified now. Please use the driver in the new-folder. 13/Nov/2006 This is a working version of a driver for 10 LED and up to 8 GPIO. The 8 GPIO is only vailable on the BGA-Chip-Version. With this driver you can use all pins as input and output and the LED in all modes for the ethernet-port, see datasheet. The driver is based on the version from Sergio Aguayo with any corrections for the LED-support. The driver is not compatible with the old driver ! With the tool "admgpioconfig" you can set the pins to input or output. With sending "led switch x y" (x = LED, y = mode) to the /dev/gpioX (8..17) you can set all other modes if the pin set to output first. By reading from /dev/gpioX you receive the mode you have set in output-mode or the input-state 0/1 in input-mode. The blink-modus on LED is only the hardware-led-flash-mode. You must modify your start-scipts to set up the dev-entries like: for i in 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 do; mknod /dev/gpio$i c167 $i; done No /dev/ledX is supported. --------------------------------------------------------------------------- Please not ! if you remove the LEDs from the borad in input mode you have open CMOS pins ! No pullup or pulldown resistor are vailable. Open CMOS pins are highly sensitiv for static voltage ! You can damage your device ! --------------------------------------------------------------------------- The driver is alpha, the logic of the code is not consistent. So i will rewrite the code to differentiate "mode" and "value" and support all 15 LED. For compiling your kernel with this version you have to copy the led_new.c/led_new.h as led.c/led.h to your kernel folder linux/arch/mips/am5120/. Or with the kamikaze from http://midge.vlad.org.ua you can use the 2 patches 202-... and 203-... . ( if you only use the 202-... patch you have 15 LED for output only, compatible with the original)