Merge tag 'platform-drivers-x86-v3.19-1' of git://git.infradead.org/users/dvhart...
[deliverable/linux.git] / arch / arm / boot / dts / omap3-n950-n9.dtsi
1 /*
2 * omap3-n950-n9.dtsi - Device Tree file for Nokia N950 & N9 (common stuff)
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 #include "omap36xx-hs.dtsi"
12
13 / {
14 cpus {
15 cpu@0 {
16 cpu0-supply = <&vcc>;
17 };
18 };
19
20 memory {
21 device_type = "memory";
22 reg = <0x80000000 0x40000000>; /* 1 GB */
23 };
24
25 vemmc: fixedregulator@0 {
26 compatible = "regulator-fixed";
27 regulator-name = "VEMMC";
28 regulator-min-microvolt = <2900000>;
29 regulator-max-microvolt = <2900000>;
30 gpio = <&gpio5 29 0>; /* gpio line 157 */
31 startup-delay-us = <150>;
32 enable-active-high;
33 };
34 };
35
36 &omap3_pmx_core {
37 mmc2_pins: pinmux_mmc2_pins {
38 pinctrl-single,pins = <
39 0x128 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_clk */
40 0x12a (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_cmd */
41 0x12c (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat0 */
42 0x12e (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat1 */
43 0x130 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat2 */
44 0x132 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat3 */
45 >;
46 };
47 };
48
49 &i2c1 {
50 clock-frequency = <2900000>;
51
52 twl: twl@48 {
53 reg = <0x48>;
54 interrupts = <7>; /* SYS_NIRQ cascaded to intc */
55 interrupt-parent = <&intc>;
56 };
57 };
58
59 /include/ "twl4030.dtsi"
60
61 &twl {
62 compatible = "ti,twl5031";
63 };
64
65 &twl_gpio {
66 ti,pullups = <0x000001>; /* BIT(0) */
67 ti,pulldowns = <0x008106>; /* BIT(1) | BIT(2) | BIT(8) | BIT(15) */
68 };
69
70 /* CSI-2 receiver */
71 &vaux2 {
72 regulator-name = "vaux2";
73 regulator-min-microvolt = <1800000>;
74 regulator-max-microvolt = <1800000>;
75 };
76
77 /* Cameras */
78 &vaux3 {
79 regulator-name = "vaux3";
80 regulator-min-microvolt = <2800000>;
81 regulator-max-microvolt = <2800000>;
82 };
83
84 &i2c2 {
85 clock-frequency = <400000>;
86 };
87
88 &i2c3 {
89 clock-frequency = <400000>;
90 };
91
92 &mmc1 {
93 status = "disabled";
94 };
95
96 &mmc2 {
97 pinctrl-names = "default";
98 pinctrl-0 = <&mmc2_pins>;
99 vmmc-supply = <&vemmc>;
100 bus-width = <4>;
101 ti,non-removable;
102 };
103
104 &mmc3 {
105 status = "disabled";
106 };
107
108 &usb_otg_hs {
109 interface-type = <0>;
110 usb-phy = <&usb2_phy>;
111 phys = <&usb2_phy>;
112 phy-names = "usb2-phy";
113 mode = <3>;
114 power = <50>;
115 };
116
117 &gpmc {
118 ranges = <0 0 0x04000000 0x1000000>; /* CS0: 16MB for OneNAND */
119
120 onenand@0,0 {
121 #address-cells = <1>;
122 #size-cells = <1>;
123 reg = <0 0 0x20000>; /* CS0, offset 0, IO size 128K */
124
125 gpmc,sync-read;
126 gpmc,sync-write;
127 gpmc,burst-length = <16>;
128 gpmc,burst-read;
129 gpmc,burst-wrap;
130 gpmc,burst-write;
131 gpmc,device-width = <2>;
132 gpmc,mux-add-data = <2>;
133 gpmc,cs-on-ns = <0>;
134 gpmc,cs-rd-off-ns = <87>;
135 gpmc,cs-wr-off-ns = <87>;
136 gpmc,adv-on-ns = <0>;
137 gpmc,adv-rd-off-ns = <10>;
138 gpmc,adv-wr-off-ns = <10>;
139 gpmc,oe-on-ns = <15>;
140 gpmc,oe-off-ns = <87>;
141 gpmc,we-on-ns = <0>;
142 gpmc,we-off-ns = <87>;
143 gpmc,rd-cycle-ns = <112>;
144 gpmc,wr-cycle-ns = <112>;
145 gpmc,access-ns = <81>;
146 gpmc,page-burst-access-ns = <15>;
147 gpmc,bus-turnaround-ns = <0>;
148 gpmc,cycle2cycle-delay-ns = <0>;
149 gpmc,wait-monitoring-ns = <0>;
150 gpmc,clk-activation-ns = <5>;
151 gpmc,wr-data-mux-bus-ns = <30>;
152 gpmc,wr-access-ns = <81>;
153 gpmc,sync-clk-ps = <15000>;
154
155 /*
156 * MTD partition table corresponding to Nokia's MeeGo 1.2
157 * Harmattan release.
158 */
159 partition@0 {
160 label = "bootloader";
161 reg = <0x00000000 0x00100000>;
162 };
163 partition@1 {
164 label = "config";
165 reg = <0x00100000 0x002c0000>;
166 };
167 partition@2 {
168 label = "kernel";
169 reg = <0x003c0000 0x01000000>;
170 };
171 partition@3 {
172 label = "log";
173 reg = <0x013c0000 0x00200000>;
174 };
175 partition@4 {
176 label = "var";
177 reg = <0x015c0000 0x1ca40000>;
178 };
179 partition@5 {
180 label = "moslo";
181 reg = <0x1e000000 0x02000000>;
182 };
183 partition@6 {
184 label = "omap2-onenand";
185 reg = <0x00000000 0x20000000>;
186 };
187 };
188 };
This page took 0.036694 seconds and 6 git commands to generate.