Merge tag 'block-5.14-2021-08-07' of git://git.kernel.dk/linux-block
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / rng / st,stm32-rng.yaml
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#
6
7 title: STMicroelectronics STM32 RNG bindings
8
9 description: |
10   The STM32 hardware random number generator is a simple fixed purpose
11   IP and is fully separated from other crypto functions.
12
13 maintainers:
14   - Lionel Debieve <lionel.debieve@st.com>
15
16 properties:
17   compatible:
18     const: st,stm32-rng
19
20   reg:
21     maxItems: 1
22
23   clocks:
24     maxItems: 1
25
26   resets:
27     maxItems: 1
28
29   clock-error-detect:
30     description: If set enable the clock detection management
31
32 required:
33   - compatible
34   - reg
35   - clocks
36
37 additionalProperties: false
38
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     };
47
48 ...