blob: acaeb63caf24929b6b01ba6e51fd3343ed22d80e [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# 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...