summaryrefslogtreecommitdiff
path: root/include/configs/ebisu.h
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@gmail.com>2018-04-26 14:31:39 +0300
committerMarek Vasut <marex@denx.de>2018-06-01 10:47:21 +0300
commit63e22517a39046d62b86ebf0f7fe6e0db575f339 (patch)
tree2e2a7eef8d9ca9b07a0fa7669e285dbe1916d380 /include/configs/ebisu.h
parent031fa18f70c38fe53a90f6ab4a1a441bf1a78280 (diff)
downloadu-boot-63e22517a39046d62b86ebf0f7fe6e0db575f339.tar.xz
ARM: renesas: Add R8A77990 E3 Ebisu board
Add support for the R8A77990 Ebisu board. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'include/configs/ebisu.h')
-rw-r--r--include/configs/ebisu.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/include/configs/ebisu.h b/include/configs/ebisu.h
new file mode 100644
index 0000000000..2d2dddb8cb
--- /dev/null
+++ b/include/configs/ebisu.h
@@ -0,0 +1,34 @@
+/*
+ * include/configs/ebisu.h
+ * This file is Ebisu board configuration.
+ *
+ * Copyright (C) 2018 Renesas Electronics Corporation
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#ifndef __EBISU_H
+#define __EBISU_H
+
+#undef DEBUG
+
+#include "rcar-gen3-common.h"
+
+/* Ethernet RAVB */
+#define CONFIG_NET_MULTI
+#define CONFIG_BITBANGMII
+#define CONFIG_BITBANGMII_MULTI
+
+/* Board Clock */
+/* XTAL_CLK : 33.33MHz */
+#define CONFIG_SYS_CLK_FREQ 48000000u
+
+/* Generic Timer Definitions (use in assembler source) */
+#define COUNTER_FREQUENCY 0xFE502A /* 16.66MHz from CPclk */
+
+/* Environment in eMMC, at the end of 2nd "boot sector" */
+#define CONFIG_ENV_OFFSET (-CONFIG_ENV_SIZE)
+#define CONFIG_SYS_MMC_ENV_DEV 2
+#define CONFIG_SYS_MMC_ENV_PART 2
+
+#endif /* __EBISU_H */