arm64: tegra: Add PWM fan support on Jetson Xavier

Enable PWM4 in device tree and use it to drive the PWM fan on the Jetson
Xavier.

Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
Thierry Reding 2018-09-21 11:08:28 +02:00
parent 6a574ec70c
commit 585423535c

View File

@ -12,5 +12,14 @@
sdhci@3400000 {
status = "okay";
};
pwm@c340000 {
status = "okay";
};
};
fan {
compatible = "pwm-fan";
pwms = <&pwm4 0 45334>;
};
};