boards: renesas: add board support entropy driver using TRNG
add support entropy for board: EK_RA6E2, EK_RA4E2, EK_RA2A1 Signed-off-by: Danh Doan <danh.doan.ue@bp.renesas.com> Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
This commit is contained in:
parent
9792abb692
commit
093b5ab0ae
11 changed files with 43 additions and 0 deletions
|
|
@ -84,6 +84,8 @@ hardware features:
|
|||
+-----------+------------+-------------------------------+
|
||||
| PWM | on-chip | pwm |
|
||||
+-----------+------------+-------------------------------+
|
||||
| ENTROPY | on-chip | entropy |
|
||||
+-----------+------------+-------------------------------+
|
||||
|
||||
The default configuration can be found in
|
||||
:zephyr_file:`boards/renesas/ek_ra2a1/ek_ra2a1_defconfig`
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@
|
|||
zephyr,flash = &flash0;
|
||||
zephyr,console = &uart0;
|
||||
zephyr,shell-uart = &uart0;
|
||||
zephyr,entropy = &trng;
|
||||
};
|
||||
|
||||
leds {
|
||||
|
|
@ -93,3 +94,7 @@
|
|||
interrupt-names = "gtioca", "overflow";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&trng {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -104,6 +104,8 @@ The below features are currently supported on Zephyr OS for EK-RA4E2 board:
|
|||
+-----------+------------+----------------------+
|
||||
| PWM | on-chip | pwm |
|
||||
+-----------+------------+----------------------+
|
||||
| ENTROPY | on-chip | entropy |
|
||||
+-----------+------------+----------------------+
|
||||
|
||||
Other hardware features are currently not supported by the port.
|
||||
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@
|
|||
zephyr,console = &uart0;
|
||||
zephyr,shell-uart = &uart0;
|
||||
zephyr,canbus = &canfd0;
|
||||
zephyr,entropy = &trng;
|
||||
};
|
||||
|
||||
leds {
|
||||
|
|
@ -162,3 +163,7 @@
|
|||
divider = <RA_PWM_SOURCE_DIV_256>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&trng {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -104,6 +104,8 @@ The below features are currently supported on Zephyr OS for EK-RA6E2 board:
|
|||
+-----------+------------+----------------------+
|
||||
| PWM | on-chip | pwm |
|
||||
+-----------+------------+----------------------+
|
||||
| ENTROPY | on-chip | entropy |
|
||||
+-----------+------------+----------------------+
|
||||
|
||||
Other hardware features are currently not supported by the port.
|
||||
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@
|
|||
zephyr,console = &uart0;
|
||||
zephyr,shell-uart = &uart0;
|
||||
zephyr,canbus = &canfd0;
|
||||
zephyr,entropy = &trng;
|
||||
};
|
||||
|
||||
leds {
|
||||
|
|
@ -177,3 +178,7 @@
|
|||
divider = <RA_PWM_SOURCE_DIV_256>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&trng {
|
||||
status ="okay";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -91,6 +91,8 @@ The below features are currently supported on Zephyr OS for FPB-RA6E2 board:
|
|||
+-----------+------------+----------------------+
|
||||
| PWM | on-chip | pwm |
|
||||
+-----------+------------+----------------------+
|
||||
| ENTROPY | on-chip | entropy |
|
||||
+-----------+------------+----------------------+
|
||||
|
||||
Other hardware features are currently not supported by the port.
|
||||
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@
|
|||
zephyr,flash = &flash0;
|
||||
zephyr,console = &uart0;
|
||||
zephyr,shell-uart = &uart0;
|
||||
zephyr,entropy = &trng;
|
||||
};
|
||||
|
||||
leds {
|
||||
|
|
@ -123,3 +124,7 @@
|
|||
divider = <RA_PWM_SOURCE_DIV_256>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&trng {
|
||||
status ="okay";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -86,6 +86,11 @@
|
|||
#pwm-cells = <3>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
trng: trng {
|
||||
compatible = "renesas,ra-trng";
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
|
||||
clocks: clocks {
|
||||
|
|
|
|||
|
|
@ -74,6 +74,11 @@
|
|||
status = "disabled";
|
||||
};
|
||||
};
|
||||
|
||||
trng: trng {
|
||||
compatible = "renesas,ra-trng";
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
|
||||
clocks: clocks {
|
||||
|
|
|
|||
|
|
@ -85,6 +85,11 @@
|
|||
#pwm-cells = <3>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
trng: trng {
|
||||
compatible = "renesas,ra-trng";
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
|
||||
clocks: clocks {
|
||||
|
|
|
|||
Loading…
Reference in a new issue