modified leds driver and add keys driver

Both drivers are based on platform.