ARM: dts: n950, n9: Add primary camera support
authorSakari Ailus <sakari.ailus@iki.fi>
Wed, 18 Mar 2015 23:50:24 +0000 (01:50 +0200)
committerTony Lindgren <tony@atomide.com>
Thu, 19 Mar 2015 17:59:28 +0000 (10:59 -0700)
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>
arch/arm/boot/dts/omap3-n9.dts
arch/arm/boot/dts/omap3-n950.dts

index 9938b5dc1909c00f01e587f15a4a1c1d2a6bc665..f2e213931e09a21ed24f7e50b28a74d50eeca735 100644 (file)
        model = "Nokia N9";
        compatible = "nokia,omap3-n9", "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 <199200000 210000000 499200000>;
+                               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 = <1 3>;
+                               crc = <1>;
+                               lane-polarities = <1 1 1>;
+                       };
+               };
+       };
+};
index 261c5589bfa3170e76cc8f469ac1d6ca07a02765..0885b34d5d7da252953c3aaef287a1e20b9dda63 100644 (file)
        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>;
+                       };
+               };
+       };
+};