Skip to content

Commit 4a2140c

Browse files
TonyHan11jhedberg
authored andcommitted
boards: microchip: sam: add RNG to sama7g54-ek dts and yaml files
Enable TRNG in sama7g54_ek.dts files. Add entropy for TRNG to sama7g54_ek.yaml support list. Tested with tests/drivers/entropy/api. Signed-off-by: Tony Han <[email protected]>
1 parent 1a39f7f commit 4a2140c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

boards/microchip/sam/sama7g54_ek/sama7g54_ek.dts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
chosen {
3131
zephyr,sram = &ddram;
3232
zephyr,console = &usart3;
33+
zephyr,entropy = &trng;
3334
zephyr,shell-uart = &usart3;
3435
};
3536

@@ -249,3 +250,7 @@
249250
status = "okay";
250251
};
251252
};
253+
254+
&trng {
255+
status = "okay";
256+
};

boards/microchip/sam/sama7g54_ek/sama7g54_ek.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ toolchain:
99
- zephyr
1010
ram: 128
1111
supported:
12+
- entropy
1213
- pwm
1314
- sdhc
1415
- shell

0 commit comments

Comments
 (0)