summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/at91sam9x5ek.dtsi
diff options
context:
space:
mode:
authorSylvain Rochet <sylvain.rochet@finsecur.com>2015-01-16 10:50:39 +0100
committerNicolas Ferre <nicolas.ferre@atmel.com>2015-01-16 16:07:05 +0100
commit73734551f88394528506e8773a308d2fb84db5f0 (patch)
treeb9eb8d01cf6a2830f787179d9d521006ce54f6a5 /arch/arm/boot/dts/at91sam9x5ek.dtsi
parentARM: at91: dts: sama5d3: add ov2640 camera sensor support (diff)
downloadlinux-73734551f88394528506e8773a308d2fb84db5f0.tar.xz
linux-73734551f88394528506e8773a308d2fb84db5f0.zip
ARM: at91/dt: disable pull-up on vbus-gpio (PB16) to reduce power consumption
There is an external resistor divider on PB16, acting like a pull-down, the pull-up increase power consumption and prevent the vbus detect pin to reach Vss voltage, ~1.5V mesured on my board, it might not even work if the pull-up is stronger than usual. Signed-off-by: Sylvain Rochet <sylvain.rochet@finsecur.com> Acked-by: Bo Shen <voice.shen@atmel.com> Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm/boot/dts/at91sam9x5ek.dtsi')
-rw-r--r--arch/arm/boot/dts/at91sam9x5ek.dtsi9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/at91sam9x5ek.dtsi b/arch/arm/boot/dts/at91sam9x5ek.dtsi
index 3a9f6fa4a36a..bd16bd360272 100644
--- a/arch/arm/boot/dts/at91sam9x5ek.dtsi
+++ b/arch/arm/boot/dts/at91sam9x5ek.dtsi
@@ -53,6 +53,8 @@
};
usb2: gadget@f803c000 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_board_usb2>;
atmel,vbus-gpio = <&pioB 16 GPIO_ACTIVE_HIGH>;
status = "okay";
};
@@ -80,6 +82,13 @@
<AT91_PIOD 14 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>; /* PD14 gpio CD pin pull up and deglitch */
};
};
+
+ usb2 {
+ pinctrl_board_usb2: usb2-board {
+ atmel,pins =
+ <AT91_PIOB 16 AT91_PERIPH_GPIO AT91_PINCTRL_DEGLITCH>; /* PB16 gpio vbus sense, deglitch */
+ };
+ };
};
spi0: spi@f0000000 {