arm64: dts: mediatek: mt8183-evb: add PWM support

Enable the pwm driver and set the pinctrl for PWM A line.

Signed-off-by: Fabien Parent <fparent@baylibre.com>
Link: https://lore.kernel.org/r/20201209120322.137610-2-fparent@baylibre.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
This commit is contained in:
Fabien Parent 2020-12-09 13:03:21 +01:00 committed by Matthias Brugger
parent afca1c66fb
commit 06ec50ec0e
1 changed files with 12 additions and 0 deletions

View File

@ -344,6 +344,12 @@
bias-disable;
};
};
pwm_pins_1: pwm1 {
pins_pwm {
pinmux = <PINMUX_GPIO90__FUNC_PWM_A>;
};
};
};
&spi0 {
@ -392,3 +398,9 @@
&uart0 {
status = "okay";
};
&pwm1 {
status = "okay";
pinctrl-0 = <&pwm_pins_1>;
pinctrl-names = "default";
};