Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
28 lines
742 B
Plaintext
28 lines
742 B
Plaintext
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,mt7623-rng" for MT7623
|
|
"mediatek,mt67xx-rng" for MT67xx ARMv8 SoCs
|
|
|
|
Optional properties:
|
|
- 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";
|
|
};
|
|
|
|
hwrng: hwrng {
|
|
compatible = "mediatek,mt67xx-rng";
|
|
};
|