xref: /linux/Documentation/devicetree/bindings/rng/SUNW,n2-rng.yaml (revision 9792d660a4e91d31a6b1af105ae3f1c29107e94b)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/rng/SUNW,n2-rng.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: SUN UltraSPARC HWRNG
8
9maintainers:
10  - David S. Miller <davem@davemloft.net>
11
12properties:
13  compatible:
14    enum:
15      - SUNW,n2-rng  # for Niagara 2 Platform (SUN UltraSPARC T2 CPU)
16      - SUNW,vf-rng  # for Victoria Falls Platform (SUN UltraSPARC T2 Plus CPU)
17      # for Rainbow/Yosemite Falls Platform (SUN SPARC T3/T4),
18      #  (UltraSPARC KT/Niagara 3 - development names)
19      #  more recent systems (after Oracle acquisition of SUN)
20      - SUNW,kt-rng
21      - ORCL,m4-rng  # for SPARC T5/M5
22      - ORCL,m7-rng  # for SPARC T7/M7
23
24  reg:
25    maxItems: 1
26
27  "rng-#units":
28    description: Number of RNG units
29    $ref: /schemas/types.yaml#/definitions/uint32
30    minimum: 1
31
32required:
33  - compatible
34  - reg
35
36additionalProperties: false
37
38# PS: see as well prtconfs.git by DaveM
39examples:
40  - |
41    bus {
42        #address-cells = <1>;
43        #size-cells = <0>;
44
45        rng@e {
46            compatible = "ORCL,m4-rng";
47            reg = <0xe>;
48            rng-#units = <2>;
49        };
50    };
51