meta-ampere:mtjade:u-boot: Enable FANs to run at full speed on reset

When BMC is reseting, FANs do not run at all. This might cause heating
issue in case the Host CPU is in high load.
To protect the hardware, it is safe to set FANs run at full speed when
BMC is booting. After it boots complete, phosphor-fan service will take
control on FANs to make them work at the right speed.

This commit adds patch to configure all PWM function pins to input GPIO mode
to make FANs run at full speed.

Tested:
1. Boot BMC to Linux.
2. Turn on Host by "ipmitool chassis power on" command
3. Reboot BMC and check if FAN speed is maximum at u-boot.

Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com>
Change-Id: I38f1433a576a1700938347dc89eddacf3fb3bf60
2 files changed
tree: df5877794dac5217fb8054ef27210a4dd6813fdb
  1. conf/
  2. meta-jade/
  3. COPYING.apache-2.0
  4. COPYING.MIT
  5. LICENSE
  6. MAINTAINERS