Skip to content

Commit 535e347

Browse files
Danh Doankartben
authored andcommitted
boards: renesas: add board support entropy driver using SCE5
add support SCE5 for board: ek_ra4w1 Signed-off-by: Danh Doan <[email protected]>
1 parent 4d6ff56 commit 535e347

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

boards/renesas/ek_ra4w1/doc/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ The below features are currently supported on Zephyr OS for EK-RA4W1 board:
9494
+-----------+------------+----------------------+
9595
| COUNTER | on-chip | counter |
9696
+-----------+------------+----------------------+
97+
| ENTROPY | on-chip | entropy |
98+
+-----------+------------+----------------------+
9799

98100
Other hardware features are currently not supported by the port.
99101

boards/renesas/ek_ra4w1/ek_ra4w1.dts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
zephyr,flash = &flash0;
1919
zephyr,console = &uart0;
2020
zephyr,shell-uart = &uart0;
21+
zephyr,entropy = &trng;
2122
};
2223

2324
leds {
@@ -65,3 +66,7 @@
6566
pinctrl-names = "default";
6667
status = "okay";
6768
};
69+
70+
&trng {
71+
status = "okay";
72+
};

dts/arm/renesas/ra/ra4/r7fa4w1ad2cng.dtsi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@
4040
interrupts = <28 1>, <29 1>, <30 1>, <31 1>;
4141
interrupt-names = "rxi", "txi", "tei", "eri";
4242
};
43+
44+
trng: trng {
45+
compatible = "renesas,ra-sce5-rng";
46+
status = "disabled";
47+
};
4348
};
4449

4550
clocks: clocks {

0 commit comments

Comments
 (0)