Hello

I want to reconfigure gpio for leds to free some of them for using relaybox, so far i can shut leds down and use them for relays without a problem (I use TP-LINK 740N). To do that I unload kernel module leds-gpio and gpio-button-hotplug (frees qos and reset button gpio)


This is untouched gpio configuration:

gpio-0   (tp-link:green:wlan  ) out lo
gpio-1   (tp-link:green:qss   ) out lo
gpio-11  (reset               ) in  lo
gpio-13  (tp-link:green:wan   ) out lo
gpio-14  (tp-link:green:lan1  ) out lo
gpio-15  (tp-link:green:lan2  ) out lo
gpio-16  (tp-link:green:lan3  ) out lo
gpio-17  (tp-link:green:lan4  ) out hi
gpio-26  (WPS                 ) in  lo
gpio-27  (tp-link:green:system) out lo

My question is how can I reconfigure kernel gpio module, to use one led for all lan/wan ports (shared).