Skip to content

Commit ff66010

Browse files
Kwiboommind
authored andcommitted
arm64: dts: rockchip: Enable USB 2.0 ports on NanoPi Zero2
The NanoPi Zero2 has one USB 2.0 Type-A HOST port and one USB 2.0 Type-C OTG port. Add support for using the USB 2.0 ports on NanoPi Zero2. Signed-off-by: Jonas Karlman <jonas@kwiboo.se> Signed-off-by: Heiko Stuebner <heiko@sntech.de> Link: https://patch.msgid.link/20260529190355.4148175-6-heiko@sntech.de
1 parent b6b7408 commit ff66010

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

arch/arm64/boot/dts/rockchip/rk3528-nanopi-zero2.dts

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,3 +338,32 @@
338338
pinctrl-0 = <&uart0m0_xfer>;
339339
status = "okay";
340340
};
341+
342+
&usb_host0_ehci {
343+
status = "okay";
344+
};
345+
346+
&usb_host0_ohci {
347+
status = "okay";
348+
};
349+
350+
&usb_host0_xhci {
351+
extcon = <&usb2phy>;
352+
maximum-speed = "high-speed";
353+
phys = <&usb2phy_otg>;
354+
phy-names = "usb2-phy";
355+
status = "okay";
356+
};
357+
358+
&usb2phy {
359+
status = "okay";
360+
};
361+
362+
&usb2phy_host {
363+
phy-supply = <&usb2_host_5v>;
364+
status = "okay";
365+
};
366+
367+
&usb2phy_otg {
368+
status = "okay";
369+
};

0 commit comments

Comments
 (0)