summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@gmail.com>2019-08-11 13:22:32 +0200
committerMarek Vasut <marex@denx.de>2019-08-22 18:23:37 +0200
commitbe1e9dc0800a9d44514a0c640ded0bd70400ddc6 (patch)
treea7fcd00ba679aac2abffde9de83041abad35a51f /arch/arm
parent769a9cd4bbd7ae9b8170b3dd6ba54b84fde59224 (diff)
ARM: renesas: Enable R8A66597 USB host on GR Peach
Enable USB host support on GR Peach board. To use USB host on GR Peach, it might be necessary to solder JP3 header onto the board first and then short it. Shorting JP3 is mandatory to let the U5 regulator to supply VBUS to the CN3 USB port. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Chris Brandt <chris.brandt@renesas.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/dts/r7s72100-gr-peach-u-boot.dts14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/dts/r7s72100-gr-peach-u-boot.dts b/arch/arm/dts/r7s72100-gr-peach-u-boot.dts
index 28247d19d7..30e35e47d6 100644
--- a/arch/arm/dts/r7s72100-gr-peach-u-boot.dts
+++ b/arch/arm/dts/r7s72100-gr-peach-u-boot.dts
@@ -37,6 +37,15 @@
};
};
+ reg_usbhs0_vbus: regulator-usbhs0-vbus {
+ compatible = "regulator-fixed";
+ regulator-name = "usbhs0_vbus";
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ gpio = <&port4 1 GPIO_ACTIVE_LOW>;
+ };
+
+
rpc: rpc@0xee200000 {
compatible = "renesas,rpc-r7s72100", "renesas,rpc";
reg = <0x3fefa000 0x100>, <0x18000000 0x08000000>;
@@ -76,3 +85,8 @@
&scif2_pins {
u-boot,dm-pre-reloc;
};
+
+&usbhs0 {
+ vbus-supply = <&reg_usbhs0_vbus>;
+ status = "okay";
+};