Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c2b06bcd authored by Sean Wang's avatar Sean Wang Committed by Herbert Xu
Browse files

dt-bindings: hwrng: Add Mediatek hardware random generator bindings



Document the devicetree bindings for Mediatek random number
generator which could be found on MT7623 SoC or other similar
Mediatek SoCs.

Signed-off-by: default avatarSean Wang <sean.wang@mediatek.com>
Acked-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 0f89f6e1
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
Device-Tree bindings for Mediatek random number generator
found in Mediatek SoC family

Required properties:
- compatible	    : Should be "mediatek,mt7623-rng"
- clocks	    : list of clock specifiers, corresponding to
		      entries in clock-names property;
- clock-names	    : Should contain "rng" entries;
- reg 		    : Specifies base physical address and size of the registers

Example:

rng: rng@1020f000 {
	compatible = "mediatek,mt7623-rng";
	reg = <0 0x1020f000 0 0x1000>;
	clocks = <&infracfg CLK_INFRA_TRNG>;
	clock-names = "rng";
};