WIP FPC-III support
[linux/fpc-iii.git] / arch / arm / boot / dts / tegra20-harmony.dts
blob86494cb4d5a1d93d2d2cfb823eba9abf933d5396
1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/input/input.h>
5 #include "tegra20.dtsi"
7 / {
8         model = "NVIDIA Tegra20 Harmony evaluation board";
9         compatible = "nvidia,harmony", "nvidia,tegra20";
11         aliases {
12                 rtc0 = "/i2c@7000d000/tps6586x@34";
13                 rtc1 = "/rtc@7000e000";
14                 serial0 = &uartd;
15         };
17         chosen {
18                 stdout-path = "serial0:115200n8";
19         };
21         memory@0 {
22                 reg = <0x00000000 0x40000000>;
23         };
25         host1x@50000000 {
26                 dc@54200000 {
27                         rgb {
28                                 status = "okay";
30                                 nvidia,panel = <&panel>;
31                         };
32                 };
34                 hdmi@54280000 {
35                         status = "okay";
37                         hdmi-supply = <&vdd_5v0_hdmi>;
38                         vdd-supply = <&hdmi_vdd_reg>;
39                         pll-supply = <&hdmi_pll_reg>;
41                         nvidia,ddc-i2c-bus = <&hdmi_ddc>;
42                         nvidia,hpd-gpio = <&gpio TEGRA_GPIO(N, 7)
43                                 GPIO_ACTIVE_HIGH>;
44                 };
45         };
47         pinmux@70000014 {
48                 pinctrl-names = "default";
49                 pinctrl-0 = <&state_default>;
51                 state_default: pinmux {
52                         ata {
53                                 nvidia,pins = "ata";
54                                 nvidia,function = "ide";
55                         };
56                         atb {
57                                 nvidia,pins = "atb", "gma", "gme";
58                                 nvidia,function = "sdio4";
59                         };
60                         atc {
61                                 nvidia,pins = "atc";
62                                 nvidia,function = "nand";
63                         };
64                         atd {
65                                 nvidia,pins = "atd", "ate", "gmb", "gmd", "gpu",
66                                         "spia", "spib", "spic";
67                                 nvidia,function = "gmi";
68                         };
69                         cdev1 {
70                                 nvidia,pins = "cdev1";
71                                 nvidia,function = "plla_out";
72                         };
73                         cdev2 {
74                                 nvidia,pins = "cdev2";
75                                 nvidia,function = "pllp_out4";
76                         };
77                         crtp {
78                                 nvidia,pins = "crtp";
79                                 nvidia,function = "crt";
80                         };
81                         csus {
82                                 nvidia,pins = "csus";
83                                 nvidia,function = "vi_sensor_clk";
84                         };
85                         dap1 {
86                                 nvidia,pins = "dap1";
87                                 nvidia,function = "dap1";
88                         };
89                         dap2 {
90                                 nvidia,pins = "dap2";
91                                 nvidia,function = "dap2";
92                         };
93                         dap3 {
94                                 nvidia,pins = "dap3";
95                                 nvidia,function = "dap3";
96                         };
97                         dap4 {
98                                 nvidia,pins = "dap4";
99                                 nvidia,function = "dap4";
100                         };
101                         ddc {
102                                 nvidia,pins = "ddc";
103                                 nvidia,function = "i2c2";
104                         };
105                         dta {
106                                 nvidia,pins = "dta", "dtd";
107                                 nvidia,function = "sdio2";
108                         };
109                         dtb {
110                                 nvidia,pins = "dtb", "dtc", "dte";
111                                 nvidia,function = "rsvd1";
112                         };
113                         dtf {
114                                 nvidia,pins = "dtf";
115                                 nvidia,function = "i2c3";
116                         };
117                         gmc {
118                                 nvidia,pins = "gmc";
119                                 nvidia,function = "uartd";
120                         };
121                         gpu7 {
122                                 nvidia,pins = "gpu7";
123                                 nvidia,function = "rtck";
124                         };
125                         gpv {
126                                 nvidia,pins = "gpv", "slxa", "slxk";
127                                 nvidia,function = "pcie";
128                         };
129                         hdint {
130                                 nvidia,pins = "hdint", "pta";
131                                 nvidia,function = "hdmi";
132                         };
133                         i2cp {
134                                 nvidia,pins = "i2cp";
135                                 nvidia,function = "i2cp";
136                         };
137                         irrx {
138                                 nvidia,pins = "irrx", "irtx";
139                                 nvidia,function = "uarta";
140                         };
141                         kbca {
142                                 nvidia,pins = "kbca", "kbcb", "kbcc", "kbcd",
143                                         "kbce", "kbcf";
144                                 nvidia,function = "kbc";
145                         };
146                         lcsn {
147                                 nvidia,pins = "lcsn", "ld0", "ld1", "ld2",
148                                         "ld3", "ld4", "ld5", "ld6", "ld7",
149                                         "ld8", "ld9", "ld10", "ld11", "ld12",
150                                         "ld13", "ld14", "ld15", "ld16", "ld17",
151                                         "ldc", "ldi", "lhp0", "lhp1", "lhp2",
152                                         "lhs", "lm0", "lm1", "lpp", "lpw0",
153                                         "lpw1", "lpw2", "lsc0", "lsc1", "lsck",
154                                         "lsda", "lsdi", "lspi", "lvp0", "lvp1",
155                                         "lvs";
156                                 nvidia,function = "displaya";
157                         };
158                         owc {
159                                 nvidia,pins = "owc", "spdi", "spdo", "uac";
160                                 nvidia,function = "rsvd2";
161                         };
162                         pmc {
163                                 nvidia,pins = "pmc";
164                                 nvidia,function = "pwr_on";
165                         };
166                         rm {
167                                 nvidia,pins = "rm";
168                                 nvidia,function = "i2c1";
169                         };
170                         sdb {
171                                 nvidia,pins = "sdb", "sdc", "sdd";
172                                 nvidia,function = "pwm";
173                         };
174                         sdio1 {
175                                 nvidia,pins = "sdio1";
176                                 nvidia,function = "sdio1";
177                         };
178                         slxc {
179                                 nvidia,pins = "slxc", "slxd";
180                                 nvidia,function = "spdif";
181                         };
182                         spid {
183                                 nvidia,pins = "spid", "spie", "spif";
184                                 nvidia,function = "spi1";
185                         };
186                         spig {
187                                 nvidia,pins = "spig", "spih";
188                                 nvidia,function = "spi2_alt";
189                         };
190                         uaa {
191                                 nvidia,pins = "uaa", "uab", "uda";
192                                 nvidia,function = "ulpi";
193                         };
194                         uad {
195                                 nvidia,pins = "uad";
196                                 nvidia,function = "irda";
197                         };
198                         uca {
199                                 nvidia,pins = "uca", "ucb";
200                                 nvidia,function = "uartc";
201                         };
202                         conf_ata {
203                                 nvidia,pins = "ata", "atb", "atc", "atd", "ate",
204                                         "cdev1", "cdev2", "dap1", "dtb", "gma",
205                                         "gmb", "gmc", "gmd", "gme", "gpu7",
206                                         "gpv", "i2cp", "pta", "rm", "slxa",
207                                         "slxk", "spia", "spib", "uac";
208                                 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
209                                 nvidia,tristate = <TEGRA_PIN_DISABLE>;
210                         };
211                         conf_ck32 {
212                                 nvidia,pins = "ck32", "ddrc", "pmca", "pmcb",
213                                         "pmcc", "pmcd", "pmce", "xm2c", "xm2d";
214                                 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
215                         };
216                         conf_csus {
217                                 nvidia,pins = "csus", "spid", "spif";
218                                 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
219                                 nvidia,tristate = <TEGRA_PIN_ENABLE>;
220                         };
221                         conf_crtp {
222                                 nvidia,pins = "crtp", "dap2", "dap3", "dap4",
223                                         "dtc", "dte", "dtf", "gpu", "sdio1",
224                                         "slxc", "slxd", "spdi", "spdo", "spig",
225                                         "uda";
226                                 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
227                                 nvidia,tristate = <TEGRA_PIN_ENABLE>;
228                         };
229                         conf_ddc {
230                                 nvidia,pins = "ddc", "dta", "dtd", "kbca",
231                                         "kbcb", "kbcc", "kbcd", "kbce", "kbcf",
232                                         "sdc";
233                                 nvidia,pull = <TEGRA_PIN_PULL_UP>;
234                                 nvidia,tristate = <TEGRA_PIN_DISABLE>;
235                         };
236                         conf_hdint {
237                                 nvidia,pins = "hdint", "lcsn", "ldc", "lm1",
238                                         "lpw1", "lsc1", "lsck", "lsda", "lsdi",
239                                         "lvp0", "owc", "sdb";
240                                 nvidia,tristate = <TEGRA_PIN_ENABLE>;
241                         };
242                         conf_irrx {
243                                 nvidia,pins = "irrx", "irtx", "sdd", "spic",
244                                         "spie", "spih", "uaa", "uab", "uad",
245                                         "uca", "ucb";
246                                 nvidia,pull = <TEGRA_PIN_PULL_UP>;
247                                 nvidia,tristate = <TEGRA_PIN_ENABLE>;
248                         };
249                         conf_lc {
250                                 nvidia,pins = "lc", "ls";
251                                 nvidia,pull = <TEGRA_PIN_PULL_UP>;
252                         };
253                         conf_ld0 {
254                                 nvidia,pins = "ld0", "ld1", "ld2", "ld3", "ld4",
255                                         "ld5", "ld6", "ld7", "ld8", "ld9",
256                                         "ld10", "ld11", "ld12", "ld13", "ld14",
257                                         "ld15", "ld16", "ld17", "ldi", "lhp0",
258                                         "lhp1", "lhp2", "lhs", "lm0", "lpp",
259                                         "lpw0", "lpw2", "lsc0", "lspi", "lvp1",
260                                         "lvs", "pmc";
261                                 nvidia,tristate = <TEGRA_PIN_DISABLE>;
262                         };
263                         conf_ld17_0 {
264                                 nvidia,pins = "ld17_0", "ld19_18", "ld21_20",
265                                         "ld23_22";
266                                 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
267                         };
268                 };
269         };
271         i2s@70002800 {
272                 status = "okay";
273         };
275         serial@70006300 {
276                 status = "okay";
277         };
279         pwm: pwm@7000a000 {
280                 status = "okay";
281         };
283         i2c@7000c000 {
284                 status = "okay";
285                 clock-frequency = <400000>;
287                 wm8903: wm8903@1a {
288                         compatible = "wlf,wm8903";
289                         reg = <0x1a>;
290                         interrupt-parent = <&gpio>;
291                         interrupts = <TEGRA_GPIO(X, 3) IRQ_TYPE_LEVEL_HIGH>;
293                         gpio-controller;
294                         #gpio-cells = <2>;
296                         micdet-cfg = <0>;
297                         micdet-delay = <100>;
298                         gpio-cfg = <0xffffffff 0xffffffff 0 0xffffffff 0xffffffff>;
299                 };
300         };
302         hdmi_ddc: i2c@7000c400 {
303                 status = "okay";
304                 clock-frequency = <100000>;
305         };
307         i2c@7000c500 {
308                 status = "okay";
309                 clock-frequency = <400000>;
310         };
312         i2c@7000d000 {
313                 status = "okay";
314                 clock-frequency = <400000>;
316                 pmic: tps6586x@34 {
317                         compatible = "ti,tps6586x";
318                         reg = <0x34>;
319                         interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
321                         ti,system-power-controller;
323                         #gpio-cells = <2>;
324                         gpio-controller;
326                         sys-supply = <&vdd_5v0_reg>;
327                         vin-sm0-supply = <&sys_reg>;
328                         vin-sm1-supply = <&sys_reg>;
329                         vin-sm2-supply = <&sys_reg>;
330                         vinldo01-supply = <&sm2_reg>;
331                         vinldo23-supply = <&sm2_reg>;
332                         vinldo4-supply = <&sm2_reg>;
333                         vinldo678-supply = <&sm2_reg>;
334                         vinldo9-supply = <&sm2_reg>;
336                         regulators {
337                                 sys_reg: sys {
338                                         regulator-name = "vdd_sys";
339                                         regulator-always-on;
340                                 };
342                                 sm0 {
343                                         regulator-name = "vdd_sm0,vdd_core";
344                                         regulator-min-microvolt = <1200000>;
345                                         regulator-max-microvolt = <1200000>;
346                                         regulator-always-on;
347                                 };
349                                 sm1 {
350                                         regulator-name = "vdd_sm1,vdd_cpu";
351                                         regulator-min-microvolt = <1000000>;
352                                         regulator-max-microvolt = <1000000>;
353                                         regulator-always-on;
354                                 };
356                                 sm2_reg: sm2 {
357                                         regulator-name = "vdd_sm2,vin_ldo*";
358                                         regulator-min-microvolt = <3700000>;
359                                         regulator-max-microvolt = <3700000>;
360                                         regulator-always-on;
361                                 };
363                                 pci_clk_reg: ldo0 {
364                                         regulator-name = "vdd_ldo0,vddio_pex_clk";
365                                         regulator-min-microvolt = <3300000>;
366                                         regulator-max-microvolt = <3300000>;
367                                 };
369                                 ldo1 {
370                                         regulator-name = "vdd_ldo1,avdd_pll*";
371                                         regulator-min-microvolt = <1100000>;
372                                         regulator-max-microvolt = <1100000>;
373                                         regulator-always-on;
374                                 };
376                                 ldo2 {
377                                         regulator-name = "vdd_ldo2,vdd_rtc";
378                                         regulator-min-microvolt = <1200000>;
379                                         regulator-max-microvolt = <1200000>;
380                                 };
382                                 ldo3 {
383                                         regulator-name = "vdd_ldo3,avdd_usb*";
384                                         regulator-min-microvolt = <3300000>;
385                                         regulator-max-microvolt = <3300000>;
386                                         regulator-always-on;
387                                 };
389                                 ldo4 {
390                                         regulator-name = "vdd_ldo4,avdd_osc,vddio_sys";
391                                         regulator-min-microvolt = <1800000>;
392                                         regulator-max-microvolt = <1800000>;
393                                         regulator-always-on;
394                                 };
396                                 ldo5 {
397                                         regulator-name = "vdd_ldo5,vcore_mmc";
398                                         regulator-min-microvolt = <2850000>;
399                                         regulator-max-microvolt = <2850000>;
400                                         regulator-always-on;
401                                 };
403                                 ldo6 {
404                                         regulator-name = "vdd_ldo6,avdd_vdac";
405                                         regulator-min-microvolt = <1800000>;
406                                         regulator-max-microvolt = <1800000>;
407                                 };
409                                 hdmi_vdd_reg: ldo7 {
410                                         regulator-name = "vdd_ldo7,avdd_hdmi";
411                                         regulator-min-microvolt = <3300000>;
412                                         regulator-max-microvolt = <3300000>;
413                                 };
415                                 hdmi_pll_reg: ldo8 {
416                                         regulator-name = "vdd_ldo8,avdd_hdmi_pll";
417                                         regulator-min-microvolt = <1800000>;
418                                         regulator-max-microvolt = <1800000>;
419                                 };
421                                 ldo9 {
422                                         regulator-name = "vdd_ldo9,avdd_2v85,vdd_ddr_rx";
423                                         regulator-min-microvolt = <2850000>;
424                                         regulator-max-microvolt = <2850000>;
425                                         regulator-always-on;
426                                 };
428                                 ldo_rtc {
429                                         regulator-name = "vdd_rtc_out,vdd_cell";
430                                         regulator-min-microvolt = <3300000>;
431                                         regulator-max-microvolt = <3300000>;
432                                         regulator-always-on;
433                                 };
434                         };
435                 };
437                 temperature-sensor@4c {
438                         compatible = "adi,adt7461";
439                         reg = <0x4c>;
440                 };
441         };
443         kbc@7000e200 {
444                 status = "okay";
445                 nvidia,debounce-delay-ms = <2>;
446                 nvidia,repeat-delay-ms = <160>;
447                 nvidia,kbc-row-pins = <0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15>;
448                 nvidia,kbc-col-pins = <16 17 18 19 20 21 22 23>;
449                 linux,keymap = <MATRIX_KEY(0x00, 0x02, KEY_W)
450                                 MATRIX_KEY(0x00, 0x03, KEY_S)
451                                 MATRIX_KEY(0x00, 0x04, KEY_A)
452                                 MATRIX_KEY(0x00, 0x05, KEY_Z)
453                                 MATRIX_KEY(0x00, 0x07, KEY_FN)
454                                 MATRIX_KEY(0x01, 0x07, KEY_MENU)
455                                 MATRIX_KEY(0x02, 0x06, KEY_LEFTALT)
456                                 MATRIX_KEY(0x02, 0x07, KEY_RIGHTALT)
457                                 MATRIX_KEY(0x03, 0x00, KEY_5)
458                                 MATRIX_KEY(0x03, 0x01, KEY_4)
459                                 MATRIX_KEY(0x03, 0x02, KEY_R)
460                                 MATRIX_KEY(0x03, 0x03, KEY_E)
461                                 MATRIX_KEY(0x03, 0x04, KEY_F)
462                                 MATRIX_KEY(0x03, 0x05, KEY_D)
463                                 MATRIX_KEY(0x03, 0x06, KEY_X)
464                                 MATRIX_KEY(0x04, 0x00, KEY_7)
465                                 MATRIX_KEY(0x04, 0x01, KEY_6)
466                                 MATRIX_KEY(0x04, 0x02, KEY_T)
467                                 MATRIX_KEY(0x04, 0x03, KEY_H)
468                                 MATRIX_KEY(0x04, 0x04, KEY_G)
469                                 MATRIX_KEY(0x04, 0x05, KEY_V)
470                                 MATRIX_KEY(0x04, 0x06, KEY_C)
471                                 MATRIX_KEY(0x04, 0x07, KEY_SPACE)
472                                 MATRIX_KEY(0x05, 0x00, KEY_9)
473                                 MATRIX_KEY(0x05, 0x01, KEY_8)
474                                 MATRIX_KEY(0x05, 0x02, KEY_U)
475                                 MATRIX_KEY(0x05, 0x03, KEY_Y)
476                                 MATRIX_KEY(0x05, 0x04, KEY_J)
477                                 MATRIX_KEY(0x05, 0x05, KEY_N)
478                                 MATRIX_KEY(0x05, 0x06, KEY_B)
479                                 MATRIX_KEY(0x05, 0x07, KEY_BACKSLASH)
480                                 MATRIX_KEY(0x06, 0x00, KEY_MINUS)
481                                 MATRIX_KEY(0x06, 0x01, KEY_0)
482                                 MATRIX_KEY(0x06, 0x02, KEY_O)
483                                 MATRIX_KEY(0x06, 0x03, KEY_I)
484                                 MATRIX_KEY(0x06, 0x04, KEY_L)
485                                 MATRIX_KEY(0x06, 0x05, KEY_K)
486                                 MATRIX_KEY(0x06, 0x06, KEY_COMMA)
487                                 MATRIX_KEY(0x06, 0x07, KEY_M)
488                                 MATRIX_KEY(0x07, 0x01, KEY_EQUAL)
489                                 MATRIX_KEY(0x07, 0x02, KEY_RIGHTBRACE)
490                                 MATRIX_KEY(0x07, 0x03, KEY_ENTER)
491                                 MATRIX_KEY(0x07, 0x07, KEY_MENU)
492                                 MATRIX_KEY(0x08, 0x04, KEY_LEFTSHIFT)
493                                 MATRIX_KEY(0x08, 0x05, KEY_RIGHTSHIFT)
494                                 MATRIX_KEY(0x09, 0x05, KEY_LEFTCTRL)
495                                 MATRIX_KEY(0x09, 0x07, KEY_RIGHTCTRL)
496                                 MATRIX_KEY(0x0B, 0x00, KEY_LEFTBRACE)
497                                 MATRIX_KEY(0x0B, 0x01, KEY_P)
498                                 MATRIX_KEY(0x0B, 0x02, KEY_APOSTROPHE)
499                                 MATRIX_KEY(0x0B, 0x03, KEY_SEMICOLON)
500                                 MATRIX_KEY(0x0B, 0x04, KEY_SLASH)
501                                 MATRIX_KEY(0x0B, 0x05, KEY_DOT)
502                                 MATRIX_KEY(0x0C, 0x00, KEY_F10)
503                                 MATRIX_KEY(0x0C, 0x01, KEY_F9)
504                                 MATRIX_KEY(0x0C, 0x02, KEY_BACKSPACE)
505                                 MATRIX_KEY(0x0C, 0x03, KEY_3)
506                                 MATRIX_KEY(0x0C, 0x04, KEY_2)
507                                 MATRIX_KEY(0x0C, 0x05, KEY_UP)
508                                 MATRIX_KEY(0x0C, 0x06, KEY_PRINT)
509                                 MATRIX_KEY(0x0C, 0x07, KEY_PAUSE)
510                                 MATRIX_KEY(0x0D, 0x00, KEY_INSERT)
511                                 MATRIX_KEY(0x0D, 0x01, KEY_DELETE)
512                                 MATRIX_KEY(0x0D, 0x03, KEY_PAGEUP )
513                                 MATRIX_KEY(0x0D, 0x04, KEY_PAGEDOWN)
514                                 MATRIX_KEY(0x0D, 0x05, KEY_RIGHT)
515                                 MATRIX_KEY(0x0D, 0x06, KEY_DOWN)
516                                 MATRIX_KEY(0x0D, 0x07, KEY_LEFT)
517                                 MATRIX_KEY(0x0E, 0x00, KEY_F11)
518                                 MATRIX_KEY(0x0E, 0x01, KEY_F12)
519                                 MATRIX_KEY(0x0E, 0x02, KEY_F8)
520                                 MATRIX_KEY(0x0E, 0x03, KEY_Q)
521                                 MATRIX_KEY(0x0E, 0x04, KEY_F4)
522                                 MATRIX_KEY(0x0E, 0x05, KEY_F3)
523                                 MATRIX_KEY(0x0E, 0x06, KEY_1)
524                                 MATRIX_KEY(0x0E, 0x07, KEY_F7)
525                                 MATRIX_KEY(0x0F, 0x00, KEY_ESC)
526                                 MATRIX_KEY(0x0F, 0x01, KEY_GRAVE)
527                                 MATRIX_KEY(0x0F, 0x02, KEY_F5)
528                                 MATRIX_KEY(0x0F, 0x03, KEY_TAB)
529                                 MATRIX_KEY(0x0F, 0x04, KEY_F1)
530                                 MATRIX_KEY(0x0F, 0x05, KEY_F2)
531                                 MATRIX_KEY(0x0F, 0x06, KEY_CAPSLOCK)
532                                 MATRIX_KEY(0x0F, 0x07, KEY_F6)
533                                 MATRIX_KEY(0x14, 0x00, KEY_KP7)
534                                 MATRIX_KEY(0x15, 0x00, KEY_KP9)
535                                 MATRIX_KEY(0x15, 0x01, KEY_KP8)
536                                 MATRIX_KEY(0x15, 0x02, KEY_KP4)
537                                 MATRIX_KEY(0x15, 0x04, KEY_KP1)
538                                 MATRIX_KEY(0x16, 0x01, KEY_KPSLASH)
539                                 MATRIX_KEY(0x16, 0x02, KEY_KP6)
540                                 MATRIX_KEY(0x16, 0x03, KEY_KP5)
541                                 MATRIX_KEY(0x16, 0x04, KEY_KP3)
542                                 MATRIX_KEY(0x16, 0x05, KEY_KP2)
543                                 MATRIX_KEY(0x16, 0x07, KEY_KP0)
544                                 MATRIX_KEY(0x1B, 0x01, KEY_KPASTERISK)
545                                 MATRIX_KEY(0x1B, 0x03, KEY_KPMINUS)
546                                 MATRIX_KEY(0x1B, 0x04, KEY_KPPLUS)
547                                 MATRIX_KEY(0x1B, 0x05, KEY_KPDOT)
548                                 MATRIX_KEY(0x1C, 0x05, KEY_VOLUMEUP)
549                                 MATRIX_KEY(0x1D, 0x03, KEY_HOME)
550                                 MATRIX_KEY(0x1D, 0x04, KEY_END)
551                                 MATRIX_KEY(0x1D, 0x05, KEY_BRIGHTNESSUP)
552                                 MATRIX_KEY(0x1D, 0x06, KEY_VOLUMEDOWN)
553                                 MATRIX_KEY(0x1D, 0x07, KEY_BRIGHTNESSDOWN)
554                                 MATRIX_KEY(0x1E, 0x00, KEY_NUMLOCK)
555                                 MATRIX_KEY(0x1E, 0x01, KEY_SCROLLLOCK)
556                                 MATRIX_KEY(0x1E, 0x02, KEY_MUTE)
557                                 MATRIX_KEY(0x1F, 0x04, KEY_QUESTION)>;
558         };
560         pmc@7000e400 {
561                 nvidia,invert-interrupt;
562                 nvidia,suspend-mode = <1>;
563                 nvidia,cpu-pwr-good-time = <5000>;
564                 nvidia,cpu-pwr-off-time = <5000>;
565                 nvidia,core-pwr-good-time = <3845 3845>;
566                 nvidia,core-pwr-off-time = <3875>;
567                 nvidia,sys-clock-req-active-high;
568         };
570         pcie@80003000 {
571                 status = "okay";
573                 avdd-pex-supply = <&pci_vdd_reg>;
574                 vdd-pex-supply = <&pci_vdd_reg>;
575                 avdd-pex-pll-supply = <&pci_vdd_reg>;
576                 avdd-plle-supply = <&pci_vdd_reg>;
577                 vddio-pex-clk-supply = <&pci_clk_reg>;
579                 pci@1,0 {
580                         status = "okay";
581                 };
583                 pci@2,0 {
584                         status = "okay";
585                 };
586         };
588         usb@c5000000 {
589                 status = "okay";
590         };
592         usb-phy@c5000000 {
593                 status = "okay";
594         };
596         usb@c5004000 {
597                 status = "okay";
598                 nvidia,phy-reset-gpio = <&gpio TEGRA_GPIO(V, 1)
599                         GPIO_ACTIVE_LOW>;
600         };
602         usb-phy@c5004000 {
603                 status = "okay";
604                 nvidia,phy-reset-gpio = <&gpio TEGRA_GPIO(V, 1)
605                         GPIO_ACTIVE_LOW>;
606         };
608         usb@c5008000 {
609                 status = "okay";
610         };
612         usb-phy@c5008000 {
613                 status = "okay";
614         };
616         mmc@c8000200 {
617                 status = "okay";
618                 cd-gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>;
619                 wp-gpios = <&gpio TEGRA_GPIO(H, 1) GPIO_ACTIVE_HIGH>;
620                 power-gpios = <&gpio TEGRA_GPIO(T, 3) GPIO_ACTIVE_HIGH>;
621                 bus-width = <4>;
622         };
624         mmc@c8000600 {
625                 status = "okay";
626                 cd-gpios = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_LOW>;
627                 wp-gpios = <&gpio TEGRA_GPIO(H, 3) GPIO_ACTIVE_HIGH>;
628                 power-gpios = <&gpio TEGRA_GPIO(I, 6) GPIO_ACTIVE_HIGH>;
629                 bus-width = <8>;
630         };
632         backlight: backlight {
633                 compatible = "pwm-backlight";
635                 enable-gpios = <&gpio TEGRA_GPIO(B, 5) GPIO_ACTIVE_HIGH>;
636                 power-supply = <&vdd_bl_reg>;
637                 pwms = <&pwm 0 5000000>;
639                 brightness-levels = <0 4 8 16 32 64 128 255>;
640                 default-brightness-level = <6>;
641         };
643         clk32k_in: clock@0 {
644                 compatible = "fixed-clock";
645                 clock-frequency = <32768>;
646                 #clock-cells = <0>;
647         };
649         gpio-keys {
650                 compatible = "gpio-keys";
652                 power {
653                         label = "Power";
654                         gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_LOW>;
655                         linux,code = <KEY_POWER>;
656                         wakeup-source;
657                 };
658         };
660         panel: panel {
661                 compatible = "auo,b101aw03";
663                 power-supply = <&vdd_pnl_reg>;
664                 enable-gpios = <&gpio TEGRA_GPIO(B, 2) GPIO_ACTIVE_HIGH>;
666                 backlight = <&backlight>;
667         };
669         vdd_5v0_reg: regulator@0 {
670                 compatible = "regulator-fixed";
671                 regulator-name = "vdd_5v0";
672                 regulator-min-microvolt = <5000000>;
673                 regulator-max-microvolt = <5000000>;
674                 regulator-always-on;
675         };
677         regulator@1 {
678                 compatible = "regulator-fixed";
679                 regulator-name = "vdd_1v5";
680                 regulator-min-microvolt = <1500000>;
681                 regulator-max-microvolt = <1500000>;
682                 gpio = <&pmic 0 GPIO_ACTIVE_HIGH>;
683         };
685         regulator@2 {
686                 compatible = "regulator-fixed";
687                 regulator-name = "vdd_1v2";
688                 regulator-min-microvolt = <1200000>;
689                 regulator-max-microvolt = <1200000>;
690                 gpio = <&pmic 1 GPIO_ACTIVE_HIGH>;
691                 enable-active-high;
692         };
694         pci_vdd_reg: regulator@3 {
695                 compatible = "regulator-fixed";
696                 regulator-name = "vdd_1v05";
697                 regulator-min-microvolt = <1050000>;
698                 regulator-max-microvolt = <1050000>;
699                 gpio = <&pmic 2 GPIO_ACTIVE_HIGH>;
700                 enable-active-high;
701         };
703         vdd_pnl_reg: regulator@4 {
704                 compatible = "regulator-fixed";
705                 regulator-name = "vdd_pnl";
706                 regulator-min-microvolt = <2800000>;
707                 regulator-max-microvolt = <2800000>;
708                 gpio = <&gpio TEGRA_GPIO(C, 6) GPIO_ACTIVE_HIGH>;
709                 enable-active-high;
710         };
712         vdd_bl_reg: regulator@5 {
713                 compatible = "regulator-fixed";
714                 regulator-name = "vdd_bl";
715                 regulator-min-microvolt = <2800000>;
716                 regulator-max-microvolt = <2800000>;
717                 gpio = <&gpio TEGRA_GPIO(W, 0) GPIO_ACTIVE_HIGH>;
718                 enable-active-high;
719         };
721         vdd_5v0_hdmi: regulator@6 {
722                 compatible = "regulator-fixed";
723                 regulator-name = "VDDIO_HDMI";
724                 regulator-min-microvolt = <5000000>;
725                 regulator-max-microvolt = <5000000>;
726                 gpio = <&gpio TEGRA_GPIO(T, 2) GPIO_ACTIVE_HIGH>;
727                 enable-active-high;
728                 vin-supply = <&vdd_5v0_reg>;
729         };
731         sound {
732                 compatible = "nvidia,tegra-audio-wm8903-harmony",
733                              "nvidia,tegra-audio-wm8903";
734                 nvidia,model = "NVIDIA Tegra Harmony";
736                 nvidia,audio-routing =
737                         "Headphone Jack", "HPOUTR",
738                         "Headphone Jack", "HPOUTL",
739                         "Int Spk", "ROP",
740                         "Int Spk", "RON",
741                         "Int Spk", "LOP",
742                         "Int Spk", "LON",
743                         "Mic Jack", "MICBIAS",
744                         "IN1L", "Mic Jack";
746                 nvidia,i2s-controller = <&tegra_i2s1>;
747                 nvidia,audio-codec = <&wm8903>;
749                 nvidia,spkr-en-gpios = <&wm8903 2 GPIO_ACTIVE_HIGH>;
750                 nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(W, 2)
751                         GPIO_ACTIVE_HIGH>;
752                 nvidia,int-mic-en-gpios = <&gpio TEGRA_GPIO(X, 0)
753                         GPIO_ACTIVE_HIGH>;
754                 nvidia,ext-mic-en-gpios = <&gpio TEGRA_GPIO(X, 1)
755                         GPIO_ACTIVE_HIGH>;
757                 clocks = <&tegra_car TEGRA20_CLK_PLL_A>,
758                          <&tegra_car TEGRA20_CLK_PLL_A_OUT0>,
759                          <&tegra_car TEGRA20_CLK_CDEV1>;
760                 clock-names = "pll_a", "pll_a_out0", "mclk";
761         };