Skip to content

Commit

Permalink
dts: stm32wba: Add RNG node
Browse files Browse the repository at this point in the history
Add RNG node, configured to use 48MHz clock from PLL_Q.
Configured with NIST parameters.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
  • Loading branch information
erwango authored and fabiobaltieri committed Jul 19, 2023
1 parent 3fba824 commit ef0d358
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions dts/arm/st/wba/stm32wba.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

/ {
chosen {
zephyr,entropy = &rng;
zephyr,flash-controller = &flash;
};

Expand Down Expand Up @@ -384,6 +385,17 @@
interrupt-names = "wakeup";
status = "disabled";
};

rng: rng@520c0800 {
compatible = "st,stm32-rng";
reg = <0x520c0800 0x400>;
interrupts = <59 0>;
clocks = <&rcc STM32_CLOCK_BUS_AHB2 0x00040000>,
<&rcc STM32_SRC_PLL1_Q RNG_SEL(3)>;
nist-config = <0xf00d>;
health-test-config = <0xaac7>;
status = "disabled";
};
};
};

Expand Down

0 comments on commit ef0d358

Please sign in to comment.