Commit efd59256 authored by Aditya Xavier's avatar Aditya Xavier Committed by Florian Fainelli

ARM: dts: BCM5301X: Add missing Netgear R8000 LEDs and Keys

Added two WAN status LEDs and a GPIO key for brightness which were
missing.
Signed-off-by: default avatarAditya Xavier <adityaxavier@gmail.com>
Acked-by: default avatarRafał Miłecki <rafal@milecki.pl>
Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
parent cd846613
...@@ -38,18 +38,30 @@ memory { ...@@ -38,18 +38,30 @@ memory {
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
power0 { power-white {
label = "bcm53xx:white:power"; label = "bcm53xx:white:power";
gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
linux,default-trigger = "default-on"; linux,default-trigger = "default-on";
}; };
power1 { power-amber {
label = "bcm53xx:amber:power"; label = "bcm53xx:amber:power";
gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
linux,default-trigger = "default-off"; 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>;
linux,default-trigger = "default-off";
};
5ghz-1 { 5ghz-1 {
label = "bcm53xx:white:5ghz-1"; label = "bcm53xx:white:5ghz-1";
gpios = <&chipcommon 12 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 12 GPIO_ACTIVE_LOW>;
...@@ -115,6 +127,12 @@ restart { ...@@ -115,6 +127,12 @@ restart {
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
}; };
brightness {
label = "Backlight";
linux,code = <KEY_BRIGHTNESS_ZERO>;
gpios = <&chipcommon 19 GPIO_ACTIVE_LOW>;
};
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment