Skip to contentSkip to conversation

ARM: dts: imx7ulp: Add TMP6 PWM node to i.MX7ULP

PATCH Applied Krzysztof Kaszubski 2 participants 2 messages Oct 21 – Nov 4

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ARM: dts: imx7ulp: Add TMP6 PWM node to i.MX7ULP

Add the Low Power Timer/Pulse Width Modulation Module 6 (TPM6) node to the i.MX 7ULP device tree.

TPM6 is located in the Application Domain (Cortex-A7) at base address 0x40a10000. This enables PWM and timer support for peripherals connected to this domain, such as display backlight controllers.

---
v2:
- sort TPM6 node by unit address

 arch/arm/boot/dts/nxp/imx/imx7ulp.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)
arch/arm/boot/dts/nxp/imx/imx7ulp.dtsi +10 -0
index 39e37ae9b2b1..6240750b84dc 100644
@@ -366,6 +366,16 @@ ahbbridge1: bus@40800000 {
 		reg = <0x40800000 0x800000>;
 		ranges;
 
+		tpm6: pwm@40a10000 {
+			compatible = "fsl,imx7ulp-pwm";
+			reg = <0x40a10000 0x1000>;
+			assigned-clocks = <&pcc3 IMX7ULP_CLK_LPTPM6>;
+			assigned-clock-parents = <&scg1 IMX7ULP_CLK_SOSC_BUS_CLK>;
+			clocks = <&pcc3 IMX7ULP_CLK_LPTPM6>;
+			#pwm-cells = <3>;
+			status = "disabled";
+		};
+
 		lpi2c6: i2c@40a40000 {
 			compatible = "fsl,imx7ulp-lpi2c";
 			reg = <0x40a40000 0x10000>;
Signature · 1 line
2.43.0
#1 lore raw

From: Frank Li <[email protected]>

Quoted 9 lines · Krzysztof Kaszubski

Add the Low Power Timer/Pulse Width Modulation Module 6 (TPM6) node to the i.MX 7ULP device tree.

TPM6 is located in the Application Domain (Cortex-A7) at base address 0x40a10000. This enables PWM and timer support for peripherals connected to this domain, such as display backlight controllers.

[...]

Applied, thanks!

[1/1] ARM: dts: imx7ulp: Add TMP6 PWM node to i.MX7ULP

      commit: d00ea6ec73f6288cc05dcd9b66d35b078c2149b1

Best regards,

Signature · 1 line
Frank Li <[email protected]>