ar71xx: fix USB LED on the DB120 board
[openwrt/openwrt.git] / target / linux / ar71xx / files / arch / mips / ar71xx / mach-db120.c
index 3e7b60015ed3f062c06515d565e3fb0ac0fc575f..b997f3cb5ad1deb88b8a9be2edcc80cf9c3a8bc7 100644 (file)
@@ -116,6 +116,8 @@ static void __init db120_setup(void)
 {
        u8 *art = (u8 *) KSEG1ADDR(0x1fff0000);
 
+       ar71xx_gpio_output_select(DB120_GPIO_LED_USB, AR934X_GPIO_OUT_GPIO);
+
        ar71xx_add_device_usb();
 
        ar71xx_add_device_m25p80(&db120_flash_data);