7ce17c1870fa5a8166a8322c63a1b9f3d304ed58
[openwrt/staging/neocturne.git] /
1 From 23be9f68f933adee8163b8efc9c6bff71410cc7c Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
3 Date: Tue, 28 Feb 2023 15:43:59 +0100
4 Subject: [PATCH] arm64: dts: broadcom: bcmbca: bcm4908: fix LED nodenames
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 This fixes:
10 arch/arm64/boot/dts/broadcom/bcmbca/bcm4908-asus-gt-ac5300.dtb: leds@800: 'led-lan@19', 'led-power@11', 'led-wan-red@12', 'led-wan-white@15', 'led-wps@14' do not match any of the regexes: '^led@[a-f0-9]+$', 'pinctrl-[0-9]+'
11 From schema: Documentation/devicetree/bindings/leds/leds-bcm63138.yaml
12
13 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
14 Link: https://lore.kernel.org/all/20230228144400.21689-2-zajec5@gmail.com/
15 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
16 ---
17 .../dts/broadcom/bcmbca/bcm4908-asus-gt-ac5300.dts | 10 +++++-----
18 1 file changed, 5 insertions(+), 5 deletions(-)
19
20 --- a/arch/arm64/boot/dts/broadcom/bcmbca/bcm4908-asus-gt-ac5300.dts
21 +++ b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4908-asus-gt-ac5300.dts
22 @@ -120,7 +120,7 @@
23 };
24
25 &leds {
26 - led-power@11 {
27 + led@11 {
28 reg = <0x11>;
29 function = LED_FUNCTION_POWER;
30 color = <LED_COLOR_ID_WHITE>;
31 @@ -130,7 +130,7 @@
32 pinctrl-0 = <&pins_led_17_a>;
33 };
34
35 - led-wan-red@12 {
36 + led@12 {
37 reg = <0x12>;
38 function = LED_FUNCTION_WAN;
39 color = <LED_COLOR_ID_RED>;
40 @@ -139,7 +139,7 @@
41 pinctrl-0 = <&pins_led_18_a>;
42 };
43
44 - led-wps@14 {
45 + led@14 {
46 reg = <0x14>;
47 function = LED_FUNCTION_WPS;
48 color = <LED_COLOR_ID_WHITE>;
49 @@ -148,7 +148,7 @@
50 pinctrl-0 = <&pins_led_20_a>;
51 };
52
53 - led-wan-white@15 {
54 + led@15 {
55 reg = <0x15>;
56 function = LED_FUNCTION_WAN;
57 color = <LED_COLOR_ID_WHITE>;
58 @@ -157,7 +157,7 @@
59 pinctrl-0 = <&pins_led_21_a>;
60 };
61
62 - led-lan@19 {
63 + led@19 {
64 reg = <0x19>;
65 function = LED_FUNCTION_LAN;
66 color = <LED_COLOR_ID_WHITE>;