I want to use PWM2 on i.MX6Q. While i am adding PWM2 node with IOMUX settings - MX6QDL_PAD_GPIO_1__PWM2_OUT in device tree, my board gets reboot every time after giving log - Starting kernel ... . I can not able to get reset cause.
I am using Linux kernel - 4.1.15_2.0.0 with Yocto BSP Krogoth- 4.1.15_2.0.0
Hi himali
for pwm2 settings example one can look at BD nitrogen board dts:
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi igor
I am using these settings only for dts as mentioned in above link.
&pwm2 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pwm2>;
status = "okay";
};
IOMUX Settings:
pinctrl_pwm2: pwm2grp {
fsl,pins = <
MX6QDL_PAD_GPIO_1__PWM2_OUT 0x1b0b1
>;
};
- himali
Hi Himali,
The PWM configuration is correct.
Are you still facing that PWM issue for i.MX6Q?
If yes then,
Share Kernel boot-up log and board's ".dts" file.
Also, share some basic details of your development environment. I.e. Which development board (custom!) you are using?
Thanks,