Add i.MX7ULP EVK board PWM support.

Signed-off-by: Anson Huang <anson.hu...@nxp.com>
---
Changes since V9:
        - update compatible name;
        - update node name and label;
---
 arch/arm/boot/dts/imx7ulp.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm/boot/dts/imx7ulp.dtsi b/arch/arm/boot/dts/imx7ulp.dtsi
index eb349fd..2ee893d 100644
--- a/arch/arm/boot/dts/imx7ulp.dtsi
+++ b/arch/arm/boot/dts/imx7ulp.dtsi
@@ -124,6 +124,16 @@
                        status = "disabled";
                };
 
+               tpm4: pwm@40250000 {
+                       compatible = "fsl,imx7ulp-pwm";
+                       reg = <0x40250000 0x1000>;
+                       assigned-clocks = <&pcc2 IMX7ULP_CLK_LPTPM4>;
+                       assigned-clock-parents = <&scg1 
IMX7ULP_CLK_SOSC_BUS_CLK>;
+                       clocks = <&pcc2 IMX7ULP_CLK_LPTPM4>;
+                       #pwm-cells = <3>;
+                       status = "disabled";
+               };
+
                tpm5: tpm@40260000 {
                        compatible = "fsl,imx7ulp-tpm";
                        reg = <0x40260000 0x1000>;
-- 
2.7.4

Reply via email to