staging:iio:adc:ad7606 move to info_mask_(shared_by_type/separate)
[linux/fpc-iii.git] / arch / arm / boot / dts / tegra20-paz00.dts
blob54d6fce00a59e4cfa4296d5715c50d00f8543eb7
1 /dts-v1/;
3 /include/ "tegra20.dtsi"
5 / {
6         model = "Toshiba AC100 / Dynabook AZ";
7         compatible = "compal,paz00", "nvidia,tegra20";
9         memory {
10                 reg = <0x00000000 0x20000000>;
11         };
13         host1x {
14                 hdmi {
15                         status = "okay";
17                         vdd-supply = <&hdmi_vdd_reg>;
18                         pll-supply = <&hdmi_pll_reg>;
20                         nvidia,ddc-i2c-bus = <&hdmi_ddc>;
21                         nvidia,hpd-gpio = <&gpio 111 0>; /* PN7 */
22                 };
23         };
25         pinmux {
26                 pinctrl-names = "default";
27                 pinctrl-0 = <&state_default>;
29                 state_default: pinmux {
30                         ata {
31                                 nvidia,pins = "ata", "atc", "atd", "ate",
32                                         "dap2", "gmb", "gmc", "gmd", "spia",
33                                         "spib", "spic", "spid", "spie";
34                                 nvidia,function = "gmi";
35                         };
36                         atb {
37                                 nvidia,pins = "atb", "gma", "gme";
38                                 nvidia,function = "sdio4";
39                         };
40                         cdev1 {
41                                 nvidia,pins = "cdev1";
42                                 nvidia,function = "plla_out";
43                         };
44                         cdev2 {
45                                 nvidia,pins = "cdev2";
46                                 nvidia,function = "pllp_out4";
47                         };
48                         crtp {
49                                 nvidia,pins = "crtp";
50                                 nvidia,function = "crt";
51                         };
52                         csus {
53                                 nvidia,pins = "csus";
54                                 nvidia,function = "pllc_out1";
55                         };
56                         dap1 {
57                                 nvidia,pins = "dap1";
58                                 nvidia,function = "dap1";
59                         };
60                         dap3 {
61                                 nvidia,pins = "dap3";
62                                 nvidia,function = "dap3";
63                         };
64                         dap4 {
65                                 nvidia,pins = "dap4";
66                                 nvidia,function = "dap4";
67                         };
68                         ddc {
69                                 nvidia,pins = "ddc";
70                                 nvidia,function = "i2c2";
71                         };
72                         dta {
73                                 nvidia,pins = "dta", "dtb", "dtc", "dtd", "dte";
74                                 nvidia,function = "rsvd1";
75                         };
76                         dtf {
77                                 nvidia,pins = "dtf";
78                                 nvidia,function = "i2c3";
79                         };
80                         gpu {
81                                 nvidia,pins = "gpu", "sdb", "sdd";
82                                 nvidia,function = "pwm";
83                         };
84                         gpu7 {
85                                 nvidia,pins = "gpu7";
86                                 nvidia,function = "rtck";
87                         };
88                         gpv {
89                                 nvidia,pins = "gpv", "slxa", "slxk";
90                                 nvidia,function = "pcie";
91                         };
92                         hdint {
93                                 nvidia,pins = "hdint", "pta";
94                                 nvidia,function = "hdmi";
95                         };
96                         i2cp {
97                                 nvidia,pins = "i2cp";
98                                 nvidia,function = "i2cp";
99                         };
100                         irrx {
101                                 nvidia,pins = "irrx", "irtx";
102                                 nvidia,function = "uarta";
103                         };
104                         kbca {
105                                 nvidia,pins = "kbca", "kbcc", "kbce", "kbcf";
106                                 nvidia,function = "kbc";
107                         };
108                         kbcb {
109                                 nvidia,pins = "kbcb", "kbcd";
110                                 nvidia,function = "sdio2";
111                         };
112                         lcsn {
113                                 nvidia,pins = "lcsn", "ld0", "ld1", "ld2",
114                                         "ld3", "ld4", "ld5", "ld6", "ld7",
115                                         "ld8", "ld9", "ld10", "ld11", "ld12",
116                                         "ld13", "ld14", "ld15", "ld16", "ld17",
117                                         "ldc", "ldi", "lhp0", "lhp1", "lhp2",
118                                         "lhs", "lm0", "lm1", "lpp", "lpw0",
119                                         "lpw1", "lpw2", "lsc0", "lsc1", "lsck",
120                                         "lsda", "lsdi", "lspi", "lvp0", "lvp1",
121                                         "lvs";
122                                 nvidia,function = "displaya";
123                         };
124                         owc {
125                                 nvidia,pins = "owc";
126                                 nvidia,function = "owr";
127                         };
128                         pmc {
129                                 nvidia,pins = "pmc";
130                                 nvidia,function = "pwr_on";
131                         };
132                         rm {
133                                 nvidia,pins = "rm";
134                                 nvidia,function = "i2c1";
135                         };
136                         sdc {
137                                 nvidia,pins = "sdc";
138                                 nvidia,function = "twc";
139                         };
140                         sdio1 {
141                                 nvidia,pins = "sdio1";
142                                 nvidia,function = "sdio1";
143                         };
144                         slxc {
145                                 nvidia,pins = "slxc", "slxd";
146                                 nvidia,function = "spi4";
147                         };
148                         spdi {
149                                 nvidia,pins = "spdi", "spdo";
150                                 nvidia,function = "rsvd2";
151                         };
152                         spif {
153                                 nvidia,pins = "spif", "uac";
154                                 nvidia,function = "rsvd4";
155                         };
156                         spig {
157                                 nvidia,pins = "spig", "spih";
158                                 nvidia,function = "spi2_alt";
159                         };
160                         uaa {
161                                 nvidia,pins = "uaa", "uab", "uda";
162                                 nvidia,function = "ulpi";
163                         };
164                         uad {
165                                 nvidia,pins = "uad";
166                                 nvidia,function = "spdif";
167                         };
168                         uca {
169                                 nvidia,pins = "uca", "ucb";
170                                 nvidia,function = "uartc";
171                         };
172                         conf_ata {
173                                 nvidia,pins = "ata", "atb", "atc", "atd", "ate",
174                                         "cdev1", "cdev2", "dap1", "dap2", "dtf",
175                                         "gma", "gmb", "gmc", "gmd", "gme",
176                                         "gpu", "gpu7", "gpv", "i2cp", "pta",
177                                         "rm", "sdio1", "slxk", "spdo", "uac",
178                                         "uda";
179                                 nvidia,pull = <0>;
180                                 nvidia,tristate = <0>;
181                         };
182                         conf_ck32 {
183                                 nvidia,pins = "ck32", "ddrc", "pmca", "pmcb",
184                                         "pmcc", "pmcd", "pmce", "xm2c", "xm2d";
185                                 nvidia,pull = <0>;
186                         };
187                         conf_crtp {
188                                 nvidia,pins = "crtp", "dap3", "dap4", "dtb",
189                                         "dtc", "dte", "slxa", "slxc", "slxd",
190                                         "spdi";
191                                 nvidia,pull = <0>;
192                                 nvidia,tristate = <1>;
193                         };
194                         conf_csus {
195                                 nvidia,pins = "csus", "spia", "spib", "spid",
196                                         "spif";
197                                 nvidia,pull = <1>;
198                                 nvidia,tristate = <1>;
199                         };
200                         conf_ddc {
201                                 nvidia,pins = "ddc", "irrx", "irtx", "kbca",
202                                         "kbcb", "kbcc", "kbcd", "kbce", "kbcf",
203                                         "spic", "spig", "uaa", "uab";
204                                 nvidia,pull = <2>;
205                                 nvidia,tristate = <0>;
206                         };
207                         conf_dta {
208                                 nvidia,pins = "dta", "dtd", "owc", "sdc", "sdd",
209                                         "spie", "spih", "uad", "uca", "ucb";
210                                 nvidia,pull = <2>;
211                                 nvidia,tristate = <1>;
212                         };
213                         conf_hdint {
214                                 nvidia,pins = "hdint", "ld0", "ld1", "ld2",
215                                         "ld3", "ld4", "ld5", "ld6", "ld7",
216                                         "ld8", "ld9", "ld10", "ld11", "ld12",
217                                         "ld13", "ld14", "ld15", "ld16", "ld17",
218                                         "ldc", "ldi", "lhs", "lsc0", "lspi",
219                                         "lvs", "pmc";
220                                 nvidia,tristate = <0>;
221                         };
222                         conf_lc {
223                                 nvidia,pins = "lc", "ls";
224                                 nvidia,pull = <2>;
225                         };
226                         conf_lcsn {
227                                 nvidia,pins = "lcsn", "lhp0", "lhp1", "lhp2",
228                                         "lm0", "lm1", "lpp", "lpw0", "lpw1",
229                                         "lpw2", "lsc1", "lsck", "lsda", "lsdi",
230                                         "lvp0", "lvp1", "sdb";
231                                 nvidia,tristate = <1>;
232                         };
233                         conf_ld17_0 {
234                                 nvidia,pins = "ld17_0", "ld19_18", "ld21_20",
235                                         "ld23_22";
236                                 nvidia,pull = <1>;
237                         };
238                 };
239         };
241         i2s@70002800 {
242                 status = "okay";
243         };
245         serial@70006000 {
246                 status = "okay";
247         };
249         serial@70006200 {
250                 status = "okay";
251         };
253         i2c@7000c000 {
254                 status = "okay";
255                 clock-frequency = <400000>;
257                 alc5632: alc5632@1e {
258                         compatible = "realtek,alc5632";
259                         reg = <0x1e>;
260                         gpio-controller;
261                         #gpio-cells = <2>;
262                 };
263         };
265         hdmi_ddc: i2c@7000c400 {
266                 status = "okay";
267                 clock-frequency = <100000>;
268         };
270         nvec {
271                 compatible = "nvidia,nvec";
272                 reg = <0x7000c500 0x100>;
273                 interrupts = <0 92 0x04>;
274                 #address-cells = <1>;
275                 #size-cells = <0>;
276                 clock-frequency = <80000>;
277                 request-gpios = <&gpio 170 0>; /* gpio PV2 */
278                 slave-addr = <138>;
279                 clocks = <&tegra_car 67>, <&tegra_car 124>;
280                 clock-names = "div-clk", "fast-clk";
281         };
283         i2c@7000d000 {
284                 status = "okay";
285                 clock-frequency = <400000>;
287                 pmic: tps6586x@34 {
288                         compatible = "ti,tps6586x";
289                         reg = <0x34>;
290                         interrupts = <0 86 0x4>;
292                         #gpio-cells = <2>;
293                         gpio-controller;
295                         sys-supply = <&p5valw_reg>;
296                         vin-sm0-supply = <&sys_reg>;
297                         vin-sm1-supply = <&sys_reg>;
298                         vin-sm2-supply = <&sys_reg>;
299                         vinldo01-supply = <&sm2_reg>;
300                         vinldo23-supply = <&sm2_reg>;
301                         vinldo4-supply = <&sm2_reg>;
302                         vinldo678-supply = <&sm2_reg>;
303                         vinldo9-supply = <&sm2_reg>;
305                         regulators {
306                                 sys_reg: sys {
307                                         regulator-name = "vdd_sys";
308                                         regulator-always-on;
309                                 };
311                                 sm0 {
312                                         regulator-name = "+1.2vs_sm0,vdd_core";
313                                         regulator-min-microvolt = <1200000>;
314                                         regulator-max-microvolt = <1200000>;
315                                         regulator-always-on;
316                                 };
318                                 sm1 {
319                                         regulator-name = "+1.0vs_sm1,vdd_cpu";
320                                         regulator-min-microvolt = <1000000>;
321                                         regulator-max-microvolt = <1000000>;
322                                         regulator-always-on;
323                                 };
325                                 sm2_reg: sm2 {
326                                         regulator-name = "+3.7vs_sm2,vin_ldo*";
327                                         regulator-min-microvolt = <3700000>;
328                                         regulator-max-microvolt = <3700000>;
329                                         regulator-always-on;
330                                 };
332                                 /* LDO0 is not connected to anything */
334                                 ldo1 {
335                                         regulator-name = "+1.1vs_ldo1,avdd_pll*";
336                                         regulator-min-microvolt = <1100000>;
337                                         regulator-max-microvolt = <1100000>;
338                                         regulator-always-on;
339                                 };
341                                 ldo2 {
342                                         regulator-name = "+1.2vs_ldo2,vdd_rtc";
343                                         regulator-min-microvolt = <1200000>;
344                                         regulator-max-microvolt = <1200000>;
345                                 };
347                                 ldo3 {
348                                         regulator-name = "+3.3vs_ldo3,avdd_usb*";
349                                         regulator-min-microvolt = <3300000>;
350                                         regulator-max-microvolt = <3300000>;
351                                         regulator-always-on;
352                                 };
354                                 ldo4 {
355                                         regulator-name = "+1.8vs_ldo4,avdd_osc,vddio_sys";
356                                         regulator-min-microvolt = <1800000>;
357                                         regulator-max-microvolt = <1800000>;
358                                         regulator-always-on;
359                                 };
361                                 ldo5 {
362                                         regulator-name = "+2.85vs_ldo5,vcore_mmc";
363                                         regulator-min-microvolt = <2850000>;
364                                         regulator-max-microvolt = <2850000>;
365                                         regulator-always-on;
366                                 };
368                                 ldo6 {
369                                         /*
370                                          * Research indicates this should be
371                                          * 1.8v; other boards that use this
372                                          * rail for the same purpose need it
373                                          * set to 1.8v. The schematic signal
374                                          * name is incorrect; perhaps copied
375                                          * from an incorrect NVIDIA reference.
376                                          */
377                                         regulator-name = "+2.85vs_ldo6,avdd_vdac";
378                                         regulator-min-microvolt = <1800000>;
379                                         regulator-max-microvolt = <1800000>;
380                                 };
382                                 hdmi_vdd_reg: ldo7 {
383                                         regulator-name = "+3.3vs_ldo7,avdd_hdmi";
384                                         regulator-min-microvolt = <3300000>;
385                                         regulator-max-microvolt = <3300000>;
386                                 };
388                                 hdmi_pll_reg: ldo8 {
389                                         regulator-name = "+1.8vs_ldo8,avdd_hdmi_pll";
390                                         regulator-min-microvolt = <1800000>;
391                                         regulator-max-microvolt = <1800000>;
392                                 };
394                                 ldo9 {
395                                         regulator-name = "+2.85vs_ldo9,vdd_ddr_rx";
396                                         regulator-min-microvolt = <2850000>;
397                                         regulator-max-microvolt = <2850000>;
398                                         regulator-always-on;
399                                 };
401                                 ldo_rtc {
402                                         regulator-name = "+3.3vs_rtc";
403                                         regulator-min-microvolt = <3300000>;
404                                         regulator-max-microvolt = <3300000>;
405                                         regulator-always-on;
406                                 };
407                         };
408                 };
410                 adt7461@4c {
411                         compatible = "adi,adt7461";
412                         reg = <0x4c>;
413                 };
414         };
416         pmc {
417                 nvidia,invert-interrupt;
418         };
420         usb@c5000000 {
421                 status = "okay";
422         };
424         usb@c5004000 {
425                 status = "okay";
426                 nvidia,phy-reset-gpio = <&gpio 168 0>; /* gpio PV0 */
427         };
429         usb@c5008000 {
430                 status = "okay";
431         };
433         usb-phy@c5004400 {
434                 nvidia,phy-reset-gpio = <&gpio 168 0>; /* gpio PV0 */
435         };
437         sdhci@c8000000 {
438                 status = "okay";
439                 cd-gpios = <&gpio 173 0>; /* gpio PV5 */
440                 wp-gpios = <&gpio 57 0>;  /* gpio PH1 */
441                 power-gpios = <&gpio 169 0>; /* gpio PV1 */
442                 bus-width = <4>;
443         };
445         sdhci@c8000600 {
446                 status = "okay";
447                 bus-width = <8>;
448         };
450         gpio-keys {
451                 compatible = "gpio-keys";
453                 power {
454                         label = "Power";
455                         gpios = <&gpio 79 1>; /* gpio PJ7, active low */
456                         linux,code = <116>; /* KEY_POWER */
457                         gpio-key,wakeup;
458                 };
459         };
461         gpio-leds {
462                 compatible = "gpio-leds";
464                 wifi {
465                         label = "wifi-led";
466                         gpios = <&gpio 24 0>; /* gpio PD0 */
467                         linux,default-trigger = "rfkill0";
468                 };
469         };
471         regulators {
472                 compatible = "simple-bus";
473                 #address-cells = <1>;
474                 #size-cells = <0>;
476                 p5valw_reg: regulator@0 {
477                         compatible = "regulator-fixed";
478                         reg = <0>;
479                         regulator-name = "+5valw";
480                         regulator-min-microvolt = <5000000>;
481                         regulator-max-microvolt = <5000000>;
482                         regulator-always-on;
483                 };
484         };
486         sound {
487                 compatible = "nvidia,tegra-audio-alc5632-paz00",
488                         "nvidia,tegra-audio-alc5632";
490                 nvidia,model = "Compal PAZ00";
492                 nvidia,audio-routing =
493                         "Int Spk", "SPKOUT",
494                         "Int Spk", "SPKOUTN",
495                         "Headset Mic", "MICBIAS1",
496                         "MIC1", "Headset Mic",
497                         "Headset Stereophone", "HPR",
498                         "Headset Stereophone", "HPL",
499                         "DMICDAT", "Digital Mic";
501                 nvidia,audio-codec = <&alc5632>;
502                 nvidia,i2s-controller = <&tegra_i2s1>;
503                 nvidia,hp-det-gpios = <&gpio 178 0>; /* gpio PW2 */
504         };