Skip to content

Commit

Permalink
boards: renesas: add board support entropy driver using SCE5
Browse files Browse the repository at this point in the history
add support SCE5 for board: ek_ra4w1

Signed-off-by: Danh Doan <[email protected]>
  • Loading branch information
Danh Doan authored and kartben committed Dec 16, 2024
1 parent 4d6ff56 commit 535e347
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions boards/renesas/ek_ra4w1/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ The below features are currently supported on Zephyr OS for EK-RA4W1 board:
+-----------+------------+----------------------+
| COUNTER | on-chip | counter |
+-----------+------------+----------------------+
| ENTROPY | on-chip | entropy |
+-----------+------------+----------------------+

Other hardware features are currently not supported by the port.

Expand Down
5 changes: 5 additions & 0 deletions boards/renesas/ek_ra4w1/ek_ra4w1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
zephyr,flash = &flash0;
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
zephyr,entropy = &trng;
};

leds {
Expand Down Expand Up @@ -65,3 +66,7 @@
pinctrl-names = "default";
status = "okay";
};

&trng {
status = "okay";
};
5 changes: 5 additions & 0 deletions dts/arm/renesas/ra/ra4/r7fa4w1ad2cng.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@
interrupts = <28 1>, <29 1>, <30 1>, <31 1>;
interrupt-names = "rxi", "txi", "tei", "eri";
};

trng: trng {
compatible = "renesas,ra-sce5-rng";
status = "disabled";
};
};

clocks: clocks {
Expand Down

0 comments on commit 535e347

Please sign in to comment.