[openfirmware] [commit] r3248 - dev/olpc/mmp2camera

repository service svn at openfirmware.info
Thu Aug 30 01:29:58 CEST 2012


Author: wmb
Date: Thu Aug 30 01:29:58 2012
New Revision: 3248
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3248

Log:
OLPC ARM - Camera device node - The interrupts property needed to change because MMP3 shares the camera IRQ.

Modified:
   dev/olpc/mmp2camera/loadpkg.fth

Modified: dev/olpc/mmp2camera/loadpkg.fth
==============================================================================
--- dev/olpc/mmp2camera/loadpkg.fth	Wed Aug 29 21:00:05 2012	(r3247)
+++ dev/olpc/mmp2camera/loadpkg.fth	Thu Aug 30 01:29:58 2012	(r3248)
@@ -3,7 +3,13 @@
    " marvell,mmpcam" +compatible
    my-address my-space  h# 800  reg
    " /pmua" encode-phandle 2 encode-int encode+ " clocks" property
+[ifdef] mmp3
+   \ The CCIC interrupt is shared between CCIC1 and CCIC2 on MMP3
+   " /interrupt-controller/interrupt-controller at 1cc" encode-phandle " interrupt-parent" property
+   0 " interrupts" integer-property
+[else]
    d# 42 " interrupts" integer-property
+[then]
 
    0 0 encode-bytes
       cam-pwr-gpio# 0 encode-gpio



More information about the openfirmware mailing list