Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/rng/ingenic,trng.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Bindings for DTRNG in Ingenic SoCs
0008 
0009 maintainers:
0010   - 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
0011 
0012 description:
0013   The True Random Number Generator in Ingenic SoCs.
0014 
0015 properties:
0016   compatible:
0017     enum:
0018       - ingenic,x1830-dtrng
0019 
0020   reg:
0021     maxItems: 1
0022 
0023   clocks:
0024     maxItems: 1
0025 
0026 required:
0027   - compatible
0028   - reg
0029   - clocks
0030 
0031 additionalProperties: false
0032 
0033 examples:
0034   - |
0035     #include <dt-bindings/clock/ingenic,x1830-cgu.h>
0036 
0037     dtrng: trng@10072000 {
0038         compatible = "ingenic,x1830-dtrng";
0039         reg = <0x10072000 0xc>;
0040 
0041         clocks = <&cgu X1830_CLK_DTRNG>;
0042     };
0043 ...