arm64: dts: freescale: imx8mp-toradex-smarc: add fan PWM configuration

Configure correctly the FAN pwm output (inverted).

Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
Francesco Dolcini 2025-04-30 11:41:47 +02:00 committed by Shawn Guo
parent 21faf8f8e0
commit 8c7432dc2a

View File

@ -3,6 +3,8 @@
/dts-v1/;
#include <dt-bindings/pwm/pwm.h>
#include "imx8mp-toradex-smarc.dtsi"
/ {
@ -205,9 +207,14 @@ &i2c6 {
status = "okay";
/* Fan controller */
fan@18 {
fan_controller: fan@18 {
compatible = "ti,amc6821";
reg = <0x18>;
#pwm-cells = <2>;
fan {
pwms = <&fan_controller 40000 PWM_POLARITY_INVERTED>;
};
};
/* Current measurement into module VDD */