提交 75ce73fd 编写于 作者: C Chen-Yu Tsai

ARM: sun8i: a83t: h8homlet-v2: Enable USB ports

The h8homlet board has the A83T's standard USB 1.1/2.0 host pair routed
to a USB host port on the board. The other USB host port is routed to
USB OTG controller.
Signed-off-by: NChen-Yu Tsai <wens@csie.org>
上级 9f851d4e
...@@ -58,6 +58,10 @@ ...@@ -58,6 +58,10 @@
}; };
}; };
&ehci0 {
status = "okay";
};
&mmc0 { &mmc0 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&mmc0_pins>; pinctrl-0 = <&mmc0_pins>;
...@@ -78,6 +82,20 @@ ...@@ -78,6 +82,20 @@
status = "okay"; status = "okay";
}; };
&ohci0 {
status = "okay";
};
&reg_usb0_vbus {
gpio = <&r_pio 0 5 GPIO_ACTIVE_HIGH>; /* PL5 */
status = "okay";
};
&reg_usb1_vbus {
gpio = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */
status = "okay";
};
&r_rsb { &r_rsb {
status = "okay"; status = "okay";
...@@ -118,3 +136,14 @@ ...@@ -118,3 +136,14 @@
pinctrl-0 = <&uart0_pb_pins>; pinctrl-0 = <&uart0_pb_pins>;
status = "okay"; status = "okay";
}; };
&usbphy {
usb0_vbus-supply = <&reg_usb0_vbus>;
usb1_vbus-supply = <&reg_usb1_vbus>;
status = "okay";
};
&usb_otg {
dr_mode = "host";
status = "okay";
};
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册