blob: b9e58c536afd5b63bf021869867c82914504d62a [file] [log] [blame]
Aaro Koskinendf013182013-10-15 23:36:09 +03001/*
2 * omap3-n9.dts - Device Tree file for Nokia N9
3 *
4 * Written by: Aaro Koskinen <aaro.koskinen@iki.fi>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
10
11/dts-v1/;
12
13#include "omap3-n950-n9.dtsi"
14
15/ {
16 model = "Nokia N9";
Aaro Koskinen2a074de2014-02-09 14:12:35 +020017 compatible = "nokia,omap3-n9", "ti,omap36xx", "ti,omap3";
Aaro Koskinendf013182013-10-15 23:36:09 +030018};
Sakari Ailus80a41582015-03-19 01:50:24 +020019
20&i2c2 {
21 smia_1: camera@10 {
22 compatible = "nokia,smia";
23 reg = <0x10>;
24 /* No reset gpio */
25 vana-supply = <&vaux3>;
26 clocks = <&isp 0>;
27 clock-frequency = <9600000>;
28 nokia,nvm-size = <(16 * 64)>;
29 port {
30 smia_1_1: endpoint {
31 link-frequencies = /bits/ 64 <199200000 210000000 499200000>;
32 clock-lanes = <0>;
33 data-lanes = <1 2>;
34 remote-endpoint = <&csi2a_ep>;
35 };
36 };
37 };
38};
39
40&isp {
41 vdd-csiphy1-supply = <&vaux2>;
42 vdd-csiphy2-supply = <&vaux2>;
43 ports {
44 port@2 {
45 reg = <2>;
46 csi2a_ep: endpoint {
47 remote-endpoint = <&smia_1_1>;
48 clock-lanes = <2>;
49 data-lanes = <1 3>;
50 crc = <1>;
51 lane-polarities = <1 1 1>;
52 };
53 };
54 };
55};
Sebastian Reichelf21b9872016-01-17 16:49:09 +010056
57&modem {
58 compatible = "nokia,n9-modem";
59};
Filip Matijević83faf922016-03-13 01:06:20 +010060
61&lis302 {
62 st,axis-x = <1>; /* LIS3_DEV_X */
63 st,axis-y = <(-2)>; /* LIS3_INV_DEV_Y */
64 st,axis-z = <(-3)>; /* LIS3_INV_DEV_Z */
65
66 st,min-limit-x = <(-46)>;
67 st,min-limit-y = <3>;
68 st,min-limit-z = <3>;
69
70 st,max-limit-x = <(-3)>;
71 st,max-limit-y = <46>;
72 st,max-limit-z = <46>;
73};