#ifndef __GPIO_DA682C_H__
#define __GPIO_DA682C_H__

#define LED_NUM		8
#define LED_PORT	0x301
#define LED_PATERN	"11111111"
#define ACTIVE_LOW	1		// Active High

#define moxainb inb
#define moxaoutb outb

/* Because DA-682C BIOS has configured the superio, 
 * we don't need to configure it again. Turn the LED off.
 */
#define moxa_platform_led_init() {		\
	if ( ACTIVE_LOW )			\
		moxaoutb(0xFF, LED_PORT);	\
	else					\
		moxaoutb(0, LED_PORT);		\
}

#define superio_config(x)

#endif // ifndef __GPIO_DA682C_H__
