mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 13:59:45 -04:00
ARM: dts: stm32: add counter subnodes on stm32mp135f-dk
Enable the counter nodes without dedicated pins. With such configuration, the counter interface can be used on internal clock to generate events. Signed-off-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com> Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
This commit is contained in:
committed by
Alexandre Torgue
parent
57f1e18bb6
commit
2879145733
@@ -440,6 +440,9 @@ &timers3 {
|
||||
/delete-property/dmas;
|
||||
/delete-property/dma-names;
|
||||
status = "disabled";
|
||||
counter {
|
||||
status = "okay";
|
||||
};
|
||||
pwm {
|
||||
/* PWM output on pin 7 of the expansion connector (CN8.7) using TIM3_CH4 func */
|
||||
pinctrl-0 = <&pwm3_pins_a>;
|
||||
@@ -456,6 +459,9 @@ &timers4 {
|
||||
/delete-property/dmas;
|
||||
/delete-property/dma-names;
|
||||
status = "disabled";
|
||||
counter {
|
||||
status = "okay";
|
||||
};
|
||||
pwm {
|
||||
/* PWM output on pin 31 of the expansion connector (CN8.31) using TIM4_CH2 func */
|
||||
pinctrl-0 = <&pwm4_pins_a>;
|
||||
@@ -472,6 +478,9 @@ &timers8 {
|
||||
/delete-property/dmas;
|
||||
/delete-property/dma-names;
|
||||
status = "disabled";
|
||||
counter {
|
||||
status = "okay";
|
||||
};
|
||||
pwm {
|
||||
/* PWM output on pin 32 of the expansion connector (CN8.32) using TIM8_CH3 func */
|
||||
pinctrl-0 = <&pwm8_pins_a>;
|
||||
@@ -486,6 +495,9 @@ timer@7 {
|
||||
|
||||
&timers14 {
|
||||
status = "disabled";
|
||||
counter {
|
||||
status = "okay";
|
||||
};
|
||||
pwm {
|
||||
/* PWM output on pin 33 of the expansion connector (CN8.33) using TIM14_CH1 func */
|
||||
pinctrl-0 = <&pwm14_pins_a>;
|
||||
|
||||
Reference in New Issue
Block a user