Like in the previous patches for various targets, this removes
the "devicename" from LED labels in rtl838x, as it's useless and
only creates complexity.
Since the target is fresh and so far only system LEDs were added,
this does not add a migration script.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
. /lib/functions/uci-defaults.sh
board=$(board_name)
-boardname="${board##*,}"
board_config_update
compatible = "gpio-leds";
led_sys: sys {
- label = "all-sg8208m:green:sys";
+ label = "green:sys";
gpios = <&gpio0 47 GPIO_ACTIVE_HIGH>;
};
// GPIO 25: power on/off all port leds
compatible = "gpio-leds";
led_power: power {
- label = "dgs-1210-16:green:power";
+ label = "green:power";
gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
};
};