blob: 7921c6193d15198c5784a0bd10e373ee038c52da [file] [log] [blame]
/ {
/*
* There is no way to keep GPIOs
* during deep-sleep mode so output GPIOs
* and PWM's are useless.
*/
/* Short TL_Key1 (J20 pin 15) to ground (J50 pin 15-23) */
key_pool {
compatible = "gpio-keys";
inp {
gpios = <&gpioc 3 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>,
<&gpioc 1 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
};
};
key_matrix {
compatible = "gpio-keys";
col {
gpios = <&gpioc 2 GPIO_ACTIVE_HIGH>,
<&gpioc 0 GPIO_ACTIVE_HIGH>;
};
row {
gpios = <&gpioc 3 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>,
<&gpioc 1 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>;
};
};
};