ARM: dts: broadcom: align LED node names with dtschema
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Fri, 25 Nov 2022 14:41:27 +0000 (15:41 +0100)
committerFlorian Fainelli <f.fainelli@gmail.com>
Mon, 28 Nov 2022 23:35:24 +0000 (15:35 -0800)
The node names should be generic and DT schema expects certain pattern:

  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]+'

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20221125144128.477059-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
37 files changed:
arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts
arch/arm/boot/dts/bcm4708-asus-rt-ac68u.dts
arch/arm/boot/dts/bcm4708-buffalo-wzr-1166dhp-common.dtsi
arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
arch/arm/boot/dts/bcm4708-luxul-xap-1510.dts
arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts
arch/arm/boot/dts/bcm4708-netgear-r6250.dts
arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts
arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts
arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts
arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts
arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts
arch/arm/boot/dts/bcm47081-luxul-xap-1410.dts
arch/arm/boot/dts/bcm47081-luxul-xwr-1200.dts
arch/arm/boot/dts/bcm47081-tplink-archer-c5-v2.dts
arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts
arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts
arch/arm/boot/dts/bcm4709-netgear-r7000.dts
arch/arm/boot/dts/bcm4709-netgear-r8000.dts
arch/arm/boot/dts/bcm4709-tplink-archer-c9-v1.dts
arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts
arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
arch/arm/boot/dts/bcm47094-dlink-dir-890l.dts
arch/arm/boot/dts/bcm47094-linksys-panamera.dts
arch/arm/boot/dts/bcm47094-luxul-abr-4500.dts
arch/arm/boot/dts/bcm47094-luxul-xap-1610.dts
arch/arm/boot/dts/bcm47094-luxul-xbr-4500.dts
arch/arm/boot/dts/bcm47094-luxul-xwc-2000.dts
arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts
arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts
arch/arm/boot/dts/bcm47094-netgear-r8500.dts
arch/arm/boot/dts/bcm47189-luxul-xap-1440.dts
arch/arm/boot/dts/bcm47189-luxul-xap-810.dts
arch/arm/boot/dts/bcm47189-tenda-ac9.dts
arch/arm/boot/dts/bcm53016-dlink-dwl-8610ap.dts
arch/arm/boot/dts/bcm53016-meraki-mr32.dts
arch/arm/boot/dts/bcm947189acdbmr.dts

