|
@@ -420,7 +420,7 @@ i2c@3 {
|
|
|
|
|
|
};
|
|
|
|
|
|
- gpio_keys {
|
|
|
+ gpio_keys {
|
|
|
compatible = "gpio-keys";
|
|
|
pinctrl-names = "default";
|
|
|
pinctrl-0 = <&di_pins_default>;
|
|
@@ -429,31 +429,35 @@ i2c@3 {
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
button@1 {
|
|
|
+ linux,input-type = <5>;
|
|
|
debounce_interval = <50>;
|
|
|
- linux,code = <60>;
|
|
|
- label = "F2";
|
|
|
- gpios = <&gpio0 30 0x0>;
|
|
|
+ linux,code = <0x0f>;
|
|
|
+ label = "IN_2";
|
|
|
+ gpios = <&gpio0 31 0x0>;
|
|
|
gpio-key,wakeup;
|
|
|
};
|
|
|
button@2 {
|
|
|
+ linux,input-type = <5>;
|
|
|
debounce_interval = <50>;
|
|
|
- linux,code = <59>;
|
|
|
- label = "F1";
|
|
|
- gpios = <&gpio0 31 0x0>;
|
|
|
+ linux,code = <0x10>;
|
|
|
+ label = "IN_1";
|
|
|
+ gpios = <&gpio0 30 0x0>;
|
|
|
gpio-key,wakeup;
|
|
|
};
|
|
|
button@3 {
|
|
|
+ linux,input-type = <5>;
|
|
|
debounce_interval = <50>;
|
|
|
- linux,code = <62>;
|
|
|
- label = "F4";
|
|
|
- gpios = <&gpio0 5 0x0>;
|
|
|
+ linux,code = <0x11>;
|
|
|
+ label = "IN_4";
|
|
|
+ gpios = <&gpio0 4 0x0>;
|
|
|
gpio-key,wakeup;
|
|
|
};
|
|
|
button@4 {
|
|
|
+ linux,input-type = <5>;
|
|
|
debounce_interval = <50>;
|
|
|
- linux,code = <61>;
|
|
|
- label = "F3";
|
|
|
- gpios = <&gpio0 4 0x0>;
|
|
|
+ linux,code = <0x12>;
|
|
|
+ label = "IN_3";
|
|
|
+ gpios = <&gpio0 5 0x0>;
|
|
|
gpio-key,wakeup;
|
|
|
};
|
|
|
};
|