dt-bindings: rng: Document the Rockchip CRYPTO V1 HW RNG bindings

Change-Id: Ie266005701812b96647ea7835e6d4bdf035ba0f9
Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
This commit is contained in:
Lin Jinhan 2019-09-17 16:27:09 +08:00 committed by Tao Huang
commit 45f41e9f7f

View file

@ -3,6 +3,7 @@ Rockchip Hardware Random Number Generator
Required properties:
- compatible : should be one of the following.
"rockchip,cryptov1-rng" for crypto v1
"rockchip,cryptov2-rng" for crypto v2
- reg : Specifies base physical address and size of the registers map.
- clocks : Phandle to clock-controller plus clock-specifier pair.
@ -15,6 +16,18 @@ Required properties:
- reset-names : Reset names, should be "reset"
Example:
rng: rng@100fc000 {
compatible = "rockchip,cryptov1-rng";
reg = <0x100fc000 0x4000>;
clocks = <&cru SCLK_CRYPTO>, <&cru HCLK_CRYPTO>;
clock-names = "clk_crypto", "hclk_crypto";
assigned-clocks = <&cru SCLK_CRYPTO>, <&cru HCLK_CRYPTO>;
assigned-clock-rates = <150000000>, <100000000>;
resets = <&cru SRST_CRYPTO>;
reset-names = "reset";
status = "disabled";
};
rng: rng@ff2f0000 {
compatible = "rockchip,cryptov2-rng";
reg = <0x0 0xff2f0000 0x0 0x4000>;