Linux Audio

Check our new training course

Linux BSP development engineering services

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