dts: arm: st: stm32: add health configuration support
Some STM32 series need to configure health test register for proper RNG behavior. In addition, some also require to write a Magic number before writing the configuration. Note: on stm32h7 not all product lines support this configuration. Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
This commit is contained in:
parent
dc3b2321f3
commit
a2035cd2f4
@ -35,6 +35,11 @@
|
||||
dmamux1: dmamux@40020800 {
|
||||
dma-requests= <129>;
|
||||
};
|
||||
|
||||
rng: rng@48021800 {
|
||||
health-test-magic = <0x17590abc>;
|
||||
health-test-config = <0xaa74>;
|
||||
};
|
||||
};
|
||||
|
||||
/* DTCM memory directly coppled to CPU */
|
||||
|
||||
@ -44,6 +44,11 @@
|
||||
status = "disabled";
|
||||
label = "CRYP";
|
||||
};
|
||||
|
||||
rng: rng@48021800 {
|
||||
health-test-magic = <0x17590abc>;
|
||||
health-test-config = <0xaa74>;
|
||||
};
|
||||
};
|
||||
|
||||
/* System data RAM accessible over AXI bus: AXI SRAM in D1 domain */
|
||||
|
||||
@ -393,6 +393,8 @@
|
||||
reg = <0x420c0800 0x400>;
|
||||
interrupts = <94 0>;
|
||||
clocks = <&rcc STM32_CLOCK_BUS_AHB2 0x00040000>;
|
||||
health-test-magic = <0x17590abc>;
|
||||
health-test-config = <0xa2b3>;
|
||||
status = "disabled";
|
||||
label = "RNG";
|
||||
};
|
||||
|
||||
@ -346,6 +346,7 @@
|
||||
reg = <0x420c0800 0x400>;
|
||||
clocks = <&rcc STM32_CLOCK_BUS_AHB2 0x00040000>;
|
||||
interrupts = <94 0>;
|
||||
health-test-config = <0x9aae>;
|
||||
status = "disabled";
|
||||
label = "RNG";
|
||||
};
|
||||
|
||||
@ -407,6 +407,8 @@
|
||||
reg = <0x58001000 0x400>;
|
||||
interrupts = <52 0>;
|
||||
clocks = <&rcc STM32_CLOCK_BUS_AHB3 0x00040000>;
|
||||
health-test-magic = <0x17590abc>;
|
||||
health-test-config = <0xaa74>;
|
||||
status = "disabled";
|
||||
label = "RNG";
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user