Commit | Line | Data |
---|---|---|
df013188 AK |
1 | /* |
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"; | |
2a074def | 17 | compatible = "nokia,omap3-n9", "ti,omap36xx", "ti,omap3"; |
df013188 | 18 | }; |
80a41581 SA |
19 | |
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 | }; | |
f21b9873 SR |
56 | |
57 | &modem { | |
58 | compatible = "nokia,n9-modem"; | |
59 | }; | |
83faf920 FM |
60 | |
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 | }; |