|
@@ -20,14 +20,14 @@
|
|
};
|
|
};
|
|
|
|
|
|
gpio_keys {
|
|
gpio_keys {
|
|
- compatible = "gpio-keys";
|
|
|
|
|
|
+ compatible = "gpio-keys";
|
|
pinctrl-0 = <&power_button_pin>;
|
|
pinctrl-0 = <&power_button_pin>;
|
|
pinctrl-names = "default";
|
|
pinctrl-names = "default";
|
|
|
|
|
|
power-button {
|
|
power-button {
|
|
label = "Power Button";
|
|
label = "Power Button";
|
|
linux,code = <KEY_POWER>;
|
|
linux,code = <KEY_POWER>;
|
|
- gpios = <&gpio4 22 GPIO_ACTIVE_HIGH>;
|
|
|
|
|
|
+ gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
|