boards: nxp: frdm_mcxn947: PWM Support
Updated frdm_mcxn947 to add FlexPWM Support, including updating the docs file. Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
This commit is contained in:
parent
d2bfed764c
commit
8adb7c17ca
5 changed files with 41 additions and 0 deletions
|
@ -78,6 +78,8 @@ The FRDM-MCXN947 board configuration supports the following hardware features:
|
||||||
+-----------+------------+-------------------------------------+
|
+-----------+------------+-------------------------------------+
|
||||||
| WATCHDOG | on-chip | watchdog |
|
| WATCHDOG | on-chip | watchdog |
|
||||||
+-----------+------------+-------------------------------------+
|
+-----------+------------+-------------------------------------+
|
||||||
|
| PWM | on-chip | pwm |
|
||||||
|
+-----------+------------+-------------------------------------+
|
||||||
|
|
||||||
Targets available
|
Targets available
|
||||||
==================
|
==================
|
||||||
|
|
|
@ -101,4 +101,32 @@
|
||||||
input-enable;
|
input-enable;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pinmux_flexpwm1_pwm0: pinmux_flexpwm1_pwm0 {
|
||||||
|
group0 {
|
||||||
|
pinmux = <PWM1_A0_PIO2_6>,
|
||||||
|
<PWM1_B0_PIO2_7>;
|
||||||
|
slew-rate = "fast";
|
||||||
|
drive-strength = "low";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
pinmux_flexpwm1_pwm1: pinmux_flexpwm1_pwm1 {
|
||||||
|
group0 {
|
||||||
|
pinmux = <PWM1_A1_PIO2_4>,
|
||||||
|
<PWM1_B1_PIO2_5>;
|
||||||
|
slew-rate = "fast";
|
||||||
|
drive-strength = "low";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
pinmux_flexpwm1_pwm2: pinmux_flexpwm1_pwm2 {
|
||||||
|
group0 {
|
||||||
|
pinmux = <PWM1_A2_PIO2_2>,
|
||||||
|
<PWM1_B2_PIO2_3>;
|
||||||
|
slew-rate = "fast";
|
||||||
|
drive-strength = "low";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
@ -168,3 +168,8 @@
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&flexpwm1_pwm0 {
|
||||||
|
pinctrl-0 = <&pinmux_flexpwm1_pwm0>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
};
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
|
|
||||||
aliases{
|
aliases{
|
||||||
watchdog0 = &wwdt0;
|
watchdog0 = &wwdt0;
|
||||||
|
pwm-0 = &flexpwm1_pwm0;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -132,3 +133,7 @@
|
||||||
&wwdt0 {
|
&wwdt0 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&flexpwm1_pwm0 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
|
@ -21,4 +21,5 @@ supported:
|
||||||
- dac
|
- dac
|
||||||
- i2c
|
- i2c
|
||||||
- watchdog
|
- watchdog
|
||||||
|
- pwm
|
||||||
vendor: nxp
|
vendor: nxp
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue