Merge tag 'linux-kselftest-kunit-fixes-5.11-rc3' of git://git.kernel.org/pub/scm...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / rng / ingenic,trng.yaml
blob808f247c842143c20b0d7111cb95ecd4909d600c
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#
7 title: Bindings for DTRNG in Ingenic SoCs
9 maintainers:
10   - 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
12 description:
13   The True Random Number Generator in Ingenic SoCs.
15 properties:
16   compatible:
17     enum:
18       - ingenic,x1830-dtrng
20   reg:
21     maxItems: 1
23   clocks:
24     maxItems: 1
26 required:
27   - compatible
28   - reg
29   - clocks
31 additionalProperties: false
33 examples:
34   - |
35     #include <dt-bindings/clock/x1830-cgu.h>
37     dtrng: trng@10072000 {
38         compatible = "ingenic,x1830-dtrng";
39         reg = <0x10072000 0xc>;
41         clocks = <&cgu X1830_CLK_DTRNG>;
42     };
43 ...