xref: /freebsd/sys/contrib/device-tree/Bindings/rng/ingenic,trng.yaml (revision 8bab661a3316d8bd9b9fbd11a3b4371b91507bd2)
16be33864SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
26be33864SEmmanuel Vadot%YAML 1.2
36be33864SEmmanuel Vadot---
46be33864SEmmanuel Vadot$id: http://devicetree.org/schemas/rng/ingenic,trng.yaml#
56be33864SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
66be33864SEmmanuel Vadot
7*8bab661aSEmmanuel Vadottitle: DTRNG in Ingenic SoCs
86be33864SEmmanuel Vadot
96be33864SEmmanuel Vadotmaintainers:
106be33864SEmmanuel Vadot  - 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
116be33864SEmmanuel Vadot
126be33864SEmmanuel Vadotdescription:
136be33864SEmmanuel Vadot  The True Random Number Generator in Ingenic SoCs.
146be33864SEmmanuel Vadot
156be33864SEmmanuel Vadotproperties:
166be33864SEmmanuel Vadot  compatible:
176be33864SEmmanuel Vadot    enum:
186be33864SEmmanuel Vadot      - ingenic,x1830-dtrng
196be33864SEmmanuel Vadot
206be33864SEmmanuel Vadot  reg:
216be33864SEmmanuel Vadot    maxItems: 1
226be33864SEmmanuel Vadot
236be33864SEmmanuel Vadot  clocks:
246be33864SEmmanuel Vadot    maxItems: 1
256be33864SEmmanuel Vadot
266be33864SEmmanuel Vadotrequired:
276be33864SEmmanuel Vadot  - compatible
286be33864SEmmanuel Vadot  - reg
296be33864SEmmanuel Vadot  - clocks
306be33864SEmmanuel Vadot
316be33864SEmmanuel VadotadditionalProperties: false
326be33864SEmmanuel Vadot
336be33864SEmmanuel Vadotexamples:
346be33864SEmmanuel Vadot  - |
358cc087a1SEmmanuel Vadot    #include <dt-bindings/clock/ingenic,x1830-cgu.h>
366be33864SEmmanuel Vadot
376be33864SEmmanuel Vadot    dtrng: trng@10072000 {
386be33864SEmmanuel Vadot        compatible = "ingenic,x1830-dtrng";
396be33864SEmmanuel Vadot        reg = <0x10072000 0xc>;
406be33864SEmmanuel Vadot
416be33864SEmmanuel Vadot        clocks = <&cgu X1830_CLK_DTRNG>;
426be33864SEmmanuel Vadot    };
436be33864SEmmanuel Vadot...
44