summaryrefslogtreecommitdiff
path: root/board/adlrvpp_mchp1727/gpio.inc
diff options
context:
space:
mode:
Diffstat (limited to 'board/adlrvpp_mchp1727/gpio.inc')
-rw-r--r--board/adlrvpp_mchp1727/gpio.inc13
1 files changed, 10 insertions, 3 deletions
diff --git a/board/adlrvpp_mchp1727/gpio.inc b/board/adlrvpp_mchp1727/gpio.inc
index 47231e0a4d..1eea86462c 100644
--- a/board/adlrvpp_mchp1727/gpio.inc
+++ b/board/adlrvpp_mchp1727/gpio.inc
@@ -185,9 +185,16 @@ ALTERNATE(PIN_MASK(3, 0x00003001), 1, MODULE_I2C, GPIO_ODR_HIGH)
*/
ALTERNATE(PIN_MASK(4, 0x0039), 1, MODULE_ADC, GPIO_ANALOG)
-/* Alternate pins for FAN */
-/* mchp_todo: GPIO053/GPWM0 for RPM-FAN */
-/* mchp_todo: GPIO050/GTACH0 for RPM-FAN */
+/*
+ * Alternate pins for RPM-FAN control
+ *
+ * GPIO050/GTACH0 = CPU_TACHO_FAN
+ * GPIO053/GPWM0 = CPU_PWM_FAN
+ * GTACH0 = GPIO_050(Bank=1, bit=8) Func2
+ * GPWM0 = GPIO_053(Bank=1, bit=11) Func3
+ */
+ALTERNATE(PIN_MASK(1, 0x0100), 2, MODULE_PWM, GPIO_FLAG_NONE)
+ALTERNATE(PIN_MASK(1, 0x0800), 3, MODULE_PWM, GPIO_FLAG_NONE)
/* Keyboard pins */
#define GPIO_KB_INPUT (GPIO_INPUT | GPIO_PULL_UP)