index 09ee3e4..c80ac16 100644 (file)
        leds {
                compatible = "gpio-leds";
 
-               usb3 {
+               led-usb3 {
                        label = "bcm53xx:blue:usb3";
                        gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
                };
 
-               wan {
+               led-wan {
                        label = "bcm53xx:blue:wan";
                        gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
                };
 
-               lan {
+               led-lan {
                        label = "bcm53xx:blue:lan";
                        gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
                };
 
-               power {
+               led-power {
                        label = "bcm53xx:blue:power";
                        gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "default-on";
                };
 
-               all {
+               led-all {
                        label = "bcm53xx:blue:all";
                        gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "default-on";
                };
 
-               2ghz {
+               led-2ghz {
                        label = "bcm53xx:blue:2ghz";
                        gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
                };
 
-
-               usb2 {
+               led-usb2 {
                        label = "bcm53xx:blue:usb2";
                        gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
                };
index 32619c6..3fe17bd 100644 (file)
        leds {
                compatible = "gpio-leds";
 
-               usb2 {
+               led-usb2 {
                        label = "bcm53xx:blue:usb2";
                        gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
                };
 
-               power {
+               led-power {
                        label = "bcm53xx:blue:power";
                        gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "default-on";
                };
 
-               logo {
+               led-logo {
                        label = "bcm53xx:white:logo";
                        gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "default-on";
                };
 
-               usb3 {
+               led-usb3 {
                        label = "bcm53xx:blue:usb3";
                        gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
                };
index a658b9b..e583b9c 100644 (file)
@@ -37,7 +37,7 @@
        leds {
                compatible = "gpio-leds";
 
-               usb {
+               led-usb {
                        /* label = "bcm53xx:blue:usb"; */
                        function = LED_FUNCTION_USB;
                        color = <LED_COLOR_ID_BLUE>;
                        linux,default-trigger = "usbport";
                };
 
-               power0 {
+               led-power0 {
                        /* label = "bcm53xx:red:power"; */
                        function = LED_FUNCTION_FAULT;
                        color = <LED_COLOR_ID_RED>;
                        gpios = <&hc595 1 GPIO_ACTIVE_HIGH>;
                };
 
-               power1 {
+               led-power1 {
                        /* label = "bcm53xx:white:power"; */
                        function = LED_FUNCTION_POWER;
                        color = <LED_COLOR_ID_WHITE>;
@@ -63,7 +63,7 @@
                        linux,default-trigger = "default-on";
                };
 
-               router0 {
+               led-router0 {
                        /*  label = "bcm53xx:blue:router"; */
                        function = LED_FUNCTION_STATUS;
                        color = <LED_COLOR_ID_BLUE>;
                        linux,default-trigger = "default-on";
                };
 
-               router1 {
+               led-router1 {
                        /* label = "bcm53xx:amber:router"; */
                        function = LED_FUNCTION_STATUS;
                        color = <LED_COLOR_ID_AMBER>;
                        gpios = <&hc595 4 GPIO_ACTIVE_HIGH>;
                };
 
-               wan {
+               led-wan {
                        /* label = "bcm53xx:blue:wan"; */
                        function = LED_FUNCTION_WAN;
                        color = <LED_COLOR_ID_BLUE>;
                        linux,default-trigger = "default-on";
                };
 
-               wireless0 {
+               led-wireless0 {
                        /* label = "bcm53xx:blue:wireless"; */
                        function = LED_FUNCTION_WLAN;
                        color = <LED_COLOR_ID_BLUE>;
                        gpios = <&hc595 6 GPIO_ACTIVE_HIGH>;
                };
 
-               wireless1 {
+               led-wireless1 {
                        /* label = "bcm53xx:amber:wireless"; */
                        function = LED_FUNCTION_WLAN;
                        color = <LED_COLOR_ID_AMBER>;
index f8f5345..43c698a 100644 (file)
@@ -49,7 +49,7 @@
        leds {
                compatible = "gpio-leds";
 
-               usb {
+               led-usb {
                        label = "bcm53xx:blue:usb";
                        gpios = <&hc595 0 GPIO_ACTIVE_HIGH>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>,
                        linux,default-trigger = "usbport";
                };
 
-               power0 {
+               led-power0 {
                        label = "bcm53xx:red:power";
                        gpios = <&hc595 1 GPIO_ACTIVE_HIGH>;
                };
 
-               power1 {
+               led-power1 {
                        label = "bcm53xx:white:power";
                        gpios = <&hc595 2 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "default-on";
                };
 
-               router0 {
+               led-router0 {
                        label = "bcm53xx:blue:router";
                        gpios = <&hc595 3 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "default-on";
                };
 
-               router1 {
+               led-router1 {
                        label = "bcm53xx:amber:router";
                        gpios = <&hc595 4 GPIO_ACTIVE_HIGH>;
                };
 
-               wan {
+               led-wan {
                        label = "bcm53xx:blue:wan";
                        gpios = <&hc595 5 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "default-on";
                };
 
-               wireless0 {
+               led-wireless0 {
                        label = "bcm53xx:blue:wireless";
                        gpios = <&hc595 6 GPIO_ACTIVE_HIGH>;
                };
 
-               wireless1 {
+               led-wireless1 {
                        label = "bcm53xx:amber:wireless";
                        gpios = <&hc595 7 GPIO_ACTIVE_HIGH>;
                };
index 14ee410..6de7fe2 100644 (file)
        leds {
                compatible = "gpio-leds";
 
-               5ghz {
+               led-5ghz {
                        label = "bcm53xx:blue:5ghz";
                        gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "none";
                };
 
-               2ghz {
+               led-2ghz {
                        label = "bcm53xx:blue:2ghz";
                        gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "none";
                };
 
-               status {
+               led-status {
                        label = "bcm53xx:green:status";
                        gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "timer";
index 600ab08..f5b75ba 100644 (file)
@@ -42,7 +42,7 @@
        leds {
                compatible = "gpio-leds";
 
-               status {
+               led-status {
                        label = "bcm53xx:green:status";
                        gpios = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "timer";
index fd6d8d2..89155ca 100644 (file)
        leds {
                compatible = "gpio-leds";
 
-               logo {
+               led-logo {
                        label = "bcm53xx:white:logo";
                        gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "default-on";
                };
 
-               power0 {
+               led-power0 {
                        label = "bcm53xx:green:power";
                        gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "default-on";
                };
 
-               power1 {
+               led-power1 {
                        label = "bcm53xx:amber:power";
                        gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
                };
 
-               usb {
+               led-usb {
                        label = "bcm53xx:blue:usb";
                        gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>,
@@ -54,7 +54,7 @@
                        linux,default-trigger = "usbport";
                };
 
-               wireless {
+               led-wireless {
                        label = "bcm53xx:blue:wireless";
                        gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
                };
index 76fc109..57d00a0 100644 (file)
        leds {
                compatible = "gpio-leds";
 
-               logo {
+               led-logo {
                        label = "bcm53xx:white:logo";
                        gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "default-on";
                };
 
-               power0 {
+               led-power0 {
                        label = "bcm53xx:green:power";
                        gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
                };
 
-               power1 {
+               led-power1 {
                        label = "bcm53xx:amber:power";
                        gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "default-on";
                };
 
-               usb {
+               led-usb {
                        label = "bcm53xx:blue:usb";
                        gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
                };
 
-               wireless {
+               led-wireless {
                        label = "bcm53xx:blue:wireless";
                        gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
                };
index 6bcdfb7..26cdeb5 100644 (file)
        leds {
                compatible = "gpio-leds";
 
-               power-white {
+               led-power-white {
                        label = "bcm53xx:white:power";
                        gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "default-on";
                };
 
-               power-amber {
+               led-power-amber {
                        label = "bcm53xx:amber:power";
                        gpios = <&chipcommon 2 GPIO_ACTIVE_HIGH>;
                };
 
-               usb2 {
+               led-usb2 {
                        label = "bcm53xx:white:usb2";
                        gpios = <&chipcommon 3 GPIO_ACTIVE_HIGH>;
                        trigger-sources = <&ohci_port2>, <&ehci_port2>;
                        linux,default-trigger = "usbport";
                };
 
-               usb3-white {
+               led-usb3-white {
                        label = "bcm53xx:white:usb3";
                        gpios = <&chipcommon 4 GPIO_ACTIVE_HIGH>;
                        trigger-sources = <&xhci_port1>;
                        linux,default-trigger = "usbport";
                };
 
-               usb3-green {
+               led-usb3-green {
                        label = "bcm53xx:green:usb3";
                        gpios = <&chipcommon 5 GPIO_ACTIVE_HIGH>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
                };
 
-               wps {
+               led-wps {
                        label = "bcm53xx:white:wps";
                        gpios = <&chipcommon 6 GPIO_ACTIVE_HIGH>;
                };
 
-               status-red {
+               led-status-red {
                        label = "bcm53xx:red:status";
                        gpios = <&chipcommon 8 GPIO_ACTIVE_HIGH>;
                };
 
-               status-green {
+               led-status-green {
                        label = "bcm53xx:green:status";
                        gpios = <&chipcommon 9 GPIO_ACTIVE_HIGH>;
                };
 
-               status-blue {
+               led-status-blue {
                        label = "bcm53xx:blue:status";
                        gpios = <&chipcommon 10 GPIO_ACTIVE_HIGH>;
                };
 
-               wan-white {
+               led-wan-white {
                        label = "bcm53xx:white:wan";
                        gpios = <&chipcommon 12 GPIO_ACTIVE_HIGH>;
                };
 
-               wan-red {
+               led-wan-red {
                        label = "bcm53xx:red:wan";
                        gpios = <&chipcommon 13 GPIO_ACTIVE_HIGH>;
                };
index ca47cc4..3854db0 100644 (file)
        leds {
                compatible = "gpio-leds";
 
-               power {
+               led-power {
                        label = "bcm53xx:blue:power";
                        gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "default-on";
                };
 
-               usb2 {
+               led-usb2 {
                        label = "bcm53xx:blue:usb2";
                        gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
                };
 
-               wan {
+               led-wan {
                        label = "bcm53xx:blue:wan";
                        gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "default-on";
                };
 
-               lan {
+               led-lan {
                        label = "bcm53xx:blue:lan";
                        gpios = <&chipcommon 9 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "default-on";
                };
 
-               usb3 {
+               led-usb3 {
                        label = "bcm53xx:blue:usb3";
                        gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
                };
index 0edc254..407319c 100644 (file)
        leds {
                compatible = "gpio-leds";
 
-               power0 {
+               led-power0 {
                        label = "bcm53xx:green:power";
                        gpios = <&hc595 1 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "default-on";
                };
 
-               power1 {
+               led-power1 {
                        label = "bcm53xx:red:power";
                        gpios = <&hc595 2 GPIO_ACTIVE_HIGH>;
                };
 
-               router0 {
+               led-router0 {
                        label = "bcm53xx:green:router";
                        gpios = <&hc595 3 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "default-on";
                };
 
-               router1 {
+               led-router1 {
                        label = "bcm53xx:amber:router";
                        gpios = <&hc595 4 GPIO_ACTIVE_HIGH>;
                };
 
-               wan {
+               led-wan {
                        label = "bcm53xx:green:wan";
                        gpios = <&hc595 5 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "default-on";
                };
 
-               wireless0 {
+               led-wireless0 {
                        label = "bcm53xx:green:wireless";
                        gpios = <&hc595 6 GPIO_ACTIVE_HIGH>;
                };
 
-               wireless1 {
+               led-wireless1 {
                        label = "bcm53xx:amber:wireless";
                        gpios = <&hc595 7 GPIO_ACTIVE_HIGH>;
                };
index 1f0998f..f8622ec 100644 (file)
        leds {
                compatible = "gpio-leds";
 
-               usb {
+               led-usb {
                        label = "bcm53xx:green:usb";
                        gpios = <&hc595 0 GPIO_ACTIVE_HIGH>;
                };
 
-               power0 {
+               led-power0 {
                        label = "bcm53xx:green:power";
                        gpios = <&hc595 1 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "default-on";
                };
 
-               power1 {
+               led-power1 {
                        label = "bcm53xx:red:power";
                        gpios = <&hc595 2 GPIO_ACTIVE_HIGH>;
                };
 
-               router0 {
+               led-router0 {
                        label = "bcm53xx:green:router";
                        gpios = <&hc595 3 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "default-on";
                };
 
-               router1 {
+               led-router1 {
                        label = "bcm53xx:amber:router";
                        gpios = <&hc595 4 GPIO_ACTIVE_HIGH>;
                };
 
-               wan {
+               led-wan {
                        label = "bcm53xx:green:wan";
                        gpios = <&hc595 5 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "default-on";
                };
 
-               wireless0 {
+               led-wireless0 {
                        label = "bcm53xx:green:wireless";
                        gpios = <&hc595 6 GPIO_ACTIVE_HIGH>;
                };
 
-               wireless1 {
+               led-wireless1 {
                        label = "bcm53xx:amber:wireless";
                        gpios = <&hc595 7 GPIO_ACTIVE_HIGH>;
                };
index c8c0237..76c9b30 100644 (file)
        leds {
                compatible = "gpio-leds";
 
-               5ghz {
+               led-5ghz {
                        label = "bcm53xx:blue:5ghz";
                        gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "none";
                };
 
-               2ghz {
+               led-2ghz {
                        label = "bcm53xx:blue:2ghz";
                        gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "none";
                };
 
-               status {
+               led-status {
                        label = "bcm53xx:green:status";
                        gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "timer";
index 3b35a7a..6ef0c07 100644 (file)
        leds {
                compatible = "gpio-leds";
 
-               power {
+               led-power {
                        label = "bcm53xx:green:power";
                        gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "default-on";
                };
 
-               lan3 {
+               led-lan3 {
                        label = "bcm53xx:green:lan3";
                        gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "none";
                };
 
-               lan4 {
+               led-lan4 {
                        label = "bcm53xx:green:lan4";
                        gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "none";
                };
 
-               wan {
+               led-wan {
                        label = "bcm53xx:green:wan";
                        gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "none";
                };
 
-               lan2 {
+               led-lan2 {
                        label = "bcm53xx:green:lan2";
                        gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "none";
                };
 
-               usb {
+               led-usb {
                        label = "bcm53xx:green:usb";
                        gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port2>, <&ehci_port2>;
                        linux,default-trigger = "usbport";
                };
 
-               status {
+               led-status {
                        label = "bcm53xx:green:status";
                        gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "timer";
                };
 
-               2ghz {
+               led-2ghz {
                        label = "bcm53xx:green:2ghz";
                        gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "none";
                };
 
-               5ghz {
+               led-5ghz {
                        label = "bcm53xx:green:5ghz";
                        gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "none";
                };
 
-               lan1 {
+               led-lan1 {
                        label = "bcm53xx:green:lan1";
                        gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "none";
index db9a37d..b6a5886 100644 (file)
        leds {
                compatible = "gpio-leds";
 
-               2ghz {
+               led-2ghz {
                        label = "bcm53xx:green:2ghz";
                        gpios = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
                };
 
-               lan {
+               led-lan {
                        label = "bcm53xx:green:lan";
                        gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>;
                };
 
-               usb2-port1 {
+               led-usb2-port1 {
                        label = "bcm53xx:green:usb2-port1";
                        gpios = <&chipcommon 2 GPIO_ACTIVE_HIGH>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
                };
 
-               power {
+               led-power {
                        label = "bcm53xx:green:power";
                        gpios = <&chipcommon 4 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "default-on";
                };
 
-               wan-green {
+               led-wan-green {
                        label = "bcm53xx:green:wan";
                        gpios = <&chipcommon 5 GPIO_ACTIVE_HIGH>;
                };
 
-               wps {
+               led-wps {
                        label = "bcm53xx:green:wps";
                        gpios = <&chipcommon 6 GPIO_ACTIVE_HIGH>;
                };
 
-               wan-amber {
+               led-wan-amber {
                        label = "bcm53xx:amber:wan";
                        gpios = <&chipcommon 8 GPIO_ACTIVE_HIGH>;
                };
 
-               5ghz {
+               led-5ghz {
                        label = "bcm53xx:green:5ghz";
                        gpios = <&chipcommon 12 GPIO_ACTIVE_HIGH>;
                };
 
-               usb2-port2 {
+               led-usb2-port2 {
                        label = "bcm53xx:green:usb2-port2";
                        gpios = <&chipcommon 13 GPIO_ACTIVE_HIGH>;
                        trigger-sources = <&ohci_port2>, <&ehci_port2>;
index f52a75c..4f44cb4 100644 (file)
        leds {
                compatible = "gpio-leds";
 
-               wps {
+               led-wps {
                        label = "bcm53xx:blue:wps";
                        gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
                };
 
-               power {
+               led-power {
                        label = "bcm53xx:blue:power";
                        gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "default-on";
                };
 
-               wan {
+               led-wan {
                        label = "bcm53xx:red:wan";
                        gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
                };
index 5ff6c58..b7cd2fa 100644 (file)
        leds {
                compatible = "gpio-leds";
 
-               usb {
+               led-usb {
                        label = "bcm53xx:green:usb";
                        gpios = <&chipcommon 4 GPIO_ACTIVE_HIGH>;
                };
 
-               power-amber {
+               led-power-amber {
                        label = "bcm53xx:amber:power";
                        gpios = <&chipcommon 5 GPIO_ACTIVE_HIGH>;
                };
 
-               power-white {
+               led-power-white {
                        label = "bcm53xx:white:power";
                        gpios = <&chipcommon 6 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "default-on";
                };
 
-               router-amber {
+               led-router-amber {
                        label = "bcm53xx:amber:router";
                        gpios = <&chipcommon 7 GPIO_ACTIVE_HIGH>;
                };
 
-               router-white {
+               led-router-white {
                        label = "bcm53xx:white:router";
                        gpios = <&chipcommon 8 GPIO_ACTIVE_HIGH>;
                };
 
-               wan-amber {
+               led-wan-amber {
                        label = "bcm53xx:amber:wan";
                        gpios = <&chipcommon 9 GPIO_ACTIVE_HIGH>;
                };
 
-               wan-white {
+               led-wan-white {
                        label = "bcm53xx:white:wan";
                        gpios = <&chipcommon 10 GPIO_ACTIVE_HIGH>;
                };
 
-               wireless-amber {
+               led-wireless-amber {
                        label = "bcm53xx:amber:wireless";
                        gpios = <&chipcommon 11 GPIO_ACTIVE_HIGH>;
                };
 
-               wireless-white {
+               led-wireless-white {
                        label = "bcm53xx:white:wireless";
                        gpios = <&chipcommon 12 GPIO_ACTIVE_HIGH>;
                };
index de961fb..24ba8f8 100644 (file)
        leds {
                compatible = "gpio-leds";
 
-               power-white {
+               led-power-white {
                        label = "bcm53xx:white:power";
                        gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "default-on";
                };
 
-               power-amber {
+               led-power-amber {
                        label = "bcm53xx:amber:power";
                        gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
                };
 
-               5ghz {
+               led-5ghz {
                        label = "bcm53xx:white:5ghz";
                        gpios = <&chipcommon 12 GPIO_ACTIVE_LOW>;
                };
 
-               2ghz {
+               led-2ghz {
                        label = "bcm53xx:white:2ghz";
                        gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
                };
 
-               wps {
+               led-wps {
                        label = "bcm53xx:white:wps";
                        gpios = <&chipcommon 14 GPIO_ACTIVE_HIGH>;
                };
 
-               wireless {
+               led-wireless {
                        label = "bcm53xx:white:wireless";
                        gpios = <&chipcommon 15 GPIO_ACTIVE_HIGH>;
                };
 
-               usb3 {
+               led-usb3 {
                        label = "bcm53xx:white:usb3";
                        gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
                };
 
-               usb2 {
+               led-usb2 {
                        label = "bcm53xx:white:usb2";
                        gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>;
                };
index 087f7f6..14303ab 100644 (file)
        leds {
                compatible = "gpio-leds";
 
-               power-white {
+               led-power-white {
                        label = "bcm53xx:white:power";
                        gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "default-on";
                };
 
-               power-amber {
+               led-power-amber {
                        label = "bcm53xx:amber:power";
                        gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
                };
 
-               wan-white {
+               led-wan-white {
                        label = "bcm53xx:white:wan";
                        gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "default-on";
                };
 
-               wan-amber {
+               led-wan-amber {
                        label = "bcm53xx:amber:wan";
                        gpios = <&chipcommon 9 GPIO_ACTIVE_HIGH>;
                };
 
-               5ghz-1 {
+               led-5ghz-1 {
                        label = "bcm53xx:white:5ghz-1";
                        gpios = <&chipcommon 12 GPIO_ACTIVE_LOW>;
                };
 
-               2ghz {
+               led-2ghz {
                        label = "bcm53xx:white:2ghz";
                        gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
                };
 
-               wireless {
+               led-wireless {
                        label = "bcm53xx:white:wireless";
                        gpios = <&chipcommon 14 GPIO_ACTIVE_HIGH>;
                };
 
-               wps {
+               led-wps {
                        label = "bcm53xx:white:wps";
                        gpios = <&chipcommon 15 GPIO_ACTIVE_HIGH>;
                };
 
-               5ghz-2 {
+               led-5ghz-2 {
                        label = "bcm53xx:white:5ghz-2";
                        gpios = <&chipcommon 16 GPIO_ACTIVE_LOW>;
                };
 
-               usb3 {
+               led-usb3 {
                        label = "bcm53xx:white:usb3";
                        gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
                };
 
-               usb2 {
+               led-usb2 {
                        label = "bcm53xx:white:usb2";
                        gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>;
                };
index 2cfb105..5a8b2b1 100644 (file)
        leds {
                compatible = "gpio-leds";
 
-               lan {
+               led-lan {
                        label = "bcm53xx:blue:lan";
                        gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>;
                };
 
-               wps {
+               led-wps {
                        label = "bcm53xx:blue:wps";
                        gpios = <&chipcommon 2 GPIO_ACTIVE_HIGH>;
                };
 
-               2ghz {
+               led-2ghz {
                        label = "bcm53xx:blue:2ghz";
                        gpios = <&chipcommon 4 GPIO_ACTIVE_HIGH>;
                };
 
-               5ghz {
+               led-5ghz {
                        label = "bcm53xx:blue:5ghz";
                        gpios = <&chipcommon 5 GPIO_ACTIVE_HIGH>;
                };
 
-               usb3 {
+               led-usb3 {
                        label = "bcm53xx:blue:usb3";
                        gpios = <&chipcommon 6 GPIO_ACTIVE_HIGH>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>,
                        linux,default-trigger = "usbport";
                };
 
-               usb2 {
+               led-usb2 {
                        label = "bcm53xx:blue:usb2";
                        gpios = <&chipcommon 7 GPIO_ACTIVE_HIGH>;
                        trigger-sources = <&ohci_port2>, <&ehci_port2>;
                        linux,default-trigger = "usbport";
                };
 
-               wan-blue {
+               led-wan-blue {
                        label = "bcm53xx:blue:wan";
                        gpios = <&chipcommon 14 GPIO_ACTIVE_HIGH>;
                };
 
-               wan-amber {
+               led-wan-amber {
                        label = "bcm53xx:amber:wan";
                        gpios = <&chipcommon 15 GPIO_ACTIVE_HIGH>;
                };
 
-               power {
+               led-power {
                        label = "bcm53xx:blue:power";
                        gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "default-on";
index a5fec56..a50ff68 100644 (file)
        leds {
                compatible = "gpio-leds";
 
-               power {
+               led-power {
                        label = "white:power";
                        gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "default-on";
                };
 
-               wan-red {
+               led-wan-red {
                        label = "red:wan";
                        gpios = <&chipcommon 5 GPIO_ACTIVE_HIGH>;
                };
 
-               lan {
+               led-lan {
                        label = "white:lan";
                        gpios = <&chipcommon 21 GPIO_ACTIVE_LOW>;
                };
 
-               usb2 {
+               led-usb2 {
                        label = "white:usb2";
                        gpios = <&chipcommon 16 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ehci_port2>;
                        linux,default-trigger = "usbport";
                };
 
-               usb3 {
+               led-usb3 {
                        label = "white:usb3";
                        gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ehci_port1>, <&xhci_port1>;
                        linux,default-trigger = "usbport";
                };
 
-               wps {
+               led-wps {
                        label = "white:wps";
                        gpios = <&chipcommon 19 GPIO_ACTIVE_LOW>;
                };
index 2c38b64..555fbe4 100644 (file)
        leds {
                compatible = "gpio-leds";
 
-               power-white {
+               led-power-white {
                        label = "bcm53xx:white:power";
                        gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "default-on";
                };
 
-               wan-white {
+               led-wan-white {
                        label = "bcm53xx:white:wan";
                        gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
                };
 
-               power-amber {
+               led-power-amber {
                        label = "bcm53xx:amber:power";
                        gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
                };
 
-               wan-amber {
+               led-wan-amber {
                        label = "bcm53xx:amber:wan";
                        gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
                };
 
-               usb3-white {
+               led-usb3-white {
                        label = "bcm53xx:white:usb3";
                        gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>,
                        linux,default-trigger = "usbport";
                };
 
-               2ghz {
+               led-2ghz {
                        label = "bcm53xx:white:2ghz";
                        gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
                };
 
-               5ghz {
+               led-5ghz {
                        label = "bcm53xx:white:5ghz";
                        gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
                };
index c9f8acc..d945a20 100644 (file)
                 */
                compatible = "gpio-leds";
 
-               power-white {
+               led-power-white {
                        label = "bcm53xx:white:power";
                        gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "default-on";
                };
 
-               wan-white {
+               led-wan-white {
                        label = "bcm53xx:white:wan";
                        gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
                };
 
-               power-amber {
+               led-power-amber {
                        label = "bcm53xx:amber:power";
                        gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
                };
 
-               wan-amber {
+               led-wan-amber {
                        label = "bcm53xx:amber:wan";
                        gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
                };
 
-               usb3-white {
+               led-usb3-white {
                        label = "bcm53xx:white:usb3";
                        gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&xhci_port1>;
                        linux,default-trigger = "usbport";
                };
 
-               usb2-white {
+               led-usb2-white {
                        label = "bcm53xx:white:usb2";
                        gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
                };
 
-               2ghz {
+               led-2ghz {
                        label = "bcm53xx:white:2ghz";
                        gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
                };
 
-               5ghz {
+               led-5ghz {
                        label = "bcm53xx:white:5ghz";
                        gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
                };
index 86c7cc0..d9a16a8 100644 (file)
        leds {
                compatible = "gpio-leds";
 
-               wps {
+               led-wps {
                        label = "bcm53xx:white:wps";
                        gpios = <&chipcommon 22 GPIO_ACTIVE_LOW>;
                };
 
-               usb2 {
+               led-usb2 {
                        label = "bcm53xx:green:usb2";
                        gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port2>, <&ehci_port2>;
                        linux,default-trigger = "usbport";
                };
 
-               usb3 {
+               led-usb3 {
                        label = "bcm53xx:green:usb3";
                        gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>,
                        linux,default-trigger = "usbport";
                };
 
-               power {
+               led-power {
                        label = "bcm53xx:white:power";
                        gpios = <&chipcommon 4 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "default-on";
                };
 
-               wifi-disabled {
+               led-wifi-disabled {
                        label = "bcm53xx:amber:wifi-disabled";
                        gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
                };
 
-               wifi-enabled {
+               led-wifi-enabled {
                        label = "bcm53xx:white:wifi-enabled";
                        gpios = <&chipcommon 5 GPIO_ACTIVE_HIGH>;
                };
 
-               bluebar1 {
+               led-bluebar1 {
                        label = "bcm53xx:white:bluebar1";
                        gpios = <&chipcommon 11 GPIO_ACTIVE_HIGH>;
                };
 
-               bluebar2 {
+               led-bluebar2 {
                        label = "bcm53xx:white:bluebar2";
                        gpios = <&chipcommon 12 GPIO_ACTIVE_HIGH>;
                };
 
-               bluebar3 {
+               led-bluebar3 {
                        label = "bcm53xx:white:bluebar3";
                        gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;
                };
 
-               bluebar4 {
+               led-bluebar4 {
                        label = "bcm53xx:white:bluebar4";
                        gpios = <&chipcommon 18 GPIO_ACTIVE_HIGH>;
                };
 
-               bluebar5 {
+               led-bluebar5 {
                        label = "bcm53xx:white:bluebar5";
                        gpios = <&chipcommon 19 GPIO_ACTIVE_HIGH>;
                };
 
-               bluebar6 {
+               led-bluebar6 {
                        label = "bcm53xx:white:bluebar6";
                        gpios = <&chipcommon 20 GPIO_ACTIVE_HIGH>;
                };
 
-               bluebar7 {
+               led-bluebar7 {
                        label = "bcm53xx:white:bluebar7";
                        gpios = <&chipcommon 21 GPIO_ACTIVE_HIGH>;
                };
 
-               bluebar8 {
+               led-bluebar8 {
                        label = "bcm53xx:white:bluebar8";
                        gpios = <&chipcommon 8 GPIO_ACTIVE_HIGH>;
                };
index 9ad15bc..41a0722 100644 (file)
        leds {
                compatible = "gpio-leds";
 
-               status {
+               led-status {
                        label = "bcm53xx:green:status";
                        gpios = <&chipcommon 20 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "timer";
                };
 
-               usb3 {
+               led-usb3 {
                        label = "bcm53xx:green:usb3";
                        gpios = <&chipcommon 19 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>,
index ee24d37..c56c7e3 100644 (file)
        leds {
                compatible = "gpio-leds";
 
-               status  {
+               led-status {
                        label = "bcm53xx:green:status";
                        gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "timer";
                };
 
-               2ghz {
+               led-2ghz {
                        label = "bcm53xx:blue:2ghz";
                        gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
                };
 
-               5ghz {
+               led-5ghz {
                        label = "bcm53xx:blue:5ghz";
                        gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
                };
index 6549d07..1b5c91a 100644 (file)
        leds {
                compatible = "gpio-leds";
 
-               status {
+               led-status {
                        label = "bcm53xx:green:status";
                        gpios = <&chipcommon 20 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "timer";
                };
 
-               usb3 {
+               led-usb3 {
                        label = "bcm53xx:green:usb3";
                        gpios = <&chipcommon 19 GPIO_ACTIVE_HIGH>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>,
index 654fcce..739063b 100644 (file)
@@ -25,7 +25,7 @@
        leds {
                compatible = "gpio-leds";
 
-               status  {
+               led-status {
                        label = "bcm53xx:green:status";
                        gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "timer";
index bf053a2..7afc68d 100644 (file)
        leds {
                compatible = "gpio-leds";
 
-               power   {
+               led-power {
                        label = "bcm53xx:green:power";
                        gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "default-on";
                };
 
-               lan3    {
+               led-lan3 {
                        label = "bcm53xx:green:lan3";
                        gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
                };
 
-               lan4    {
+               led-lan4 {
                        label = "bcm53xx:green:lan4";
                        gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
                };
 
-               wan     {
+               led-wan {
                        label = "bcm53xx:green:wan";
                        gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
                };
 
-               lan1    {
+               led-lan1 {
                        label = "bcm53xx:green:lan1";
                        gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
                };
 
-               lan2    {
+               led-lan2 {
                        label = "bcm53xx:green:lan2";
                        gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
                };
 
-               usb3    {
+               led-usb3 {
                        label = "bcm53xx:green:usb3";
                        gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>,
                        linux,default-trigger = "usbport";
                };
 
-               status  {
+               led-status {
                        label = "bcm53xx:green:status";
                        gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "timer";
                };
 
-               2ghz {
+               led-2ghz {
                        label = "bcm53xx:green:2ghz";
                        gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
                };
 
-               5ghz {
+               led-5ghz {
                        label = "bcm53xx:green:5ghz";
                        gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
                };
index 78a90dd..60a2c44 100644 (file)
        leds {
                compatible = "gpio-leds";
 
-               power   {
+               led-power {
                        label = "bcm53xx:green:power";
                        gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "default-on";
                };
 
-               usb3    {
+               led-usb3 {
                        label = "bcm53xx:green:usb3";
                        gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>,
                        linux,default-trigger = "usbport";
                };
 
-               status  {
+               led-status {
                        label = "bcm53xx:green:status";
                        gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "timer";
                };
 
-               2ghz {
+               led-2ghz {
                        label = "bcm53xx:green:2ghz";
                        gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
                };
 
-               5ghz {
+               led-5ghz {
                        label = "bcm53xx:green:5ghz";
                        gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
                };
index f850dce..76d5626 100644 (file)
        leds {
                compatible = "gpio-leds";
 
-               power0 {
+               led-power0 {
                        label = "bcm53xx:white:power";
                        gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "default-on";
                };
 
-               power1 {
+               led-power1 {
                        label = "bcm53xx:amber:power";
                        gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
                };
 
-               5ghz-1 {
+               led-5ghz-1 {
                        label = "bcm53xx:white:5ghz-1";
                        gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
                };
 
-               5ghz-2 {
+               led-5ghz-2 {
                        label = "bcm53xx:white:5ghz-2";
                        gpios = <&chipcommon 12 GPIO_ACTIVE_LOW>;
                };
 
-               2ghz {
+               led-2ghz {
                        label = "bcm53xx:white:2ghz";
                        gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
                };
 
-               usb2 {
+               led-usb2 {
                        label = "bcm53xx:white:usb2";
                        gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
                };
 
-               usb3 {
+               led-usb3 {
                        label = "bcm53xx:white:usb3";
                        gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>;
                };
index e20b6d2..0734aa2 100644 (file)
        leds {
                compatible = "gpio-leds";
 
-               wlan {
+               led-wlan {
                        label = "bcm53xx:blue:wlan";
                        gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "default-off";
                };
 
-               system {
+               led-system {
                        label = "bcm53xx:green:system";
                        gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "timer";
index 9d86357..e6fb6cb 100644 (file)
                reg = <0x00000000 0x08000000>;
        };
 
-       leds {
+       leds-0 {
                compatible = "gpio-leds";
 
-               5ghz {
+               led-5ghz {
                        label = "bcm53xx:blue:5ghz";
                        gpios = <&chipcommon 11 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "default-off";
                };
 
-               system {
+               led-system {
                        label = "bcm53xx:green:system";
                        gpios = <&chipcommon 15 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "timer";
                };
        };
 
-       pcie0_leds {
+       leds-1 {
                compatible = "gpio-leds";
 
-               2ghz {
+               led-2ghz {
                        label = "bcm53xx:blue:2ghz";
                        gpios = <&pcie0_chipcommon 3 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "default-off";
index 55b9264..dab2e5f 100644 (file)
                reg = <0x00000000 0x08000000>;
        };
 
-       leds {
+       leds-0 {
                compatible = "gpio-leds";
 
-               usb {
+               led-usb {
                        label = "bcm53xx:blue:usb";
                        gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
                };
 
-               wps {
+               led-wps {
                        label = "bcm53xx:blue:wps";
                        gpios = <&chipcommon 10 GPIO_ACTIVE_HIGH>;
                };
 
-               5ghz {
+               led-5ghz {
                        label = "bcm53xx:blue:5ghz";
                        gpios = <&chipcommon 11 GPIO_ACTIVE_HIGH>;
                };
 
-               system {
+               led-system {
                        label = "bcm53xx:blue:system";
                        gpios = <&chipcommon 15 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "timer";
                };
        };
 
-       pcie0_leds {
+       leds-1 {
                compatible = "gpio-leds";
 
-               2ghz {
+               led-2ghz {
                        label = "bcm53xx:blue:2ghz";
                        gpios = <&pcie0_chipcommon 3 GPIO_ACTIVE_HIGH>;
                };
index b44a244..c1f5439 100644 (file)
        leds {
                compatible = "gpio-leds";
 
-               power {
+               led-power {
                        function = LED_FUNCTION_POWER;
                        color = <LED_COLOR_ID_GREEN>;
                        gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
                        default-state = "on";
                };
 
-               diag {
+               led-diag {
                        /* Actually "diag" unclear what this means */
                        function = LED_FUNCTION_INDICATOR;
                        color = <LED_COLOR_ID_RED>;
                        linux,default-trigger = "heartbeat";
                };
 
-               wlan-2g {
+               led-wlan-2g {
                        function = LED_FUNCTION_WLAN;
                        color = <LED_COLOR_ID_GREEN>;
                        gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
                };
 
-               wlan-5g {
+               led-wlan-5g {
                        function = LED_FUNCTION_WLAN;
                        color = <LED_COLOR_ID_GREEN>;
                        gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
index e678bc0..46c2c93 100644 (file)
@@ -58,7 +58,7 @@
        pwm-leds {
                compatible = "pwm-leds";
 
-               red {
+               led-0 {
                        /* SYS-LED 1 - Tricolor */
                        function = LED_FUNCTION_INDICATOR;
                        color = <LED_COLOR_ID_RED>;
@@ -66,7 +66,7 @@
                        max-brightness = <255>;
                };
 
-               green {
+               led-1 {
                        /* SYS-LED 1 - Tricolor */
                        function = LED_FUNCTION_POWER;
                        color = <LED_COLOR_ID_GREEN>;
@@ -74,7 +74,7 @@
                        max-brightness = <255>;
                };
 
-               blue {
+               led-2 {
                        /* SYS-LED 1 - Tricolor */
                        function = LED_FUNCTION_INDICATOR;
                        color = <LED_COLOR_ID_BLUE>;
index 16e70a2..3709baa 100644 (file)
        leds {
                compatible = "gpio-leds";
 
-               wps {
+               led-wps {
                        label = "bcm53xx:blue:wps";
                        gpios = <&chipcommon 10 GPIO_ACTIVE_HIGH>;
                };
 
-               5ghz {
+               led-5ghz {
                        label = "bcm53xx:blue:5ghz";
                        gpios = <&chipcommon 11 GPIO_ACTIVE_HIGH>;
                };
 
-               2ghz {
+               led-2ghz {
                        label = "bcm53xx:blue:2ghz";
                        gpios = <&chipcommon 12 GPIO_ACTIVE_HIGH>;
                };