Skip to content

Commit 0c6a367

Browse files
tswaehnkartben
authored andcommitted
dts: sy1xx: add trng support
With this commit we add the trng functionality to the sensry soc sy1xx. Signed-off-by: Sven Ginka <[email protected]>
1 parent 8d07f6b commit 0c6a367

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

dts/riscv/sensry/ganymed-sy1xx.dtsi

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
#address-cells = <1>;
1010
#size-cells = <0>;
1111

12+
chosen {
13+
zephyr,entropy = &trng;
14+
};
15+
1216
cpus {
1317
#address-cells = <1>;
1418
#size-cells = <0>;
@@ -89,6 +93,12 @@
8993
status = "okay";
9094
};
9195

96+
trng: random@1d030100 {
97+
compatible = "sensry,sy1xx-trng";
98+
reg = <0x1d030100 0x100>;
99+
status = "okay";
100+
};
101+
92102
gpio0: gpio@1a101000 {
93103
compatible = "sensry,sy1xx-gpio";
94104
gpio-controller;

0 commit comments

Comments
 (0)