Rename the system LED children to led@1..led@4. The nodes have a
reg property, so dtc wants unit addresses. The sysled driver names
the LEDs from the label property, which does not change.
Remove #address-cells and #size-cells from the eMMC card@0 node.
The node has no children with a reg property.
No functional change.
Signed-off-by: Chad Monroe <chad@monroe.io>
Link: https://github.com/openwrt/openwrt/pull/24352
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
#address-cells = <1>;
#size-cells = <0>;
- led_sys_red: system_red {
+ led_sys_red: led@1 {
label = "red";
reg = <1>;
};
- led_sys_green: system_green {
+ led_sys_green: led@2 {
label = "green";
reg = <2>;
};
- led_sys_blue: system_blue {
+ led_sys_blue: led@3 {
label = "blue";
reg = <3>;
};
- led_sys_white: system_white {
+ led_sys_white: led@4 {
label = "white";
reg = <4>;
};
#size-cells = <0>;
card@0 {
- #address-cells = <0>;
- #size-cells = <0>;
compatible = "mmc-card";
reg = <0>;