]>
Commit | Line | Data |
---|---|---|
d2912cb1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
df013188 AK |
2 | /* |
3 | * omap3-n9.dts - Device Tree file for Nokia N9 | |
4 | * | |
5 | * Written by: Aaro Koskinen <aaro.koskinen@iki.fi> | |
df013188 AK |
6 | */ |
7 | ||
8 | /dts-v1/; | |
9 | ||
10 | #include "omap3-n950-n9.dtsi" | |
0e6e6dcc | 11 | #include <dt-bindings/input/input.h> |
df013188 AK |
12 | |
13 | / { | |
14 | model = "Nokia N9"; | |
2a074def | 15 | compatible = "nokia,omap3-n9", "ti,omap36xx", "ti,omap3"; |
df013188 | 16 | }; |
80a41581 SA |
17 | |
18 | &i2c2 { | |
19 | smia_1: camera@10 { | |
20 | compatible = "nokia,smia"; | |
21 | reg = <0x10>; | |
22 | /* No reset gpio */ | |
23 | vana-supply = <&vaux3>; | |
24 | clocks = <&isp 0>; | |
25 | clock-frequency = <9600000>; | |
26 | nokia,nvm-size = <(16 * 64)>; | |
ceb3c45b | 27 | flash-leds = <&as3645a_flash &as3645a_indicator>; |
80a41581 SA |
28 | port { |
29 | smia_1_1: endpoint { | |
30 | link-frequencies = /bits/ 64 <199200000 210000000 499200000>; | |
31 | clock-lanes = <0>; | |
32 | data-lanes = <1 2>; | |
33 | remote-endpoint = <&csi2a_ep>; | |
34 | }; | |
35 | }; | |
36 | }; | |
37 | }; | |
38 | ||
a66e9437 | 39 | &i2c3 { |
cc893871 | 40 | ak8975@f { |
a66e9437 PM |
41 | compatible = "asahi-kasei,ak8975"; |
42 | reg = <0x0f>; | |
43 | }; | |
44 | }; | |
45 | ||
80a41581 SA |
46 | &isp { |
47 | vdd-csiphy1-supply = <&vaux2>; | |
48 | vdd-csiphy2-supply = <&vaux2>; | |
49 | ports { | |
50 | port@2 { | |
51 | reg = <2>; | |
52 | csi2a_ep: endpoint { | |
53 | remote-endpoint = <&smia_1_1>; | |
54 | clock-lanes = <2>; | |
55 | data-lanes = <1 3>; | |
56 | crc = <1>; | |
57 | lane-polarities = <1 1 1>; | |
58 | }; | |
59 | }; | |
60 | }; | |
61 | }; | |
f21b9873 SR |
62 | |
63 | &modem { | |
64 | compatible = "nokia,n9-modem"; | |
65 | }; | |
83faf920 FM |
66 | |
67 | &lis302 { | |
68 | st,axis-x = <1>; /* LIS3_DEV_X */ | |
69 | st,axis-y = <(-2)>; /* LIS3_INV_DEV_Y */ | |
70 | st,axis-z = <(-3)>; /* LIS3_INV_DEV_Z */ | |
71 | ||
72 | st,min-limit-x = <(-46)>; | |
73 | st,min-limit-y = <3>; | |
74 | st,min-limit-z = <3>; | |
75 | ||
76 | st,max-limit-x = <(-3)>; | |
77 | st,max-limit-y = <46>; | |
78 | st,max-limit-z = <46>; | |
79 | }; | |
0e6e6dcc PM |
80 | |
81 | &twl_keypad { | |
82 | linux,keymap = < MATRIX_KEY(6, 8, KEY_VOLUMEUP) | |
83 | MATRIX_KEY(7, 8, KEY_VOLUMEDOWN) | |
84 | >; | |
85 | }; |