galp6: Set CPU/VGA fan sense to TACH functionality
Set D6 and D7 to ALT to use as tachometers inputs from the fans. Matches config for all other boards. Ref: IT5570E V0.3.2 datasheet; 7.5.4 Alternate Function Selection Signed-off-by: Tim Crawford <tcrawford@system76.com>
This commit is contained in:
committed by
Jeremy Soller
parent
e093952dd2
commit
1ebc0bc6c2
@ -145,9 +145,9 @@ void gpio_init(void) {
|
||||
// PWR_BTN#
|
||||
GPCRD5 = GPIO_OUT;
|
||||
// CPU_FANSEN
|
||||
GPCRD6 = GPIO_IN | GPIO_DOWN;
|
||||
GPCRD6 = GPIO_ALT;
|
||||
// VGA_FANSEN
|
||||
GPCRD7 = GPIO_IN | GPIO_DOWN;
|
||||
GPCRD7 = GPIO_ALT;
|
||||
// SMC_BAT
|
||||
GPCRE0 = GPIO_ALT | GPIO_UP;
|
||||
// AC_PRESENT
|
||||
|
Reference in New Issue
Block a user