[PATCH linux dev-4.13 v1 1/2] dt-binding: rng: document NPCM7xx rng DT bindings
Tomer Maimon
tmaimon77 at gmail.com
Thu Jan 4 20:51:45 AEDT 2018
Added device tree binding documentation for
Nuvoton NPCM7xx random number generator.
Signed-off-by: Tomer Maimon <tmaimon77 at gmail.com>
---
.../devicetree/bindings/rng/nuvoton,npcm7xx-rng.txt | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 Documentation/devicetree/bindings/rng/nuvoton,npcm7xx-rng.txt
diff --git a/Documentation/devicetree/bindings/rng/nuvoton,npcm7xx-rng.txt b/Documentation/devicetree/bindings/rng/nuvoton,npcm7xx-rng.txt
new file mode 100644
index 000000000000..3b4e81037263
--- /dev/null
+++ b/Documentation/devicetree/bindings/rng/nuvoton,npcm7xx-rng.txt
@@ -0,0 +1,16 @@
+NPCM7XX SoC random number generator.
+
+Required properties:
+- compatible : "nuvoton,npcm750-rng" for Poleg NPCM750
+- reg : Offset and length of the registers set for the rng device.
+
+Optional:
+- clocks : phandle of rng reference clock.
+
+Example:
+
+rng: rng at f000b000 {
+ compatible = "nuvoton,npcm750-rng";
+ reg = <0xf000b000 0x1000>;
+ clocks = <&clk NPCM7XX_CLK_APB1>;
+};
--
2.14.1
More information about the openbmc
mailing list