For the latest B4 sabresd board, GPIO_1 is connected to PRO_B, we
use this pin as battery charge_done led control, need to avoid using
this pin as GPIO for B4 board, or system will reboot when this pin's
level is changed.
Signed-off-by: Anson Huang <b20788@freescale.com>
static struct gpio_led imx6q_gpio_leds[] = {
GPIO_LED(SABRESD_CHARGE_NOW, "chg_now_led", 0, 1,
"charger-charging"),
+/* For the latest B4 board, this GPIO_1 is connected to POR_B,
+which will reset the whole board if this pin's level is changed,
+so, for the latest board, we have to avoid using this pin as
+GPIO. */
+#if 0
GPIO_LED(SABRESD_CHARGE_DONE, "chg_done_led", 0, 1,
"charger-full"),
+#endif
};
static struct gpio_led_platform_data imx6q_gpio_leds_data = {