Merge tag 'armsoc-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / rng / ingenic,trng.yaml
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
7 title: Bindings for DTRNG in Ingenic SoCs
8
9 maintainers:
10   - 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
11
12 description:
13   The True Random Number Generator in Ingenic SoCs.
14
15 properties:
16   compatible:
17     enum:
18       - ingenic,x1830-dtrng
19
20   reg:
21     maxItems: 1
22
23   clocks:
24     maxItems: 1
25
26 required:
27   - compatible
28   - reg
29   - clocks
30
31 additionalProperties: false
32
33 examples:
34   - |
35     #include <dt-bindings/clock/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 ...