diff options
author | Fabien Parent <fparent@baylibre.com> | 2020-12-09 15:03:21 +0300 |
---|---|---|
committer | Matthias Brugger <matthias.bgg@gmail.com> | 2021-01-29 19:11:19 +0300 |
commit | 06ec50ec0ee97911263d63b172d61dd97ac6c89b (patch) | |
tree | 34b76fe444701fc499e96d0017ce3225e2bd4f44 /arch/arm64/boot/dts/mediatek | |
parent | afca1c66fb3312ddf58b92dd24ac378d6d4f6079 (diff) | |
download | linux-06ec50ec0ee97911263d63b172d61dd97ac6c89b.tar.xz |
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>
Diffstat (limited to 'arch/arm64/boot/dts/mediatek')
-rw-r--r-- | arch/arm64/boot/dts/mediatek/mt8183-evb.dts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/mediatek/mt8183-evb.dts b/arch/arm64/boot/dts/mediatek/mt8183-evb.dts index cba2d8933e79..3249c959f76f 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-evb.dts +++ b/arch/arm64/boot/dts/mediatek/mt8183-evb.dts @@ -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"; +}; |