/* | |
* Copyright 2023 Google LLC | |
* | |
* SPDX-License-Identifier: Apache-2.0 | |
*/ | |
&gpio0 { | |
ngpios = <2>; | |
}; | |
/ { | |
buttons: gpio-keys0 { | |
compatible = "zephyr,gpio-keys"; | |
debounce-interval-ms = <30>; | |
voldown_button: button_0 { | |
gpios = <&gpio0 0 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>; | |
zephyr,code = <10>; | |
}; | |
volup_button: button_1 { | |
gpios = <&gpio0 1 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>; | |
zephyr,code = <11>; | |
}; | |
}; | |
}; |