Staging
v0.5.1
https://github.com/torvalds/linux
Raw File
Tip revision: b9bbe6ed63b2b9f2c9ee5cbd0f2c946a2723f4ce authored by Linus Torvalds on 17 May 2020, 23:48:37 UTC
Linux 5.7-rc6
Tip revision: b9bbe6e
mtk-rng.txt
Device-Tree bindings for Mediatek random number generator
found in MediaTek SoC family

Required properties:
- compatible	    : Should be
			"mediatek,mt7622-rng", 	"mediatek,mt7623-rng" : for MT7622
			"mediatek,mt7629-rng",  "mediatek,mt7623-rng" : for MT7629
			"mediatek,mt7623-rng" : for MT7623
			"mediatek,mt8516-rng", "mediatek,mt7623-rng" : for MT8516
- 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";
};
back to top