From ec48487d97f760d0182306ef1bfcf08636dd59e5 Mon Sep 17 00:00:00 2001 From: Chad Monroe Date: Mon, 10 Aug 2026 19:49:32 -0700 Subject: [PATCH] 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 Link: https://github.com/openwrt/openwrt/pull/24352 Signed-off-by: Jonas Jelonek --- .../linux/mediatek/dts/mt7988a-smartrg-mt-stuart.dtsi | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/target/linux/mediatek/dts/mt7988a-smartrg-mt-stuart.dtsi b/target/linux/mediatek/dts/mt7988a-smartrg-mt-stuart.dtsi index 07d75a0f722..b4a05e0bc04 100644 --- a/target/linux/mediatek/dts/mt7988a-smartrg-mt-stuart.dtsi +++ b/target/linux/mediatek/dts/mt7988a-smartrg-mt-stuart.dtsi @@ -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>;