diff options
author | Linus Walleij | 2021-05-11 15:06:40 +0200 |
---|---|---|
committer | Linus Walleij | 2021-06-17 15:31:05 +0200 |
commit | cca061b04c0de4c8a0b2cfcdf534ab0a566178c3 (patch) | |
tree | 31db18e29736b5a27fea2cc817252df8ff7570a7 /Documentation/devicetree/bindings/rng | |
parent | 854a004305c202d85e2536459187bc7ab5edef31 (diff) |
hw_random: ixp4xx: Add DT bindings
This adds device tree bindings for the simple random number
generator found in the IXP46x SoCs.
Cc: Deepak Saxena <dsaxena@plexity.net>
Cc: devicetree@vger.kernel.org
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/rng')
-rw-r--r-- | Documentation/devicetree/bindings/rng/intel,ixp46x-rng.yaml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/rng/intel,ixp46x-rng.yaml b/Documentation/devicetree/bindings/rng/intel,ixp46x-rng.yaml new file mode 100644 index 000000000000..61963fa9347e --- /dev/null +++ b/Documentation/devicetree/bindings/rng/intel,ixp46x-rng.yaml @@ -0,0 +1,36 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rng/intel,ixp46x-rng.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Intel IXP46x RNG bindings + +description: | + The Intel IXP46x has a random number generator at a fixed physical + location in memory. Each read is guaranteed to provide a unique + 32 bit random number. + +maintainers: + - Linus Walleij <linus.walleij@linaro.org> + +properties: + compatible: + const: intel,ixp46x-rng + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + rng@70002100 { + compatible = "intel,ixp46x-rng"; + reg = <0x70002100 4>; + }; + |