332-ARM-BCM5301X-Add-power-button-for-Buffalo-WZR-1750DHP.patch 520 B

1234567891011121314151617181920
  1. From: Felix Fietkau <nbd@nbd.name>
  2. Subject: [PATCH] ARM: BCM5301X: Add power button for Buffalo WZR-1750DHP
  3. Signed-off-by: Felix Fietkau <nbd@nbd.name>
  4. ---
  5. --- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
  6. +++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
  7. @@ -101,6 +101,12 @@
  8. #address-cells = <1>;
  9. #size-cells = <0>;
  10. + power {
  11. + label = "Power";
  12. + linux,code = <KEY_POWER>;
  13. + gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
  14. + };
  15. +
  16. restart {
  17. label = "Reset";
  18. linux,code = <KEY_RESTART>;