]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - Bindings/rng/st,stm32-rng.yaml
Import device-tree files from Linux 6.2
[FreeBSD/FreeBSD.git] / 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
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@foss.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     type: boolean
31     description: If set enable the clock detection management
32
33 required:
34   - compatible
35   - reg
36   - clocks
37
38 additionalProperties: false
39
40 examples:
41   - |
42     #include <dt-bindings/clock/stm32mp1-clks.h>
43     rng@54003000 {
44       compatible = "st,stm32-rng";
45       reg = <0x54003000 0x400>;
46       clocks = <&rcc RNG1_K>;
47     };
48
49 ...