@@ -320,19 +320,19 @@ fan@2 {
fan@3 {
/* FAN4 (6-pin) */
reg = <0x03>;
- aspeed,fan-tach-ch = /bits/ 8 <0x04 0x0b>;
+ aspeed,fan-tach-ch = /bits/ 8 <0x03 0x0b>;
};
fan@4 {
- /* FAN6 (6-pin) */
+ /* FAN6 (6-pin), wired to PWM5 */
reg = <0x04>;
- aspeed,fan-tach-ch = /bits/ 8 <0x06 0x0d>;
+ aspeed,fan-tach-ch = /bits/ 8 <0x05 0x0d>;
};
fan@5 {
- /* FAN5 (6-pin) */
+ /* FAN5 (6-pin), wired to PWM6 */
reg = <0x05>;
- aspeed,fan-tach-ch = /bits/ 8 <0x05 0x0c>;
+ aspeed,fan-tach-ch = /bits/ 8 <0x04 0x0c>;
};
};
The tachometer channel numbers for FAN4, FAN5 and FAN6 did not match the board's actual PWM wiring, causing incorrect fan speed readings. FAN6 is wired to PWM5 and FAN5 is wired to PWM6 (not PWM6/PWM5 respectively as previously assigned), and FAN4's tach channel was off by one. Signed-off-by: Renze Nicolai <renze@rnplus.nl> --- arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-x570d4u.dts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)