Skip to content

Commit 07e324d

Browse files
codrin989alexandrebelloni
authored andcommitted
ARM: dts: at91: sama5d2_xplained: classd: pull-down the R1 and R3 lines
The R1 and R3 lines drive NMOS transistors that are OFF with a low level. On the SAMA5D2 Xplained board, if the pins corresponding to R1 and R3 have pull-ups enabled, there is an extra 2 x 30uA power consumption. Use pull-downs for these 2 lines to remove the unnecessary power consumption. Fixes: b133ca7 ("ARM: dts: at91: sama5d2_xplained: add pin muxing and enable classd") Signed-off-by: Codrin Ciubotariu <[email protected]> Signed-off-by: Alexandre Belloni <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent b3a9e3b commit 07e324d

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

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

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -490,14 +490,18 @@
490490
bias-pull-up;
491491
};
492492

493-
pinctrl_classd_default: classd_default {
493+
pinctrl_classd_default_pfets: classd_default_pfets {
494494
pinmux = <PIN_PB1__CLASSD_R0>,
495-
<PIN_PB2__CLASSD_R1>,
496-
<PIN_PB3__CLASSD_R2>,
497-
<PIN_PB4__CLASSD_R3>;
495+
<PIN_PB3__CLASSD_R2>;
498496
bias-pull-up;
499497
};
500498

499+
pinctrl_classd_default_nfets: classd_default_nfets {
500+
pinmux = <PIN_PB2__CLASSD_R1>,
501+
<PIN_PB4__CLASSD_R3>;
502+
bias-pull-down;
503+
};
504+
501505
pinctrl_flx0_default: flx0_default {
502506
pinmux = <PIN_PB28__FLEXCOM0_IO0>,
503507
<PIN_PB29__FLEXCOM0_IO1>;
@@ -696,7 +700,7 @@
696700

697701
classd: classd@fc048000 {
698702
pinctrl-names = "default";
699-
pinctrl-0 = <&pinctrl_classd_default>;
703+
pinctrl-0 = <&pinctrl_classd_default_pfets &pinctrl_classd_default_nfets>;
700704
atmel,pwm-type = "diff";
701705
atmel,non-overlap-time = <10>;
702706
status = "okay";

0 commit comments

Comments
 (0)