Skip to content

boards: renesas: Add support Renesas ek_ra8p1 board #91917

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 19 commits into
base: main
Choose a base branch
from

Conversation

khoa-nguyen-18
Copy link
Contributor

  • Add support for Renesas RA8P1 SoC
  • Add support Renesas ek_ra8p1 board
  • Update Renesas gpio, clock_control, ra_external_interrupt driver to support RA8P1
  • Add support tests and samples app to verify ek_ra8p1 peripherals

Update commit for hal_renesas to support for EK_RA8P1

Signed-off-by: Thao Luong <[email protected]>
Copy link

github-actions bot commented Jun 19, 2025

The following west manifest projects have changed revision in this Pull Request:

Name Old Revision New Revision Diff
hal_renesas zephyrproject-rtos/hal_renesas@9b99067 zephyrproject-rtos/hal_renesas#111 zephyrproject-rtos/hal_renesas#111/files

DNM label due to: 1 project with PR revision

Note: This message is automatically posted and updated by the Manifest GitHub Action.

@github-actions github-actions bot added manifest manifest-hal_renesas DNM (manifest) This PR should not be merged (controlled by action-manifest) labels Jun 19, 2025
@khoa-nguyen-18 khoa-nguyen-18 force-pushed the support_renesas_ek_ra8p1 branch from 95f2fd8 to 80e0478 Compare June 20, 2025 02:46
Add minimal support for RA8P1 SoC

Signed-off-by: Khoa Nguyen <[email protected]>
Add minimal support for r7ka8p1kflcac_cm85 and r7ka8p1kflcac_cm33

Signed-off-by: Khoa Nguyen <[email protected]>
Copy link
Collaborator

@nordicjm nordicjm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issues have been listed at first instance only, fix in all commits in PR

# Copyright (c) 2025 Renesas Electronics Corporation
# SPDX-License-Identifier: Apache-2.0

if (CONFIG_SOC_R7KA8P1KFLCAC_CM85)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no space between if and bracket in cmake

psels = <RA_PSEL(RA_PSEL_SCI_8, 13, 2)>;
drive-strength = "medium";
};
group2 {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

newline gap between child nodes

*/

&pinctrl {

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change

bank@0 {
reg = <0>;
renesas,ra-sdram-timing = <SDRAM_TRAS_6CYCLES
SDRAM_TRCD_3CYCLES
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indent?


&iic1 {
status = "okay";
ft5336_rtklcdpar1s00001be: ft5336-rtklcdpar1s00001be@38 {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

newline gap on line 22

hfront-porch = <179>;
vfront-porch = <403>;
};
backlight-gpios = <&renesas_parallel_graphics_connector 1 GPIO_ACTIVE_HIGH>;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move above child node

khoa-nguyen-18 and others added 5 commits June 20, 2025 13:57
Add support for Renesas ek_ra8p1 board

Signed-off-by: Khoa Nguyen <[email protected]>
Signed-off-by: Thao Luong <[email protected]>
Add support rtklcdpar1s00001be display shield

Signed-off-by: Khoa Nguyen <[email protected]>
Add support pmod_sd shield for Renesas ek_ra8p1

Signed-off-by: Khoa Nguyen <[email protected]>
RA8P1 has 14 ports (from 0 to d) and 32 external irq while current
driver support 12 ports (0 to b) and 16 external irq.
This add addtional support for remain ports and external irq to be
able to work with RA8P1.

Signed-off-by: Thao Luong <[email protected]>
Add additional clocks to support for RA8P1.

Signed-off-by: Thao Luong <[email protected]>
thaoluonguw and others added 11 commits June 20, 2025 13:57
This is temporary update because in HWM only mention IRQCR but
FSP is defining for IRQCRa and IRQCRb with same values.
Haven't understood why need both  IRQCRa and IRQCRb.
Current update is using IRACRa.

Signed-off-by: Thao Luong <[email protected]>
Add support test uart_async_api for Renesas ek_ra8p1

Signed-off-by: Khoa Nguyen <[email protected]>
Add support test app pwm_loopback for Renesas ek_ra8p1

Signed-off-by: Khoa Nguyen <[email protected]>
Add support test app spi_loopback for Renesas ek_ra8p1

Signed-off-by: Khoa Nguyen <[email protected]>
Add support test app i2c_api for Renesas ek_ra8p1 testing
on i2c and sci-i2c HWIP

Signed-off-by: Khoa Nguyen <[email protected]>
Add support test app `display_read_write` for
ek_ra8p1/r7ka8p1kflcac/cm85

Signed-off-by: Khoa Nguyen <[email protected]>
Add support test app `power_mgmt_soc` for Renesas ek_ra8p1

Signed-off-by: Khoa Nguyen <[email protected]>
Add support test app `gpio_loopback` for Renesas ek_ra8p1 board

Signed-off-by: Khoa Nguyen <[email protected]>
Add support sample counter/alarm for Renesas ek_ra8p1

Signed-off-by: Khoa Nguyen <[email protected]>
Add support sample app `renesas/comparator` for Renesas ek_ra8p1

Signed-off-by: Khoa Nguyen <[email protected]>
Add support for ek_ra8p1/r7ka8p1kflcac/cm85 running on
rtklcdpar1s00001be display shield

Signed-off-by: Khoa Nguyen <[email protected]>
@khoa-nguyen-18 khoa-nguyen-18 force-pushed the support_renesas_ek_ra8p1 branch from 80e0478 to 3756418 Compare June 20, 2025 07:43
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DNM (manifest) This PR should not be merged (controlled by action-manifest) manifest manifest-hal_renesas
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants