1 /* SPDX-License-Identifier: GPL-2.0-only */
8 void configure_gpio(u8 gpio
, u8 iomux_ftn
, u8 setting
);
10 int get_spd_offset(void);
12 #define GPIO_10 10 // PE3 Reset
13 #define GPIO_11 11 // PE4 Reset
14 #define GPIO_15 15 // board rev strap ms bit
15 #define GPIO_16 16 // board rev strap ls bit
16 #define GPIO_17 17 // TP13
17 #define GPIO_18 18 // TP10
18 #define GPIO_187 187 // MODESW
19 #define GPIO_189 189 // LED1#
20 #define GPIO_190 190 // LED2#
21 #define GPIO_191 191 // LED3#
22 #define GPIO_FTN_1 0x01
23 #define GPIO_OUTPUT 0x08
24 #define GPIO_INPUT 0x28
25 #define GPIO_DATA_IN 0x80
26 #define GPIO_DATA_LOW 0x00
27 #define GPIO_DATA_HIGH 0x40
29 #endif /* GPIO_FTNS_H */