ipq806x: add missing wakeup-source for gpio keys
wakeup-source is required for gpio keys to fix error genirq: irq_chip msmgpio did not update eff. affinity mask Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
This commit is contained in:
parent
1603d09964
commit
3bae740311
16 changed files with 105 additions and 0 deletions
|
@ -33,12 +33,16 @@
|
||||||
label = "reset";
|
label = "reset";
|
||||||
gpios = <&qcom_pinmux 24 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 24 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_RESTART>;
|
linux,code = <KEY_RESTART>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
|
|
||||||
wps {
|
wps {
|
||||||
label = "wps";
|
label = "wps";
|
||||||
gpios = <&qcom_pinmux 22 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 22 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_WPS_BUTTON>;
|
linux,code = <KEY_WPS_BUTTON>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
|
|
||||||
mode0 {
|
mode0 {
|
||||||
|
@ -46,6 +50,8 @@
|
||||||
gpios = <&qcom_pinmux 40 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 40 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <BTN_0>;
|
linux,code = <BTN_0>;
|
||||||
linux,input-type = <EV_SW>;
|
linux,input-type = <EV_SW>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
|
|
||||||
mode1 {
|
mode1 {
|
||||||
|
@ -53,6 +59,8 @@
|
||||||
gpios = <&qcom_pinmux 41 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 41 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <BTN_1>;
|
linux,code = <BTN_1>;
|
||||||
linux,input-type = <EV_SW>;
|
linux,input-type = <EV_SW>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -22,24 +22,32 @@
|
||||||
label = "wifi";
|
label = "wifi";
|
||||||
gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_RFKILL>;
|
linux,code = <KEY_RFKILL>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
|
|
||||||
reset {
|
reset {
|
||||||
label = "reset";
|
label = "reset";
|
||||||
gpios = <&qcom_pinmux 7 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 7 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_RESTART>;
|
linux,code = <KEY_RESTART>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
|
|
||||||
wps {
|
wps {
|
||||||
label = "wps";
|
label = "wps";
|
||||||
gpios = <&qcom_pinmux 67 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 67 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_WPS_BUTTON>;
|
linux,code = <KEY_WPS_BUTTON>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
|
|
||||||
led_enable {
|
led_enable {
|
||||||
label = "led-enable";
|
label = "led-enable";
|
||||||
gpios = <&qcom_pinmux 53 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 53 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_LIGHTS_TOGGLE>;
|
linux,code = <KEY_LIGHTS_TOGGLE>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -20,24 +20,32 @@
|
||||||
label = "wifi";
|
label = "wifi";
|
||||||
gpios = <&qcom_pinmux 49 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 49 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_RFKILL>;
|
linux,code = <KEY_RFKILL>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
|
|
||||||
reset {
|
reset {
|
||||||
label = "reset";
|
label = "reset";
|
||||||
gpios = <&qcom_pinmux 64 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 64 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_RESTART>;
|
linux,code = <KEY_RESTART>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
|
|
||||||
wps {
|
wps {
|
||||||
label = "wps";
|
label = "wps";
|
||||||
gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_WPS_BUTTON>;
|
linux,code = <KEY_WPS_BUTTON>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
|
|
||||||
ledswitch {
|
ledswitch {
|
||||||
label = "ledswitch";
|
label = "ledswitch";
|
||||||
gpios = <&qcom_pinmux 16 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 16 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_LIGHTS_TOGGLE>;
|
linux,code = <KEY_LIGHTS_TOGGLE>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -33,18 +33,24 @@
|
||||||
label = "wifi";
|
label = "wifi";
|
||||||
gpios = <&qcom_pinmux 6 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 6 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_RFKILL>;
|
linux,code = <KEY_RFKILL>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
|
|
||||||
reset {
|
reset {
|
||||||
label = "reset";
|
label = "reset";
|
||||||
gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_RESTART>;
|
linux,code = <KEY_RESTART>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
|
|
||||||
wps {
|
wps {
|
||||||
label = "wps";
|
label = "wps";
|
||||||
gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_WPS_BUTTON>;
|
linux,code = <KEY_WPS_BUTTON>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -32,12 +32,16 @@
|
||||||
label = "reset";
|
label = "reset";
|
||||||
gpios = <&qcom_pinmux 68 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 68 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_RESTART>;
|
linux,code = <KEY_RESTART>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
|
|
||||||
wps {
|
wps {
|
||||||
label = "wps";
|
label = "wps";
|
||||||
gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_WPS_BUTTON>;
|
linux,code = <KEY_WPS_BUTTON>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -27,18 +27,24 @@
|
||||||
label = "wifi";
|
label = "wifi";
|
||||||
gpios = <&qcom_pinmux 67 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 67 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_RFKILL>;
|
linux,code = <KEY_RFKILL>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
|
|
||||||
reset {
|
reset {
|
||||||
label = "reset";
|
label = "reset";
|
||||||
gpios = <&qcom_pinmux 68 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 68 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_RESTART>;
|
linux,code = <KEY_RESTART>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
|
|
||||||
wps {
|
wps {
|
||||||
label = "wps";
|
label = "wps";
|
||||||
gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_WPS_BUTTON>;
|
linux,code = <KEY_WPS_BUTTON>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -86,24 +86,32 @@
|
||||||
label = "ir-remote";
|
label = "ir-remote";
|
||||||
gpios = <&qcom_pinmux 15 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 15 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <BTN_0>;
|
linux,code = <BTN_0>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
|
|
||||||
reset {
|
reset {
|
||||||
label = "reset";
|
label = "reset";
|
||||||
gpios = <&qcom_pinmux 16 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 16 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_RESTART>;
|
linux,code = <KEY_RESTART>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
|
|
||||||
wps5g {
|
wps5g {
|
||||||
label = "wps5g";
|
label = "wps5g";
|
||||||
gpios = <&qcom_pinmux 64 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 64 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_WPS_BUTTON>;
|
linux,code = <KEY_WPS_BUTTON>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
|
|
||||||
wps2g {
|
wps2g {
|
||||||
label = "wps2g";
|
label = "wps2g";
|
||||||
gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_WPS_BUTTON>;
|
linux,code = <KEY_WPS_BUTTON>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -44,18 +44,24 @@
|
||||||
label = "wifi";
|
label = "wifi";
|
||||||
gpios = <&qcom_pinmux 6 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 6 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_RFKILL>;
|
linux,code = <KEY_RFKILL>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
|
|
||||||
reset {
|
reset {
|
||||||
label = "reset";
|
label = "reset";
|
||||||
gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_RESTART>;
|
linux,code = <KEY_RESTART>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
|
|
||||||
wps {
|
wps {
|
||||||
label = "wps";
|
label = "wps";
|
||||||
gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_WPS_BUTTON>;
|
linux,code = <KEY_WPS_BUTTON>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -40,18 +40,24 @@
|
||||||
label = "wifi";
|
label = "wifi";
|
||||||
gpios = <&qcom_pinmux 6 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 6 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_RFKILL>;
|
linux,code = <KEY_RFKILL>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
|
|
||||||
reset {
|
reset {
|
||||||
label = "reset";
|
label = "reset";
|
||||||
gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_RESTART>;
|
linux,code = <KEY_RESTART>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
|
|
||||||
wps {
|
wps {
|
||||||
label = "wps";
|
label = "wps";
|
||||||
gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_WPS_BUTTON>;
|
linux,code = <KEY_WPS_BUTTON>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -46,6 +46,7 @@
|
||||||
gpios = <&qcom_pinmux 68 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 68 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_RESTART>;
|
linux,code = <KEY_RESTART>;
|
||||||
debounce-interval = <60>;
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -29,30 +29,40 @@
|
||||||
label = "wifi";
|
label = "wifi";
|
||||||
gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_RFKILL>;
|
linux,code = <KEY_RFKILL>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
|
|
||||||
reset {
|
reset {
|
||||||
label = "reset";
|
label = "reset";
|
||||||
gpios = <&qcom_pinmux 64 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 64 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_RESTART>;
|
linux,code = <KEY_RESTART>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
|
|
||||||
wps {
|
wps {
|
||||||
label = "wps";
|
label = "wps";
|
||||||
gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_WPS_BUTTON>;
|
linux,code = <KEY_WPS_BUTTON>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
|
|
||||||
dect {
|
dect {
|
||||||
label = "dect";
|
label = "dect";
|
||||||
gpios = <&qcom_pinmux 67 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 67 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_PHONE>;
|
linux,code = <KEY_PHONE>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
|
|
||||||
ledswitch {
|
ledswitch {
|
||||||
label = "ledswitch";
|
label = "ledswitch";
|
||||||
gpios = <&qcom_pinmux 68 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 68 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_LIGHTS_TOGGLE>;
|
linux,code = <KEY_LIGHTS_TOGGLE>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -29,12 +29,16 @@
|
||||||
label = "wps";
|
label = "wps";
|
||||||
gpios = <&qcom_pinmux 16 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 16 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_WPS_BUTTON>;
|
linux,code = <KEY_WPS_BUTTON>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
|
|
||||||
reset {
|
reset {
|
||||||
label = "reset";
|
label = "reset";
|
||||||
gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_RESTART>;
|
linux,code = <KEY_RESTART>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
|
|
||||||
bridge {
|
bridge {
|
||||||
|
@ -42,6 +46,8 @@
|
||||||
gpios = <&qcom_pinmux 24 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 24 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <BTN_0>;
|
linux,code = <BTN_0>;
|
||||||
linux,input-type = <EV_SW>;
|
linux,input-type = <EV_SW>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
|
|
||||||
converter {
|
converter {
|
||||||
|
@ -49,6 +55,8 @@
|
||||||
gpios = <&qcom_pinmux 25 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 25 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <BTN_0>;
|
linux,code = <BTN_0>;
|
||||||
linux,input-type = <EV_SW>;
|
linux,input-type = <EV_SW>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -83,6 +83,8 @@
|
||||||
label = "reset";
|
label = "reset";
|
||||||
gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_RESTART>;
|
linux,code = <KEY_RESTART>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -91,30 +91,40 @@
|
||||||
label = "power";
|
label = "power";
|
||||||
gpios = <&qcom_pinmux 58 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 58 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_POWER>;
|
linux,code = <KEY_POWER>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
|
|
||||||
reset {
|
reset {
|
||||||
label = "reset";
|
label = "reset";
|
||||||
gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_RESTART>;
|
linux,code = <KEY_RESTART>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
|
|
||||||
wps {
|
wps {
|
||||||
label = "wps";
|
label = "wps";
|
||||||
gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_WPS_BUTTON>;
|
linux,code = <KEY_WPS_BUTTON>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
|
|
||||||
eject {
|
eject {
|
||||||
label = "eject";
|
label = "eject";
|
||||||
gpios = <&qcom_pinmux 6 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 6 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_EJECTCD>;
|
linux,code = <KEY_EJECTCD>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
|
|
||||||
guest {
|
guest {
|
||||||
label = "guest";
|
label = "guest";
|
||||||
gpios = <&qcom_pinmux 64 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 64 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <BTN_0>;
|
linux,code = <BTN_0>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
|
|
||||||
ap {
|
ap {
|
||||||
|
@ -122,6 +132,8 @@
|
||||||
gpios = <&qcom_pinmux 55 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 55 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <BTN_1>;
|
linux,code = <BTN_1>;
|
||||||
linux,input-type = <EV_SW>;
|
linux,input-type = <EV_SW>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
|
|
||||||
router {
|
router {
|
||||||
|
@ -129,6 +141,8 @@
|
||||||
gpios = <&qcom_pinmux 56 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 56 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <BTN_1>;
|
linux,code = <BTN_1>;
|
||||||
linux,input-type = <EV_SW>;
|
linux,input-type = <EV_SW>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
|
|
||||||
auto {
|
auto {
|
||||||
|
@ -136,6 +150,8 @@
|
||||||
gpios = <&qcom_pinmux 57 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 57 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <BTN_1>;
|
linux,code = <BTN_1>;
|
||||||
linux,input-type = <EV_SW>;
|
linux,input-type = <EV_SW>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -36,18 +36,24 @@
|
||||||
gpios = <&qcom_pinmux 53 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 53 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_RFKILL>;
|
linux,code = <KEY_RFKILL>;
|
||||||
linux,input-type = <EV_SW>;
|
linux,input-type = <EV_SW>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
|
|
||||||
reset {
|
reset {
|
||||||
label = "reset";
|
label = "reset";
|
||||||
gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_RESTART>;
|
linux,code = <KEY_RESTART>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
|
|
||||||
wps {
|
wps {
|
||||||
label = "wps";
|
label = "wps";
|
||||||
gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_WPS_BUTTON>;
|
linux,code = <KEY_WPS_BUTTON>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -57,6 +57,8 @@
|
||||||
label = "reset";
|
label = "reset";
|
||||||
gpios = <&qcom_pinmux 25 GPIO_ACTIVE_LOW>;
|
gpios = <&qcom_pinmux 25 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_RESTART>;
|
linux,code = <KEY_RESTART>;
|
||||||
|
debounce-interval = <60>;
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue