summaryrefslogtreecommitdiff
path: root/meta-ampere/meta-jade/recipes-bsp
AgeCommit message (Collapse)AuthorFilesLines
2021-02-01meta-ampere: u-boot: Disable internal PD resistors for GPIOsThang Q. Nguyen2-0/+46
Configure SCU8C - Multi-function pin control 4 to disable internal pull down resistors for GPIOJ, GPIOG/GPIOAB, GPIOD/GPIOY, GPIOC/GPIOS as external resistors are already installed. Tested: scan I2C4 and check devices on the bus are detected Signed-off-by: Thinh Pham <thinh.pham@amperecomputing.com> Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com> Change-Id: I5a4b682310b5243830bd9c7a66889b0a52c4770c
2021-02-01meta-ampere:mtjade:u-boot: Enable FANs to run at full speed on resetThang Q. Nguyen2-0/+92
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