x86/mm/pat: Don't report PAT on CPUs that don't support it
[linux/fpc-iii.git] / arch / arm / boot / dts / tegra20-tamonten.dtsi
blob27d2bbbf1eae250bf90f7f178e325327a6316344
1 #include "tegra20.dtsi"
3 / {
4         model = "Avionic Design Tamonten SOM";
5         compatible = "ad,tamonten", "nvidia,tegra20";
7         aliases {
8                 rtc0 = "/i2c@7000d000/tps6586x@34";
9                 rtc1 = "/rtc@7000e000";
10                 serial0 = &uartd;
11         };
13         chosen {
14                 stdout-path = "serial0:115200n8";
15         };
17         memory {
18                 reg = <0x00000000 0x20000000>;
19         };
21         host1x@50000000 {
22                 hdmi@54280000 {
23                         vdd-supply = <&hdmi_vdd_reg>;
24                         pll-supply = <&hdmi_pll_reg>;
26                         nvidia,ddc-i2c-bus = <&hdmi_ddc>;
27                         nvidia,hpd-gpio = <&gpio TEGRA_GPIO(N, 7)
28                                 GPIO_ACTIVE_HIGH>;
29                 };
30         };
32         pinmux@70000014 {
33                 pinctrl-names = "default";
34                 pinctrl-0 = <&state_default>;
36                 state_default: pinmux {
37                         ata {
38                                 nvidia,pins = "ata";
39                                 nvidia,function = "ide";
40                         };
41                         atb {
42                                 nvidia,pins = "atb", "gma", "gme";
43                                 nvidia,function = "sdio4";
44                         };
45                         atc {
46                                 nvidia,pins = "atc";
47                                 nvidia,function = "nand";
48                         };
49                         atd {
50                                 nvidia,pins = "atd", "ate", "gmb", "gmd", "gpu",
51                                         "spia", "spib", "spic";
52                                 nvidia,function = "gmi";
53                         };
54                         cdev1 {
55                                 nvidia,pins = "cdev1";
56                                 nvidia,function = "plla_out";
57                         };
58                         cdev2 {
59                                 nvidia,pins = "cdev2";
60                                 nvidia,function = "pllp_out4";
61                         };
62                         crtp {
63                                 nvidia,pins = "crtp";
64                                 nvidia,function = "crt";
65                         };
66                         csus {
67                                 nvidia,pins = "csus";
68                                 nvidia,function = "vi_sensor_clk";
69                         };
70                         dap1 {
71                                 nvidia,pins = "dap1";
72                                 nvidia,function = "dap1";
73                         };
74                         dap2 {
75                                 nvidia,pins = "dap2";
76                                 nvidia,function = "dap2";
77                         };
78                         dap3 {
79                                 nvidia,pins = "dap3";
80                                 nvidia,function = "dap3";
81                         };
82                         dap4 {
83                                 nvidia,pins = "dap4";
84                                 nvidia,function = "dap4";
85                         };
86                         dta {
87                                 nvidia,pins = "dta", "dtd";
88                                 nvidia,function = "sdio2";
89                         };
90                         dtb {
91                                 nvidia,pins = "dtb", "dtc", "dte";
92                                 nvidia,function = "rsvd1";
93                         };
94                         dtf {
95                                 nvidia,pins = "dtf";
96                                 nvidia,function = "i2c3";
97                         };
98                         gmc {
99                                 nvidia,pins = "gmc";
100                                 nvidia,function = "uartd";
101                         };
102                         gpu7 {
103                                 nvidia,pins = "gpu7";
104                                 nvidia,function = "rtck";
105                         };
106                         gpv {
107                                 nvidia,pins = "gpv", "slxa", "slxk";
108                                 nvidia,function = "pcie";
109                         };
110                         hdint {
111                                 nvidia,pins = "hdint";
112                                 nvidia,function = "hdmi";
113                         };
114                         i2cp {
115                                 nvidia,pins = "i2cp";
116                                 nvidia,function = "i2cp";
117                         };
118                         irrx {
119                                 nvidia,pins = "irrx", "irtx";
120                                 nvidia,function = "uarta";
121                         };
122                         kbca {
123                                 nvidia,pins = "kbca", "kbcb", "kbcc", "kbcd",
124                                         "kbce", "kbcf";
125                                 nvidia,function = "kbc";
126                         };
127                         lcsn {
128                                 nvidia,pins = "lcsn", "ld0", "ld1", "ld2",
129                                         "ld3", "ld4", "ld5", "ld6", "ld7",
130                                         "ld8", "ld9", "ld10", "ld11", "ld12",
131                                         "ld13", "ld14", "ld15", "ld16", "ld17",
132                                         "ldc", "ldi", "lhp0", "lhp1", "lhp2",
133                                         "lhs", "lm0", "lm1", "lpp", "lpw0",
134                                         "lpw1", "lpw2", "lsc0", "lsc1", "lsck",
135                                         "lsda", "lsdi", "lspi", "lvp0", "lvp1",
136                                         "lvs";
137                                 nvidia,function = "displaya";
138                         };
139                         owc {
140                                 nvidia,pins = "owc", "spdi", "spdo", "uac";
141                                 nvidia,function = "rsvd2";
142                         };
143                         pmc {
144                                 nvidia,pins = "pmc";
145                                 nvidia,function = "pwr_on";
146                         };
147                         rm {
148                                 nvidia,pins = "rm";
149                                 nvidia,function = "i2c1";
150                         };
151                         sdb {
152                                 nvidia,pins = "sdb", "sdc", "sdd";
153                                 nvidia,function = "pwm";
154                         };
155                         sdio1 {
156                                 nvidia,pins = "sdio1";
157                                 nvidia,function = "sdio1";
158                         };
159                         slxc {
160                                 nvidia,pins = "slxc", "slxd";
161                                 nvidia,function = "spdif";
162                         };
163                         spid {
164                                 nvidia,pins = "spid", "spie", "spif";
165                                 nvidia,function = "spi1";
166                         };
167                         spig {
168                                 nvidia,pins = "spig", "spih";
169                                 nvidia,function = "spi2_alt";
170                         };
171                         uaa {
172                                 nvidia,pins = "uaa", "uab", "uda";
173                                 nvidia,function = "ulpi";
174                         };
175                         uad {
176                                 nvidia,pins = "uad";
177                                 nvidia,function = "irda";
178                         };
179                         uca {
180                                 nvidia,pins = "uca", "ucb";
181                                 nvidia,function = "uartc";
182                         };
183                         conf_ata {
184                                 nvidia,pins = "ata", "atb", "atc", "atd", "ate",
185                                         "cdev1", "cdev2", "dap1", "dtb", "gma",
186                                         "gmb", "gmc", "gmd", "gme", "gpu7",
187                                         "gpv", "i2cp", "pta", "rm", "slxa",
188                                         "slxk", "spia", "spib", "uac";
189                                 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
190                                 nvidia,tristate = <TEGRA_PIN_DISABLE>;
191                         };
192                         conf_ck32 {
193                                 nvidia,pins = "ck32", "ddrc", "pmca", "pmcb",
194                                         "pmcc", "pmcd", "pmce", "xm2c", "xm2d";
195                                 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
196                         };
197                         conf_csus {
198                                 nvidia,pins = "csus", "spid", "spif";
199                                 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
200                                 nvidia,tristate = <TEGRA_PIN_ENABLE>;
201                         };
202                         conf_crtp {
203                                 nvidia,pins = "crtp", "dap2", "dap3", "dap4",
204                                         "dtc", "dte", "dtf", "gpu", "sdio1",
205                                         "slxc", "slxd", "spdi", "spdo", "spig",
206                                         "uda";
207                                 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
208                                 nvidia,tristate = <TEGRA_PIN_ENABLE>;
209                         };
210                         conf_ddc {
211                                 nvidia,pins = "ddc", "dta", "dtd", "kbca",
212                                         "kbcb", "kbcc", "kbcd", "kbce", "kbcf",
213                                         "sdc";
214                                 nvidia,pull = <TEGRA_PIN_PULL_UP>;
215                                 nvidia,tristate = <TEGRA_PIN_DISABLE>;
216                         };
217                         conf_hdint {
218                                 nvidia,pins = "hdint", "lcsn", "ldc", "lm1",
219                                         "lpw1", "lsc1", "lsck", "lsda", "lsdi",
220                                         "lvp0", "owc", "sdb";
221                                 nvidia,tristate = <TEGRA_PIN_ENABLE>;
222                         };
223                         conf_irrx {
224                                 nvidia,pins = "irrx", "irtx", "sdd", "spic",
225                                         "spie", "spih", "uaa", "uab", "uad",
226                                         "uca", "ucb";
227                                 nvidia,pull = <TEGRA_PIN_PULL_UP>;
228                                 nvidia,tristate = <TEGRA_PIN_ENABLE>;
229                         };
230                         conf_lc {
231                                 nvidia,pins = "lc", "ls";
232                                 nvidia,pull = <TEGRA_PIN_PULL_UP>;
233                         };
234                         conf_ld0 {
235                                 nvidia,pins = "ld0", "ld1", "ld2", "ld3", "ld4",
236                                         "ld5", "ld6", "ld7", "ld8", "ld9",
237                                         "ld10", "ld11", "ld12", "ld13", "ld14",
238                                         "ld15", "ld16", "ld17", "ldi", "lhp0",
239                                         "lhp1", "lhp2", "lhs", "lm0", "lpp",
240                                         "lpw0", "lpw2", "lsc0", "lspi", "lvp1",
241                                         "lvs", "pmc";
242                                 nvidia,tristate = <TEGRA_PIN_DISABLE>;
243                         };
244                         conf_ld17_0 {
245                                 nvidia,pins = "ld17_0", "ld19_18", "ld21_20",
246                                         "ld23_22";
247                                 nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
248                         };
249                 };
251                 state_i2cmux_ddc: pinmux_i2cmux_ddc {
252                         ddc {
253                                 nvidia,pins = "ddc";
254                                 nvidia,function = "i2c2";
255                         };
256                         pta {
257                                 nvidia,pins = "pta";
258                                 nvidia,function = "rsvd4";
259                         };
260                 };
262                 state_i2cmux_pta: pinmux_i2cmux_pta {
263                         ddc {
264                                 nvidia,pins = "ddc";
265                                 nvidia,function = "rsvd4";
266                         };
267                         pta {
268                                 nvidia,pins = "pta";
269                                 nvidia,function = "i2c2";
270                         };
271                 };
273                 state_i2cmux_idle: pinmux_i2cmux_idle {
274                         ddc {
275                                 nvidia,pins = "ddc";
276                                 nvidia,function = "rsvd4";
277                         };
278                         pta {
279                                 nvidia,pins = "pta";
280                                 nvidia,function = "rsvd4";
281                         };
282                 };
283         };
285         i2s@70002800 {
286                 status = "okay";
287         };
289         serial@70006300 {
290                 status = "okay";
291         };
293         i2c@7000c000 {
294                 clock-frequency = <400000>;
295                 status = "okay";
296         };
298         i2c@7000c400 {
299                 clock-frequency = <100000>;
300                 status = "okay";
301         };
303         i2cmux {
304                 compatible = "i2c-mux-pinctrl";
305                 #address-cells = <1>;
306                 #size-cells = <0>;
308                 i2c-parent = <&{/i2c@7000c400}>;
310                 pinctrl-names = "ddc", "pta", "idle";
311                 pinctrl-0 = <&state_i2cmux_ddc>;
312                 pinctrl-1 = <&state_i2cmux_pta>;
313                 pinctrl-2 = <&state_i2cmux_idle>;
315                 hdmi_ddc: i2c@0 {
316                         reg = <0>;
317                         #address-cells = <1>;
318                         #size-cells = <0>;
319                 };
321                 i2c@1 {
322                         reg = <1>;
323                         #address-cells = <1>;
324                         #size-cells = <0>;
325                 };
326         };
328         i2c@7000d000 {
329                 clock-frequency = <400000>;
330                 status = "okay";
332                 pmic: tps6586x@34 {
333                         compatible = "ti,tps6586x";
334                         reg = <0x34>;
335                         interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
337                         ti,system-power-controller;
339                         #gpio-cells = <2>;
340                         gpio-controller;
342                         /* vdd_5v0_reg must be provided by the base board */
343                         sys-supply = <&vdd_5v0_reg>;
344                         vin-sm0-supply = <&sys_reg>;
345                         vin-sm1-supply = <&sys_reg>;
346                         vin-sm2-supply = <&sys_reg>;
347                         vinldo01-supply = <&sm2_reg>;
348                         vinldo23-supply = <&sm2_reg>;
349                         vinldo4-supply = <&sm2_reg>;
350                         vinldo678-supply = <&sm2_reg>;
351                         vinldo9-supply = <&sm2_reg>;
353                         regulators {
354                                 sys_reg: sys {
355                                         regulator-name = "vdd_sys";
356                                         regulator-always-on;
357                                 };
359                                 sm0 {
360                                         regulator-name = "vdd_sys_sm0,vdd_core";
361                                         regulator-min-microvolt = <1200000>;
362                                         regulator-max-microvolt = <1200000>;
363                                         regulator-always-on;
364                                 };
366                                 sm1 {
367                                         regulator-name = "vdd_sys_sm1,vdd_cpu";
368                                         regulator-min-microvolt = <1000000>;
369                                         regulator-max-microvolt = <1000000>;
370                                         regulator-always-on;
371                                 };
373                                 sm2_reg: sm2 {
374                                         regulator-name = "vdd_sys_sm2,vin_ldo*";
375                                         regulator-min-microvolt = <3700000>;
376                                         regulator-max-microvolt = <3700000>;
377                                         regulator-always-on;
378                                 };
380                                 pci_clk_reg: ldo0 {
381                                         regulator-name = "vdd_ldo0,vddio_pex_clk";
382                                         regulator-min-microvolt = <3300000>;
383                                         regulator-max-microvolt = <3300000>;
384                                 };
386                                 ldo1 {
387                                         regulator-name = "vdd_ldo1,avdd_pll*";
388                                         regulator-min-microvolt = <1100000>;
389                                         regulator-max-microvolt = <1100000>;
390                                         regulator-always-on;
391                                 };
393                                 ldo2 {
394                                         regulator-name = "vdd_ldo2,vdd_rtc";
395                                         regulator-min-microvolt = <1200000>;
396                                         regulator-max-microvolt = <1200000>;
397                                 };
399                                 ldo3 {
400                                         regulator-name = "vdd_ldo3,avdd_usb*";
401                                         regulator-min-microvolt = <3300000>;
402                                         regulator-max-microvolt = <3300000>;
403                                         regulator-always-on;
404                                 };
406                                 ldo4 {
407                                         regulator-name = "vdd_ldo4,avdd_osc,vddio_sys";
408                                         regulator-min-microvolt = <1800000>;
409                                         regulator-max-microvolt = <1800000>;
410                                         regulator-always-on;
411                                 };
413                                 ldo5 {
414                                         regulator-name = "vdd_ldo5,vcore_mmc";
415                                         regulator-min-microvolt = <2850000>;
416                                         regulator-max-microvolt = <2850000>;
417                                 };
419                                 ldo6 {
420                                         regulator-name = "vdd_ldo6,avdd_vdac";
421                                         /*
422                                          * According to the Tegra 2 Automotive
423                                          * DataSheet, a typical value for this
424                                          * would be 2.8V, but the PMIC only
425                                          * supports 2.85V.
426                                          */
427                                         regulator-min-microvolt = <2850000>;
428                                         regulator-max-microvolt = <2850000>;
429                                 };
431                                 hdmi_vdd_reg: ldo7 {
432                                         regulator-name = "vdd_ldo7,avdd_hdmi";
433                                         regulator-min-microvolt = <3300000>;
434                                         regulator-max-microvolt = <3300000>;
435                                 };
437                                 hdmi_pll_reg: ldo8 {
438                                         regulator-name = "vdd_ldo8,avdd_hdmi_pll";
439                                         regulator-min-microvolt = <1800000>;
440                                         regulator-max-microvolt = <1800000>;
441                                 };
443                                 ldo9 {
444                                         regulator-name = "vdd_ldo9,vdd_ddr_rx,avdd_cam";
445                                         /*
446                                          * According to the Tegra 2 Automotive
447                                          * DataSheet, a typical value for this
448                                          * would be 2.8V, but the PMIC only
449                                          * supports 2.85V.
450                                          */
451                                         regulator-min-microvolt = <2850000>;
452                                         regulator-max-microvolt = <2850000>;
453                                         regulator-always-on;
454                                 };
456                                 ldo_rtc {
457                                         regulator-name = "vdd_rtc_out";
458                                         regulator-min-microvolt = <3300000>;
459                                         regulator-max-microvolt = <3300000>;
460                                         regulator-always-on;
461                                 };
462                         };
463                 };
465                 temperature-sensor@4c {
466                         compatible = "onnn,nct1008";
467                         reg = <0x4c>;
468                 };
469         };
471         pmc@7000e400 {
472                 nvidia,invert-interrupt;
473                 nvidia,suspend-mode = <1>;
474                 nvidia,cpu-pwr-good-time = <5000>;
475                 nvidia,cpu-pwr-off-time = <5000>;
476                 nvidia,core-pwr-good-time = <3845 3845>;
477                 nvidia,core-pwr-off-time = <3875>;
478                 nvidia,sys-clock-req-active-high;
479         };
481         pcie-controller@80003000 {
482                 avdd-pex-supply = <&pci_vdd_reg>;
483                 vdd-pex-supply = <&pci_vdd_reg>;
484                 avdd-pex-pll-supply = <&pci_vdd_reg>;
485                 avdd-plle-supply = <&pci_vdd_reg>;
486                 vddio-pex-clk-supply = <&pci_clk_reg>;
487         };
489         usb@c5008000 {
490                 status = "okay";
491         };
493         usb-phy@c5008000 {
494                 status = "okay";
495         };
497         sdhci@c8000600 {
498                 cd-gpios = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_LOW>;
499                 wp-gpios = <&gpio TEGRA_GPIO(H, 3) GPIO_ACTIVE_HIGH>;
500                 bus-width = <4>;
501                 status = "okay";
502         };
504         clocks {
505                 compatible = "simple-bus";
506                 #address-cells = <1>;
507                 #size-cells = <0>;
509                 clk32k_in: clock@0 {
510                         compatible = "fixed-clock";
511                         reg = <0>;
512                         #clock-cells = <0>;
513                         clock-frequency = <32768>;
514                 };
515         };
517         regulators {
518                 compatible = "simple-bus";
520                 #address-cells = <1>;
521                 #size-cells = <0>;
523                 pci_vdd_reg: regulator@1 {
524                         compatible = "regulator-fixed";
525                         reg = <1>;
526                         regulator-name = "vdd_1v05";
527                         regulator-min-microvolt = <1050000>;
528                         regulator-max-microvolt = <1050000>;
529                         gpio = <&pmic 2 0>;
530                         enable-active-high;
531                 };
532         };