OSDN Git Service

ARM: dts: at91: sama5d27_som1_ek: fix USB host vbus
authorNicolas Ferre <nicolas.ferre@microchip.com>
Thu, 14 Sep 2017 14:28:14 +0000 (17:28 +0300)
committerNicolas Ferre <nicolas.ferre@microchip.com>
Mon, 18 Sep 2017 07:58:18 +0000 (09:58 +0200)
The USB host has 3 ports so we must specify the entries for each
in the atmel,vbus-gpio property.
The specified pin (PA27) is the vbus for USBB and not USBA.

Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
[claudiu.beznea@microchip.com: change subject to match the desired prefix]
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
arch/arm/boot/dts/at91-sama5d27_som1_ek.dts

index be5cd91..60cb084 100644 (file)
 
                usb1: ohci@00400000 {
                        num-ports = <3>;
-                       atmel,vbus-gpio = <&pioA PIN_PA27 GPIO_ACTIVE_HIGH>;
+                       atmel,vbus-gpio = <0 /* &pioA PIN_PD20 GPIO_ACTIVE_HIGH */
+                                          &pioA PIN_PA27 GPIO_ACTIVE_HIGH
+                                          0
+                                         >;
                        pinctrl-names = "default";
                        pinctrl-0 = <&pinctrl_usb_default>;
                        status = "okay";