ARM: dts: at91: sam9x60ek: classd: pull-down the L1 and L3 lines
authorCodrin Ciubotariu <codrin.ciubotariu@microchip.com>
Mon, 15 Jun 2020 09:55:24 +0000 (12:55 +0300)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 17 Jun 2020 21:24:50 +0000 (23:24 +0200)
The L1 and L3 lines drive NMOS transistors that are OFF with a low level.
On the SAM9X60 EK board, if the pins corresponding to L1 and L3
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: 1e5f532c2737 ("ARM: dts: at91: sam9x60: add device tree for soc and board")
Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20200615095525.43414-2-codrin.ciubotariu@microchip.com
arch/arm/boot/dts/at91-sam9x60ek.dts

index a5f5718..8652dbb 100644 (file)
                pinctrl_classd_default: classd {
                        atmel,pins =
                                <AT91_PIOA 24 AT91_PERIPH_C AT91_PINCTRL_PULL_UP
-                                AT91_PIOA 25 AT91_PERIPH_C AT91_PINCTRL_PULL_UP
+                                AT91_PIOA 25 AT91_PERIPH_C AT91_PINCTRL_PULL_DOWN
                                 AT91_PIOA 26 AT91_PERIPH_C AT91_PINCTRL_PULL_UP
-                                AT91_PIOA 27 AT91_PERIPH_C AT91_PINCTRL_PULL_UP>;
+                                AT91_PIOA 27 AT91_PERIPH_C AT91_PINCTRL_PULL_DOWN>;
                };
        };