ARM: dts: at91: sama5d2_xplained: add pin muxing and enable classd
authorCyrille Pitchen <cyrille.pitchen@atmel.com>
Tue, 25 Jul 2017 07:37:10 +0000 (09:37 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Wed, 26 Jul 2017 06:58:48 +0000 (08:58 +0200)
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: Quentin Schulz <quentin.schulz@free-electrons.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
arch/arm/boot/dts/at91-sama5d2_xplained.dts

index 6eec8dc5143e076a294228cdba523862891c817e..c7e9ccf2bc8724304f44c574bc901b3e9b3999af 100644 (file)
                                        bias-pull-up;
                                };
 
+                               pinctrl_classd_default: classd_default {
+                                       pinmux = <PIN_PB1__CLASSD_R0>,
+                                                <PIN_PB2__CLASSD_R1>,
+                                                <PIN_PB3__CLASSD_R2>,
+                                                <PIN_PB4__CLASSD_R3>;
+                                       bias-pull-up;
+                               };
+
                                pinctrl_flx0_default: flx0_default {
                                        pinmux = <PIN_PB28__FLEXCOM0_IO0>,
                                                 <PIN_PB29__FLEXCOM0_IO1>;
 
                        };
 
+                       classd: classd@fc048000 {
+                               pinctrl-names = "default";
+                               pinctrl-0 = <&pinctrl_classd_default>;
+                               atmel,pwm-type = "diff";
+                               atmel,non-overlap-time = <10>;
+                               status = "okay";
+                       };
+
                        can1: can@fc050000 {
                                pinctrl-names = "default";
                                pinctrl-0 = <&pinctrl_can1_default>;