aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2020-03-14 21:44:16 +0100
committerLubomir Rintel <lkundrak@v3.sk>2020-03-23 18:40:24 +0100
commitdf9c01bbcc7a25dccc3ceb850a6497fbe9b59832 (patch)
tree43903cc8635b6c0f0f2ae36a115d50125fd22163
parenta1a14e1efd5f66450256b03875d560be416d4d18 (diff)
downloadopenfirmware-df9c01bbcc7a25dccc3ceb850a6497fbe9b59832.tar.gz
mmp2/random: create a device node
This way the Linux driver can bind.
-rw-r--r--cpu/arm/mmp2/random.fth6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpu/arm/mmp2/random.fth b/cpu/arm/mmp2/random.fth
index bc448f6b..35f61577 100644
--- a/cpu/arm/mmp2/random.fth
+++ b/cpu/arm/mmp2/random.fth
@@ -37,6 +37,12 @@ purpose: Random numbers using Marvell hardware acceleration
;
alias random random-long
+0 0 " d4292c00" " /" begin-package
+ " rng" device-name
+ " marvell,mmp2-rng" +compatible
+ my-address my-space h# 8 reg
+end-package
+
stand-init: Random number generator
h# 1b h# 68 pmua! \ Ensure WTM clock is enabled
init-entropy