Merge tag 'linux-kselftest-kunit-fixes-5.11-rc3' of git://git.kernel.org/pub/scm...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / rng / st,stm32-rng.yaml
blob82bb2e97e889f809845ca34a08f2bf5fb0b62ad8
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/rng/st,stm32-rng.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: STMicroelectronics STM32 RNG bindings
9 description: |
10   The STM32 hardware random number generator is a simple fixed purpose
11   IP and is fully separated from other crypto functions.
13 maintainers:
14   - Lionel Debieve <lionel.debieve@st.com>
16 properties:
17   compatible:
18     const: st,stm32-rng
20   reg:
21     maxItems: 1
23   clocks:
24     maxItems: 1
26   resets:
27     maxItems: 1
29   clock-error-detect:
30     description: If set enable the clock detection management
32 required:
33   - compatible
34   - reg
35   - clocks
37 additionalProperties: false
39 examples:
40   - |
41     #include <dt-bindings/clock/stm32mp1-clks.h>
42     rng@54003000 {
43       compatible = "st,stm32-rng";
44       reg = <0x54003000 0x400>;
45       clocks = <&rcc RNG1_K>;
46     };
48 ...