ramips: remove model name from LED labels
Like in the previous patch for ath79 target, this will remove the "devicename" from LED labels in ramips as well. The devicename is removed in DTS files and 01_leds, consolidation of definitions into DTSI files is done where (easily) possible, and migration scripts are updated. For the latter, all existing definitions were actually just devicename migrations anyway. Therefore, those are removed and a common migration file is created in target base-files. This is actually another example of how the devicename removal makes things easier. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
@@ -33,34 +33,34 @@
|
||||
compatible = "gpio-leds";
|
||||
|
||||
power {
|
||||
label = "hpm:orange:power";
|
||||
label = "orange:power";
|
||||
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
|
||||
default-state = "on";
|
||||
};
|
||||
|
||||
led_status: status {
|
||||
label = "hpm:green:status";
|
||||
label = "green:status";
|
||||
gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
|
||||
default-state = "on";
|
||||
};
|
||||
|
||||
eth {
|
||||
label = "hpm:green:eth";
|
||||
label = "green:eth";
|
||||
gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
eth2 {
|
||||
label = "hpm:red:eth";
|
||||
label = "red:eth";
|
||||
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
wifi {
|
||||
label = "hpm:green:wifi";
|
||||
label = "green:wifi";
|
||||
gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
wifi2 {
|
||||
label = "hpm:red:wifi";
|
||||
label = "red:wifi";
|
||||
gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user