arm64: dts: renesas: hihope-common: Add USB 2.0 support
Add USB 2.0 support to the HiHope RZ/G2M. Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
This commit is contained in:
parent
a573cb676d
commit
734d277f41
@ -35,6 +35,17 @@
|
|||||||
regulator-always-on;
|
regulator-always-on;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
vbus0_usb2: regulator-vbus0-usb2 {
|
||||||
|
compatible = "regulator-fixed";
|
||||||
|
|
||||||
|
regulator-name = "USB20_VBUS0";
|
||||||
|
regulator-min-microvolt = <5000000>;
|
||||||
|
regulator-max-microvolt = <5000000>;
|
||||||
|
|
||||||
|
gpio = <&gpio6 16 GPIO_ACTIVE_HIGH>;
|
||||||
|
enable-active-high;
|
||||||
|
};
|
||||||
|
|
||||||
vccq_sdhi0: regulator-vccq-sdhi0 {
|
vccq_sdhi0: regulator-vccq-sdhi0 {
|
||||||
compatible = "regulator-gpio";
|
compatible = "regulator-gpio";
|
||||||
|
|
||||||
@ -49,6 +60,14 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&ehci0 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&ehci1 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
&extal_clk {
|
&extal_clk {
|
||||||
clock-frequency = <16666666>;
|
clock-frequency = <16666666>;
|
||||||
};
|
};
|
||||||
@ -57,6 +76,28 @@
|
|||||||
clock-frequency = <32768>;
|
clock-frequency = <32768>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&gpio6 {
|
||||||
|
usb1-reset {
|
||||||
|
gpio-hog;
|
||||||
|
gpios = <10 GPIO_ACTIVE_LOW>;
|
||||||
|
output-low;
|
||||||
|
line-name = "usb1-reset";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&hsusb {
|
||||||
|
dr_mode = "otg";
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&ohci0 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&ohci1 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
&pcie_bus_clk {
|
&pcie_bus_clk {
|
||||||
clock-frequency = <100000000>;
|
clock-frequency = <100000000>;
|
||||||
};
|
};
|
||||||
@ -92,6 +133,23 @@
|
|||||||
function = "sdhi3";
|
function = "sdhi3";
|
||||||
power-source = <1800>;
|
power-source = <1800>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
usb0_pins: usb0 {
|
||||||
|
groups = "usb0";
|
||||||
|
function = "usb0";
|
||||||
|
};
|
||||||
|
|
||||||
|
usb1_pins: usb1 {
|
||||||
|
mux {
|
||||||
|
groups = "usb1";
|
||||||
|
function = "usb1";
|
||||||
|
};
|
||||||
|
|
||||||
|
ovc {
|
||||||
|
pins = "GP_6_27";
|
||||||
|
bias-pull-up;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&rwdt {
|
&rwdt {
|
||||||
@ -135,5 +193,23 @@
|
|||||||
mmc-hs200-1_8v;
|
mmc-hs200-1_8v;
|
||||||
non-removable;
|
non-removable;
|
||||||
fixed-emmc-driver-type = <1>;
|
fixed-emmc-driver-type = <1>;
|
||||||
|
};
|
||||||
|
|
||||||
|
&usb_extal_clk {
|
||||||
|
clock-frequency = <50000000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
&usb2_phy0 {
|
||||||
|
pinctrl-0 = <&usb0_pins>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
|
||||||
|
vbus-supply = <&vbus0_usb2>;
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&usb2_phy1 {
|
||||||
|
pinctrl-0 = <&usb1_pins>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user