Message ID | 20241016-rng-mp25-v2-v4-4-5dca590cb092@foss.st.com |
---|---|
State | Accepted |
Commit | fab334f4cedc9f30d38b8dc028e1cdbe383dfdd7 |
Headers | show |
Series | Add support for stm32mp25x RNG | expand |
Dear Gatien On 10/16/24 10:04, Gatien Chevallier wrote: > Update the device-tree stm32mp251.dtsi by adding the Random Number > Generator(RNG) node. > > Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com> > Reviewed-by: Marek Vasut <marex@denx.de> > --- > Changes in V3 > -Applied Marek tag > > Changes in V2 > -Renamed RNG clocks to "core" and "bus" > --- > arch/arm64/boot/dts/st/stm32mp251.dtsi | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/arch/arm64/boot/dts/st/stm32mp251.dtsi b/arch/arm64/boot/dts/st/stm32mp251.dtsi > index 1167cf63d7e87aaa15c5c1ed70a9f6511fd818d4..273da5f62294422b587b13404b499b5ffe6c148e 100644 > --- a/arch/arm64/boot/dts/st/stm32mp251.dtsi > +++ b/arch/arm64/boot/dts/st/stm32mp251.dtsi > @@ -493,6 +493,16 @@ uart8: serial@40380000 { > status = "disabled"; > }; > > + rng: rng@42020000 { > + compatible = "st,stm32mp25-rng"; > + reg = <0x42020000 0x400>; > + clocks = <&clk_rcbsec>, <&rcc CK_BUS_RNG>; > + clock-names = "core", "bus"; > + resets = <&rcc RNG_R>; > + access-controllers = <&rifsc 92>; > + status = "disabled"; > + }; > + > spi8: spi@46020000 { > #address-cells = <1>; > #size-cells = <0>; > Applied on stm32-next. regards Alex
diff --git a/arch/arm64/boot/dts/st/stm32mp251.dtsi b/arch/arm64/boot/dts/st/stm32mp251.dtsi index 1167cf63d7e87aaa15c5c1ed70a9f6511fd818d4..273da5f62294422b587b13404b499b5ffe6c148e 100644 --- a/arch/arm64/boot/dts/st/stm32mp251.dtsi +++ b/arch/arm64/boot/dts/st/stm32mp251.dtsi @@ -493,6 +493,16 @@ uart8: serial@40380000 { status = "disabled"; }; + rng: rng@42020000 { + compatible = "st,stm32mp25-rng"; + reg = <0x42020000 0x400>; + clocks = <&clk_rcbsec>, <&rcc CK_BUS_RNG>; + clock-names = "core", "bus"; + resets = <&rcc RNG_R>; + access-controllers = <&rifsc 92>; + status = "disabled"; + }; + spi8: spi@46020000 { #address-cells = <1>; #size-cells = <0>;