]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/arm/boot/dts/bcm4709-netgear-r8000.dts
Merge tag 'kbuild-uapi-v4.12' of git://git.kernel.org/pub/scm/linux/kernel/git/masahi...
[karo-tx-linux.git] / arch / arm / boot / dts / bcm4709-netgear-r8000.dts
index 8e39a84e5bf9eb23ca0f0fc0efd9cfd5f5ba410e..d266131652addd105eb8750255a2f825a6c724a6 100644 (file)
@@ -4,7 +4,17 @@
  *
  * Copyright (C) 2015 Rafał Miłecki <zajec5@gmail.com>
  *
- * Licensed under the GNU/GPL. See COPYING for details.
+ * Permission to use, copy, modify, and/or distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
+ * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
+ * AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
+ * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
+ * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
+ * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+ * PERFORMANCE OF THIS SOFTWARE.
  */
 
 /dts-v1/;
        leds {
                compatible = "gpio-leds";
 
-               power0 {
+               power-white {
                        label = "bcm53xx:white:power";
                        gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "default-on";
                };
 
-               power1 {
+               power-amber {
                        label = "bcm53xx:amber:power";
                        gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
-                       linux,default-trigger = "default-off";
+               };
+
+               wan-white {
+                       label = "bcm53xx:white:wan";
+                       gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
+                       linux,default-trigger = "default-on";
+               };
+
+               wan-amber {
+                       label = "bcm53xx:amber:wan";
+                       gpios = <&chipcommon 9 GPIO_ACTIVE_HIGH>;
                };
 
                5ghz-1 {
                        label = "bcm53xx:white:5ghz-1";
                        gpios = <&chipcommon 12 GPIO_ACTIVE_LOW>;
-                       linux,default-trigger = "default-off";
                };
 
                2ghz {
                        label = "bcm53xx:white:2ghz";
                        gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
-                       linux,default-trigger = "default-off";
                };
 
                wireless {
                        label = "bcm53xx:white:wireless";
                        gpios = <&chipcommon 14 GPIO_ACTIVE_HIGH>;
-                       linux,default-trigger = "default-off";
                };
 
                wps {
                        label = "bcm53xx:white:wps";
                        gpios = <&chipcommon 15 GPIO_ACTIVE_HIGH>;
-                       linux,default-trigger = "default-off";
                };
 
                5ghz-2 {
                        label = "bcm53xx:white:5ghz-2";
                        gpios = <&chipcommon 16 GPIO_ACTIVE_LOW>;
-                       linux,default-trigger = "default-off";
                };
 
                usb3 {
                        label = "bcm53xx:white:usb3";
                        gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
-                       linux,default-trigger = "default-off";
                };
 
                usb2 {
                        label = "bcm53xx:white:usb2";
                        gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>;
-                       linux,default-trigger = "default-off";
                };
        };
 
                        linux,code = <KEY_RESTART>;
                        gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
                };
+
+               brightness {
+                       label = "Backlight";
+                       linux,code = <KEY_BRIGHTNESS_ZERO>;
+                       gpios = <&chipcommon 19 GPIO_ACTIVE_LOW>;
+               };
        };
 };