Thanks @eric.tx .
OS is multimedia image - uname -r 5.4.115-5.3.0-devel+git.dbdbcabf0f98
From the link you’ve shared, I’ve added following block, I have taken care of the pinctrl (disabled from uart block and created new pingroup)
pwm5: pwm@40038000 {
compatible = “fsl,imx8qm-ftm-pwm”;
reg = <0x40038000 0x1000>;
#pwm-cells = <3>;
clock-names = “ftm_sys”, “ftm_ext”,
“ftm_fix”, “ftm_cnt_clk_en”;
clocks = <&clks IMX8QM_CLK_FTM0>,
<&clks IMX8QM_CLK_FTM0_EXT_SEL>,
<&clks IMX8QM_CLK_FTM0_FIX_SEL>,
<&clks IMX8QM_CLK_FTM0_EXT_FIX_EN>;
pinctrl-names = “default”;
pinctrl-0 = <&pinctrl_pwm0_1>;
big-endian;
};
I get following error
Error: arch/arm64/boot/dts/freescale/imx8qxp-colibri.dtsi:1424.7-19 syntax error
FATAL ERROR: Unable to parse input tree
It may be due to the unit address (40038000), but I’m not sure which address should I enter here for FSL_PWM. Could you please let me know where to look up these to select the correct one?
Apart from address, do you see any other potential issue?
Thanks