Keep TP-Link TL-WR902AC v1 power LED always on
authorPiotr Dymacz <pepe2k@gmail.com>
Sun, 6 Aug 2017 17:59:46 +0000 (19:59 +0200)
committerPiotr Dymacz <pepe2k@gmail.com>
Sun, 6 Aug 2017 17:59:46 +0000 (19:59 +0200)
All LEDs in TL-WR902AC v1 are controlled by GPIOs and there is no usual
"power" LED, connected to the VCC. This makes one of the LEDs (marked as
"power" on the enclosure) always turned on.

u-boot/include/configs/ap143.h

index cb451aa29649eda4befc5934e7ba0261b07ea66b..eb662ffcee3fb7ea2654f81ae3159159c835b2af 100644 (file)
 
 #elif defined(CONFIG_FOR_TPLINK_WR902AC_V1)
 
-       #define CONFIG_QCA_GPIO_MASK_LED_ACT_H  GPIO4 | GPIO13 | GPIO15
+       #define CONFIG_QCA_GPIO_MASK_LED_ACT_H  GPIO4 | GPIO15
        #define CONFIG_QCA_GPIO_MASK_LED_ACT_L  GPIO0 | GPIO11 | GPIO12
-       #define CONFIG_QCA_GPIO_MASK_OUT        GPIO1 |\
+       #define CONFIG_QCA_GPIO_MASK_OUT        GPIO1 | GPIO13 |\
                                                CONFIG_QCA_GPIO_MASK_LED_ACT_H |\
                                                CONFIG_QCA_GPIO_MASK_LED_ACT_L
        #define CONFIG_QCA_GPIO_MASK_IN         GPIO2 | GPIO3 | GPIO14 | GPIO17
-       #define CONFIG_QCA_GPIO_MASK_OUT_INIT_H GPIO1 |\
+       #define CONFIG_QCA_GPIO_MASK_OUT_INIT_H GPIO1 | GPIO13 |\
                                                CONFIG_QCA_GPIO_MASK_LED_ACT_L
        #define CONFIG_QCA_GPIO_MASK_OUT_INIT_L CONFIG_QCA_GPIO_MASK_LED_ACT_H