ThuBaNguyen | fb21478 | 2021-07-08 14:20:43 +0700 | [diff] [blame] | 1 | # Index of GPIO device in gpioget/gpioset |
| 2 | GPIO_CHIP0_IDX=0 |
| 3 | GPIO_CHIP1_IDX=1 |
| 4 | |
| 5 | # Base of GPIO chip in /sys/class/gpio |
| 6 | GPIO_CHIP0_BASE=792 |
| 7 | GPIO_CHIP1_BASE=780 |
| 8 | |
| 9 | ### Power control configuration |
| 10 | # Power control gpios |
| 11 | S0_SHD_REQ_L=49 |
| 12 | S0_SHD_ACK_L=50 |
| 13 | S0_REBOOT_ACK_L=75 |
| 14 | S0_SYSRESET_L=91 |
| 15 | |
| 16 | |
| 17 | ### Table 1: GPIO Assignments |
| 18 | S0_CPU_FW_BOOT_OK=48 |
| 19 | CPU_BMC_OVERTEMP_L=51 |
| 20 | CPU_BMC_HIGHTEMP_L=72 |
| 21 | CPU_FAULT_ALERT=73 |
| 22 | S1_CPU_FW_BOOT_OK=202 |
| 23 | |
| 24 | ### Table 2: Alert and Additional Miscellaneous Signals |
| 25 | S0_SCP_AUTH_FAILURE=74 |
| 26 | S1_SCP_AUTH_FAILURE=205 |
| 27 | BMC_OK=228 |
| 28 | SLAVE_PRESENT_L=230 |
| 29 | |
| 30 | ### Common GPIOs |
| 31 | SYS_PSON_L=42 |
| 32 | BMC_READY=229 |