Commit
a93db5724ada1c09a434f43258db4545a893a1af
arm64: tegra: Add PWM fan on Jetson AGX Thor DevKit
Without a PWM fan device node to actively control the PWM, the fan will either stop or run at full speed, depending on the state of the PWM when the controller's clock gets turned off during boot. One is bad for the system's lifetime and the other is very annoying for anyone in close proximity to the device, so add the PWM fan in device tree to fix this. Signed-off-by: Thierry Reding <treding@nvidia.com>
Thierry Reding <treding@nvidia.com> · 2026-08-27 15:01 UTC
1 file changed,
+13
−0
modified arch/arm64/boot/dts/nvidia/tegra264-p4071-0000+p3834.dtsi
| @@ -9,4 +9,17 @@ | |||
| 9 | 9 | chosen { | |
| 10 | 10 | stdout-path = "serial0:115200n8"; | |
| 11 | 11 | }; | |
| 12 | + | ||
| 13 | + | bus@0 { | |
| 14 | + | pwm@c6a0000 { | |
| 15 | + | status = "okay"; | |
| 16 | + | }; | |
| 17 | + | }; | |
| 18 | + | ||
| 19 | + | fan: pwm-fan { | |
| 20 | + | compatible = "pwm-fan"; | |
| 21 | + | cooling-levels = <77 102 140 192 255>; | |
| 22 | + | pwms = <&pwm4 0 40000>; | |
| 23 | + | #cooling-cells = <2>; | |
| 24 | + | }; | |
| 12 | 25 | }; | |