xref: /linux/Documentation/devicetree/bindings/rng/hisi-rng.yaml (revision 908057d185a41560a55890afa69c9676fc63e55c)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/rng/hisi-rng.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Hisilicon Random Number Generator
8
9maintainers:
10  - Kefeng Wang <wangkefeng.wang@huawei>
11
12properties:
13  compatible:
14    enum:
15      - hisilicon,hip04-rng
16      - hisilicon,hip05-rng
17
18  reg:
19    maxItems: 1
20
21required:
22  - compatible
23  - reg
24
25additionalProperties: false
26
27examples:
28  - |
29    rng@d1010000 {
30      compatible = "hisilicon,hip05-rng";
31      reg = <0xd1010000 0x100>;
32    };
33