]> git.karo-electronics.de Git - karo-tx-linux.git/blob - arch/arm/boot/dts/omap3-n950.dts
Merge remote-tracking branch 'drm-tegra/drm/tegra/for-next'
[karo-tx-linux.git] / arch / arm / boot / dts / omap3-n950.dts
1 /*
2  * omap3-n950.dts - Device Tree file for Nokia N950
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 N950";
17         compatible = "nokia,omap3-n950", "ti,omap36xx", "ti,omap3";
18 };
19
20 &omap3_pmx_core {
21         spi4_pins: pinmux_spi4_pins {
22                 pinctrl-single,pins = <
23                         OMAP3_CORE1_IOPAD(0x218c, PIN_INPUT_PULLDOWN | MUX_MODE1) /* mcspi4_clk */
24                         OMAP3_CORE1_IOPAD(0x2190, PIN_OUTPUT | MUX_MODE1) /* mcspi4_simo */
25                         OMAP3_CORE1_IOPAD(0x2192, PIN_INPUT_PULLDOWN | MUX_MODE1) /* mcspi4_somi */
26                         OMAP3_CORE1_IOPAD(0x2196, PIN_OUTPUT | MUX_MODE1) /* mcspi4_cs0 */
27                 >;
28         };
29 };
30
31 &i2c2 {
32         smia_1: camera@10 {
33                 compatible = "nokia,smia";
34                 reg = <0x10>;
35                 /* No reset gpio */
36                 vana-supply = <&vaux3>;
37                 clocks = <&isp 0>;
38                 clock-frequency = <9600000>;
39                 nokia,nvm-size = <(16 * 64)>;
40                 port {
41                         smia_1_1: endpoint {
42                                 link-frequencies = /bits/ 64 <210000000 333600000 398400000>;
43                                 clock-lanes = <0>;
44                                 data-lanes = <1 2>;
45                                 remote-endpoint = <&csi2a_ep>;
46                         };
47                 };
48         };
49 };
50
51 &isp {
52         vdd-csiphy1-supply = <&vaux2>;
53         vdd-csiphy2-supply = <&vaux2>;
54         ports {
55                 port@2 {
56                         reg = <2>;
57                         csi2a_ep: endpoint {
58                                 remote-endpoint = <&smia_1_1>;
59                                 clock-lanes = <2>;
60                                 data-lanes = <3 1>;
61                                 crc = <1>;
62                                 lane-polarities = <1 1 1>;
63                         };
64                 };
65         };
66 };
67
68 &mcspi4 {
69         status = "okay";
70         pinctrl-names = "default";
71         pinctrl-0 = <&spi4_pins>;
72
73         wlcore: wlcore@0 {
74                 compatible = "ti,wl1271";
75                 pinctrl-names = "default";
76                 pinctrl-0 = <&wlan_pins>;
77                 reg = <0>;
78                 spi-max-frequency = <48000000>;
79                 clock-xtal;
80                 ref-clock-frequency = <38400000>;
81                 interrupts-extended = <&gpio2 10 IRQ_TYPE_LEVEL_HIGH>; /* gpio 42 */
82                 vwlan-supply = <&vwlan_fixed>;
83         };
84 };