1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/rng/ingenic,trng.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: DTRNG in Ingenic SoCs
8
9maintainers:
10  - ��������� (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
11
12description:
13  The True Random Number Generator in Ingenic SoCs.
14
15properties:
16  compatible:
17    enum:
18      - ingenic,x1830-dtrng
19
20  reg:
21    maxItems: 1
22
23  clocks:
24    maxItems: 1
25
26required:
27  - compatible
28  - reg
29  - clocks
30
31additionalProperties: false
32
33examples:
34  - |
35    #include <dt-bindings/clock/ingenic,x1830-cgu.h>
36
37    dtrng: trng@10072000 {
38        compatible = "ingenic,x1830-dtrng";
39        reg = <0x10072000 0xc>;
40
41        clocks = <&cgu X1830_CLK_DTRNG>;
42    };
43...
44