1 // SPDX-License-Identifier: GPL-2.0-only 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* 2 /* 3 * omap3-n9.dts - Device Tree file for Nokia N 3 * omap3-n9.dts - Device Tree file for Nokia N9 4 * 4 * 5 * Written by: Aaro Koskinen <aaro.koskinen@iki 5 * Written by: Aaro Koskinen <aaro.koskinen@iki.fi> 6 */ 6 */ 7 7 8 /dts-v1/; 8 /dts-v1/; 9 9 10 #include "omap3-n950-n9.dtsi" 10 #include "omap3-n950-n9.dtsi" 11 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/input/input.h> 12 12 13 / { 13 / { 14 model = "Nokia N9"; 14 model = "Nokia N9"; 15 compatible = "nokia,omap3-n9", "ti,oma 15 compatible = "nokia,omap3-n9", "ti,omap3630", "ti,omap3"; 16 }; 16 }; 17 17 18 &i2c2 { 18 &i2c2 { 19 smia_1: camera@10 { 19 smia_1: camera@10 { 20 compatible = "nokia,smia"; 20 compatible = "nokia,smia"; 21 reg = <0x10>; 21 reg = <0x10>; 22 /* No reset gpio */ 22 /* No reset gpio */ 23 vana-supply = <&vaux3>; 23 vana-supply = <&vaux3>; 24 clocks = <&isp 0>; 24 clocks = <&isp 0>; 25 clock-frequency = <9600000>; 25 clock-frequency = <9600000>; 26 flash-leds = <&as3645a_flash & 26 flash-leds = <&as3645a_flash &as3645a_indicator>; 27 port { 27 port { 28 smia_1_1: endpoint { 28 smia_1_1: endpoint { 29 link-frequenci 29 link-frequencies = /bits/ 64 <199200000 210000000 499200000>; 30 clock-lanes = 30 clock-lanes = <0>; 31 data-lanes = < 31 data-lanes = <1 2>; 32 remote-endpoin 32 remote-endpoint = <&csi2a_ep>; 33 }; 33 }; 34 }; 34 }; 35 }; 35 }; 36 }; 36 }; 37 37 38 &i2c3 { 38 &i2c3 { 39 ak8975@f { 39 ak8975@f { 40 compatible = "asahi-kasei,ak89 40 compatible = "asahi-kasei,ak8975"; 41 reg = <0x0f>; 41 reg = <0x0f>; 42 }; 42 }; 43 }; 43 }; 44 44 45 &isp { 45 &isp { 46 vdd-csiphy1-supply = <&vaux2>; 46 vdd-csiphy1-supply = <&vaux2>; 47 vdd-csiphy2-supply = <&vaux2>; 47 vdd-csiphy2-supply = <&vaux2>; 48 ports { 48 ports { 49 port@2 { 49 port@2 { 50 reg = <2>; 50 reg = <2>; 51 csi2a_ep: endpoint { 51 csi2a_ep: endpoint { 52 remote-endpoin 52 remote-endpoint = <&smia_1_1>; 53 clock-lanes = 53 clock-lanes = <2>; 54 data-lanes = < 54 data-lanes = <1 3>; 55 crc = <1>; 55 crc = <1>; 56 lane-polaritie 56 lane-polarities = <1 1 1>; 57 }; 57 }; 58 }; 58 }; 59 }; 59 }; 60 }; 60 }; 61 61 62 &modem { 62 &modem { 63 compatible = "nokia,n9-modem"; 63 compatible = "nokia,n9-modem"; 64 }; 64 }; 65 65 66 &lis302 { 66 &lis302 { 67 st,axis-x = <1>; /* LIS3_DEV_X */ 67 st,axis-x = <1>; /* LIS3_DEV_X */ 68 st,axis-y = <(-2)>; /* LIS3_INV_DEV_Y 68 st,axis-y = <(-2)>; /* LIS3_INV_DEV_Y */ 69 st,axis-z = <(-3)>; /* LIS3_INV_DEV_Z 69 st,axis-z = <(-3)>; /* LIS3_INV_DEV_Z */ 70 70 71 st,min-limit-x = <(-46)>; 71 st,min-limit-x = <(-46)>; 72 st,min-limit-y = <3>; 72 st,min-limit-y = <3>; 73 st,min-limit-z = <3>; 73 st,min-limit-z = <3>; 74 74 75 st,max-limit-x = <(-3)>; 75 st,max-limit-x = <(-3)>; 76 st,max-limit-y = <46>; 76 st,max-limit-y = <46>; 77 st,max-limit-z = <46>; 77 st,max-limit-z = <46>; 78 }; 78 }; 79 79 80 &twl_keypad { 80 &twl_keypad { 81 linux,keymap = < MATRIX_KEY(6, 8, KEY_ 81 linux,keymap = < MATRIX_KEY(6, 8, KEY_VOLUMEUP) 82 MATRIX_KEY(7, 8, KEY_ 82 MATRIX_KEY(7, 8, KEY_VOLUMEDOWN) 83 >; 83 >; 84 }; 84 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.