Message ID | 1515059506-17818-2-git-send-email-tmaimon77@gmail.com |
---|---|
State | Not Applicable, archived |
Headers | show |
Series | hw_random: npcm: add NPCM7xx rng | expand |
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@f000b000 { + compatible = "nuvoton,npcm750-rng"; + reg = <0xf000b000 0x1000>; + clocks = <&clk NPCM7XX_CLK_APB1>; +};
Added device tree binding documentation for Nuvoton NPCM7xx random number generator. Signed-off-by: Tomer Maimon <tmaimon77@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