Commit 06ec50ec authored by Fabien Parent's avatar Fabien Parent Committed by Matthias Brugger
Browse files

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



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

Signed-off-by: default avatarFabien Parent <fparent@baylibre.com>
Link: https://lore.kernel.org/r/20201209120322.137610-2-fparent@baylibre.com


Signed-off-by: default avatarMatthias Brugger <matthias.bgg@gmail.com>
parent afca1c66
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -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";
};