Skip to content

Commit 82540de

Browse files
openedevmmind
authored andcommitted
ARM: dts: rockchip: Add usb host0 ohci node for rk3288
rk3288 and rk3288w have a usb host0 ohci controller. Although rk3288 ohci doesn't actually work on hardware, but rk3288w ohci can work well. So add usb host0 ohci node in rk3288 dtsi and boards can then enable it if supported. Signed-off-by: Jagan Teki <[email protected]> Cc: William Wu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
1 parent 719646b commit 82540de

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

arch/arm/boot/dts/rk3288.dtsi

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,16 @@
616616
status = "disabled";
617617
};
618618

619-
/* NOTE: ohci@ff520000 doesn't actually work on hardware */
619+
/* NOTE: doesn't work on RK3288, but was fixed on RK3288W */
620+
usb_host0_ohci: usb@ff520000 {
621+
compatible = "generic-ohci";
622+
reg = <0x0 0xff520000 0x0 0x100>;
623+
interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
624+
clocks = <&cru HCLK_USBHOST0>;
625+
phys = <&usbphy1>;
626+
phy-names = "usb";
627+
status = "disabled";
628+
};
620629

621630
usb_host1: usb@ff540000 {
622631
compatible = "rockchip,rk3288-usb", "rockchip,rk3066-usb",

0 commit comments

Comments
 (0)