Skip to content

Commit 142535f

Browse files
author
Al Stone
committed
arm64: tegra: Add PWM fan for Jetson AGX Orin
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2144639 Depends: https://bugzilla.redhat.com/show_bug.cgi?id=2135064 Tested: Simple boot test and CKI commit 7a2c613 Author: Jon Hunter <jonathanh@nvidia.com> Date: Wed Oct 19 14:29:03 2022 +0100 arm64: tegra: Add PWM fan for Jetson AGX Orin Add the PWM fan node for the Tegra234 Jetson AGX Orin platform. Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com> (cherry picked from commit 7a2c613) Signed-off-by: Al Stone <ahs3@redhat.com>
1 parent e1ac06e commit 142535f

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2007,6 +2007,12 @@
20072007
status = "okay";
20082008
};
20092009

2010+
pwm@32a0000 {
2011+
assigned-clocks = <&bpmp TEGRA234_CLK_PWM3>;
2012+
assigned-clock-parents = <&bpmp TEGRA234_CLK_PLLP_OUT0>;
2013+
status = "okay";
2014+
};
2015+
20102016
hda@3510000 {
20112017
nvidia,model = "NVIDIA Jetson AGX Orin HDA";
20122018
status = "okay";
@@ -2184,4 +2190,12 @@
21842190
phy-names = "p2u-0", "p2u-1", "p2u-2", "p2u-3", "p2u-4",
21852191
"p2u-5", "p2u-6", "p2u-7";
21862192
};
2193+
2194+
pwm-fan {
2195+
compatible = "pwm-fan";
2196+
pwms = <&pwm3 0 45334>;
2197+
2198+
cooling-levels = <0 95 178 255>;
2199+
#cooling-cells = <2>;
2200+
};
21872201
};

0 commit comments

Comments
 (0)