arm64: dts: Add dt to enable tegra tachometer

Tegra234 tachometer supports FAN speed in rpm.
This change is added to enable tachometer module.

Bug 3771589

Change-Id: Iec98e32c50bb43f47eb64af41a8d25c6175f96f1
Signed-off-by: Sandipan Patra <spatra@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2775691
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Sandipan Patra
2022-09-13 09:42:33 +05:30
committed by mobile promotions
parent 8c66804775
commit 0d01039657

View File

@@ -184,6 +184,20 @@
rtc@c2a0000 {
status = "okay";
};
tachometer@39c0000 {
compatible = "nvidia,pwm-tegra234-tachometer";
reg = <0x039c0000 0x10>;
#pwm-cells = <2>;
clocks = <&bpmp TEGRA234_CLK_TACH0>;
clock-names = "tach";
resets = <&bpmp TEGRA234_RESET_TACH0>;
reset-names = "tach";
pulse-per-rev = <2>;
capture-window-length = <2>;
disable-clk-gate;
status = "okay";
};
};
};