Эх сурвалжийг харах

usb: ehci: rmobile: Add support R8A7794

R8A7794 has same IP of USB controller as R8A7790 and R8A7791.
This addes support for R8A7794.

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Nobuhiro Iwamatsu 10 жил өмнө
parent
commit
ed7ce836cd

+ 6 - 0
drivers/usb/host/ehci-rmobile.c

@@ -29,6 +29,12 @@ static u32 usb_base_address[CONFIG_USB_MAX_CONTROLLER_COUNT] = {
 	0xEE0C0000,	/* USB1 */
 	0xEE000000	/* USB3 (USB3.0 Host)*/
 };
+#elif defined(CONFIG_R8A7794)
+static u32 usb_base_address[CONFIG_USB_MAX_CONTROLLER_COUNT] = {
+	0xEE080000,	/* USB0 (EHCI) */
+	0xEE0C0000,	/* USB1 */
+	/* R8A7794 does not have USB 3.0. */
+};
 #else
 #error rmobile EHCI USB driver not supported on this platform
 #endif