summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCristian Birsan <cristian.birsan@microchip.com>2020-11-18 15:00:19 +0300
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2020-11-24 14:11:27 +0300
commite1062fa7292f1e3744db0a487c4ac0109e09b03d (patch)
tree364734edd34f26a2d69982adf5af70a32c73655f
parentbe4dd2d448816a27c1446f8f37fce375daf64148 (diff)
downloadlinux-e1062fa7292f1e3744db0a487c4ac0109e09b03d.tar.xz
ARM: dts: at91: sama5d3_xplained: add pincontrol for USB Host
The pincontrol node is needed for USB Host since Linux v5.7-rc1. Without it the driver probes but VBus is not powered because of wrong pincontrol configuration. Fixes: b7c2b61570798 ("ARM: at91: add Atmel's SAMA5D3 Xplained board") Signed-off-by: Cristian Birsan <cristian.birsan@microchip.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com> Link: https://lore.kernel.org/r/20201118120019.1257580-4-cristian.birsan@microchip.com
-rw-r--r--arch/arm/boot/dts/at91-sama5d3_xplained.dts7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
index cf13632edd44..5179258f9247 100644
--- a/arch/arm/boot/dts/at91-sama5d3_xplained.dts
+++ b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
@@ -242,6 +242,11 @@
atmel,pins =
<AT91_PIOE 9 AT91_PERIPH_GPIO AT91_PINCTRL_DEGLITCH>; /* PE9, conflicts with A9 */
};
+ pinctrl_usb_default: usb_default {
+ atmel,pins =
+ <AT91_PIOE 3 AT91_PERIPH_GPIO AT91_PINCTRL_NONE
+ AT91_PIOE 4 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
+ };
};
};
};
@@ -259,6 +264,8 @@
&pioE 3 GPIO_ACTIVE_LOW
&pioE 4 GPIO_ACTIVE_LOW
>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_usb_default>;
status = "okay";
};