xref: /linux/Documentation/devicetree/bindings/rng/amlogic,meson-rng.yaml (revision 6e7fd890f1d6ac83805409e9c346240de2705584)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2# Copyright 2019 BayLibre, SAS
3%YAML 1.2
4---
5$id: http://devicetree.org/schemas/rng/amlogic,meson-rng.yaml#
6$schema: http://devicetree.org/meta-schemas/core.yaml#
7
8title: Amlogic Meson Random number generator
9
10maintainers:
11  - Neil Armstrong <neil.armstrong@linaro.org>
12
13properties:
14  compatible:
15    enum:
16      - amlogic,meson-rng
17      - amlogic,meson-s4-rng
18
19  reg:
20    maxItems: 1
21
22  clocks:
23    maxItems: 1
24
25  clock-names:
26    items:
27      - const: core
28
29  power-domains:
30    maxItems: 1
31
32required:
33  - compatible
34  - reg
35
36additionalProperties: false
37
38examples:
39  - |
40    rng@c8834000 {
41          compatible = "amlogic,meson-rng";
42          reg = <0xc8834000 0x4>;
43    };
44