1 From af84101e3f2258a303fa2461ebec0878ce23ea10 Mon Sep 17 00:00:00 2001
2 From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
3 Date: Fri, 25 Nov 2022 15:41:27 +0100
4 Subject: [PATCH] ARM: dts: broadcom: align LED node names with dtschema
6 The node names should be generic and DT schema expects certain pattern:
8 bcm4708-asus-rt-ac68u.dtb: leds: 'logo', 'power', 'usb2', 'usb3' do not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+'
10 Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
11 Link: https://lore.kernel.org/r/20221125144128.477059-1-krzysztof.kozlowski@linaro.org
12 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
14 arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts | 15 +++++-----
15 arch/arm/boot/dts/bcm4708-asus-rt-ac68u.dts | 8 +++---
16 .../bcm4708-buffalo-wzr-1166dhp-common.dtsi | 16 +++++------
17 .../boot/dts/bcm4708-buffalo-wzr-1750dhp.dts | 16 +++++------
18 arch/arm/boot/dts/bcm4708-luxul-xap-1510.dts | 6 ++--
19 arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts | 2 +-
20 arch/arm/boot/dts/bcm4708-netgear-r6250.dts | 10 +++----
21 .../arm/boot/dts/bcm4708-netgear-r6300-v2.dts | 10 +++----
22 arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts | 22 +++++++--------
23 arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts | 10 +++----
24 .../boot/dts/bcm47081-buffalo-wzr-600dhp2.dts | 14 +++++-----
25 .../boot/dts/bcm47081-buffalo-wzr-900dhp.dts | 16 +++++------
26 arch/arm/boot/dts/bcm47081-luxul-xap-1410.dts | 6 ++--
27 arch/arm/boot/dts/bcm47081-luxul-xwr-1200.dts | 20 ++++++-------
28 .../boot/dts/bcm47081-tplink-archer-c5-v2.dts | 18 ++++++------
29 arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts | 6 ++--
30 .../boot/dts/bcm4709-buffalo-wxr-1900dhp.dts | 18 ++++++------
31 arch/arm/boot/dts/bcm4709-netgear-r7000.dts | 16 +++++------
32 arch/arm/boot/dts/bcm4709-netgear-r8000.dts | 22 +++++++--------
33 .../boot/dts/bcm4709-tplink-archer-c9-v1.dts | 18 ++++++------
34 arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts | 12 ++++----
35 arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts | 14 +++++-----
36 arch/arm/boot/dts/bcm47094-dlink-dir-890l.dts | 16 +++++------
37 .../boot/dts/bcm47094-linksys-panamera.dts | 28 +++++++++----------
38 arch/arm/boot/dts/bcm47094-luxul-abr-4500.dts | 4 +--
39 arch/arm/boot/dts/bcm47094-luxul-xap-1610.dts | 6 ++--
40 arch/arm/boot/dts/bcm47094-luxul-xbr-4500.dts | 4 +--
41 arch/arm/boot/dts/bcm47094-luxul-xwc-2000.dts | 2 +-
42 arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts | 20 ++++++-------
43 .../boot/dts/bcm47094-luxul-xwr-3150-v1.dts | 10 +++----
44 arch/arm/boot/dts/bcm47094-netgear-r8500.dts | 14 +++++-----
45 arch/arm/boot/dts/bcm47189-luxul-xap-1440.dts | 4 +--
46 arch/arm/boot/dts/bcm47189-luxul-xap-810.dts | 10 +++----
47 arch/arm/boot/dts/bcm47189-tenda-ac9.dts | 14 +++++-----
48 .../boot/dts/bcm53016-dlink-dwl-8610ap.dts | 8 +++---
49 arch/arm/boot/dts/bcm53016-meraki-mr32.dts | 6 ++--
50 arch/arm/boot/dts/bcm947189acdbmr.dts | 6 ++--
51 37 files changed, 223 insertions(+), 224 deletions(-)
53 --- a/arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts
54 +++ b/arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts
57 compatible = "gpio-leds";
61 label = "bcm53xx:blue:usb3";
62 gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
67 label = "bcm53xx:blue:wan";
68 gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
73 label = "bcm53xx:blue:lan";
74 gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
79 label = "bcm53xx:blue:power";
80 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
81 linux,default-trigger = "default-on";
86 label = "bcm53xx:blue:all";
87 gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
88 linux,default-trigger = "default-on";
93 label = "bcm53xx:blue:2ghz";
94 gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
100 label = "bcm53xx:blue:usb2";
101 gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
103 --- a/arch/arm/boot/dts/bcm4708-asus-rt-ac68u.dts
104 +++ b/arch/arm/boot/dts/bcm4708-asus-rt-ac68u.dts
107 compatible = "gpio-leds";
111 label = "bcm53xx:blue:usb2";
112 gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
117 label = "bcm53xx:blue:power";
118 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
119 linux,default-trigger = "default-on";
124 label = "bcm53xx:white:logo";
125 gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
126 linux,default-trigger = "default-on";
131 label = "bcm53xx:blue:usb3";
132 gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
134 --- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1166dhp-common.dtsi
135 +++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1166dhp-common.dtsi
138 compatible = "gpio-leds";
142 /* label = "bcm53xx:blue:usb"; */
143 function = LED_FUNCTION_USB;
144 color = <LED_COLOR_ID_BLUE>;
146 linux,default-trigger = "usbport";
151 /* label = "bcm53xx:red:power"; */
152 function = LED_FUNCTION_FAULT;
153 color = <LED_COLOR_ID_RED>;
154 gpios = <&hc595 1 GPIO_ACTIVE_HIGH>;
159 /* label = "bcm53xx:white:power"; */
160 function = LED_FUNCTION_POWER;
161 color = <LED_COLOR_ID_WHITE>;
163 linux,default-trigger = "default-on";
168 /* label = "bcm53xx:blue:router"; */
169 function = LED_FUNCTION_STATUS;
170 color = <LED_COLOR_ID_BLUE>;
172 linux,default-trigger = "default-on";
177 /* label = "bcm53xx:amber:router"; */
178 function = LED_FUNCTION_STATUS;
179 color = <LED_COLOR_ID_AMBER>;
180 gpios = <&hc595 4 GPIO_ACTIVE_HIGH>;
185 /* label = "bcm53xx:blue:wan"; */
186 function = LED_FUNCTION_WAN;
187 color = <LED_COLOR_ID_BLUE>;
189 linux,default-trigger = "default-on";
194 /* label = "bcm53xx:blue:wireless"; */
195 function = LED_FUNCTION_WLAN;
196 color = <LED_COLOR_ID_BLUE>;
197 gpios = <&hc595 6 GPIO_ACTIVE_HIGH>;
202 /* label = "bcm53xx:amber:wireless"; */
203 function = LED_FUNCTION_WLAN;
204 color = <LED_COLOR_ID_AMBER>;
205 --- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
206 +++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
209 compatible = "gpio-leds";
213 label = "bcm53xx:blue:usb";
214 gpios = <&hc595 0 GPIO_ACTIVE_HIGH>;
215 trigger-sources = <&ohci_port1>, <&ehci_port1>,
217 linux,default-trigger = "usbport";
222 label = "bcm53xx:red:power";
223 gpios = <&hc595 1 GPIO_ACTIVE_HIGH>;
228 label = "bcm53xx:white:power";
229 gpios = <&hc595 2 GPIO_ACTIVE_HIGH>;
230 linux,default-trigger = "default-on";
235 label = "bcm53xx:blue:router";
236 gpios = <&hc595 3 GPIO_ACTIVE_HIGH>;
237 linux,default-trigger = "default-on";
242 label = "bcm53xx:amber:router";
243 gpios = <&hc595 4 GPIO_ACTIVE_HIGH>;
248 label = "bcm53xx:blue:wan";
249 gpios = <&hc595 5 GPIO_ACTIVE_HIGH>;
250 linux,default-trigger = "default-on";
255 label = "bcm53xx:blue:wireless";
256 gpios = <&hc595 6 GPIO_ACTIVE_HIGH>;
261 label = "bcm53xx:amber:wireless";
262 gpios = <&hc595 7 GPIO_ACTIVE_HIGH>;
264 --- a/arch/arm/boot/dts/bcm4708-luxul-xap-1510.dts
265 +++ b/arch/arm/boot/dts/bcm4708-luxul-xap-1510.dts
268 compatible = "gpio-leds";
272 label = "bcm53xx:blue:5ghz";
273 gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
274 linux,default-trigger = "none";
279 label = "bcm53xx:blue:2ghz";
280 gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
281 linux,default-trigger = "none";
286 label = "bcm53xx:green:status";
287 gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;
288 linux,default-trigger = "timer";
289 --- a/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts
290 +++ b/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts
293 compatible = "gpio-leds";
297 label = "bcm53xx:green:status";
298 gpios = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
299 linux,default-trigger = "timer";
300 --- a/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
301 +++ b/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
304 compatible = "gpio-leds";
308 label = "bcm53xx:white:logo";
309 gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>;
310 linux,default-trigger = "default-on";
315 label = "bcm53xx:green:power";
316 gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
317 linux,default-trigger = "default-on";
322 label = "bcm53xx:amber:power";
323 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
328 label = "bcm53xx:blue:usb";
329 gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
330 trigger-sources = <&ohci_port1>, <&ehci_port1>,
332 linux,default-trigger = "usbport";
337 label = "bcm53xx:blue:wireless";
338 gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
340 --- a/arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts
341 +++ b/arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts
344 compatible = "gpio-leds";
348 label = "bcm53xx:white:logo";
349 gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>;
350 linux,default-trigger = "default-on";
355 label = "bcm53xx:green:power";
356 gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
361 label = "bcm53xx:amber:power";
362 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
363 linux,default-trigger = "default-on";
368 label = "bcm53xx:blue:usb";
369 gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
374 label = "bcm53xx:blue:wireless";
375 gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
377 --- a/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts
378 +++ b/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts
381 compatible = "gpio-leds";
385 label = "bcm53xx:white:power";
386 gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>;
387 linux,default-trigger = "default-on";
392 label = "bcm53xx:amber:power";
393 gpios = <&chipcommon 2 GPIO_ACTIVE_HIGH>;
398 label = "bcm53xx:white:usb2";
399 gpios = <&chipcommon 3 GPIO_ACTIVE_HIGH>;
400 trigger-sources = <&ohci_port2>, <&ehci_port2>;
401 linux,default-trigger = "usbport";
406 label = "bcm53xx:white:usb3";
407 gpios = <&chipcommon 4 GPIO_ACTIVE_HIGH>;
408 trigger-sources = <&xhci_port1>;
409 linux,default-trigger = "usbport";
414 label = "bcm53xx:green:usb3";
415 gpios = <&chipcommon 5 GPIO_ACTIVE_HIGH>;
416 trigger-sources = <&ohci_port1>, <&ehci_port1>;
417 linux,default-trigger = "usbport";
422 label = "bcm53xx:white:wps";
423 gpios = <&chipcommon 6 GPIO_ACTIVE_HIGH>;
428 label = "bcm53xx:red:status";
429 gpios = <&chipcommon 8 GPIO_ACTIVE_HIGH>;
434 label = "bcm53xx:green:status";
435 gpios = <&chipcommon 9 GPIO_ACTIVE_HIGH>;
440 label = "bcm53xx:blue:status";
441 gpios = <&chipcommon 10 GPIO_ACTIVE_HIGH>;
446 label = "bcm53xx:white:wan";
447 gpios = <&chipcommon 12 GPIO_ACTIVE_HIGH>;
452 label = "bcm53xx:red:wan";
453 gpios = <&chipcommon 13 GPIO_ACTIVE_HIGH>;
455 --- a/arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts
456 +++ b/arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts
459 compatible = "gpio-leds";
463 label = "bcm53xx:blue:power";
464 gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
465 linux,default-trigger = "default-on";
470 label = "bcm53xx:blue:usb2";
471 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
476 label = "bcm53xx:blue:wan";
477 gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
478 linux,default-trigger = "default-on";
483 label = "bcm53xx:blue:lan";
484 gpios = <&chipcommon 9 GPIO_ACTIVE_LOW>;
485 linux,default-trigger = "default-on";
490 label = "bcm53xx:blue:usb3";
491 gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
493 --- a/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts
494 +++ b/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts
497 compatible = "gpio-leds";
501 label = "bcm53xx:green:power";
502 gpios = <&hc595 1 GPIO_ACTIVE_HIGH>;
503 linux,default-trigger = "default-on";
508 label = "bcm53xx:red:power";
509 gpios = <&hc595 2 GPIO_ACTIVE_HIGH>;
514 label = "bcm53xx:green:router";
515 gpios = <&hc595 3 GPIO_ACTIVE_HIGH>;
516 linux,default-trigger = "default-on";
521 label = "bcm53xx:amber:router";
522 gpios = <&hc595 4 GPIO_ACTIVE_HIGH>;
527 label = "bcm53xx:green:wan";
528 gpios = <&hc595 5 GPIO_ACTIVE_HIGH>;
529 linux,default-trigger = "default-on";
534 label = "bcm53xx:green:wireless";
535 gpios = <&hc595 6 GPIO_ACTIVE_HIGH>;
540 label = "bcm53xx:amber:wireless";
541 gpios = <&hc595 7 GPIO_ACTIVE_HIGH>;
543 --- a/arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts
544 +++ b/arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts
547 compatible = "gpio-leds";
551 label = "bcm53xx:green:usb";
552 gpios = <&hc595 0 GPIO_ACTIVE_HIGH>;
557 label = "bcm53xx:green:power";
558 gpios = <&hc595 1 GPIO_ACTIVE_HIGH>;
559 linux,default-trigger = "default-on";
564 label = "bcm53xx:red:power";
565 gpios = <&hc595 2 GPIO_ACTIVE_HIGH>;
570 label = "bcm53xx:green:router";
571 gpios = <&hc595 3 GPIO_ACTIVE_HIGH>;
572 linux,default-trigger = "default-on";
577 label = "bcm53xx:amber:router";
578 gpios = <&hc595 4 GPIO_ACTIVE_HIGH>;
583 label = "bcm53xx:green:wan";
584 gpios = <&hc595 5 GPIO_ACTIVE_HIGH>;
585 linux,default-trigger = "default-on";
590 label = "bcm53xx:green:wireless";
591 gpios = <&hc595 6 GPIO_ACTIVE_HIGH>;
596 label = "bcm53xx:amber:wireless";
597 gpios = <&hc595 7 GPIO_ACTIVE_HIGH>;
599 --- a/arch/arm/boot/dts/bcm47081-luxul-xap-1410.dts
600 +++ b/arch/arm/boot/dts/bcm47081-luxul-xap-1410.dts
603 compatible = "gpio-leds";
607 label = "bcm53xx:blue:5ghz";
608 gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
609 linux,default-trigger = "none";
614 label = "bcm53xx:blue:2ghz";
615 gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
616 linux,default-trigger = "none";
621 label = "bcm53xx:green:status";
622 gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;
623 linux,default-trigger = "timer";
624 --- a/arch/arm/boot/dts/bcm47081-luxul-xwr-1200.dts
625 +++ b/arch/arm/boot/dts/bcm47081-luxul-xwr-1200.dts
628 compatible = "gpio-leds";
632 label = "bcm53xx:green:power";
633 gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
634 linux,default-trigger = "default-on";
639 label = "bcm53xx:green:lan3";
640 gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
641 linux,default-trigger = "none";
646 label = "bcm53xx:green:lan4";
647 gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
648 linux,default-trigger = "none";
653 label = "bcm53xx:green:wan";
654 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
655 linux,default-trigger = "none";
660 label = "bcm53xx:green:lan2";
661 gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
662 linux,default-trigger = "none";
667 label = "bcm53xx:green:usb";
668 gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
669 trigger-sources = <&ohci_port2>, <&ehci_port2>;
670 linux,default-trigger = "usbport";
675 label = "bcm53xx:green:status";
676 gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
677 linux,default-trigger = "timer";
682 label = "bcm53xx:green:2ghz";
683 gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
684 linux,default-trigger = "none";
689 label = "bcm53xx:green:5ghz";
690 gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
691 linux,default-trigger = "none";
696 label = "bcm53xx:green:lan1";
697 gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;
698 linux,default-trigger = "none";
699 --- a/arch/arm/boot/dts/bcm47081-tplink-archer-c5-v2.dts
700 +++ b/arch/arm/boot/dts/bcm47081-tplink-archer-c5-v2.dts
703 compatible = "gpio-leds";
707 label = "bcm53xx:green:2ghz";
708 gpios = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
713 label = "bcm53xx:green:lan";
714 gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>;
719 label = "bcm53xx:green:usb2-port1";
720 gpios = <&chipcommon 2 GPIO_ACTIVE_HIGH>;
721 trigger-sources = <&ohci_port1>, <&ehci_port1>;
722 linux,default-trigger = "usbport";
727 label = "bcm53xx:green:power";
728 gpios = <&chipcommon 4 GPIO_ACTIVE_HIGH>;
729 linux,default-trigger = "default-on";
734 label = "bcm53xx:green:wan";
735 gpios = <&chipcommon 5 GPIO_ACTIVE_HIGH>;
740 label = "bcm53xx:green:wps";
741 gpios = <&chipcommon 6 GPIO_ACTIVE_HIGH>;
746 label = "bcm53xx:amber:wan";
747 gpios = <&chipcommon 8 GPIO_ACTIVE_HIGH>;
752 label = "bcm53xx:green:5ghz";
753 gpios = <&chipcommon 12 GPIO_ACTIVE_HIGH>;
758 label = "bcm53xx:green:usb2-port2";
759 gpios = <&chipcommon 13 GPIO_ACTIVE_HIGH>;
760 trigger-sources = <&ohci_port2>, <&ehci_port2>;
761 --- a/arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts
762 +++ b/arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts
765 compatible = "gpio-leds";
769 label = "bcm53xx:blue:wps";
770 gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
775 label = "bcm53xx:blue:power";
776 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
777 linux,default-trigger = "default-on";
782 label = "bcm53xx:red:wan";
783 gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
785 --- a/arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts
786 +++ b/arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts
789 compatible = "gpio-leds";
793 label = "bcm53xx:green:usb";
794 gpios = <&chipcommon 4 GPIO_ACTIVE_HIGH>;
799 label = "bcm53xx:amber:power";
800 gpios = <&chipcommon 5 GPIO_ACTIVE_HIGH>;
805 label = "bcm53xx:white:power";
806 gpios = <&chipcommon 6 GPIO_ACTIVE_HIGH>;
807 linux,default-trigger = "default-on";
812 label = "bcm53xx:amber:router";
813 gpios = <&chipcommon 7 GPIO_ACTIVE_HIGH>;
818 label = "bcm53xx:white:router";
819 gpios = <&chipcommon 8 GPIO_ACTIVE_HIGH>;
824 label = "bcm53xx:amber:wan";
825 gpios = <&chipcommon 9 GPIO_ACTIVE_HIGH>;
830 label = "bcm53xx:white:wan";
831 gpios = <&chipcommon 10 GPIO_ACTIVE_HIGH>;
835 + led-wireless-amber {
836 label = "bcm53xx:amber:wireless";
837 gpios = <&chipcommon 11 GPIO_ACTIVE_HIGH>;
841 + led-wireless-white {
842 label = "bcm53xx:white:wireless";
843 gpios = <&chipcommon 12 GPIO_ACTIVE_HIGH>;
845 --- a/arch/arm/boot/dts/bcm4709-netgear-r7000.dts
846 +++ b/arch/arm/boot/dts/bcm4709-netgear-r7000.dts
849 compatible = "gpio-leds";
853 label = "bcm53xx:white:power";
854 gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
855 linux,default-trigger = "default-on";
860 label = "bcm53xx:amber:power";
861 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
866 label = "bcm53xx:white:5ghz";
867 gpios = <&chipcommon 12 GPIO_ACTIVE_LOW>;
872 label = "bcm53xx:white:2ghz";
873 gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
878 label = "bcm53xx:white:wps";
879 gpios = <&chipcommon 14 GPIO_ACTIVE_HIGH>;
884 label = "bcm53xx:white:wireless";
885 gpios = <&chipcommon 15 GPIO_ACTIVE_HIGH>;
890 label = "bcm53xx:white:usb3";
891 gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
896 label = "bcm53xx:white:usb2";
897 gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>;
899 --- a/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
900 +++ b/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
903 compatible = "gpio-leds";
907 label = "bcm53xx:white:power";
908 gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
909 linux,default-trigger = "default-on";
914 label = "bcm53xx:amber:power";
915 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
920 label = "bcm53xx:white:wan";
921 gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
922 linux,default-trigger = "default-on";
927 label = "bcm53xx:amber:wan";
928 gpios = <&chipcommon 9 GPIO_ACTIVE_HIGH>;
933 label = "bcm53xx:white:5ghz-1";
934 gpios = <&chipcommon 12 GPIO_ACTIVE_LOW>;
939 label = "bcm53xx:white:2ghz";
940 gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
945 label = "bcm53xx:white:wireless";
946 gpios = <&chipcommon 14 GPIO_ACTIVE_HIGH>;
951 label = "bcm53xx:white:wps";
952 gpios = <&chipcommon 15 GPIO_ACTIVE_HIGH>;
957 label = "bcm53xx:white:5ghz-2";
958 gpios = <&chipcommon 16 GPIO_ACTIVE_LOW>;
963 label = "bcm53xx:white:usb3";
964 gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
969 label = "bcm53xx:white:usb2";
970 gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>;
972 --- a/arch/arm/boot/dts/bcm4709-tplink-archer-c9-v1.dts
973 +++ b/arch/arm/boot/dts/bcm4709-tplink-archer-c9-v1.dts
976 compatible = "gpio-leds";
980 label = "bcm53xx:blue:lan";
981 gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>;
986 label = "bcm53xx:blue:wps";
987 gpios = <&chipcommon 2 GPIO_ACTIVE_HIGH>;
992 label = "bcm53xx:blue:2ghz";
993 gpios = <&chipcommon 4 GPIO_ACTIVE_HIGH>;
998 label = "bcm53xx:blue:5ghz";
999 gpios = <&chipcommon 5 GPIO_ACTIVE_HIGH>;
1004 label = "bcm53xx:blue:usb3";
1005 gpios = <&chipcommon 6 GPIO_ACTIVE_HIGH>;
1006 trigger-sources = <&ohci_port1>, <&ehci_port1>,
1008 linux,default-trigger = "usbport";
1013 label = "bcm53xx:blue:usb2";
1014 gpios = <&chipcommon 7 GPIO_ACTIVE_HIGH>;
1015 trigger-sources = <&ohci_port2>, <&ehci_port2>;
1016 linux,default-trigger = "usbport";
1021 label = "bcm53xx:blue:wan";
1022 gpios = <&chipcommon 14 GPIO_ACTIVE_HIGH>;
1027 label = "bcm53xx:amber:wan";
1028 gpios = <&chipcommon 15 GPIO_ACTIVE_HIGH>;
1033 label = "bcm53xx:blue:power";
1034 gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>;
1035 linux,default-trigger = "default-on";
1036 --- a/arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts
1037 +++ b/arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts
1040 compatible = "gpio-leds";
1044 label = "white:power";
1045 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
1046 linux,default-trigger = "default-on";
1052 gpios = <&chipcommon 5 GPIO_ACTIVE_HIGH>;
1057 label = "white:lan";
1058 gpios = <&chipcommon 21 GPIO_ACTIVE_LOW>;
1063 label = "white:usb2";
1064 gpios = <&chipcommon 16 GPIO_ACTIVE_LOW>;
1065 trigger-sources = <&ehci_port2>;
1066 linux,default-trigger = "usbport";
1071 label = "white:usb3";
1072 gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
1073 trigger-sources = <&ehci_port1>, <&xhci_port1>;
1074 linux,default-trigger = "usbport";
1079 label = "white:wps";
1080 gpios = <&chipcommon 19 GPIO_ACTIVE_LOW>;
1082 --- a/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
1083 +++ b/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
1086 compatible = "gpio-leds";
1090 label = "bcm53xx:white:power";
1091 gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
1092 linux,default-trigger = "default-on";
1097 label = "bcm53xx:white:wan";
1098 gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
1103 label = "bcm53xx:amber:power";
1104 gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
1109 label = "bcm53xx:amber:wan";
1110 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
1115 label = "bcm53xx:white:usb3";
1116 gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
1117 trigger-sources = <&ohci_port1>, <&ehci_port1>,
1119 linux,default-trigger = "usbport";
1124 label = "bcm53xx:white:2ghz";
1125 gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
1130 label = "bcm53xx:white:5ghz";
1131 gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
1133 --- a/arch/arm/boot/dts/bcm47094-dlink-dir-890l.dts
1134 +++ b/arch/arm/boot/dts/bcm47094-dlink-dir-890l.dts
1137 compatible = "gpio-leds";
1141 label = "bcm53xx:white:power";
1142 gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
1143 linux,default-trigger = "default-on";
1148 label = "bcm53xx:white:wan";
1149 gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
1154 label = "bcm53xx:amber:power";
1155 gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
1160 label = "bcm53xx:amber:wan";
1161 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
1166 label = "bcm53xx:white:usb3";
1167 gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
1168 trigger-sources = <&xhci_port1>;
1169 linux,default-trigger = "usbport";
1174 label = "bcm53xx:white:usb2";
1175 gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;
1176 trigger-sources = <&ohci_port1>, <&ehci_port1>;
1177 linux,default-trigger = "usbport";
1182 label = "bcm53xx:white:2ghz";
1183 gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
1188 label = "bcm53xx:white:5ghz";
1189 gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
1191 --- a/arch/arm/boot/dts/bcm47094-linksys-panamera.dts
1192 +++ b/arch/arm/boot/dts/bcm47094-linksys-panamera.dts
1195 compatible = "gpio-leds";
1199 label = "bcm53xx:white:wps";
1200 gpios = <&chipcommon 22 GPIO_ACTIVE_LOW>;
1205 label = "bcm53xx:green:usb2";
1206 gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
1207 trigger-sources = <&ohci_port2>, <&ehci_port2>;
1208 linux,default-trigger = "usbport";
1213 label = "bcm53xx:green:usb3";
1214 gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
1215 trigger-sources = <&ohci_port1>, <&ehci_port1>,
1217 linux,default-trigger = "usbport";
1222 label = "bcm53xx:white:power";
1223 gpios = <&chipcommon 4 GPIO_ACTIVE_HIGH>;
1224 linux,default-trigger = "default-on";
1228 + led-wifi-disabled {
1229 label = "bcm53xx:amber:wifi-disabled";
1230 gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
1234 + led-wifi-enabled {
1235 label = "bcm53xx:white:wifi-enabled";
1236 gpios = <&chipcommon 5 GPIO_ACTIVE_HIGH>;
1241 label = "bcm53xx:white:bluebar1";
1242 gpios = <&chipcommon 11 GPIO_ACTIVE_HIGH>;
1247 label = "bcm53xx:white:bluebar2";
1248 gpios = <&chipcommon 12 GPIO_ACTIVE_HIGH>;
1253 label = "bcm53xx:white:bluebar3";
1254 gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;
1259 label = "bcm53xx:white:bluebar4";
1260 gpios = <&chipcommon 18 GPIO_ACTIVE_HIGH>;
1265 label = "bcm53xx:white:bluebar5";
1266 gpios = <&chipcommon 19 GPIO_ACTIVE_HIGH>;
1271 label = "bcm53xx:white:bluebar6";
1272 gpios = <&chipcommon 20 GPIO_ACTIVE_HIGH>;
1277 label = "bcm53xx:white:bluebar7";
1278 gpios = <&chipcommon 21 GPIO_ACTIVE_HIGH>;
1283 label = "bcm53xx:white:bluebar8";
1284 gpios = <&chipcommon 8 GPIO_ACTIVE_HIGH>;
1286 --- a/arch/arm/boot/dts/bcm47094-luxul-abr-4500.dts
1287 +++ b/arch/arm/boot/dts/bcm47094-luxul-abr-4500.dts
1290 compatible = "gpio-leds";
1294 label = "bcm53xx:green:status";
1295 gpios = <&chipcommon 20 GPIO_ACTIVE_LOW>;
1296 linux,default-trigger = "timer";
1301 label = "bcm53xx:green:usb3";
1302 gpios = <&chipcommon 19 GPIO_ACTIVE_LOW>;
1303 trigger-sources = <&ohci_port1>, <&ehci_port1>,
1304 --- a/arch/arm/boot/dts/bcm47094-luxul-xap-1610.dts
1305 +++ b/arch/arm/boot/dts/bcm47094-luxul-xap-1610.dts
1308 compatible = "gpio-leds";
1312 label = "bcm53xx:green:status";
1313 gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
1314 linux,default-trigger = "timer";
1319 label = "bcm53xx:blue:2ghz";
1320 gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
1325 label = "bcm53xx:blue:5ghz";
1326 gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
1328 --- a/arch/arm/boot/dts/bcm47094-luxul-xbr-4500.dts
1329 +++ b/arch/arm/boot/dts/bcm47094-luxul-xbr-4500.dts
1332 compatible = "gpio-leds";
1336 label = "bcm53xx:green:status";
1337 gpios = <&chipcommon 20 GPIO_ACTIVE_HIGH>;
1338 linux,default-trigger = "timer";
1343 label = "bcm53xx:green:usb3";
1344 gpios = <&chipcommon 19 GPIO_ACTIVE_HIGH>;
1345 trigger-sources = <&ohci_port1>, <&ehci_port1>,
1346 --- a/arch/arm/boot/dts/bcm47094-luxul-xwc-2000.dts
1347 +++ b/arch/arm/boot/dts/bcm47094-luxul-xwc-2000.dts
1350 compatible = "gpio-leds";
1354 label = "bcm53xx:green:status";
1355 gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>;
1356 linux,default-trigger = "timer";
1357 --- a/arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts
1358 +++ b/arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts
1361 compatible = "gpio-leds";
1365 label = "bcm53xx:green:power";
1366 gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
1367 linux,default-trigger = "default-on";
1372 label = "bcm53xx:green:lan3";
1373 gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
1378 label = "bcm53xx:green:lan4";
1379 gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
1384 label = "bcm53xx:green:wan";
1385 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
1390 label = "bcm53xx:green:lan1";
1391 gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
1396 label = "bcm53xx:green:lan2";
1397 gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
1402 label = "bcm53xx:green:usb3";
1403 gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
1404 trigger-sources = <&ohci_port1>, <&ehci_port1>,
1406 linux,default-trigger = "usbport";
1411 label = "bcm53xx:green:status";
1412 gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
1413 linux,default-trigger = "timer";
1418 label = "bcm53xx:green:2ghz";
1419 gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
1424 label = "bcm53xx:green:5ghz";
1425 gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
1427 --- a/arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts
1428 +++ b/arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts
1431 compatible = "gpio-leds";
1435 label = "bcm53xx:green:power";
1436 gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
1437 linux,default-trigger = "default-on";
1442 label = "bcm53xx:green:usb3";
1443 gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
1444 trigger-sources = <&ohci_port1>, <&ehci_port1>,
1446 linux,default-trigger = "usbport";
1451 label = "bcm53xx:green:status";
1452 gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
1453 linux,default-trigger = "timer";
1458 label = "bcm53xx:green:2ghz";
1459 gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
1464 label = "bcm53xx:green:5ghz";
1465 gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
1467 --- a/arch/arm/boot/dts/bcm47094-netgear-r8500.dts
1468 +++ b/arch/arm/boot/dts/bcm47094-netgear-r8500.dts
1471 compatible = "gpio-leds";
1475 label = "bcm53xx:white:power";
1476 gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
1477 linux,default-trigger = "default-on";
1482 label = "bcm53xx:amber:power";
1483 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
1488 label = "bcm53xx:white:5ghz-1";
1489 gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
1494 label = "bcm53xx:white:5ghz-2";
1495 gpios = <&chipcommon 12 GPIO_ACTIVE_LOW>;
1500 label = "bcm53xx:white:2ghz";
1501 gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
1506 label = "bcm53xx:white:usb2";
1507 gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
1512 label = "bcm53xx:white:usb3";
1513 gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>;
1515 --- a/arch/arm/boot/dts/bcm47189-luxul-xap-1440.dts
1516 +++ b/arch/arm/boot/dts/bcm47189-luxul-xap-1440.dts
1519 compatible = "gpio-leds";
1523 label = "bcm53xx:blue:wlan";
1524 gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
1529 label = "bcm53xx:green:system";
1530 gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
1531 linux,default-trigger = "timer";
1532 --- a/arch/arm/boot/dts/bcm47189-luxul-xap-810.dts
1533 +++ b/arch/arm/boot/dts/bcm47189-luxul-xap-810.dts
1535 reg = <0x00000000 0x08000000>;
1540 compatible = "gpio-leds";
1544 label = "bcm53xx:blue:5ghz";
1545 gpios = <&chipcommon 11 GPIO_ACTIVE_HIGH>;
1550 label = "bcm53xx:green:system";
1551 gpios = <&chipcommon 15 GPIO_ACTIVE_HIGH>;
1552 linux,default-trigger = "timer";
1558 compatible = "gpio-leds";
1562 label = "bcm53xx:blue:2ghz";
1563 gpios = <&pcie0_chipcommon 3 GPIO_ACTIVE_HIGH>;
1565 --- a/arch/arm/boot/dts/bcm47189-tenda-ac9.dts
1566 +++ b/arch/arm/boot/dts/bcm47189-tenda-ac9.dts
1568 reg = <0x00000000 0x08000000>;
1573 compatible = "gpio-leds";
1577 label = "bcm53xx:blue:usb";
1578 gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>;
1579 trigger-sources = <&ohci_port1>, <&ehci_port1>;
1580 linux,default-trigger = "usbport";
1585 label = "bcm53xx:blue:wps";
1586 gpios = <&chipcommon 10 GPIO_ACTIVE_HIGH>;
1591 label = "bcm53xx:blue:5ghz";
1592 gpios = <&chipcommon 11 GPIO_ACTIVE_HIGH>;
1597 label = "bcm53xx:blue:system";
1598 gpios = <&chipcommon 15 GPIO_ACTIVE_HIGH>;
1599 linux,default-trigger = "timer";
1605 compatible = "gpio-leds";
1609 label = "bcm53xx:blue:2ghz";
1610 gpios = <&pcie0_chipcommon 3 GPIO_ACTIVE_HIGH>;
1612 --- a/arch/arm/boot/dts/bcm53016-dlink-dwl-8610ap.dts
1613 +++ b/arch/arm/boot/dts/bcm53016-dlink-dwl-8610ap.dts
1616 compatible = "gpio-leds";
1620 function = LED_FUNCTION_POWER;
1621 color = <LED_COLOR_ID_GREEN>;
1622 gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
1623 default-state = "on";
1628 /* Actually "diag" unclear what this means */
1629 function = LED_FUNCTION_INDICATOR;
1630 color = <LED_COLOR_ID_RED>;
1632 linux,default-trigger = "heartbeat";
1637 function = LED_FUNCTION_WLAN;
1638 color = <LED_COLOR_ID_GREEN>;
1639 gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
1644 function = LED_FUNCTION_WLAN;
1645 color = <LED_COLOR_ID_GREEN>;
1646 gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
1647 --- a/arch/arm/boot/dts/bcm53016-meraki-mr32.dts
1648 +++ b/arch/arm/boot/dts/bcm53016-meraki-mr32.dts
1651 compatible = "pwm-leds";
1655 /* SYS-LED 1 - Tricolor */
1656 function = LED_FUNCTION_INDICATOR;
1657 color = <LED_COLOR_ID_RED>;
1659 max-brightness = <255>;
1664 /* SYS-LED 1 - Tricolor */
1665 function = LED_FUNCTION_POWER;
1666 color = <LED_COLOR_ID_GREEN>;
1668 max-brightness = <255>;
1673 /* SYS-LED 1 - Tricolor */
1674 function = LED_FUNCTION_INDICATOR;
1675 color = <LED_COLOR_ID_BLUE>;
1676 --- a/arch/arm/boot/dts/bcm947189acdbmr.dts
1677 +++ b/arch/arm/boot/dts/bcm947189acdbmr.dts
1680 compatible = "gpio-leds";
1684 label = "bcm53xx:blue:wps";
1685 gpios = <&chipcommon 10 GPIO_ACTIVE_HIGH>;
1690 label = "bcm53xx:blue:5ghz";
1691 gpios = <&chipcommon 11 GPIO_ACTIVE_HIGH>;
1696 label = "bcm53xx:blue:2ghz";
1697 gpios = <&chipcommon 12 GPIO_ACTIVE_HIGH>;