Skip to content

Commit b5fafb5

Browse files
committed
ARM: dts: at91: sama5d27_wlsom1_ek: enable pwm
Enable PWM and set pins for channel 0. Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
1 parent 14b5ecb commit b5fafb5

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

arch/arm/boot/dts/at91-sama5d27_wlsom1_ek.dts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,12 @@
184184
bias-disable;
185185
};
186186

187+
pinctrl_pwm0_default: pwm0_default {
188+
pinmux = <PIN_PA31__PWML0>,
189+
<PIN_PA30__PWMH0>;
190+
bias-disable;
191+
};
192+
187193
pinctrl_usb_default: usb_default {
188194
pinmux = <PIN_PA14__GPIO>;
189195
bias-disable;
@@ -244,6 +250,12 @@
244250
status = "okay";
245251
};
246252

253+
&pwm0 {
254+
pinctrl-names = "default";
255+
pinctrl-0 = <&pinctrl_pwm0_default>;
256+
status = "okay";
257+
};
258+
247259
&usb1 {
248260
num-ports = <3>;
249261
atmel,vbus-gpio = <0

0 commit comments

Comments
 (0)