summaryrefslogtreecommitdiff
path: root/include/configs/salvator-x.h
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2017-05-13 15:57:49 +0200
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>2017-05-22 04:38:27 +0900
commitd1018f5f9f6433a0ba5da64a431c4e6fa6299962 (patch)
tree3c0a37e886e3d3897caa4dfecae1851dee95e648 /include/configs/salvator-x.h
parentfe2e8ff955ad18a7f7f26d3d56ebaa96167139b6 (diff)
ARM: rmobile: salvator-x: Add USB support
Add support for the EHCI USB. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'include/configs/salvator-x.h')
-rw-r--r--include/configs/salvator-x.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/configs/salvator-x.h b/include/configs/salvator-x.h
index 0e5c130b13..4ac9328e1b 100644
--- a/include/configs/salvator-x.h
+++ b/include/configs/salvator-x.h
@@ -62,6 +62,13 @@
#define CONFIG_SYS_I2C_POWERIC_ADDR 0x30
+/* USB */
+#ifdef CONFIG_R8A7795
+#define CONFIG_USB_MAX_CONTROLLER_COUNT 3
+#else
+#define CONFIG_USB_MAX_CONTROLLER_COUNT 2
+#endif
+
/* SDHI */
#define CONFIG_SH_SDHI_FREQ 200000000