devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] arm64: tegra: Enable PWM nodes for Orin Nano Devkit
@ 2023-07-06  0:55 Gautham Srinivasan
  2023-07-06  0:55 ` [PATCH 2/2] arm64: tegra: Enable soctherm " Gautham Srinivasan
  0 siblings, 1 reply; 3+ messages in thread
From: Gautham Srinivasan @ 2023-07-06  0:55 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Thierry Reding,
	Jonathan Hunter, devicetree, linux-tegra
  Cc: Gautham Srinivasan

Orin Nano Devkit (P3768+P3767) supports PWM1, PWM5 and PWM7
in 40 pin header. Enable them.

Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com>
---
 .../nvidia/tegra234-p3768-0000+p3767-0000.dts | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3768-0000+p3767-0000.dts b/arch/arm64/boot/dts/nvidia/tegra234-p3768-0000+p3767-0000.dts
index 65e4b51b79c1..b2473a8b43ff 100644
--- a/arch/arm64/boot/dts/nvidia/tegra234-p3768-0000+p3767-0000.dts
+++ b/arch/arm64/boot/dts/nvidia/tegra234-p3768-0000+p3767-0000.dts
@@ -25,12 +25,31 @@
 			status = "okay";
 		};
 
+
+		pwm@3280000 {
+			assigned-clocks = <&bpmp TEGRA234_CLK_PWM1>;
+			assigned-clock-parents = <&bpmp TEGRA234_CLK_PLLP_OUT0>;
+			status = "okay";
+		};
+
 		pwm@32a0000 {
 			assigned-clocks = <&bpmp TEGRA234_CLK_PWM3>;
 			assigned-clock-parents = <&bpmp TEGRA234_CLK_PLLP_OUT0>;
 			status = "okay";
 		};
 
+		pwm@32c0000 {
+			assigned-clocks = <&bpmp TEGRA234_CLK_PWM5>;
+			assigned-clock-parents = <&bpmp TEGRA234_CLK_PLLP_OUT0>;
+			status = "okay";
+		};
+
+		pwm@32e0000 {
+			assigned-clocks = <&bpmp TEGRA234_CLK_PWM7>;
+			assigned-clock-parents = <&bpmp TEGRA234_CLK_PLLP_OUT0>;
+			status = "okay";
+		};
+
 		hda@3510000 {
 			nvidia,model = "NVIDIA Jetson Orin NX HDA";
 			status = "okay";
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-07-07 13:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-06  0:55 [PATCH 1/2] arm64: tegra: Enable PWM nodes for Orin Nano Devkit Gautham Srinivasan
2023-07-06  0:55 ` [PATCH 2/2] arm64: tegra: Enable soctherm " Gautham Srinivasan
2023-07-07 13:00   ` Thierry Reding

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).