Merge tag 'armsoc-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
[linux-2.6-microblaze.git] / arch / arm / boot / dts / am335x-cm-t335.dts
1 /*
2  * am335x-cm-t335.dts - Device Tree file for Compulab CM-T335
3  *
4  * Copyright (C) 2014 - 2015 CompuLab Ltd. - http://www.compulab.co.il/
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License version 2 as
8  * published by the Free Software Foundation.
9  */
10
11 /dts-v1/;
12
13 #include "am33xx.dtsi"
14 #include <dt-bindings/interrupt-controller/irq.h>
15
16 / {
17         model = "CompuLab CM-T335";
18         compatible = "compulab,cm-t335", "ti,am33xx";
19
20         memory@80000000 {
21                 device_type = "memory";
22                 reg = <0x80000000 0x8000000>;   /* 128 MB */
23         };
24
25         leds {
26                 compatible = "gpio-leds";
27                 pinctrl-names = "default";
28                 pinctrl-0 = <&gpio_led_pins>;
29                 led0 {
30                         label = "cm_t335:green";
31                         gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;     /* gpio2_0 */
32                         linux,default-trigger = "heartbeat";
33                 };
34         };
35
36         /* regulator for mmc */
37         vmmc_fixed: fixedregulator0 {
38                 compatible = "regulator-fixed";
39                 regulator-name = "vmmc_fixed";
40                 regulator-min-microvolt = <3300000>;
41                 regulator-max-microvolt = <3300000>;
42         };
43
44         /* Regulator for WiFi */
45         vwlan_fixed: fixedregulator2 {
46                 compatible = "regulator-fixed";
47                 regulator-name = "vwlan_fixed";
48                 gpio = <&gpio0 20 GPIO_ACTIVE_HIGH>; /* gpio0_20 */
49                 enable-active-high;
50                 regulator-boot-off;
51         };
52
53         backlight {
54                 compatible = "pwm-backlight";
55                 pwms = <&ecap0 0 50000 0>;
56                 brightness-levels = <0 51 53 56 62 75 101 152 255>;
57                 default-brightness-level = <8>;
58         };
59
60         sound {
61                 compatible = "simple-audio-card";
62                 simple-audio-card,name = "cm-t335";
63
64                 simple-audio-card,widgets =
65                         "Microphone", "Mic Jack",
66                         "Line", "Line In",
67                         "Headphone", "Headphone Jack";
68
69                 simple-audio-card,routing =
70                         "Headphone Jack", "LHPOUT",
71                         "Headphone Jack", "RHPOUT",
72                         "LLINEIN", "Line In",
73                         "RLINEIN", "Line In",
74                         "MICIN", "Mic Jack";
75
76                 simple-audio-card,format = "i2s";
77                 simple-audio-card,bitclock-master = <&sound_master>;
78                 simple-audio-card,frame-master = <&sound_master>;
79
80                 simple-audio-card,cpu {
81                         sound-dai = <&mcasp1>;
82                 };
83
84                 sound_master: simple-audio-card,codec {
85                         sound-dai = <&tlv320aic23>;
86                         system-clock-frequency = <12000000>;
87                 };
88         };
89 };
90
91 &am33xx_pinmux {
92         pinctrl-names = "default";
93         pinctrl-0 = <&bluetooth_pins>;
94
95         i2c0_pins: pinmux_i2c0_pins {
96                 pinctrl-single,pins = <
97                         AM33XX_PADCONF(AM335X_PIN_I2C0_SDA, PIN_INPUT_PULLUP, MUX_MODE0)
98                         AM33XX_PADCONF(AM335X_PIN_I2C0_SCL, PIN_INPUT_PULLUP, MUX_MODE0)
99                 >;
100         };
101
102         i2c1_pins: pinmux_i2c1_pins {
103                 pinctrl-single,pins = <
104                         /* uart0_ctsn.i2c1_sda */
105                         AM33XX_PADCONF(AM335X_PIN_UART0_CTSN, PIN_INPUT_PULLUP, MUX_MODE2)
106                         /* uart0_rtsn.i2c1_scl */
107                         AM33XX_PADCONF(AM335X_PIN_UART0_RTSN, PIN_INPUT_PULLUP, MUX_MODE2)
108                 >;
109         };
110
111         gpio_led_pins: pinmux_gpio_led_pins {
112                 pinctrl-single,pins = <
113                         /* gpmc_csn3.gpio2_0 */
114                         AM33XX_PADCONF(AM335X_PIN_GPMC_CSN3, PIN_OUTPUT, MUX_MODE7)
115                 >;
116         };
117
118         nandflash_pins: pinmux_nandflash_pins {
119                 pinctrl-single,pins = <
120                         AM33XX_PADCONF(AM335X_PIN_GPMC_AD0, PIN_INPUT_PULLUP, MUX_MODE0)
121                         AM33XX_PADCONF(AM335X_PIN_GPMC_AD1, PIN_INPUT_PULLUP, MUX_MODE0)
122                         AM33XX_PADCONF(AM335X_PIN_GPMC_AD2, PIN_INPUT_PULLUP, MUX_MODE0)
123                         AM33XX_PADCONF(AM335X_PIN_GPMC_AD3, PIN_INPUT_PULLUP, MUX_MODE0)
124                         AM33XX_PADCONF(AM335X_PIN_GPMC_AD4, PIN_INPUT_PULLUP, MUX_MODE0)
125                         AM33XX_PADCONF(AM335X_PIN_GPMC_AD5, PIN_INPUT_PULLUP, MUX_MODE0)
126                         AM33XX_PADCONF(AM335X_PIN_GPMC_AD6, PIN_INPUT_PULLUP, MUX_MODE0)
127                         AM33XX_PADCONF(AM335X_PIN_GPMC_AD7, PIN_INPUT_PULLUP, MUX_MODE0)
128                         AM33XX_PADCONF(AM335X_PIN_GPMC_WAIT0, PIN_INPUT_PULLUP, MUX_MODE0)
129                         /* gpmc_wpn.gpio0_30 */
130                         AM33XX_PADCONF(AM335X_PIN_GPMC_WPN, PIN_INPUT_PULLUP, MUX_MODE7)
131                         AM33XX_PADCONF(AM335X_PIN_GPMC_CSN0, PIN_OUTPUT, MUX_MODE0)
132                         AM33XX_PADCONF(AM335X_PIN_GPMC_ADVN_ALE, PIN_OUTPUT, MUX_MODE0)
133                         AM33XX_PADCONF(AM335X_PIN_GPMC_OEN_REN, PIN_OUTPUT, MUX_MODE0)
134                         AM33XX_PADCONF(AM335X_PIN_GPMC_WEN, PIN_OUTPUT, MUX_MODE0)
135                         AM33XX_PADCONF(AM335X_PIN_GPMC_BEN0_CLE, PIN_OUTPUT, MUX_MODE0)
136                 >;
137         };
138
139         uart0_pins: pinmux_uart0_pins {
140                 pinctrl-single,pins = <
141                         AM33XX_PADCONF(AM335X_PIN_UART0_RXD, PIN_INPUT_PULLUP, MUX_MODE0)
142                         AM33XX_PADCONF(AM335X_PIN_UART0_TXD, PIN_OUTPUT_PULLDOWN, MUX_MODE0)
143                 >;
144         };
145
146         uart1_pins: pinmux_uart1_pins {
147                 pinctrl-single,pins = <
148                         AM33XX_PADCONF(AM335X_PIN_UART1_CTSN, PIN_INPUT, MUX_MODE0)
149                         AM33XX_PADCONF(AM335X_PIN_UART1_RTSN, PIN_OUTPUT_PULLDOWN, MUX_MODE0)
150                         AM33XX_PADCONF(AM335X_PIN_UART1_RXD, PIN_INPUT_PULLUP, MUX_MODE0)
151                         AM33XX_PADCONF(AM335X_PIN_UART1_TXD, PIN_OUTPUT_PULLDOWN, MUX_MODE0)
152                 >;
153         };
154
155         dcan0_pins: pinmux_dcan0_pins {
156                 pinctrl-single,pins = <
157                         /* uart1_ctsn.dcan0_tx */
158                         AM33XX_PADCONF(AM335X_PIN_UART1_CTSN, PIN_OUTPUT, MUX_MODE2)
159                         /* uart1_rtsn.dcan0_rx */
160                         AM33XX_PADCONF(AM335X_PIN_UART1_RTSN, PIN_INPUT, MUX_MODE2)
161                 >;
162         };
163
164         dcan1_pins: pinmux_dcan1_pins {
165                 pinctrl-single,pins = <
166                         /* uart1_rxd.dcan1_tx */
167                         AM33XX_PADCONF(AM335X_PIN_UART1_RXD, PIN_OUTPUT, MUX_MODE2)
168                         /* uart1_txd.dcan1_rx */
169                         AM33XX_PADCONF(AM335X_PIN_UART1_TXD, PIN_INPUT, MUX_MODE2)
170                 >;
171         };
172
173         ecap0_pins: pinmux_ecap0_pins {
174                 pinctrl-single,pins = <
175                         AM33XX_PADCONF(AM335X_PIN_ECAP0_IN_PWM0_OUT, 0x0, MUX_MODE0)
176                 >;
177         };
178
179         cpsw_default: cpsw_default {
180                 pinctrl-single,pins = <
181                         /* Slave 1 */
182                         /* mii1_tx_en.rgmii1_tctl */
183                         AM33XX_PADCONF(AM335X_PIN_MII1_TX_EN, PIN_OUTPUT_PULLDOWN, MUX_MODE2)
184                         /* mii1_rxdv.rgmii1_rctl */
185                         AM33XX_PADCONF(AM335X_PIN_MII1_RX_DV, PIN_INPUT_PULLDOWN, MUX_MODE2)
186                         /* mii1_txd3.rgmii1_td3 */
187                         AM33XX_PADCONF(AM335X_PIN_MII1_TXD3, PIN_OUTPUT_PULLDOWN, MUX_MODE2)
188                         /* mii1_txd2.rgmii1_td2 */
189                         AM33XX_PADCONF(AM335X_PIN_MII1_TXD2, PIN_OUTPUT_PULLDOWN, MUX_MODE2)
190                         /* mii1_txd1.rgmii1_td1 */
191                         AM33XX_PADCONF(AM335X_PIN_MII1_TXD1, PIN_OUTPUT_PULLDOWN, MUX_MODE2)
192                         /* mii1_txd0.rgmii1_td0 */
193                         AM33XX_PADCONF(AM335X_PIN_MII1_TXD0, PIN_OUTPUT_PULLDOWN, MUX_MODE2)
194                         /* mii1_txclk.rgmii1_tclk */
195                         AM33XX_PADCONF(AM335X_PIN_MII1_TX_CLK, PIN_OUTPUT_PULLDOWN, MUX_MODE2)
196                         /* mii1_rxclk.rgmii1_rclk */
197                         AM33XX_PADCONF(AM335X_PIN_MII1_RX_CLK, PIN_INPUT_PULLDOWN, MUX_MODE2)
198                         /* mii1_rxd3.rgmii1_rd3 */
199                         AM33XX_PADCONF(AM335X_PIN_MII1_RXD3, PIN_INPUT_PULLDOWN, MUX_MODE2)
200                         /* mii1_rxd2.rgmii1_rd2 */
201                         AM33XX_PADCONF(AM335X_PIN_MII1_RXD2, PIN_INPUT_PULLDOWN, MUX_MODE2)
202                         /* mii1_rxd1.rgmii1_rd1 */
203                         AM33XX_PADCONF(AM335X_PIN_MII1_RXD1, PIN_INPUT_PULLDOWN, MUX_MODE2)
204                         /* mii1_rxd0.rgmii1_rd0 */
205                         AM33XX_PADCONF(AM335X_PIN_MII1_RXD0, PIN_INPUT_PULLDOWN, MUX_MODE2)
206                 >;
207         };
208
209         cpsw_sleep: cpsw_sleep {
210                 pinctrl-single,pins = <
211                         /* Slave 1 reset value */
212                         AM33XX_PADCONF(AM335X_PIN_MII1_TX_EN, PIN_INPUT_PULLDOWN, MUX_MODE7)
213                         AM33XX_PADCONF(AM335X_PIN_MII1_RX_DV, PIN_INPUT_PULLDOWN, MUX_MODE7)
214                         AM33XX_PADCONF(AM335X_PIN_MII1_TXD3, PIN_INPUT_PULLDOWN, MUX_MODE7)
215                         AM33XX_PADCONF(AM335X_PIN_MII1_TXD2, PIN_INPUT_PULLDOWN, MUX_MODE7)
216                         AM33XX_PADCONF(AM335X_PIN_MII1_TXD1, PIN_INPUT_PULLDOWN, MUX_MODE7)
217                         AM33XX_PADCONF(AM335X_PIN_MII1_TXD0, PIN_INPUT_PULLDOWN, MUX_MODE7)
218                         AM33XX_PADCONF(AM335X_PIN_MII1_TX_CLK, PIN_INPUT_PULLDOWN, MUX_MODE7)
219                         AM33XX_PADCONF(AM335X_PIN_MII1_RX_CLK, PIN_INPUT_PULLDOWN, MUX_MODE7)
220                         AM33XX_PADCONF(AM335X_PIN_MII1_RXD3, PIN_INPUT_PULLDOWN, MUX_MODE7)
221                         AM33XX_PADCONF(AM335X_PIN_MII1_RXD2, PIN_INPUT_PULLDOWN, MUX_MODE7)
222                         AM33XX_PADCONF(AM335X_PIN_MII1_RXD1, PIN_INPUT_PULLDOWN, MUX_MODE7)
223                         AM33XX_PADCONF(AM335X_PIN_MII1_RXD0, PIN_INPUT_PULLDOWN, MUX_MODE7)
224                 >;
225         };
226
227         davinci_mdio_default: davinci_mdio_default {
228                 pinctrl-single,pins = <
229                         AM33XX_PADCONF(AM335X_PIN_MDIO, PIN_INPUT_PULLUP | SLEWCTRL_FAST, MUX_MODE0)
230                         AM33XX_PADCONF(AM335X_PIN_MDC, PIN_OUTPUT_PULLUP, MUX_MODE0)
231                 >;
232         };
233
234         davinci_mdio_sleep: davinci_mdio_sleep {
235                 pinctrl-single,pins = <
236                         /* MDIO reset value */
237                         AM33XX_PADCONF(AM335X_PIN_MDIO, PIN_INPUT_PULLDOWN, MUX_MODE7)
238                         AM33XX_PADCONF(AM335X_PIN_MDC, PIN_INPUT_PULLDOWN, MUX_MODE7)
239                 >;
240         };
241
242         mmc1_pins: pinmux_mmc1_pins {
243                 pinctrl-single,pins = <
244                         AM33XX_PADCONF(AM335X_PIN_MMC0_DAT3, PIN_INPUT_PULLUP, MUX_MODE0)
245                         AM33XX_PADCONF(AM335X_PIN_MMC0_DAT2, PIN_INPUT_PULLUP, MUX_MODE0)
246                         AM33XX_PADCONF(AM335X_PIN_MMC0_DAT1, PIN_INPUT_PULLUP, MUX_MODE0)
247                         AM33XX_PADCONF(AM335X_PIN_MMC0_DAT0, PIN_INPUT_PULLUP, MUX_MODE0)
248                         AM33XX_PADCONF(AM335X_PIN_MMC0_CLK, PIN_INPUT_PULLUP, MUX_MODE0)
249                         AM33XX_PADCONF(AM335X_PIN_MMC0_CMD, PIN_INPUT_PULLUP, MUX_MODE0)
250                 >;
251         };
252
253         spi0_pins: pinmux_spi0_pins {
254                 pinctrl-single,pins = <
255                         AM33XX_PADCONF(AM335X_PIN_SPI0_SCLK, PIN_INPUT, MUX_MODE0)
256                         AM33XX_PADCONF(AM335X_PIN_SPI0_D0, PIN_OUTPUT_PULLUP, MUX_MODE0)
257                         AM33XX_PADCONF(AM335X_PIN_SPI0_D1, PIN_INPUT, MUX_MODE0)
258                         AM33XX_PADCONF(AM335X_PIN_SPI0_CS0, PIN_OUTPUT, MUX_MODE0)
259                         AM33XX_PADCONF(AM335X_PIN_SPI0_CS1, PIN_OUTPUT, MUX_MODE0)
260                 >;
261         };
262
263         /* wl1271 bluetooth */
264         bluetooth_pins: pinmux_bluetooth_pins {
265                 pinctrl-single,pins = <
266                         /* XDMA_EVENT_INTR0.gpio0_19 - bluetooth enable */
267                         AM33XX_PADCONF(AM335X_PIN_XDMA_EVENT_INTR0, PIN_OUTPUT_PULLUP, MUX_MODE7)
268                 >;
269         };
270
271         /* TLV320AIC23B codec */
272         mcasp1_pins: pinmux_mcasp1_pins {
273                 pinctrl-single,pins = <
274                         /* MII1_CRS.mcasp1_aclkx */
275                         AM33XX_PADCONF(AM335X_PIN_MII1_CRS, PIN_INPUT_PULLDOWN, MUX_MODE4)
276                         /* MII1_RX_ER.mcasp1_fsx */
277                         AM33XX_PADCONF(AM335X_PIN_MII1_RX_ER, PIN_INPUT_PULLDOWN, MUX_MODE4)
278                         /* MII1_COL.mcasp1_axr2 */
279                         AM33XX_PADCONF(AM335X_PIN_MII1_COL, PIN_INPUT_PULLDOWN, MUX_MODE4)
280                         /* RMII1_REF_CLK.mcasp1_axr3 */
281                         AM33XX_PADCONF(AM335X_PIN_RMII1_REF_CLK, PIN_INPUT_PULLDOWN, MUX_MODE4)
282                 >;
283         };
284
285         /* wl1271 WiFi */
286         wifi_pins: pinmux_wifi_pins {
287                 pinctrl-single,pins = <
288                         /* EMU1.gpio3_8 - WiFi IRQ */
289                         AM33XX_PADCONF(AM335X_PIN_EMU1, PIN_INPUT_PULLUP, MUX_MODE7)
290                         /* XDMA_EVENT_INTR1.gpio0_20 - WiFi enable */
291                         AM33XX_PADCONF(AM335X_PIN_XDMA_EVENT_INTR1, PIN_OUTPUT, MUX_MODE7)
292                 >;
293         };
294 };
295
296 &uart0 {
297         pinctrl-names = "default";
298         pinctrl-0 = <&uart0_pins>;
299
300         status = "okay";
301 };
302
303 /* WLS1271 bluetooth */
304 &uart1 {
305         pinctrl-names = "default";
306         pinctrl-0 = <&uart1_pins>;
307
308 status = "okay";
309 };
310
311 &i2c0 {
312         pinctrl-names = "default";
313         pinctrl-0 = <&i2c0_pins>;
314
315         status = "okay";
316         clock-frequency = <400000>;
317         /* CM-T335 board EEPROM */
318         eeprom: 24c02@50 {
319                 compatible = "atmel,24c02";
320                 reg = <0x50>;
321                 pagesize = <16>;
322         };
323         /* Real Time Clock */
324         ext_rtc: em3027@56 {
325                 compatible = "emmicro,em3027";
326                 reg = <0x56>;
327         };
328         /* Audio codec */
329         tlv320aic23: codec@1a {
330                 compatible = "ti,tlv320aic23";
331                 reg = <0x1a>;
332                 #sound-dai-cells= <0>;
333                 status = "okay";
334         };
335 };
336
337 &usb {
338         status = "okay";
339 };
340
341 &usb_ctrl_mod {
342         status = "okay";
343 };
344
345 &usb0_phy {
346         status = "okay";
347 };
348
349 &usb0 {
350         status = "okay";
351 };
352
353 &cppi41dma  {
354         status = "okay";
355 };
356
357 &epwmss0 {
358         status = "okay";
359
360         ecap0: ecap@100 {
361                 status = "okay";
362                 pinctrl-names = "default";
363                 pinctrl-0 = <&ecap0_pins>;
364         };
365 };
366
367 &gpmc {
368         status = "okay";
369         pinctrl-names = "default";
370         pinctrl-0 = <&nandflash_pins>;
371         ranges = <0 0 0x08000000 0x10000000>;   /* CS0: NAND */
372         nand@0,0 {
373                 compatible = "ti,omap2-nand";
374                 reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
375                 interrupt-parent = <&gpmc>;
376                 interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
377                              <1 IRQ_TYPE_NONE>; /* termcount */
378                 rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */
379                 ti,nand-ecc-opt = "bch8";
380                 ti,elm-id = <&elm>;
381                 nand-bus-width = <8>;
382                 gpmc,device-width = <1>;
383                 gpmc,sync-clk-ps = <0>;
384                 gpmc,cs-on-ns = <0>;
385                 gpmc,cs-rd-off-ns = <44>;
386                 gpmc,cs-wr-off-ns = <44>;
387                 gpmc,adv-on-ns = <6>;
388                 gpmc,adv-rd-off-ns = <34>;
389                 gpmc,adv-wr-off-ns = <44>;
390                 gpmc,we-on-ns = <0>;
391                 gpmc,we-off-ns = <40>;
392                 gpmc,oe-on-ns = <0>;
393                 gpmc,oe-off-ns = <54>;
394                 gpmc,access-ns = <64>;
395                 gpmc,rd-cycle-ns = <82>;
396                 gpmc,wr-cycle-ns = <82>;
397                 gpmc,bus-turnaround-ns = <0>;
398                 gpmc,cycle2cycle-delay-ns = <0>;
399                 gpmc,clk-activation-ns = <0>;
400                 gpmc,wr-access-ns = <40>;
401                 gpmc,wr-data-mux-bus-ns = <0>;
402                 /* MTD partition table */
403                 #address-cells = <1>;
404                 #size-cells = <1>;
405                 partition@0 {
406                         label = "spl";
407                         reg = <0x00000000 0x00200000>;
408                 };
409                 partition@1 {
410                         label = "uboot";
411                         reg = <0x00200000 0x00100000>;
412                 };
413                 partition@2 {
414                         label = "uboot environment";
415                         reg = <0x00300000 0x00100000>;
416                 };
417                 partition@3 {
418                         label = "dtb";
419                         reg = <0x00400000 0x00100000>;
420                 };
421                 partition@4 {
422                         label = "splash";
423                         reg = <0x00500000 0x00400000>;
424                 };
425                 partition@5 {
426                         label = "linux";
427                         reg = <0x00900000 0x00600000>;
428                 };
429                 partition@6 {
430                         label = "rootfs";
431                         reg = <0x00F00000 0>;
432                 };
433         };
434 };
435
436 &elm {
437         status = "okay";
438 };
439
440 &mac {
441         pinctrl-names = "default", "sleep";
442         pinctrl-0 = <&cpsw_default>;
443         pinctrl-1 = <&cpsw_sleep>;
444         slaves = <1>;
445         status = "okay";
446 };
447
448 &davinci_mdio {
449         pinctrl-names = "default", "sleep";
450         pinctrl-0 = <&davinci_mdio_default>;
451         pinctrl-1 = <&davinci_mdio_sleep>;
452         status = "okay";
453
454         ethphy0: ethernet-phy@0 {
455                 reg = <0>;
456         };
457 };
458
459 &cpsw_emac0 {
460         phy-handle = <&ethphy0>;
461         phy-mode = "rgmii-txid";
462 };
463
464 &mmc1 {
465         status = "okay";
466         vmmc-supply = <&vmmc_fixed>;
467         bus-width = <4>;
468         pinctrl-names = "default";
469         pinctrl-0 = <&mmc1_pins>;
470 };
471
472 &dcan0 {
473         status = "okay";
474         pinctrl-names = "default";
475         pinctrl-0 = <&dcan0_pins>;
476 };
477
478 &dcan1 {
479         status = "okay";
480         pinctrl-names = "default";
481         pinctrl-0 = <&dcan1_pins>;
482 };
483
484 /* Touschscreen and analog digital converter */
485 &tscadc {
486         status = "okay";
487         tsc {
488                 ti,wires = <4>;
489                 ti,x-plate-resistance = <200>;
490                 ti,coordinate-readouts = <5>;
491                 ti,wire-config = <0x01 0x10 0x23 0x32>;
492                 ti,charge-delay = <0x400>;
493         };
494
495         adc {
496                 ti,adc-channels = <4 5 6 7>;
497         };
498 };
499
500 /* CPU audio */
501 &mcasp1 {
502                 pinctrl-names = "default";
503                 pinctrl-0 = <&mcasp1_pins>;
504
505                 op-mode = <0>;          /* MCASP_IIS_MODE */
506                 tdm-slots = <2>;
507                 /* 16 serializers */
508                 num-serializer = <16>;
509                 serial-dir = <  /* 0: INACTIVE, 1: TX, 2: RX */
510                         0 0 2 1 0 0 0 0 0 0 0 0 0 0 0 0
511                 >;
512                 tx-num-evt = <1>;
513                 rx-num-evt = <1>;
514
515                 #sound-dai-cells= <0>;
516                 status = "okay";
517 };
518
519 &spi0 {
520         status = "okay";
521         pinctrl-names = "default";
522         pinctrl-0 = <&spi0_pins>;
523         ti,pindir-d0-out-d1-in = <1>;
524         /* WLS1271 WiFi */
525         wlcore: wlcore@1 {
526                 compatible = "ti,wl1271";
527                 pinctrl-names = "default";
528                 pinctrl-0 = <&wifi_pins>;
529                 reg = <1>;
530                 spi-max-frequency = <48000000>;
531                 clock-xtal;
532                 ref-clock-frequency = <38400000>;
533                 interrupt-parent = <&gpio3>;
534                 interrupts = <8 IRQ_TYPE_LEVEL_HIGH>;
535                 vwlan-supply = <&vwlan_fixed>;
536         };
537 };