Skip to content

Commit bb108c9

Browse files
NeilChen93kartben
authored andcommitted
dts: arm/nxp: Add pwm nodes to NXP MCXA153 dtsi file
Add pwm nodes to NXP MCXA153 dtsi file Signed-off-by: Neil Chen <[email protected]>
1 parent b1dfd13 commit bb108c9

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

dts/arm/nxp/nxp_mcxa153.dtsi

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,45 @@
4242
status = "disabled";
4343
};
4444

45+
flexpwm0: flexpwm@400a9000 {
46+
compatible = "nxp,flexpwm";
47+
reg = <0x400a9000 0x1000>;
48+
interrupt-names = "RELOAD-ERROR", "FAULT";
49+
interrupts = <44 0>, <45 0>;
50+
flexpwm0_pwm0: pwm0 {
51+
compatible = "nxp,imx-pwm";
52+
index = <0>;
53+
interrupts = <46 0>;
54+
#pwm-cells = <3>;
55+
clocks = <&syscon MCUX_BUS_CLK>;
56+
nxp,prescaler = <128>;
57+
status = "disabled";
58+
run-in-wait;
59+
};
60+
61+
flexpwm0_pwm1: pwm1 {
62+
compatible = "nxp,imx-pwm";
63+
index = <1>;
64+
interrupts = <47 0>;
65+
#pwm-cells = <3>;
66+
clocks = <&syscon MCUX_BUS_CLK>;
67+
nxp,prescaler = <128>;
68+
status = "disabled";
69+
run-in-wait;
70+
};
71+
72+
flexpwm0_pwm2: pwm2 {
73+
compatible = "nxp,imx-pwm";
74+
index = <2>;
75+
interrupts = <48 0>;
76+
#pwm-cells = <3>;
77+
clocks = <&syscon MCUX_BUS_CLK>;
78+
nxp,prescaler = <128>;
79+
status = "disabled";
80+
run-in-wait;
81+
};
82+
};
83+
4584
fmu: flash-controller@40095000 {
4685
compatible = "nxp,msf1";
4786
reg = <0x40095000 0x1000>;

0 commit comments

Comments
 (0)