xref: /freebsd/sys/contrib/device-tree/Bindings/rng/mtk-rng.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotDevice-Tree bindings for Mediatek random number generator
2*c66ec88fSEmmanuel Vadotfound in MediaTek SoC family
3*c66ec88fSEmmanuel Vadot
4*c66ec88fSEmmanuel VadotRequired properties:
5*c66ec88fSEmmanuel Vadot- compatible	    : Should be
6*c66ec88fSEmmanuel Vadot			"mediatek,mt7622-rng", 	"mediatek,mt7623-rng" : for MT7622
7*c66ec88fSEmmanuel Vadot			"mediatek,mt7629-rng",  "mediatek,mt7623-rng" : for MT7629
8*c66ec88fSEmmanuel Vadot			"mediatek,mt7623-rng" : for MT7623
9*c66ec88fSEmmanuel Vadot			"mediatek,mt8516-rng", "mediatek,mt7623-rng" : for MT8516
10*c66ec88fSEmmanuel Vadot- clocks	    : list of clock specifiers, corresponding to
11*c66ec88fSEmmanuel Vadot		      entries in clock-names property;
12*c66ec88fSEmmanuel Vadot- clock-names	    : Should contain "rng" entries;
13*c66ec88fSEmmanuel Vadot- reg 		    : Specifies base physical address and size of the registers
14*c66ec88fSEmmanuel Vadot
15*c66ec88fSEmmanuel VadotExample:
16*c66ec88fSEmmanuel Vadot
17*c66ec88fSEmmanuel Vadotrng: rng@1020f000 {
18*c66ec88fSEmmanuel Vadot	compatible = "mediatek,mt7623-rng";
19*c66ec88fSEmmanuel Vadot	reg = <0 0x1020f000 0 0x1000>;
20*c66ec88fSEmmanuel Vadot	clocks = <&infracfg CLK_INFRA_TRNG>;
21*c66ec88fSEmmanuel Vadot	clock-names = "rng";
22*c66ec88fSEmmanuel Vadot};
23