Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ff90900a authored by Daniel Thompson's avatar Daniel Thompson Committed by Herbert Xu
Browse files

dt-bindings: Document the STM32 HW RNG bindings



This adds documentation of device tree bindings for the STM32 hardware
random number generator.

Signed-off-by: default avatarDaniel Thompson <daniel.thompson@linaro.org>
Acked-by: default avatarMaxime Coquelin <mcoquelin.stm32@gmail.com>
Acked-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent a6479ea4
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
STMicroelectronics STM32 HW RNG
===============================

The STM32 hardware random number generator is a simple fixed purpose IP and
is fully separated from other crypto functions.

Required properties:

- compatible : Should be "st,stm32-rng"
- reg : Should be register base and length as documented in the datasheet
- interrupts : The designated IRQ line for the RNG
- clocks : The clock needed to enable the RNG

Example:

	rng: rng@50060800 {
		compatible = "st,stm32-rng";
		reg = <0x50060800 0x400>;
		interrupts = <80>;
		clocks = <&rcc 0 38>;
	};