1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #ifndef STUMPY_ONBOARD_H
4 #define STUMPY_ONBOARD_H
6 /* Recovery: GPIO42 = CHP3_REC_MODE#, active low */
7 #define GPIO_REC_MODE 42
9 /* Write Protect: GPIO68 = CHP3_SPI_WP, active high */
10 #define GPIO_SPI_WP 68
12 int get_power_switch(void);