arm64: dts: renesas: hihope-common: Enable USB3.0
authorBiju Das <biju.das@bp.renesas.com>
Fri, 14 Jun 2019 14:51:09 +0000 (15:51 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 18 Jun 2019 10:38:48 +0000 (12:38 +0200)
This patch enables USB3.0 host/peripheral device node for the HiHope
RZ/G2M board.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm64/boot/dts/renesas/hihope-common.dtsi

index 18763ca553f762846f33b42d29a8dbe72ae4267d..6a45c49c24dc879c67f3184d76a9d53729815d33 100644 (file)
                        bias-pull-up;
                };
        };
+
+       usb30_pins: usb30 {
+               groups = "usb30";
+               function = "usb30";
+       };
 };
 
 &rwdt {
 
        status = "okay";
 };
+
+&usb3_peri0 {
+       phys = <&usb3_phy0>;
+       phy-names = "usb";
+
+       companion = <&xhci0>;
+
+       status = "okay";
+};
+
+&usb3_phy0 {
+       status = "okay";
+};
+
+&usb3s0_clk {
+       clock-frequency = <100000000>;
+};
+
+&xhci0 {
+       pinctrl-0 = <&usb30_pins>;
+       pinctrl-names = "default";
+
+       status = "okay";
+};