ORIN NX GP_PWM7 throwing dmesg Error

hello mfischer,

this is known issue for Orin NX, which has no read/write permission in CCPLEX so cannot control PWM7.
could you please moving to Jetpack-5.1/l4t-r35.2.1 release version.
please modify device tree to enable pwm7 node since it’s default mark as disabled.

+++ b/cvb/tegra234-p3768-0000-a0.dtsi
@@ -253,6 +253,10 @@
                status = "disabled";
        };
 
+       pwm@32e0000 {/* PWM7 - 40pin header, pin 32 */
+               status = "okay";
+       };
+

and…
please modify firewall config, tegra234-mb2-bct-scr-p3767-0000.dts for adding below.
you’ll need to re-flash the target to apply those settings.

diff --git a/firewall/tegra234-mb2-bct-scr-p3767-0000.dts b/firewall/tegra234-mb2-bct-scr-p3767-0000.dts
index 247c821..921b09e 100644
--- a/firewall/tegra234-mb2-bct-scr-p3767-0000.dts
+++ b/firewall/tegra234-mb2-bct-scr-p3767-0000.dts
@@ -2540,6 +2540,17 @@
             exclusion-info = <0>;
             value = <0x80030000>;
         };
+
+        reg@5126 { /* CBB_CENTRAL_CBB_FIREWALL_PWM7_BLF, READ_CTL */
+            exclusion-info = <2>;
+            value = <0x0010000a>;
+        };
+
+        reg@5127 { /* CBB_CENTRAL_CBB_FIREWALL_PWM7_BLF, WRITE_CTL */
+            exclusion-info = <2>;
+            value = <0x0010000a>;
+        };
+
         /* ARF Section */
         reg@5837 { /* FSI_FABRIC, FSI_CHSM_CPU_T_FIREWALL_ARF_0, ARF_SIZE */
1 Like