blob: 6235a933aec8fb7e365c798d4c37830977a0a4e1 [file] [log] [blame]
/*
* Copyright (c) 2022 Espressif Systems (Shanghai) Co., Ltd.
*
* SPDX-License-Identifier: Apache-2.0
*/
/ {
aliases {
/* On ESP32-C3, only GPIO0~5 can be used
* as wake-up sources
*/
wakeup-button = &sample_button;
};
gpio_keys {
compatible = "gpio-keys";
sample_button: sample_button {
gpios = <&gpio0 0 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>;
};
};
};