xref: /linux/Documentation/devicetree/bindings/rng/st,stm32-rng.yaml (revision e5a52fd2b8cdb700b3c07b030e050a49ef3156b9)
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
7title: STMicroelectronics STM32 RNG bindings
8
9description: |
10  The STM32 hardware random number generator is a simple fixed purpose
11  IP and is fully separated from other crypto functions.
12
13maintainers:
14  - Lionel Debieve <lionel.debieve@st.com>
15
16properties:
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
32required:
33  - compatible
34  - reg
35  - clocks
36
37additionalProperties: false
38
39examples:
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...
49