mediatek: filogic: mt-stuart: fix dtc warnings

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>
This commit is contained in:
Chad Monroe authored and Jonas Jelonek committed 2026-08-11 22:13:08 +02:00
1 parent fe1158a99d
commit ec48487d97
1 file changed
+4 -6
@@ -387,22 +387,22 @@
#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>;
};
@@ -497,8 +497,6 @@
#size-cells = <0>;
card@0 {
#address-cells = <0>;
#size-cells = <0>;
compatible = "mmc-card";
reg = <0>;