Skip to content

RW612: adding pinmux to ctimer-pwm causes hardfault #93823

@IvanLev

Description

@IvanLev

Describe the bug

Adding pinmux for timer output to any ctimer instance causes a hardfault at the board init state, I couldn't get any logs out of it or connect with a debugger.
Similar config for sctimer works properly.

Regression

  • This is a regression.

Steps to reproduce

Add the following to the board dts:

ctimer0: &ctimer0 {
 status = "okay";
 compatible = "nxp,ctimer-pwm";
 #pwm-cells = <3>;
 pinctrl-0 = <&pinmux_ctimer0_pwm>;
 pinctrl-names = "default";
};

And to pinctrl.dtsi:

pinmux_ctimer0_pwm: pinmux_ctimer0_pwm {
 group0 {
  pinmux = <IO_MUX_CT0_MAT0_OUT>;
  slew-rate = "normal";
 };
};

Relevant log output

Impact

Functional Limitation – Some features not working as expected, but system usable.

Environment

No response

Additional Context

No response

Metadata

Metadata

Labels

bugThe issue is a bug, or the PR is fixing a bugplatform: NXPNXPpriority: lowLow impact/importance bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions