Both USB Host (pci0) and Function (USBHS) drivers are enabled.
The USB PHY driver determines which IP block should be connected
based on vbus and id signals read via gpios.
Signed-off-by: Phil Edworthy <phil.edworthy@xxxxxxxxxxx>
---
arch/arm/boot/dts/r8a7791-koelsch.dts | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/arch/arm/boot/dts/r8a7791-koelsch.dts[...]
b/arch/arm/boot/dts/r8a7791-koelsch.dts
index cffe33f..8f394be 100644
--- a/arch/arm/boot/dts/r8a7791-koelsch.dts
+++ b/arch/arm/boot/dts/r8a7791-koelsch.dts
@@ -627,13 +626,15 @@
&hsusb {
status = "okay";
- pinctrl-0 = <&usb0_pins>;
pinctrl-names = "default";
- renesas,enable-gpio = <&gpio5 31 GPIO_ACTIVE_HIGH>;
};
&usbphy {
status = "okay";
+ renesas,pwr = <&gpio2 4 GPIO_ACTIVE_HIGH>;
+ renesas,id = <&gpio5 31 GPIO_ACTIVE_HIGH>;
+ renesas,vbus = <&gpio7 24 GPIO_ACTIVE_HIGH>;
+ renesas,vbus-pwr = <&gpio7 23 GPIO_ACTIVE_HIGH>;
The prop names should end with "-gpio" or even "-gpios", according to the
GPIO bindings.