board: MIMXRT1062-FMURT6: correct PWM prescaler
Set the PWM clock prescaler values to 64 for controlling standard servo 50Hz carrier frequency. Signed-off-by: Benjamin Perseghetti <bperseghetti@rudislabs.com>
This commit is contained in:
parent
64c4d4dd5d
commit
3529de3349
1 changed files with 8 additions and 1 deletions
|
@ -20,7 +20,6 @@
|
|||
led1 = &red_led;
|
||||
watchdog0 = &wdog0;
|
||||
sdhc0 = &usdhc1;
|
||||
pwm-0 = &flexpwm2_pwm0;
|
||||
gps1 = &lpuart2;
|
||||
telem1 = &lpuart3;
|
||||
telem4-gps2 = &lpuart5;
|
||||
|
@ -350,48 +349,56 @@
|
|||
status = "okay";
|
||||
pinctrl-0 = <&pinmux_flexpwm_fmu_ch1>;
|
||||
pinctrl-names = "default";
|
||||
nxp,prescaler = <64>;
|
||||
};
|
||||
|
||||
&flexpwm2_pwm1 {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&pinmux_flexpwm_fmu_ch2>;
|
||||
pinctrl-names = "default";
|
||||
nxp,prescaler = <64>;
|
||||
};
|
||||
|
||||
&flexpwm2_pwm2 {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&pinmux_flexpwm_fmu_ch3>;
|
||||
pinctrl-names = "default";
|
||||
nxp,prescaler = <64>;
|
||||
};
|
||||
|
||||
&flexpwm2_pwm3 {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&pinmux_flexpwm_fmu_ch4>;
|
||||
pinctrl-names = "default";
|
||||
nxp,prescaler = <64>;
|
||||
};
|
||||
|
||||
&flexpwm3_pwm2 {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&pinmux_flexpwm_fmu_ch5>;
|
||||
pinctrl-names = "default";
|
||||
nxp,prescaler = <64>;
|
||||
};
|
||||
|
||||
&flexpwm3_pwm0 {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&pinmux_flexpwm_fmu_ch6>;
|
||||
pinctrl-names = "default";
|
||||
nxp,prescaler = <64>;
|
||||
};
|
||||
|
||||
&flexpwm4_pwm2 {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&pinmux_flexpwm_fmu_ch7>;
|
||||
pinctrl-names = "default";
|
||||
nxp,prescaler = <64>;
|
||||
};
|
||||
|
||||
&flexpwm4_pwm0 {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&pinmux_flexpwm_fmu_ch8>;
|
||||
pinctrl-names = "default";
|
||||
nxp,prescaler = <64>;
|
||||
};
|
||||
|
||||
&enet2 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue