ARM: BCM5301X: Add LEDs for Netgear R6250 V1
authorRafał Miłecki <zajec5@gmail.com>
Wed, 1 Oct 2014 13:45:29 +0000 (15:45 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 27 Nov 2014 21:30:32 +0000 (22:30 +0100)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
arch/arm/boot/dts/bcm4708-netgear-r6250.dts

index 3b5259de5a38deefe4d0c0d8d5ee001fd79090ba..58d999d79124945a14ce1256d1a302bc8bb63858 100644 (file)
                        status = "okay";
                };
        };
+
+       leds {
+               compatible = "gpio-leds";
+
+               logo {
+                       label = "bcm53xx:white:logo";
+                       gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>;
+                       linux,default-trigger = "default-on";
+               };
+
+               power0 {
+                       label = "bcm53xx:green:power";
+                       gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
+                       linux,default-trigger = "default-off";
+               };
+
+               power1 {
+                       label = "bcm53xx:amber:power";
+                       gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
+                       linux,default-trigger = "default-on";
+               };
+
+               usb {
+                       label = "bcm53xx:blue:usb";
+                       gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
+                       linux,default-trigger = "default-off";
+               };
+
+               wireless {
+                       label = "bcm53xx:blue:wireless";
+                       gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
+                       linux,default-trigger = "default-off";
+               };
+       };
 };