]> git.baikalelectronics.ru Git - kernel.git/commitdiff
dt-binding: hwrng: add NPCM RNG documentation
authorTomer Maimon <tmaimon77@gmail.com>
Thu, 12 Sep 2019 09:01:48 +0000 (12:01 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 4 Oct 2019 15:04:32 +0000 (01:04 +1000)
Added device tree binding documentation for Nuvoton BMC
NPCM Random Number Generator (RNG).

Signed-off-by: Tomer Maimon <tmaimon77@gmail.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Documentation/devicetree/bindings/rng/nuvoton,npcm-rng.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/rng/nuvoton,npcm-rng.txt b/Documentation/devicetree/bindings/rng/nuvoton,npcm-rng.txt
new file mode 100644 (file)
index 0000000..65c0417
--- /dev/null
@@ -0,0 +1,12 @@
+NPCM SoC Random Number Generator
+
+Required properties:
+- compatible  : "nuvoton,npcm750-rng" for the NPCM7XX BMC.
+- reg         : Specifies physical base address and size of the registers.
+
+Example:
+
+rng: rng@f000b000 {
+       compatible = "nuvoton,npcm750-rng";
+       reg = <0xf000b000 0x8>;
+};