diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2020-04-13 08:16:10 +0200 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2020-08-14 01:52:18 +0200 |
commit | 77474876a86bac0c64e9f7be829be70884a45734 (patch) | |
tree | ced849d51cab711e5e9d73b844c448344ad177cb | |
parent | 12186bf45c62e41980b44f0b692a503c222042ba (diff) | |
download | openfirmware-77474876a86bac0c64e9f7be829be70884a45734.tar.gz |
olpc/sound: on MMP2 the ADMA interrupts are not muxed
There seems to be just one interrupt line shared by all the DMA blocks.
-rw-r--r-- | cpu/arm/olpc/sound.fth | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cpu/arm/olpc/sound.fth b/cpu/arm/olpc/sound.fth index 1b04110b..01afba28 100644 --- a/cpu/arm/olpc/sound.fth +++ b/cpu/arm/olpc/sound.fth @@ -40,8 +40,12 @@ new-device 5 encode-int 4 encode-int encode+ " mmp-mav-dma-channels" property " marvell,mmp-audio-dma" +compatible +[ifdef] mmp3 " /interrupt-controller@128" encode-phandle " interrupt-parent" property d# 20 encode-int d# 21 encode-int encode+ " interrupts" property +[else] + d# 48 " interrupts" integer-property +[then] " disabled" " status" string-property current-device ( adma1-ph ) @@ -73,8 +77,12 @@ new-device 3 encode-int 2 encode-int encode+ " mmp-mav-dma-channels" property " marvell,mmp-audio-dma" +compatible +[ifdef] mmp3 " /interrupt-controller@128" encode-phandle " interrupt-parent" property d# 18 encode-int d# 19 encode-int encode+ " interrupts" property +[else] + d# 48 " interrupts" integer-property +[then] current-device ( adma0-ph ) finish-device |