xref: /linux/Documentation/devicetree/bindings/rng/brcm,bcm2835.yaml (revision 26fbb4c8c7c3ee9a4c3b4de555a8587b5a19154e)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/rng/brcm,bcm2835.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: BCM2835/6368 Random number generator
8
9maintainers:
10  - Stefan Wahren <stefan.wahren@i2se.com>
11  - Florian Fainelli <f.fainelli@gmail.com>
12  - Herbert Xu <herbert@gondor.apana.org.au>
13
14properties:
15  compatible:
16    enum:
17      - brcm,bcm2835-rng
18      - brcm,bcm-nsp-rng
19      - brcm,bcm5301x-rng
20      - brcm,bcm6368-rng
21
22  reg:
23    maxItems: 1
24
25  clocks:
26    maxItems: 1
27
28  clock-names:
29    const: ipsec
30
31  interrupts:
32    maxItems: 1
33
34required:
35  - compatible
36  - reg
37
38additionalProperties: false
39
40examples:
41  - |
42    rng@7e104000 {
43        compatible = "brcm,bcm2835-rng";
44        reg = <0x7e104000 0x10>;
45        interrupts = <2 29>;
46    };
47
48  - |
49    rng@18033000 {
50        compatible = "brcm,bcm-nsp-rng";
51        reg = <0x18033000 0x14>;
52    };
53
54  - |
55    rng@10004180 {
56        compatible = "brcm,bcm6368-rng";
57        reg = <0x10004180 0x14>;
58
59        clocks = <&periph_clk 18>;
60        clock-names = "ipsec";
61    };
62