|
@@ -85,19 +85,19 @@
|
|
|
keys {
|
|
keys {
|
|
|
compatible = "gpio-keys";
|
|
compatible = "gpio-keys";
|
|
|
|
|
|
|
|
- wps_button {
|
|
|
|
|
|
|
+ wps {
|
|
|
label = "WPS button";
|
|
label = "WPS button";
|
|
|
linux,code = <KEY_WPS_BUTTON>;
|
|
linux,code = <KEY_WPS_BUTTON>;
|
|
|
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
|
|
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
- wifi_button {
|
|
|
|
|
|
|
+ wifi {
|
|
|
label = "WiFi button";
|
|
label = "WiFi button";
|
|
|
linux,code = <KEY_RFKILL>;
|
|
linux,code = <KEY_RFKILL>;
|
|
|
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
|
|
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
- reset_button {
|
|
|
|
|
|
|
+ reset {
|
|
|
label = "Reset button";
|
|
label = "Reset button";
|
|
|
linux,code = <KEY_RESTART>;
|
|
linux,code = <KEY_RESTART>;
|
|
|
gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
|
|
gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
|