0001 // SPDX-License-Identifier: GPL-2.0-only
0002 /*
0003 * omap3-n9.dts - Device Tree file for Nokia N9
0004 *
0005 * Written by: Aaro Koskinen <aaro.koskinen@iki.fi>
0006 */
0007
0008 /dts-v1/;
0009
0010 #include "omap3-n950-n9.dtsi"
0011 #include <dt-bindings/input/input.h>
0012
0013 / {
0014 model = "Nokia N9";
0015 compatible = "nokia,omap3-n9", "ti,omap3630", "ti,omap36xx", "ti,omap3";
0016 };
0017
0018 &i2c2 {
0019 smia_1: camera@10 {
0020 compatible = "nokia,smia";
0021 reg = <0x10>;
0022 /* No reset gpio */
0023 vana-supply = <&vaux3>;
0024 clocks = <&isp 0>;
0025 clock-frequency = <9600000>;
0026 flash-leds = <&as3645a_flash &as3645a_indicator>;
0027 port {
0028 smia_1_1: endpoint {
0029 link-frequencies = /bits/ 64 <199200000 210000000 499200000>;
0030 clock-lanes = <0>;
0031 data-lanes = <1 2>;
0032 remote-endpoint = <&csi2a_ep>;
0033 };
0034 };
0035 };
0036 };
0037
0038 &i2c3 {
0039 ak8975@f {
0040 compatible = "asahi-kasei,ak8975";
0041 reg = <0x0f>;
0042 };
0043 };
0044
0045 &isp {
0046 vdd-csiphy1-supply = <&vaux2>;
0047 vdd-csiphy2-supply = <&vaux2>;
0048 ports {
0049 port@2 {
0050 reg = <2>;
0051 csi2a_ep: endpoint {
0052 remote-endpoint = <&smia_1_1>;
0053 clock-lanes = <2>;
0054 data-lanes = <1 3>;
0055 crc = <1>;
0056 lane-polarities = <1 1 1>;
0057 };
0058 };
0059 };
0060 };
0061
0062 &modem {
0063 compatible = "nokia,n9-modem";
0064 };
0065
0066 &lis302 {
0067 st,axis-x = <1>; /* LIS3_DEV_X */
0068 st,axis-y = <(-2)>; /* LIS3_INV_DEV_Y */
0069 st,axis-z = <(-3)>; /* LIS3_INV_DEV_Z */
0070
0071 st,min-limit-x = <(-46)>;
0072 st,min-limit-y = <3>;
0073 st,min-limit-z = <3>;
0074
0075 st,max-limit-x = <(-3)>;
0076 st,max-limit-y = <46>;
0077 st,max-limit-z = <46>;
0078 };
0079
0080 &twl_keypad {
0081 linux,keymap = < MATRIX_KEY(6, 8, KEY_VOLUMEUP)
0082 MATRIX_KEY(7, 8, KEY_VOLUMEDOWN)
0083 >;
0084 };