Skip to content

Commit 0ee5b98

Browse files
Cyrille Pitchenalexandrebelloni
authored andcommitted
ARM: dts: at91: sama5d2_xplained: add pin muxing and enable classd
This patch adds the pin muxing for classd and enables it. Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
1 parent 1c0b489 commit 0ee5b98

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,14 @@
332332
bias-pull-up;
333333
};
334334

335+
pinctrl_classd_default: classd_default {
336+
pinmux = <PIN_PB1__CLASSD_R0>,
337+
<PIN_PB2__CLASSD_R1>,
338+
<PIN_PB3__CLASSD_R2>,
339+
<PIN_PB4__CLASSD_R3>;
340+
bias-pull-up;
341+
};
342+
335343
pinctrl_flx0_default: flx0_default {
336344
pinmux = <PIN_PB28__FLEXCOM0_IO0>,
337345
<PIN_PB29__FLEXCOM0_IO1>;
@@ -464,6 +472,14 @@
464472
};
465473

466474
};
475+
476+
classd: classd@fc048000 {
477+
pinctrl-names = "default";
478+
pinctrl-0 = <&pinctrl_classd_default>;
479+
atmel,pwm-type = "diff";
480+
atmel,non-overlap-time = <10>;
481+
status = "okay";
482+
};
467483
};
468484
};
469485

0 commit comments

Comments
 (0)