File tree Expand file tree Collapse file tree 5 files changed +14
-0
lines changed Expand file tree Collapse file tree 5 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -311,6 +311,10 @@ void board_early_init_hook(void)
311311 RESET_ReleasePeripheralReset (kFLEXIO0_RST_SHIFT_RSTn );
312312#endif
313313
314+ #if DT_NODE_HAS_STATUS_OKAY (DT_NODELABEL (trng ))
315+ RESET_ReleasePeripheralReset (kTRNG0_RST_SHIFT_RSTn );
316+ #endif
317+
314318 /* Set SystemCoreClock variable. */
315319 SystemCoreClock = CLOCK_INIT_CORE_CLOCK ;
316320}
Original file line number Diff line number Diff line change 1818 aliases {
1919 ambient-temp0 = &p3t1755;
2020 };
21+
22+ chosen {
23+ zephyr,entropy = &trng;
24+ };
2125};
2226
2327&cpu0 {
Original file line number Diff line number Diff line change @@ -25,4 +25,5 @@ supported:
2525 - dma
2626 - i3c
2727 - can
28+ - entropy
2829vendor : nxp
Original file line number Diff line number Diff line change 1818 aliases {
1919 ambient-temp0 = &p3t1755;
2020 };
21+
22+ chosen {
23+ zephyr,entropy = &trng;
24+ };
2125};
2226
2327&cpu0 {
Original file line number Diff line number Diff line change @@ -26,4 +26,5 @@ supported:
2626 - i3c
2727 - opamp
2828 - can
29+ - entropy
2930vendor : nxp
You can’t perform that action at this time.
0 commit comments