summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/omap3-n950.dts
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@iki.fi>2015-03-19 02:50:24 +0300
committerTony Lindgren <tony@atomide.com>2015-03-19 20:59:28 +0300
commit80a41581369c48a1af8ff086fdcaef0a9c3dd40c (patch)
tree6deb8bfe7484ed632b353c8b0ac09efd8d3d5103 /arch/arm/boot/dts/omap3-n950.dts
parente52117638b79e0ae65b5acd4bf65971cc0e8be9f (diff)
downloadlinux-80a41581369c48a1af8ff086fdcaef0a9c3dd40c.tar.xz
ARM: dts: n950, n9: Add primary camera support
Add support for the primary camera of the Nokia N950 and N9. Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/omap3-n950.dts')
-rw-r--r--arch/arm/boot/dts/omap3-n950.dts37
1 files changed, 37 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap3-n950.dts b/arch/arm/boot/dts/omap3-n950.dts
index 261c5589bfa3..0885b34d5d7d 100644
--- a/arch/arm/boot/dts/omap3-n950.dts
+++ b/arch/arm/boot/dts/omap3-n950.dts
@@ -16,3 +16,40 @@
model = "Nokia N950";
compatible = "nokia,omap3-n950", "ti,omap36xx", "ti,omap3";
};
+
+&i2c2 {
+ smia_1: camera@10 {
+ compatible = "nokia,smia";
+ reg = <0x10>;
+ /* No reset gpio */
+ vana-supply = <&vaux3>;
+ clocks = <&isp 0>;
+ clock-frequency = <9600000>;
+ nokia,nvm-size = <(16 * 64)>;
+ port {
+ smia_1_1: endpoint {
+ link-frequencies = /bits/ 64 <210000000 333600000 398400000>;
+ clock-lanes = <0>;
+ data-lanes = <1 2>;
+ remote-endpoint = <&csi2a_ep>;
+ };
+ };
+ };
+};
+
+&isp {
+ vdd-csiphy1-supply = <&vaux2>;
+ vdd-csiphy2-supply = <&vaux2>;
+ ports {
+ port@2 {
+ reg = <2>;
+ csi2a_ep: endpoint {
+ remote-endpoint = <&smia_1_1>;
+ clock-lanes = <2>;
+ data-lanes = <3 1>;
+ crc = <1>;
+ lane-polarities = <1 1 1>;
+ };
+ };
+ };
+};