1/* 2 * Copyright (c) 2022 Espressif Systems (Shanghai) Co., Ltd. 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/ { 8 aliases { 9 /* On ESP32-C3, only GPIO0~5 can be used 10 * as wake-up sources 11 */ 12 wakeup-button = &sample_button; 13 }; 14 15 gpio_keys { 16 compatible = "gpio-keys"; 17 sample_button: sample_button { 18 gpios = <&gpio0 0 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>; 19 }; 20 }; 21}; 22