generic: swconfig: add mode led attribute