mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 03:10:30 -04:00
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:
committed by
Matthias Brugger
parent
afca1c66fb
commit
06ec50ec0e
@@ -344,6 +344,12 @@ pins_spi{
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
|
||||
pwm_pins_1: pwm1 {
|
||||
pins_pwm {
|
||||
pinmux = <PINMUX_GPIO90__FUNC_PWM_A>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
@@ -392,3 +398,9 @@ &spi5 {
|
||||
&uart0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pwm1 {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&pwm_pins_1>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user