Aaro Koskinen | df01318 | 2013-10-15 23:36:09 +0300 | [diff] [blame] | 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"; |
Aaro Koskinen | 2a074de | 2014-02-09 14:12:35 +0200 | [diff] [blame] | 17 | compatible = "nokia,omap3-n9", "ti,omap36xx", "ti,omap3"; |
Aaro Koskinen | df01318 | 2013-10-15 23:36:09 +0300 | [diff] [blame] | 18 | }; |
Sakari Ailus | 80a4158 | 2015-03-19 01:50:24 +0200 | [diff] [blame] | 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 | }; |
Sebastian Reichel | f21b987 | 2016-01-17 16:49:09 +0100 | [diff] [blame] | 56 | |
| 57 | &modem { |
| 58 | compatible = "nokia,n9-modem"; |
| 59 | }; |
Filip Matijević | 83faf92 | 2016-03-13 01:06:20 +0100 | [diff] [blame] | 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 | }; |