Skip to content

Commit

Permalink
dt-bindings: RNG: Add Ingenic RNG bindings.
Browse files Browse the repository at this point in the history
Add the RNG bindings for the JZ4780 SoC and
the X1000 SoC from Ingenic.

Signed-off-by: 周琰杰 (Zhou Yanjie) <[email protected]>
Reviewed-by: Rob Herring <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
XBurst authored and herbertx committed Jul 31, 2020
1 parent e4d6efe commit d86f443
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions Documentation/devicetree/bindings/rng/ingenic,rng.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/rng/ingenic,rng.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Bindings for RNG in Ingenic SoCs

maintainers:
- 周琰杰 (Zhou Yanjie) <[email protected]>

description:
The Random Number Generator in Ingenic SoCs.

properties:
compatible:
enum:
- ingenic,jz4780-rng
- ingenic,x1000-rng

reg:
maxItems: 1

required:
- compatible
- reg

additionalProperties: false

examples:
- |
rng: rng@d8 {
compatible = "ingenic,jz4780-rng";
reg = <0xd8 0x8>;
};
...

0 comments on commit d86f443

Please sign in to comment.