aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2020-03-26 00:52:24 +0100
committerLubomir Rintel <lkundrak@v3.sk>2020-08-14 01:52:18 +0200
commit26ffdd176e6272631a804ce59508ba807f21b71f (patch)
treeadd7b24932073412d237849db9b9403f97068284
parentb4d7dd1e182cddb7d52b401e5a0f7949de4945a1 (diff)
downloadopenfirmware-26ffdd176e6272631a804ce59508ba807f21b71f.tar.gz
olpc/sound: make /asram compatible with mmio-sram
This allows the generic Linux SRAM driver to bind.
-rw-r--r--cpu/arm/olpc/sound.fth8
1 files changed, 8 insertions, 0 deletions
diff --git a/cpu/arm/olpc/sound.fth b/cpu/arm/olpc/sound.fth
index 19dc94d0..c43b5a30 100644
--- a/cpu/arm/olpc/sound.fth
+++ b/cpu/arm/olpc/sound.fth
@@ -71,6 +71,14 @@ new-device
audio-sram-pa /audio-sram reg
" marvell,mmp-asram" +compatible
+ " mmio-sram" +compatible
+ 1 " #address-cells" integer-property
+ 1 " #size-cells" integer-property
+
+ 0 encode-int
+ audio-sram-pa encode-int encode+
+ /audio-sram encode-int encode+
+ " ranges" property
finish-device
new-device