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