Skip to content

Commit 8b1617d

Browse files
prabhakarladavpatel
authored andcommitted
platform: generic: Add Renesas RZ/Five initial support
This commit provides basic support for the Renesas RZ/Five (R9A07G043F) SoC. The RZ/Five microprocessor includes a single RISC-V CPU Core (Andes AX45MP) 1.0 GHz, 16-bit DDR3L/DDR4 interface. Supported interfaces include: - Gigabit Ethernet 2ch - CAN interface (CAN-FD) 2ch - USB 2.0 interface 2ch - SD interface 2ch - AD converter 2ch Useful links: ------------- Links: https://www.renesas.com/us/en/products/microcontrollers-microprocessors/rz-mpus/rzfive-risc-v-general-purpose-microprocessors-risc-v-cpu-core-andes-ax45mp-single-10-ghz-2ch-gigabit-ethernet Links: http://www.andestech.com/en/products-solutions/andescore-processors/riscv-ax45mp/ Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Reviewed-by: Anup Patel <anup@brainfault.org>
1 parent 6840902 commit 8b1617d

File tree

4 files changed

+31
-0
lines changed

4 files changed

+31
-0
lines changed

platform/generic/Kconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ config PLATFORM_ANDES_AE350
3232
bool "Andes AE350 support"
3333
default n
3434

35+
config PLATFORM_RENESAS_RZFIVE
36+
bool "Renesas RZ/Five support"
37+
default n
38+
3539
config PLATFORM_SIFIVE_FU540
3640
bool "SiFive FU540 support"
3741
default n

platform/generic/configs/defconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
CONFIG_PLATFORM_ALLWINNER_D1=y
22
CONFIG_PLATFORM_ANDES_AE350=y
3+
CONFIG_PLATFORM_RENESAS_RZFIVE=y
34
CONFIG_PLATFORM_SIFIVE_FU540=y
45
CONFIG_PLATFORM_SIFIVE_FU740=y
56
CONFIG_FDT_GPIO=y
@@ -24,6 +25,7 @@ CONFIG_FDT_SERIAL=y
2425
CONFIG_FDT_SERIAL_CADENCE=y
2526
CONFIG_FDT_SERIAL_GAISLER=y
2627
CONFIG_FDT_SERIAL_HTIF=y
28+
CONFIG_FDT_SERIAL_RENESAS_SCIF=y
2729
CONFIG_FDT_SERIAL_SHAKTI=y
2830
CONFIG_FDT_SERIAL_SIFIVE=y
2931
CONFIG_FDT_SERIAL_LITEX=y
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#
2+
# SPDX-License-Identifier: BSD-2-Clause
3+
#
4+
# Copyright (C) 2022 Renesas Electronics Corp.
5+
#
6+
7+
carray-platform_override_modules-$(CONFIG_PLATFORM_RENESAS_RZFIVE) += renesas_rzfive
8+
platform-objs-$(CONFIG_PLATFORM_RENESAS_RZFIVE) += renesas/rzfive/rzfive.o
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// SPDX-License-Identifier: GPL-2.0
2+
/*
3+
* Copyright (C) 2022 Renesas Electronics Corp.
4+
*
5+
*/
6+
7+
#include <platform_override.h>
8+
#include <sbi_utils/fdt/fdt_helper.h>
9+
10+
static const struct fdt_match renesas_rzfive_match[] = {
11+
{ .compatible = "renesas,r9a07g043f01" },
12+
{ /* sentinel */ }
13+
};
14+
15+
const struct platform_override renesas_rzfive = {
16+
.match_table = renesas_rzfive_match,
17+
};

0 commit comments

Comments
 (0)