olpc/mmp2camera: add power domain on MMP3
This tells the driver to enable the power island first.
diff --git a/cpu/arm/mmp2/clk.fth b/cpu/arm/mmp2/clk.fth
index 5481e29..e8d623d 100644
--- a/cpu/arm/mmp2/clk.fth
+++ b/cpu/arm/mmp2/clk.fth
@@ -41,6 +41,7 @@
\ From include/dt-bindings/power/marvell,mmp2.h
d# 0 constant mmp2-gpu-pd#
+d# 2 constant mmp3-camera-pd#
\ FIXME: Not official clock numbers!
d# 10000 constant mmp2-audio-clk#
diff --git a/dev/olpc/mmp2camera/loadpkg.fth b/dev/olpc/mmp2camera/loadpkg.fth
index 5e8a540..5f8af9c 100644
--- a/dev/olpc/mmp2camera/loadpkg.fth
+++ b/dev/olpc/mmp2camera/loadpkg.fth
@@ -5,6 +5,7 @@
my-address my-space h# 800 reg
" /clocks" encode-phandle mmp2-ccic0-clk# encode-int encode+ " clocks" property
[ifdef] mmp3
+ " /clocks" encode-phandle mmp3-camera-pd# encode-int encode+ " power-domains" property
\ The CCIC interrupt is shared between CCIC1 and CCIC2 on MMP3
" /interrupt-controller@1cc" encode-phandle " interrupt-parent" property
1 " interrupts" integer-property