Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f6f82344 authored by Rafał Miłecki's avatar Rafał Miłecki Committed by Hauke Mehrtens
Browse files

ARM: BCM5301X: Add buttons for Netgear R6250

parent dec37882
Loading
Loading
Loading
Loading
+25 −0
Original line number Diff line number Diff line
@@ -66,4 +66,29 @@
			linux,default-trigger = "default-off";
		};
	};

	gpio-keys {
		compatible = "gpio-keys";
		#address-cells = <1>;
		#size-cells = <0>;
		poll-interval = <200>;

		wps {
			label = "WPS";
			linux,code = <KEY_WPS_BUTTON>;
			gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
		};

		rfkill {
			label = "WiFi";
			linux,code = <KEY_RFKILL>;
			gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
		};

		restart {
			label = "Reset";
			linux,code = <KEY_RESTART>;
			gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
		};
	};
};
+1 −0
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@
 */

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include "skeleton.dtsi"