0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 # Copyright 2019 BayLibre, SAS
0003 %YAML 1.2
0004 ---
0005 $id: "http://devicetree.org/schemas/rng/amlogic,meson-rng.yaml#"
0006 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
0007
0008 title: Amlogic Meson Random number generator
0009
0010 maintainers:
0011 - Neil Armstrong <neil.armstrong@linaro.org>
0012
0013 properties:
0014 compatible:
0015 enum:
0016 - amlogic,meson-rng
0017
0018 reg:
0019 maxItems: 1
0020
0021 clocks:
0022 maxItems: 1
0023
0024 clock-names:
0025 items:
0026 - const: core
0027
0028 required:
0029 - compatible
0030 - reg
0031
0032 additionalProperties: false
0033
0034 examples:
0035 - |
0036 rng@c8834000 {
0037 compatible = "amlogic,meson-rng";
0038 reg = <0xc8834000 0x4>;
0039 };