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:
parent
afca1c66fb
commit
06ec50ec0e
|
@ -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";
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue