0001 // SPDX-License-Identifier: GPL-2.0-only
0002 /*
0003 * am335x-cm-t335.dts - Device Tree file for Compulab CM-T335
0004 *
0005 * Copyright (C) 2014 - 2015 CompuLab Ltd. - http://www.compulab.co.il/
0006 */
0007
0008 /dts-v1/;
0009
0010 #include "am33xx.dtsi"
0011 #include <dt-bindings/interrupt-controller/irq.h>
0012
0013 / {
0014 model = "CompuLab CM-T335";
0015 compatible = "compulab,cm-t335", "ti,am33xx";
0016
0017 memory@80000000 {
0018 device_type = "memory";
0019 reg = <0x80000000 0x8000000>; /* 128 MB */
0020 };
0021
0022 leds {
0023 compatible = "gpio-leds";
0024 pinctrl-names = "default";
0025 pinctrl-0 = <&gpio_led_pins>;
0026 led0 {
0027 label = "cm_t335:green";
0028 gpios = <&gpio2 0 GPIO_ACTIVE_LOW>; /* gpio2_0 */
0029 linux,default-trigger = "heartbeat";
0030 };
0031 };
0032
0033 /* regulator for mmc */
0034 vmmc_fixed: fixedregulator0 {
0035 compatible = "regulator-fixed";
0036 regulator-name = "vmmc_fixed";
0037 regulator-min-microvolt = <3300000>;
0038 regulator-max-microvolt = <3300000>;
0039 };
0040
0041 /* Regulator for WiFi */
0042 vwlan_fixed: fixedregulator2 {
0043 compatible = "regulator-fixed";
0044 regulator-name = "vwlan_fixed";
0045 gpio = <&gpio0 20 GPIO_ACTIVE_HIGH>; /* gpio0_20 */
0046 enable-active-high;
0047 };
0048
0049 backlight {
0050 compatible = "pwm-backlight";
0051 pwms = <&ecap0 0 50000 0>;
0052 brightness-levels = <0 51 53 56 62 75 101 152 255>;
0053 default-brightness-level = <8>;
0054 };
0055
0056 sound {
0057 compatible = "simple-audio-card";
0058 simple-audio-card,name = "cm-t335";
0059
0060 simple-audio-card,widgets =
0061 "Microphone", "Mic Jack",
0062 "Line", "Line In",
0063 "Headphone", "Headphone Jack";
0064
0065 simple-audio-card,routing =
0066 "Headphone Jack", "LHPOUT",
0067 "Headphone Jack", "RHPOUT",
0068 "LLINEIN", "Line In",
0069 "RLINEIN", "Line In",
0070 "MICIN", "Mic Jack";
0071
0072 simple-audio-card,format = "i2s";
0073 simple-audio-card,bitclock-master = <&sound_master>;
0074 simple-audio-card,frame-master = <&sound_master>;
0075
0076 simple-audio-card,cpu {
0077 sound-dai = <&mcasp1>;
0078 };
0079
0080 sound_master: simple-audio-card,codec {
0081 sound-dai = <&tlv320aic23>;
0082 system-clock-frequency = <12000000>;
0083 };
0084 };
0085 };
0086
0087 &am33xx_pinmux {
0088 pinctrl-names = "default";
0089 pinctrl-0 = <&bluetooth_pins>;
0090
0091 i2c0_pins: pinmux_i2c0_pins {
0092 pinctrl-single,pins = <
0093 AM33XX_PADCONF(AM335X_PIN_I2C0_SDA, PIN_INPUT_PULLUP, MUX_MODE0)
0094 AM33XX_PADCONF(AM335X_PIN_I2C0_SCL, PIN_INPUT_PULLUP, MUX_MODE0)
0095 >;
0096 };
0097
0098 i2c1_pins: pinmux_i2c1_pins {
0099 pinctrl-single,pins = <
0100 /* uart0_ctsn.i2c1_sda */
0101 AM33XX_PADCONF(AM335X_PIN_UART0_CTSN, PIN_INPUT_PULLUP, MUX_MODE2)
0102 /* uart0_rtsn.i2c1_scl */
0103 AM33XX_PADCONF(AM335X_PIN_UART0_RTSN, PIN_INPUT_PULLUP, MUX_MODE2)
0104 >;
0105 };
0106
0107 gpio_led_pins: pinmux_gpio_led_pins {
0108 pinctrl-single,pins = <
0109 /* gpmc_csn3.gpio2_0 */
0110 AM33XX_PADCONF(AM335X_PIN_GPMC_CSN3, PIN_OUTPUT, MUX_MODE7)
0111 >;
0112 };
0113
0114 nandflash_pins: pinmux_nandflash_pins {
0115 pinctrl-single,pins = <
0116 AM33XX_PADCONF(AM335X_PIN_GPMC_AD0, PIN_INPUT_PULLUP, MUX_MODE0)
0117 AM33XX_PADCONF(AM335X_PIN_GPMC_AD1, PIN_INPUT_PULLUP, MUX_MODE0)
0118 AM33XX_PADCONF(AM335X_PIN_GPMC_AD2, PIN_INPUT_PULLUP, MUX_MODE0)
0119 AM33XX_PADCONF(AM335X_PIN_GPMC_AD3, PIN_INPUT_PULLUP, MUX_MODE0)
0120 AM33XX_PADCONF(AM335X_PIN_GPMC_AD4, PIN_INPUT_PULLUP, MUX_MODE0)
0121 AM33XX_PADCONF(AM335X_PIN_GPMC_AD5, PIN_INPUT_PULLUP, MUX_MODE0)
0122 AM33XX_PADCONF(AM335X_PIN_GPMC_AD6, PIN_INPUT_PULLUP, MUX_MODE0)
0123 AM33XX_PADCONF(AM335X_PIN_GPMC_AD7, PIN_INPUT_PULLUP, MUX_MODE0)
0124 AM33XX_PADCONF(AM335X_PIN_GPMC_WAIT0, PIN_INPUT_PULLUP, MUX_MODE0)
0125 /* gpmc_wpn.gpio0_31 */
0126 AM33XX_PADCONF(AM335X_PIN_GPMC_WPN, PIN_INPUT_PULLUP, MUX_MODE7)
0127 AM33XX_PADCONF(AM335X_PIN_GPMC_CSN0, PIN_OUTPUT, MUX_MODE0)
0128 AM33XX_PADCONF(AM335X_PIN_GPMC_ADVN_ALE, PIN_OUTPUT, MUX_MODE0)
0129 AM33XX_PADCONF(AM335X_PIN_GPMC_OEN_REN, PIN_OUTPUT, MUX_MODE0)
0130 AM33XX_PADCONF(AM335X_PIN_GPMC_WEN, PIN_OUTPUT, MUX_MODE0)
0131 AM33XX_PADCONF(AM335X_PIN_GPMC_BEN0_CLE, PIN_OUTPUT, MUX_MODE0)
0132 >;
0133 };
0134
0135 uart0_pins: pinmux_uart0_pins {
0136 pinctrl-single,pins = <
0137 AM33XX_PADCONF(AM335X_PIN_UART0_RXD, PIN_INPUT_PULLUP, MUX_MODE0)
0138 AM33XX_PADCONF(AM335X_PIN_UART0_TXD, PIN_OUTPUT_PULLDOWN, MUX_MODE0)
0139 >;
0140 };
0141
0142 uart1_pins: pinmux_uart1_pins {
0143 pinctrl-single,pins = <
0144 AM33XX_PADCONF(AM335X_PIN_UART1_CTSN, PIN_INPUT, MUX_MODE0)
0145 AM33XX_PADCONF(AM335X_PIN_UART1_RTSN, PIN_OUTPUT_PULLDOWN, MUX_MODE0)
0146 AM33XX_PADCONF(AM335X_PIN_UART1_RXD, PIN_INPUT_PULLUP, MUX_MODE0)
0147 AM33XX_PADCONF(AM335X_PIN_UART1_TXD, PIN_OUTPUT_PULLDOWN, MUX_MODE0)
0148 >;
0149 };
0150
0151 dcan0_pins: pinmux_dcan0_pins {
0152 pinctrl-single,pins = <
0153 /* uart1_ctsn.dcan0_tx */
0154 AM33XX_PADCONF(AM335X_PIN_UART1_CTSN, PIN_OUTPUT, MUX_MODE2)
0155 /* uart1_rtsn.dcan0_rx */
0156 AM33XX_PADCONF(AM335X_PIN_UART1_RTSN, PIN_INPUT, MUX_MODE2)
0157 >;
0158 };
0159
0160 dcan1_pins: pinmux_dcan1_pins {
0161 pinctrl-single,pins = <
0162 /* uart1_rxd.dcan1_tx */
0163 AM33XX_PADCONF(AM335X_PIN_UART1_RXD, PIN_OUTPUT, MUX_MODE2)
0164 /* uart1_txd.dcan1_rx */
0165 AM33XX_PADCONF(AM335X_PIN_UART1_TXD, PIN_INPUT, MUX_MODE2)
0166 >;
0167 };
0168
0169 ecap0_pins: pinmux_ecap0_pins {
0170 pinctrl-single,pins = <
0171 AM33XX_PADCONF(AM335X_PIN_ECAP0_IN_PWM0_OUT, 0x0, MUX_MODE0)
0172 >;
0173 };
0174
0175 cpsw_default: cpsw_default {
0176 pinctrl-single,pins = <
0177 /* Slave 1 */
0178 /* mii1_tx_en.rgmii1_tctl */
0179 AM33XX_PADCONF(AM335X_PIN_MII1_TX_EN, PIN_OUTPUT_PULLDOWN, MUX_MODE2)
0180 /* mii1_rxdv.rgmii1_rctl */
0181 AM33XX_PADCONF(AM335X_PIN_MII1_RX_DV, PIN_INPUT_PULLDOWN, MUX_MODE2)
0182 /* mii1_txd3.rgmii1_td3 */
0183 AM33XX_PADCONF(AM335X_PIN_MII1_TXD3, PIN_OUTPUT_PULLDOWN, MUX_MODE2)
0184 /* mii1_txd2.rgmii1_td2 */
0185 AM33XX_PADCONF(AM335X_PIN_MII1_TXD2, PIN_OUTPUT_PULLDOWN, MUX_MODE2)
0186 /* mii1_txd1.rgmii1_td1 */
0187 AM33XX_PADCONF(AM335X_PIN_MII1_TXD1, PIN_OUTPUT_PULLDOWN, MUX_MODE2)
0188 /* mii1_txd0.rgmii1_td0 */
0189 AM33XX_PADCONF(AM335X_PIN_MII1_TXD0, PIN_OUTPUT_PULLDOWN, MUX_MODE2)
0190 /* mii1_txclk.rgmii1_tclk */
0191 AM33XX_PADCONF(AM335X_PIN_MII1_TX_CLK, PIN_OUTPUT_PULLDOWN, MUX_MODE2)
0192 /* mii1_rxclk.rgmii1_rclk */
0193 AM33XX_PADCONF(AM335X_PIN_MII1_RX_CLK, PIN_INPUT_PULLDOWN, MUX_MODE2)
0194 /* mii1_rxd3.rgmii1_rd3 */
0195 AM33XX_PADCONF(AM335X_PIN_MII1_RXD3, PIN_INPUT_PULLDOWN, MUX_MODE2)
0196 /* mii1_rxd2.rgmii1_rd2 */
0197 AM33XX_PADCONF(AM335X_PIN_MII1_RXD2, PIN_INPUT_PULLDOWN, MUX_MODE2)
0198 /* mii1_rxd1.rgmii1_rd1 */
0199 AM33XX_PADCONF(AM335X_PIN_MII1_RXD1, PIN_INPUT_PULLDOWN, MUX_MODE2)
0200 /* mii1_rxd0.rgmii1_rd0 */
0201 AM33XX_PADCONF(AM335X_PIN_MII1_RXD0, PIN_INPUT_PULLDOWN, MUX_MODE2)
0202 >;
0203 };
0204
0205 cpsw_sleep: cpsw_sleep {
0206 pinctrl-single,pins = <
0207 /* Slave 1 reset value */
0208 AM33XX_PADCONF(AM335X_PIN_MII1_TX_EN, PIN_INPUT_PULLDOWN, MUX_MODE7)
0209 AM33XX_PADCONF(AM335X_PIN_MII1_RX_DV, PIN_INPUT_PULLDOWN, MUX_MODE7)
0210 AM33XX_PADCONF(AM335X_PIN_MII1_TXD3, PIN_INPUT_PULLDOWN, MUX_MODE7)
0211 AM33XX_PADCONF(AM335X_PIN_MII1_TXD2, PIN_INPUT_PULLDOWN, MUX_MODE7)
0212 AM33XX_PADCONF(AM335X_PIN_MII1_TXD1, PIN_INPUT_PULLDOWN, MUX_MODE7)
0213 AM33XX_PADCONF(AM335X_PIN_MII1_TXD0, PIN_INPUT_PULLDOWN, MUX_MODE7)
0214 AM33XX_PADCONF(AM335X_PIN_MII1_TX_CLK, PIN_INPUT_PULLDOWN, MUX_MODE7)
0215 AM33XX_PADCONF(AM335X_PIN_MII1_RX_CLK, PIN_INPUT_PULLDOWN, MUX_MODE7)
0216 AM33XX_PADCONF(AM335X_PIN_MII1_RXD3, PIN_INPUT_PULLDOWN, MUX_MODE7)
0217 AM33XX_PADCONF(AM335X_PIN_MII1_RXD2, PIN_INPUT_PULLDOWN, MUX_MODE7)
0218 AM33XX_PADCONF(AM335X_PIN_MII1_RXD1, PIN_INPUT_PULLDOWN, MUX_MODE7)
0219 AM33XX_PADCONF(AM335X_PIN_MII1_RXD0, PIN_INPUT_PULLDOWN, MUX_MODE7)
0220 >;
0221 };
0222
0223 davinci_mdio_default: davinci_mdio_default {
0224 pinctrl-single,pins = <
0225 AM33XX_PADCONF(AM335X_PIN_MDIO, PIN_INPUT_PULLUP | SLEWCTRL_FAST, MUX_MODE0)
0226 AM33XX_PADCONF(AM335X_PIN_MDC, PIN_OUTPUT_PULLUP, MUX_MODE0)
0227 >;
0228 };
0229
0230 davinci_mdio_sleep: davinci_mdio_sleep {
0231 pinctrl-single,pins = <
0232 /* MDIO reset value */
0233 AM33XX_PADCONF(AM335X_PIN_MDIO, PIN_INPUT_PULLDOWN, MUX_MODE7)
0234 AM33XX_PADCONF(AM335X_PIN_MDC, PIN_INPUT_PULLDOWN, MUX_MODE7)
0235 >;
0236 };
0237
0238 mmc1_pins: pinmux_mmc1_pins {
0239 pinctrl-single,pins = <
0240 AM33XX_PADCONF(AM335X_PIN_MMC0_DAT3, PIN_INPUT_PULLUP, MUX_MODE0)
0241 AM33XX_PADCONF(AM335X_PIN_MMC0_DAT2, PIN_INPUT_PULLUP, MUX_MODE0)
0242 AM33XX_PADCONF(AM335X_PIN_MMC0_DAT1, PIN_INPUT_PULLUP, MUX_MODE0)
0243 AM33XX_PADCONF(AM335X_PIN_MMC0_DAT0, PIN_INPUT_PULLUP, MUX_MODE0)
0244 AM33XX_PADCONF(AM335X_PIN_MMC0_CLK, PIN_INPUT_PULLUP, MUX_MODE0)
0245 AM33XX_PADCONF(AM335X_PIN_MMC0_CMD, PIN_INPUT_PULLUP, MUX_MODE0)
0246 >;
0247 };
0248
0249 spi0_pins: pinmux_spi0_pins {
0250 pinctrl-single,pins = <
0251 AM33XX_PADCONF(AM335X_PIN_SPI0_SCLK, PIN_INPUT, MUX_MODE0)
0252 AM33XX_PADCONF(AM335X_PIN_SPI0_D0, PIN_OUTPUT_PULLUP, MUX_MODE0)
0253 AM33XX_PADCONF(AM335X_PIN_SPI0_D1, PIN_INPUT, MUX_MODE0)
0254 AM33XX_PADCONF(AM335X_PIN_SPI0_CS0, PIN_OUTPUT, MUX_MODE0)
0255 AM33XX_PADCONF(AM335X_PIN_SPI0_CS1, PIN_OUTPUT, MUX_MODE0)
0256 >;
0257 };
0258
0259 /* wl1271 bluetooth */
0260 bluetooth_pins: pinmux_bluetooth_pins {
0261 pinctrl-single,pins = <
0262 /* XDMA_EVENT_INTR0.gpio0_19 - bluetooth enable */
0263 AM33XX_PADCONF(AM335X_PIN_XDMA_EVENT_INTR0, PIN_OUTPUT_PULLUP, MUX_MODE7)
0264 >;
0265 };
0266
0267 /* TLV320AIC23B codec */
0268 mcasp1_pins: pinmux_mcasp1_pins {
0269 pinctrl-single,pins = <
0270 /* MII1_CRS.mcasp1_aclkx */
0271 AM33XX_PADCONF(AM335X_PIN_MII1_CRS, PIN_INPUT_PULLDOWN, MUX_MODE4)
0272 /* MII1_RX_ER.mcasp1_fsx */
0273 AM33XX_PADCONF(AM335X_PIN_MII1_RX_ER, PIN_INPUT_PULLDOWN, MUX_MODE4)
0274 /* MII1_COL.mcasp1_axr2 */
0275 AM33XX_PADCONF(AM335X_PIN_MII1_COL, PIN_INPUT_PULLDOWN, MUX_MODE4)
0276 /* RMII1_REF_CLK.mcasp1_axr3 */
0277 AM33XX_PADCONF(AM335X_PIN_RMII1_REF_CLK, PIN_INPUT_PULLDOWN, MUX_MODE4)
0278 >;
0279 };
0280
0281 /* wl1271 WiFi */
0282 wifi_pins: pinmux_wifi_pins {
0283 pinctrl-single,pins = <
0284 /* EMU1.gpio3_8 - WiFi IRQ */
0285 AM33XX_PADCONF(AM335X_PIN_EMU1, PIN_INPUT_PULLUP, MUX_MODE7)
0286 /* XDMA_EVENT_INTR1.gpio0_20 - WiFi enable */
0287 AM33XX_PADCONF(AM335X_PIN_XDMA_EVENT_INTR1, PIN_OUTPUT, MUX_MODE7)
0288 >;
0289 };
0290 };
0291
0292 &uart0 {
0293 pinctrl-names = "default";
0294 pinctrl-0 = <&uart0_pins>;
0295
0296 status = "okay";
0297 };
0298
0299 /* WLS1271 bluetooth */
0300 &uart1 {
0301 pinctrl-names = "default";
0302 pinctrl-0 = <&uart1_pins>;
0303
0304 status = "okay";
0305 };
0306
0307 &i2c0 {
0308 pinctrl-names = "default";
0309 pinctrl-0 = <&i2c0_pins>;
0310
0311 status = "okay";
0312 clock-frequency = <400000>;
0313 /* CM-T335 board EEPROM */
0314 eeprom: 24c02@50 {
0315 compatible = "atmel,24c02";
0316 reg = <0x50>;
0317 pagesize = <16>;
0318 };
0319 /* Real Time Clock */
0320 ext_rtc: em3027@56 {
0321 compatible = "emmicro,em3027";
0322 reg = <0x56>;
0323 };
0324 /* Audio codec */
0325 tlv320aic23: codec@1a {
0326 compatible = "ti,tlv320aic23";
0327 reg = <0x1a>;
0328 #sound-dai-cells = <0>;
0329 status = "okay";
0330 };
0331 };
0332
0333 &epwmss0 {
0334 status = "okay";
0335
0336 ecap0: pwm@100 {
0337 status = "okay";
0338 pinctrl-names = "default";
0339 pinctrl-0 = <&ecap0_pins>;
0340 };
0341 };
0342
0343 &gpmc {
0344 status = "okay";
0345 pinctrl-names = "default";
0346 pinctrl-0 = <&nandflash_pins>;
0347 ranges = <0 0 0x08000000 0x10000000>; /* CS0: NAND */
0348 nand@0,0 {
0349 compatible = "ti,omap2-nand";
0350 reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
0351 interrupt-parent = <&gpmc>;
0352 interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
0353 <1 IRQ_TYPE_NONE>; /* termcount */
0354 rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */
0355 ti,nand-ecc-opt = "bch8";
0356 ti,elm-id = <&elm>;
0357 nand-bus-width = <8>;
0358 gpmc,device-width = <1>;
0359 gpmc,sync-clk-ps = <0>;
0360 gpmc,cs-on-ns = <0>;
0361 gpmc,cs-rd-off-ns = <44>;
0362 gpmc,cs-wr-off-ns = <44>;
0363 gpmc,adv-on-ns = <6>;
0364 gpmc,adv-rd-off-ns = <34>;
0365 gpmc,adv-wr-off-ns = <44>;
0366 gpmc,we-on-ns = <0>;
0367 gpmc,we-off-ns = <40>;
0368 gpmc,oe-on-ns = <0>;
0369 gpmc,oe-off-ns = <54>;
0370 gpmc,access-ns = <64>;
0371 gpmc,rd-cycle-ns = <82>;
0372 gpmc,wr-cycle-ns = <82>;
0373 gpmc,bus-turnaround-ns = <0>;
0374 gpmc,cycle2cycle-delay-ns = <0>;
0375 gpmc,clk-activation-ns = <0>;
0376 gpmc,wr-access-ns = <40>;
0377 gpmc,wr-data-mux-bus-ns = <0>;
0378 /* MTD partition table */
0379 #address-cells = <1>;
0380 #size-cells = <1>;
0381 partition@0 {
0382 label = "spl";
0383 reg = <0x00000000 0x00200000>;
0384 };
0385 partition@1 {
0386 label = "uboot";
0387 reg = <0x00200000 0x00100000>;
0388 };
0389 partition@2 {
0390 label = "uboot environment";
0391 reg = <0x00300000 0x00100000>;
0392 };
0393 partition@3 {
0394 label = "dtb";
0395 reg = <0x00400000 0x00100000>;
0396 };
0397 partition@4 {
0398 label = "splash";
0399 reg = <0x00500000 0x00400000>;
0400 };
0401 partition@5 {
0402 label = "linux";
0403 reg = <0x00900000 0x00600000>;
0404 };
0405 partition@6 {
0406 label = "rootfs";
0407 reg = <0x00F00000 0>;
0408 };
0409 };
0410 };
0411
0412 &elm {
0413 status = "okay";
0414 };
0415
0416 &mac_sw {
0417 pinctrl-names = "default", "sleep";
0418 pinctrl-0 = <&cpsw_default>;
0419 pinctrl-1 = <&cpsw_sleep>;
0420 status = "okay";
0421 };
0422
0423 &davinci_mdio_sw {
0424 pinctrl-names = "default", "sleep";
0425 pinctrl-0 = <&davinci_mdio_default>;
0426 pinctrl-1 = <&davinci_mdio_sleep>;
0427
0428 ethphy0: ethernet-phy@0 {
0429 reg = <0>;
0430 };
0431 };
0432
0433 &cpsw_port1 {
0434 phy-handle = <ðphy0>;
0435 phy-mode = "rgmii-txid";
0436 ti,dual-emac-pvid = <1>;
0437 };
0438
0439 &cpsw_port2 {
0440 status = "disabled";
0441 };
0442
0443 &mmc1 {
0444 status = "okay";
0445 vmmc-supply = <&vmmc_fixed>;
0446 bus-width = <4>;
0447 pinctrl-names = "default";
0448 pinctrl-0 = <&mmc1_pins>;
0449 };
0450
0451 &dcan0 {
0452 status = "okay";
0453 pinctrl-names = "default";
0454 pinctrl-0 = <&dcan0_pins>;
0455 };
0456
0457 &dcan1 {
0458 status = "okay";
0459 pinctrl-names = "default";
0460 pinctrl-0 = <&dcan1_pins>;
0461 };
0462
0463 /* Touschscreen and analog digital converter */
0464 &tscadc {
0465 status = "okay";
0466 tsc {
0467 ti,wires = <4>;
0468 ti,x-plate-resistance = <200>;
0469 ti,coordinate-readouts = <5>;
0470 ti,wire-config = <0x01 0x10 0x23 0x32>;
0471 ti,charge-delay = <0x400>;
0472 };
0473
0474 adc {
0475 ti,adc-channels = <4 5 6 7>;
0476 };
0477 };
0478
0479 /* CPU audio */
0480 &mcasp1 {
0481 pinctrl-names = "default";
0482 pinctrl-0 = <&mcasp1_pins>;
0483
0484 op-mode = <0>; /* MCASP_IIS_MODE */
0485 tdm-slots = <2>;
0486 /* 16 serializers */
0487 num-serializer = <16>;
0488 serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
0489 0 0 2 1 0 0 0 0 0 0 0 0 0 0 0 0
0490 >;
0491 tx-num-evt = <1>;
0492 rx-num-evt = <1>;
0493
0494 #sound-dai-cells = <0>;
0495 status = "okay";
0496 };
0497
0498 &spi0 {
0499 status = "okay";
0500 pinctrl-names = "default";
0501 pinctrl-0 = <&spi0_pins>;
0502 ti,pindir-d0-out-d1-in;
0503 /* WLS1271 WiFi */
0504 wlcore: wlcore@1 {
0505 compatible = "ti,wl1271";
0506 pinctrl-names = "default";
0507 pinctrl-0 = <&wifi_pins>;
0508 reg = <1>;
0509 spi-max-frequency = <48000000>;
0510 clock-xtal;
0511 ref-clock-frequency = <38400000>;
0512 interrupt-parent = <&gpio3>;
0513 interrupts = <8 IRQ_TYPE_LEVEL_HIGH>;
0514 vwlan-supply = <&vwlan_fixed>;
0515 };
0516 };