RNG
This page describes MCU Random Number Generator.
- Kernel option:
HW_RANDOM_HISTB
- Driver file:
drivers/char/hw_random/histb-rng.c
- Devive tree:
rng: rng@f8005000 {
compatible = "hisilicon,histb-rng";
reg = <0xf8005000 0xc>;
};
- Registers:
Name |
Bits |
Description |
---|---|---|
|
1:0 |
Only |
|
5 |
|
|
7 |
|
|
15:8 |
Speed: |
Name |
Bits |
Description |
---|---|---|
|
31:0 |
Random number, valid if |
Name |
Bits |
Description |
---|---|---|
|
2:0 |
Buffer length, max |
Unknown |
31 |
Module ready bit? |