x86/mm/pat: Don't report PAT on CPUs that don't support it
[linux/fpc-iii.git] / arch / arm / boot / dts / am335x-evm.dts
blob1c37a7c1ea17dd76fc2686c1bd9dd17acc250d99
1 /*
2  * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2 as
6  * published by the Free Software Foundation.
7  */
8 /dts-v1/;
10 #include "am33xx.dtsi"
11 #include <dt-bindings/interrupt-controller/irq.h>
13 / {
14         model = "TI AM335x EVM";
15         compatible = "ti,am335x-evm", "ti,am33xx";
17         cpus {
18                 cpu@0 {
19                         cpu0-supply = <&vdd1_reg>;
20                 };
21         };
23         memory@80000000 {
24                 device_type = "memory";
25                 reg = <0x80000000 0x10000000>; /* 256 MB */
26         };
28         chosen {
29                 stdout-path = &uart0;
30         };
32         vbat: fixedregulator0 {
33                 compatible = "regulator-fixed";
34                 regulator-name = "vbat";
35                 regulator-min-microvolt = <5000000>;
36                 regulator-max-microvolt = <5000000>;
37                 regulator-boot-on;
38         };
40         lis3_reg: fixedregulator1 {
41                 compatible = "regulator-fixed";
42                 regulator-name = "lis3_reg";
43                 regulator-boot-on;
44         };
46         wlan_en_reg: fixedregulator2 {
47                 compatible = "regulator-fixed";
48                 regulator-name = "wlan-en-regulator";
49                 regulator-min-microvolt = <1800000>;
50                 regulator-max-microvolt = <1800000>;
52                 /* WLAN_EN GPIO for this board - Bank1, pin16 */
53                 gpio = <&gpio1 16 0>;
55                 /* WLAN card specific delay */
56                 startup-delay-us = <70000>;
57                 enable-active-high;
58         };
60         matrix_keypad: matrix_keypad0 {
61                 compatible = "gpio-matrix-keypad";
62                 debounce-delay-ms = <5>;
63                 col-scan-delay-us = <2>;
65                 row-gpios = <&gpio1 25 GPIO_ACTIVE_HIGH         /* Bank1, pin25 */
66                              &gpio1 26 GPIO_ACTIVE_HIGH         /* Bank1, pin26 */
67                              &gpio1 27 GPIO_ACTIVE_HIGH>;       /* Bank1, pin27 */
69                 col-gpios = <&gpio1 21 GPIO_ACTIVE_HIGH         /* Bank1, pin21 */
70                              &gpio1 22 GPIO_ACTIVE_HIGH>;       /* Bank1, pin22 */
72                 linux,keymap = <0x0000008b      /* MENU */
73                                 0x0100009e      /* BACK */
74                                 0x02000069      /* LEFT */
75                                 0x0001006a      /* RIGHT */
76                                 0x0101001c      /* ENTER */
77                                 0x0201006c>;    /* DOWN */
78         };
80         gpio_keys: volume_keys0 {
81                 compatible = "gpio-keys";
82                 #address-cells = <1>;
83                 #size-cells = <0>;
84                 autorepeat;
86                 switch9 {
87                         label = "volume-up";
88                         linux,code = <115>;
89                         gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
90                         wakeup-source;
91                 };
93                 switch10 {
94                         label = "volume-down";
95                         linux,code = <114>;
96                         gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
97                         wakeup-source;
98                 };
99         };
101         backlight {
102                 compatible = "pwm-backlight";
103                 pwms = <&ecap0 0 50000 0>;
104                 brightness-levels = <0 51 53 56 62 75 101 152 255>;
105                 default-brightness-level = <8>;
106         };
108         panel {
109                 compatible = "ti,tilcdc,panel";
110                 status = "okay";
111                 pinctrl-names = "default";
112                 pinctrl-0 = <&lcd_pins_s0>;
113                 panel-info {
114                         ac-bias           = <255>;
115                         ac-bias-intrpt    = <0>;
116                         dma-burst-sz      = <16>;
117                         bpp               = <32>;
118                         fdd               = <0x80>;
119                         sync-edge         = <0>;
120                         sync-ctrl         = <1>;
121                         raster-order      = <0>;
122                         fifo-th           = <0>;
123                 };
125                 display-timings {
126                         800x480p62 {
127                                 clock-frequency = <30000000>;
128                                 hactive = <800>;
129                                 vactive = <480>;
130                                 hfront-porch = <39>;
131                                 hback-porch = <39>;
132                                 hsync-len = <47>;
133                                 vback-porch = <29>;
134                                 vfront-porch = <13>;
135                                 vsync-len = <2>;
136                                 hsync-active = <1>;
137                                 vsync-active = <1>;
138                         };
139                 };
140         };
142         sound {
143                 compatible = "simple-audio-card";
144                 simple-audio-card,name = "AM335x-EVM";
145                 simple-audio-card,widgets =
146                         "Headphone", "Headphone Jack",
147                         "Line", "Line In";
148                 simple-audio-card,routing =
149                         "Headphone Jack",       "HPLOUT",
150                         "Headphone Jack",       "HPROUT",
151                         "LINE1L",               "Line In",
152                         "LINE1R",               "Line In";
153                 simple-audio-card,format = "dsp_b";
154                 simple-audio-card,bitclock-master = <&sound_master>;
155                 simple-audio-card,frame-master = <&sound_master>;
156                 simple-audio-card,bitclock-inversion;
158                 simple-audio-card,cpu {
159                         sound-dai = <&mcasp1>;
160                 };
162                 sound_master: simple-audio-card,codec {
163                         sound-dai = <&tlv320aic3106>;
164                         system-clock-frequency = <12000000>;
165                 };
166         };
169 &am33xx_pinmux {
170         pinctrl-names = "default";
171         pinctrl-0 = <&matrix_keypad_s0 &volume_keys_s0 &clkout2_pin>;
173         matrix_keypad_s0: matrix_keypad_s0 {
174                 pinctrl-single,pins = <
175                         AM33XX_IOPAD(0x854, PIN_OUTPUT_PULLDOWN | MUX_MODE7)    /* gpmc_a5.gpio1_21 */
176                         AM33XX_IOPAD(0x858, PIN_OUTPUT_PULLDOWN | MUX_MODE7)    /* gpmc_a6.gpio1_22 */
177                         AM33XX_IOPAD(0x864, PIN_INPUT_PULLDOWN | MUX_MODE7)     /* gpmc_a9.gpio1_25 */
178                         AM33XX_IOPAD(0x868, PIN_INPUT_PULLDOWN | MUX_MODE7)     /* gpmc_a10.gpio1_26 */
179                         AM33XX_IOPAD(0x86c, PIN_INPUT_PULLDOWN | MUX_MODE7)     /* gpmc_a11.gpio1_27 */
180                 >;
181         };
183         volume_keys_s0: volume_keys_s0 {
184                 pinctrl-single,pins = <
185                         AM33XX_IOPAD(0x950, PIN_INPUT_PULLDOWN | MUX_MODE7)     /* spi0_sclk.gpio0_2 */
186                         AM33XX_IOPAD(0x954, PIN_INPUT_PULLDOWN | MUX_MODE7)     /* spi0_d0.gpio0_3 */
187                 >;
188         };
190         i2c0_pins: pinmux_i2c0_pins {
191                 pinctrl-single,pins = <
192                         AM33XX_IOPAD(0x988, PIN_INPUT_PULLUP | MUX_MODE0)       /* i2c0_sda.i2c0_sda */
193                         AM33XX_IOPAD(0x98c, PIN_INPUT_PULLUP | MUX_MODE0)       /* i2c0_scl.i2c0_scl */
194                 >;
195         };
197         i2c1_pins: pinmux_i2c1_pins {
198                 pinctrl-single,pins = <
199                         AM33XX_IOPAD(0x958, PIN_INPUT_PULLUP | MUX_MODE2)       /* spi0_d1.i2c1_sda */
200                         AM33XX_IOPAD(0x95c, PIN_INPUT_PULLUP | MUX_MODE2)       /* spi0_cs0.i2c1_scl */
201                 >;
202         };
204         uart0_pins: pinmux_uart0_pins {
205                 pinctrl-single,pins = <
206                         AM33XX_IOPAD(0x970, PIN_INPUT_PULLUP | MUX_MODE0)       /* uart0_rxd.uart0_rxd */
207                         AM33XX_IOPAD(0x974, PIN_OUTPUT_PULLDOWN | MUX_MODE0)    /* uart0_txd.uart0_txd */
208                 >;
209         };
211         uart1_pins: pinmux_uart1_pins {
212                 pinctrl-single,pins = <
213                         AM33XX_IOPAD(0x978, PIN_INPUT | MUX_MODE0)              /* uart1_ctsn.uart1_ctsn */
214                         AM33XX_IOPAD(0x97C, PIN_OUTPUT_PULLDOWN | MUX_MODE0)    /* uart1_rtsn.uart1_rtsn */
215                         AM33XX_IOPAD(0x980, PIN_INPUT_PULLUP | MUX_MODE0)       /* uart1_rxd.uart1_rxd */
216                         AM33XX_IOPAD(0x984, PIN_OUTPUT_PULLDOWN | MUX_MODE0)    /* uart1_txd.uart1_txd */
217                 >;
218         };
220         clkout2_pin: pinmux_clkout2_pin {
221                 pinctrl-single,pins = <
222                         AM33XX_IOPAD(0x9b4, PIN_OUTPUT_PULLDOWN | MUX_MODE3)    /* xdma_event_intr1.clkout2 */
223                 >;
224         };
226         nandflash_pins_s0: nandflash_pins_s0 {
227                 pinctrl-single,pins = <
228                         AM33XX_IOPAD(0x800, PIN_INPUT_PULLUP | MUX_MODE0)       /* gpmc_ad0.gpmc_ad0 */
229                         AM33XX_IOPAD(0x804, PIN_INPUT_PULLUP | MUX_MODE0)       /* gpmc_ad1.gpmc_ad1 */
230                         AM33XX_IOPAD(0x808, PIN_INPUT_PULLUP | MUX_MODE0)       /* gpmc_ad2.gpmc_ad2 */
231                         AM33XX_IOPAD(0x80c, PIN_INPUT_PULLUP | MUX_MODE0)       /* gpmc_ad3.gpmc_ad3 */
232                         AM33XX_IOPAD(0x810, PIN_INPUT_PULLUP | MUX_MODE0)       /* gpmc_ad4.gpmc_ad4 */
233                         AM33XX_IOPAD(0x814, PIN_INPUT_PULLUP | MUX_MODE0)       /* gpmc_ad5.gpmc_ad5 */
234                         AM33XX_IOPAD(0x818, PIN_INPUT_PULLUP | MUX_MODE0)       /* gpmc_ad6.gpmc_ad6 */
235                         AM33XX_IOPAD(0x81c, PIN_INPUT_PULLUP | MUX_MODE0)       /* gpmc_ad7.gpmc_ad7 */
236                         AM33XX_IOPAD(0x870, PIN_INPUT_PULLUP | MUX_MODE0)       /* gpmc_wait0.gpmc_wait0 */
237                         AM33XX_IOPAD(0x874, PIN_INPUT_PULLUP | MUX_MODE7)       /* gpmc_wpn.gpio0_30 */
238                         AM33XX_IOPAD(0x87c, PIN_OUTPUT | MUX_MODE0)             /* gpmc_csn0.gpmc_csn0  */
239                         AM33XX_IOPAD(0x890, PIN_OUTPUT | MUX_MODE0)             /* gpmc_advn_ale.gpmc_advn_ale */
240                         AM33XX_IOPAD(0x894, PIN_OUTPUT | MUX_MODE0)             /* gpmc_oen_ren.gpmc_oen_ren */
241                         AM33XX_IOPAD(0x898, PIN_OUTPUT | MUX_MODE0)             /* gpmc_wen.gpmc_wen */
242                         AM33XX_IOPAD(0x89c, PIN_OUTPUT | MUX_MODE0)             /* gpmc_be0n_cle.gpmc_be0n_cle */
243                 >;
244         };
246         ecap0_pins: backlight_pins {
247                 pinctrl-single,pins = <
248                         AM33XX_IOPAD(0x964, MUX_MODE0)  /* eCAP0_in_PWM0_out.eCAP0_in_PWM0_out */
249                 >;
250         };
252         cpsw_default: cpsw_default {
253                 pinctrl-single,pins = <
254                         /* Slave 1 */
255                         AM33XX_IOPAD(0x914, PIN_OUTPUT_PULLDOWN | MUX_MODE2)    /* mii1_txen.rgmii1_tctl */
256                         AM33XX_IOPAD(0x918, PIN_INPUT_PULLDOWN | MUX_MODE2)     /* mii1_rxdv.rgmii1_rctl */
257                         AM33XX_IOPAD(0x91c, PIN_OUTPUT_PULLDOWN | MUX_MODE2)    /* mii1_txd3.rgmii1_td3 */
258                         AM33XX_IOPAD(0x920, PIN_OUTPUT_PULLDOWN | MUX_MODE2)    /* mii1_txd2.rgmii1_td2 */
259                         AM33XX_IOPAD(0x924, PIN_OUTPUT_PULLDOWN | MUX_MODE2)    /* mii1_txd1.rgmii1_td1 */
260                         AM33XX_IOPAD(0x928, PIN_OUTPUT_PULLDOWN | MUX_MODE2)    /* mii1_txd0.rgmii1_td0 */
261                         AM33XX_IOPAD(0x92c, PIN_OUTPUT_PULLDOWN | MUX_MODE2)    /* mii1_txclk.rgmii1_tclk */
262                         AM33XX_IOPAD(0x930, PIN_INPUT_PULLDOWN | MUX_MODE2)     /* mii1_rxclk.rgmii1_rclk */
263                         AM33XX_IOPAD(0x934, PIN_INPUT_PULLDOWN | MUX_MODE2)     /* mii1_rxd3.rgmii1_rd3 */
264                         AM33XX_IOPAD(0x938, PIN_INPUT_PULLDOWN | MUX_MODE2)     /* mii1_rxd2.rgmii1_rd2 */
265                         AM33XX_IOPAD(0x93c, PIN_INPUT_PULLDOWN | MUX_MODE2)     /* mii1_rxd1.rgmii1_rd1 */
266                         AM33XX_IOPAD(0x940, PIN_INPUT_PULLDOWN | MUX_MODE2)     /* mii1_rxd0.rgmii1_rd0 */
267                 >;
268         };
270         cpsw_sleep: cpsw_sleep {
271                 pinctrl-single,pins = <
272                         /* Slave 1 reset value */
273                         AM33XX_IOPAD(0x914, PIN_INPUT_PULLDOWN | MUX_MODE7)
274                         AM33XX_IOPAD(0x918, PIN_INPUT_PULLDOWN | MUX_MODE7)
275                         AM33XX_IOPAD(0x91c, PIN_INPUT_PULLDOWN | MUX_MODE7)
276                         AM33XX_IOPAD(0x920, PIN_INPUT_PULLDOWN | MUX_MODE7)
277                         AM33XX_IOPAD(0x924, PIN_INPUT_PULLDOWN | MUX_MODE7)
278                         AM33XX_IOPAD(0x928, PIN_INPUT_PULLDOWN | MUX_MODE7)
279                         AM33XX_IOPAD(0x92c, PIN_INPUT_PULLDOWN | MUX_MODE7)
280                         AM33XX_IOPAD(0x930, PIN_INPUT_PULLDOWN | MUX_MODE7)
281                         AM33XX_IOPAD(0x934, PIN_INPUT_PULLDOWN | MUX_MODE7)
282                         AM33XX_IOPAD(0x938, PIN_INPUT_PULLDOWN | MUX_MODE7)
283                         AM33XX_IOPAD(0x93c, PIN_INPUT_PULLDOWN | MUX_MODE7)
284                         AM33XX_IOPAD(0x940, PIN_INPUT_PULLDOWN | MUX_MODE7)
285                 >;
286         };
288         davinci_mdio_default: davinci_mdio_default {
289                 pinctrl-single,pins = <
290                         /* MDIO */
291                         AM33XX_IOPAD(0x948, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0)       /* mdio_data.mdio_data */
292                         AM33XX_IOPAD(0x94c, PIN_OUTPUT_PULLUP | MUX_MODE0)                      /* mdio_clk.mdio_clk */
293                 >;
294         };
296         davinci_mdio_sleep: davinci_mdio_sleep {
297                 pinctrl-single,pins = <
298                         /* MDIO reset value */
299                         AM33XX_IOPAD(0x948, PIN_INPUT_PULLDOWN | MUX_MODE7)
300                         AM33XX_IOPAD(0x94c, PIN_INPUT_PULLDOWN | MUX_MODE7)
301                 >;
302         };
304         mmc1_pins: pinmux_mmc1_pins {
305                 pinctrl-single,pins = <
306                         AM33XX_IOPAD(0x960, PIN_INPUT | MUX_MODE7) /* spi0_cs1.gpio0_6 */
307                 >;
308         };
310         mmc3_pins: pinmux_mmc3_pins {
311                 pinctrl-single,pins = <
312                         AM33XX_IOPAD(0x844, PIN_INPUT_PULLUP | MUX_MODE3)       /* gpmc_a1.mmc2_dat0, INPUT_PULLUP | MODE3 */
313                         AM33XX_IOPAD(0x848, PIN_INPUT_PULLUP | MUX_MODE3)       /* gpmc_a2.mmc2_dat1, INPUT_PULLUP | MODE3 */
314                         AM33XX_IOPAD(0x84c, PIN_INPUT_PULLUP | MUX_MODE3)       /* gpmc_a3.mmc2_dat2, INPUT_PULLUP | MODE3 */
315                         AM33XX_IOPAD(0x878, PIN_INPUT_PULLUP | MUX_MODE3)       /* gpmc_ben1.mmc2_dat3, INPUT_PULLUP | MODE3 */
316                         AM33XX_IOPAD(0x888, PIN_INPUT_PULLUP | MUX_MODE3)       /* gpmc_csn3.mmc2_cmd, INPUT_PULLUP | MODE3 */
317                         AM33XX_IOPAD(0x88c, PIN_INPUT_PULLUP | MUX_MODE3)       /* gpmc_clk.mmc2_clk, INPUT_PULLUP | MODE3 */
318                 >;
319         };
321         wlan_pins: pinmux_wlan_pins {
322                 pinctrl-single,pins = <
323                         AM33XX_IOPAD(0x840, PIN_OUTPUT_PULLDOWN | MUX_MODE7)    /* gpmc_a0.gpio1_16 */
324                         AM33XX_IOPAD(0x99c, PIN_INPUT | MUX_MODE7)              /* mcasp0_ahclkr.gpio3_17 */
325                         AM33XX_IOPAD(0x9ac, PIN_OUTPUT_PULLDOWN | MUX_MODE7)    /* mcasp0_ahclkx.gpio3_21 */
326                 >;
327         };
329         lcd_pins_s0: lcd_pins_s0 {
330                 pinctrl-single,pins = <
331                         AM33XX_IOPAD(0x820, PIN_OUTPUT | MUX_MODE1)             /* gpmc_ad8.lcd_data23 */
332                         AM33XX_IOPAD(0x824, PIN_OUTPUT | MUX_MODE1)             /* gpmc_ad9.lcd_data22 */
333                         AM33XX_IOPAD(0x828, PIN_OUTPUT | MUX_MODE1)             /* gpmc_ad10.lcd_data21 */
334                         AM33XX_IOPAD(0x82c, PIN_OUTPUT | MUX_MODE1)             /* gpmc_ad11.lcd_data20 */
335                         AM33XX_IOPAD(0x830, PIN_OUTPUT | MUX_MODE1)             /* gpmc_ad12.lcd_data19 */
336                         AM33XX_IOPAD(0x834, PIN_OUTPUT | MUX_MODE1)             /* gpmc_ad13.lcd_data18 */
337                         AM33XX_IOPAD(0x838, PIN_OUTPUT | MUX_MODE1)             /* gpmc_ad14.lcd_data17 */
338                         AM33XX_IOPAD(0x83c, PIN_OUTPUT | MUX_MODE1)             /* gpmc_ad15.lcd_data16 */
339                         AM33XX_IOPAD(0x8a0, PIN_OUTPUT | MUX_MODE0)             /* lcd_data0.lcd_data0 */
340                         AM33XX_IOPAD(0x8a4, PIN_OUTPUT | MUX_MODE0)             /* lcd_data1.lcd_data1 */
341                         AM33XX_IOPAD(0x8a8, PIN_OUTPUT | MUX_MODE0)             /* lcd_data2.lcd_data2 */
342                         AM33XX_IOPAD(0x8ac, PIN_OUTPUT | MUX_MODE0)             /* lcd_data3.lcd_data3 */
343                         AM33XX_IOPAD(0x8b0, PIN_OUTPUT | MUX_MODE0)             /* lcd_data4.lcd_data4 */
344                         AM33XX_IOPAD(0x8b4, PIN_OUTPUT | MUX_MODE0)             /* lcd_data5.lcd_data5 */
345                         AM33XX_IOPAD(0x8b8, PIN_OUTPUT | MUX_MODE0)             /* lcd_data6.lcd_data6 */
346                         AM33XX_IOPAD(0x8bc, PIN_OUTPUT | MUX_MODE0)             /* lcd_data7.lcd_data7 */
347                         AM33XX_IOPAD(0x8c0, PIN_OUTPUT | MUX_MODE0)             /* lcd_data8.lcd_data8 */
348                         AM33XX_IOPAD(0x8c4, PIN_OUTPUT | MUX_MODE0)             /* lcd_data9.lcd_data9 */
349                         AM33XX_IOPAD(0x8c8, PIN_OUTPUT | MUX_MODE0)             /* lcd_data10.lcd_data10 */
350                         AM33XX_IOPAD(0x8cc, PIN_OUTPUT | MUX_MODE0)             /* lcd_data11.lcd_data11 */
351                         AM33XX_IOPAD(0x8d0, PIN_OUTPUT | MUX_MODE0)             /* lcd_data12.lcd_data12 */
352                         AM33XX_IOPAD(0x8d4, PIN_OUTPUT | MUX_MODE0)             /* lcd_data13.lcd_data13 */
353                         AM33XX_IOPAD(0x8d8, PIN_OUTPUT | MUX_MODE0)             /* lcd_data14.lcd_data14 */
354                         AM33XX_IOPAD(0x8dc, PIN_OUTPUT | MUX_MODE0)             /* lcd_data15.lcd_data15 */
355                         AM33XX_IOPAD(0x8e0, PIN_OUTPUT | MUX_MODE0)             /* lcd_vsync.lcd_vsync */
356                         AM33XX_IOPAD(0x8e4, PIN_OUTPUT | MUX_MODE0)             /* lcd_hsync.lcd_hsync */
357                         AM33XX_IOPAD(0x8e8, PIN_OUTPUT | MUX_MODE0)             /* lcd_pclk.lcd_pclk */
358                         AM33XX_IOPAD(0x8ec, PIN_OUTPUT | MUX_MODE0)             /* lcd_ac_bias_en.lcd_ac_bias_en */
359                 >;
360         };
362         mcasp1_pins: mcasp1_pins {
363                 pinctrl-single,pins = <
364                         AM33XX_IOPAD(0x90c, PIN_INPUT_PULLDOWN | MUX_MODE4) /* mii1_crs.mcasp1_aclkx */
365                         AM33XX_IOPAD(0x910, PIN_INPUT_PULLDOWN | MUX_MODE4) /* mii1_rxerr.mcasp1_fsx */
366                         AM33XX_IOPAD(0x908, PIN_OUTPUT_PULLDOWN | MUX_MODE4) /* mii1_col.mcasp1_axr2 */
367                         AM33XX_IOPAD(0x944, PIN_INPUT_PULLDOWN | MUX_MODE4) /* rmii1_ref_clk.mcasp1_axr3 */
368                 >;
369         };
371         mcasp1_pins_sleep: mcasp1_pins_sleep {
372                 pinctrl-single,pins = <
373                         AM33XX_IOPAD(0x90c, PIN_INPUT_PULLDOWN | MUX_MODE7)
374                         AM33XX_IOPAD(0x910, PIN_INPUT_PULLDOWN | MUX_MODE7)
375                         AM33XX_IOPAD(0x908, PIN_INPUT_PULLDOWN | MUX_MODE7)
376                         AM33XX_IOPAD(0x944, PIN_INPUT_PULLDOWN | MUX_MODE7)
377                 >;
378         };
380         dcan1_pins_default: dcan1_pins_default {
381                 pinctrl-single,pins = <
382                         AM33XX_IOPAD(0x968, PIN_OUTPUT | MUX_MODE2) /* uart0_ctsn.d_can1_tx */
383                         AM33XX_IOPAD(0x96c, PIN_INPUT_PULLDOWN | MUX_MODE2) /* uart0_rtsn.d_can1_rx */
384                 >;
385         };
388 &uart0 {
389         pinctrl-names = "default";
390         pinctrl-0 = <&uart0_pins>;
392         status = "okay";
395 &uart1 {
396         pinctrl-names = "default";
397         pinctrl-0 = <&uart1_pins>;
399         status = "okay";
402 &i2c0 {
403         pinctrl-names = "default";
404         pinctrl-0 = <&i2c0_pins>;
406         status = "okay";
407         clock-frequency = <400000>;
409         tps: tps@2d {
410                 reg = <0x2d>;
411         };
414 &usb {
415         status = "okay";
418 &usb_ctrl_mod {
419         status = "okay";
422 &usb0_phy {
423         status = "okay";
426 &usb1_phy {
427         status = "okay";
430 &usb0 {
431         status = "okay";
434 &usb1 {
435         status = "okay";
436         dr_mode = "host";
439 &cppi41dma  {
440         status = "okay";
443 &i2c1 {
444         pinctrl-names = "default";
445         pinctrl-0 = <&i2c1_pins>;
447         status = "okay";
448         clock-frequency = <100000>;
450         lis331dlh: lis331dlh@18 {
451                 compatible = "st,lis331dlh", "st,lis3lv02d";
452                 reg = <0x18>;
453                 Vdd-supply = <&lis3_reg>;
454                 Vdd_IO-supply = <&lis3_reg>;
456                 st,click-single-x;
457                 st,click-single-y;
458                 st,click-single-z;
459                 st,click-thresh-x = <10>;
460                 st,click-thresh-y = <10>;
461                 st,click-thresh-z = <10>;
462                 st,irq1-click;
463                 st,irq2-click;
464                 st,wakeup-x-lo;
465                 st,wakeup-x-hi;
466                 st,wakeup-y-lo;
467                 st,wakeup-y-hi;
468                 st,wakeup-z-lo;
469                 st,wakeup-z-hi;
470                 st,min-limit-x = <120>;
471                 st,min-limit-y = <120>;
472                 st,min-limit-z = <140>;
473                 st,max-limit-x = <550>;
474                 st,max-limit-y = <550>;
475                 st,max-limit-z = <750>;
476         };
478         tsl2550: tsl2550@39 {
479                 compatible = "taos,tsl2550";
480                 reg = <0x39>;
481         };
483         tmp275: tmp275@48 {
484                 compatible = "ti,tmp275";
485                 reg = <0x48>;
486         };
488         tlv320aic3106: tlv320aic3106@1b {
489                 #sound-dai-cells = <0>;
490                 compatible = "ti,tlv320aic3106";
491                 reg = <0x1b>;
492                 status = "okay";
494                 /* Regulators */
495                 AVDD-supply = <&vaux2_reg>;
496                 IOVDD-supply = <&vaux2_reg>;
497                 DRVDD-supply = <&vaux2_reg>;
498                 DVDD-supply = <&vbat>;
499         };
502 &lcdc {
503         status = "okay";
505         blue-and-red-wiring = "crossed";
508 &elm {
509         status = "okay";
512 &epwmss0 {
513         status = "okay";
515         ecap0: ecap@48300100 {
516                 status = "okay";
517                 pinctrl-names = "default";
518                 pinctrl-0 = <&ecap0_pins>;
519         };
522 &gpmc {
523         status = "okay";
524         pinctrl-names = "default";
525         pinctrl-0 = <&nandflash_pins_s0>;
526         ranges = <0 0 0x08000000 0x1000000>;    /* CS0: 16MB for NAND */
527         nand@0,0 {
528                 compatible = "ti,omap2-nand";
529                 reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
530                 interrupt-parent = <&gpmc>;
531                 interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
532                              <1 IRQ_TYPE_NONE>; /* termcount */
533                 rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */
534                 ti,nand-ecc-opt = "bch8";
535                 ti,elm-id = <&elm>;
536                 nand-bus-width = <8>;
537                 gpmc,device-width = <1>;
538                 gpmc,sync-clk-ps = <0>;
539                 gpmc,cs-on-ns = <0>;
540                 gpmc,cs-rd-off-ns = <44>;
541                 gpmc,cs-wr-off-ns = <44>;
542                 gpmc,adv-on-ns = <6>;
543                 gpmc,adv-rd-off-ns = <34>;
544                 gpmc,adv-wr-off-ns = <44>;
545                 gpmc,we-on-ns = <0>;
546                 gpmc,we-off-ns = <40>;
547                 gpmc,oe-on-ns = <0>;
548                 gpmc,oe-off-ns = <54>;
549                 gpmc,access-ns = <64>;
550                 gpmc,rd-cycle-ns = <82>;
551                 gpmc,wr-cycle-ns = <82>;
552                 gpmc,bus-turnaround-ns = <0>;
553                 gpmc,cycle2cycle-delay-ns = <0>;
554                 gpmc,clk-activation-ns = <0>;
555                 gpmc,wr-access-ns = <40>;
556                 gpmc,wr-data-mux-bus-ns = <0>;
557                 /* MTD partition table */
558                 /* All SPL-* partitions are sized to minimal length
559                  * which can be independently programmable. For
560                  * NAND flash this is equal to size of erase-block */
561                 #address-cells = <1>;
562                 #size-cells = <1>;
563                 partition@0 {
564                         label = "NAND.SPL";
565                         reg = <0x00000000 0x000020000>;
566                 };
567                 partition@1 {
568                         label = "NAND.SPL.backup1";
569                         reg = <0x00020000 0x00020000>;
570                 };
571                 partition@2 {
572                         label = "NAND.SPL.backup2";
573                         reg = <0x00040000 0x00020000>;
574                 };
575                 partition@3 {
576                         label = "NAND.SPL.backup3";
577                         reg = <0x00060000 0x00020000>;
578                 };
579                 partition@4 {
580                         label = "NAND.u-boot-spl-os";
581                         reg = <0x00080000 0x00040000>;
582                 };
583                 partition@5 {
584                         label = "NAND.u-boot";
585                         reg = <0x000C0000 0x00100000>;
586                 };
587                 partition@6 {
588                         label = "NAND.u-boot-env";
589                         reg = <0x001C0000 0x00020000>;
590                 };
591                 partition@7 {
592                         label = "NAND.u-boot-env.backup1";
593                         reg = <0x001E0000 0x00020000>;
594                 };
595                 partition@8 {
596                         label = "NAND.kernel";
597                         reg = <0x00200000 0x00800000>;
598                 };
599                 partition@9 {
600                         label = "NAND.file-system";
601                         reg = <0x00A00000 0x0F600000>;
602                 };
603         };
606 #include "tps65910.dtsi"
608 &mcasp1 {
609         #sound-dai-cells = <0>;
610         pinctrl-names = "default", "sleep";
611         pinctrl-0 = <&mcasp1_pins>;
612         pinctrl-1 = <&mcasp1_pins_sleep>;
614         status = "okay";
616         op-mode = <0>;          /* MCASP_IIS_MODE */
617         tdm-slots = <2>;
618         /* 4 serializers */
619         serial-dir = <  /* 0: INACTIVE, 1: TX, 2: RX */
620                 0 0 1 2
621         >;
622         tx-num-evt = <32>;
623         rx-num-evt = <32>;
626 &tps {
627         vcc1-supply = <&vbat>;
628         vcc2-supply = <&vbat>;
629         vcc3-supply = <&vbat>;
630         vcc4-supply = <&vbat>;
631         vcc5-supply = <&vbat>;
632         vcc6-supply = <&vbat>;
633         vcc7-supply = <&vbat>;
634         vccio-supply = <&vbat>;
636         regulators {
637                 vrtc_reg: regulator@0 {
638                         regulator-always-on;
639                 };
641                 vio_reg: regulator@1 {
642                         regulator-always-on;
643                 };
645                 vdd1_reg: regulator@2 {
646                         /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
647                         regulator-name = "vdd_mpu";
648                         regulator-min-microvolt = <912500>;
649                         regulator-max-microvolt = <1351500>;
650                         regulator-boot-on;
651                         regulator-always-on;
652                 };
654                 vdd2_reg: regulator@3 {
655                         /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
656                         regulator-name = "vdd_core";
657                         regulator-min-microvolt = <912500>;
658                         regulator-max-microvolt = <1150000>;
659                         regulator-boot-on;
660                         regulator-always-on;
661                 };
663                 vdd3_reg: regulator@4 {
664                         regulator-always-on;
665                 };
667                 vdig1_reg: regulator@5 {
668                         regulator-always-on;
669                 };
671                 vdig2_reg: regulator@6 {
672                         regulator-always-on;
673                 };
675                 vpll_reg: regulator@7 {
676                         regulator-always-on;
677                 };
679                 vdac_reg: regulator@8 {
680                         regulator-always-on;
681                 };
683                 vaux1_reg: regulator@9 {
684                         regulator-always-on;
685                 };
687                 vaux2_reg: regulator@10 {
688                         regulator-always-on;
689                 };
691                 vaux33_reg: regulator@11 {
692                         regulator-always-on;
693                 };
695                 vmmc_reg: regulator@12 {
696                         regulator-min-microvolt = <1800000>;
697                         regulator-max-microvolt = <3300000>;
698                         regulator-always-on;
699                 };
700         };
703 &mac {
704         pinctrl-names = "default", "sleep";
705         pinctrl-0 = <&cpsw_default>;
706         pinctrl-1 = <&cpsw_sleep>;
707         status = "okay";
710 &davinci_mdio {
711         pinctrl-names = "default", "sleep";
712         pinctrl-0 = <&davinci_mdio_default>;
713         pinctrl-1 = <&davinci_mdio_sleep>;
714         status = "okay";
717 &cpsw_emac0 {
718         phy_id = <&davinci_mdio>, <0>;
719         phy-mode = "rgmii-txid";
722 &cpsw_emac1 {
723         phy_id = <&davinci_mdio>, <1>;
724         phy-mode = "rgmii-txid";
727 &tscadc {
728         status = "okay";
729         tsc {
730                 ti,wires = <4>;
731                 ti,x-plate-resistance = <200>;
732                 ti,coordinate-readouts = <5>;
733                 ti,wire-config = <0x00 0x11 0x22 0x33>;
734                 ti,charge-delay = <0x400>;
735         };
737         adc {
738                 ti,adc-channels = <4 5 6 7>;
739         };
742 &mmc1 {
743         status = "okay";
744         vmmc-supply = <&vmmc_reg>;
745         bus-width = <4>;
746         pinctrl-names = "default";
747         pinctrl-0 = <&mmc1_pins>;
748         cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
751 &mmc3 {
752         /* these are on the crossbar and are outlined in the
753            xbar-event-map element */
754         dmas = <&edma_xbar 12 0 1
755                 &edma_xbar 13 0 2>;
756         dma-names = "tx", "rx";
757         status = "okay";
758         vmmc-supply = <&wlan_en_reg>;
759         bus-width = <4>;
760         pinctrl-names = "default";
761         pinctrl-0 = <&mmc3_pins &wlan_pins>;
762         ti,non-removable;
763         ti,needs-special-hs-handling;
764         cap-power-off-card;
765         keep-power-in-suspend;
767         #address-cells = <1>;
768         #size-cells = <0>;
769         wlcore: wlcore@0 {
770                 compatible = "ti,wl1835";
771                 reg = <2>;
772                 interrupt-parent = <&gpio3>;
773                 interrupts = <17 IRQ_TYPE_LEVEL_HIGH>;
774         };
777 &sham {
778         status = "okay";
781 &aes {
782         status = "okay";
785 &dcan1 {
786         status = "disabled";    /* Enable only if Profile 1 is selected */
787         pinctrl-names = "default";
788         pinctrl-0 = <&dcan1_pins_default>;
791 &rtc {
792         clocks = <&clk_32768_ck>, <&clkdiv32k_ick>;
793         clock-names = "ext-clk", "int-clk";