This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

wlcore: ERROR ELP wakeup timeout! , WL_IRQ and WL_EN are toggling via scope, but IRQ not increase

Other Parts Discussed in Thread: TFP410, TPS65910, WL1271, TLV320AIC3106

Hi, 

i want to ask why i recieve this error:  "wlcore: ERROR ELP wakeup timeout!" during operate : "iw wlan0 scan" ?

i work on ti-processor-sdk-linux-am335x-evm-01.00.00.03 and on am335x-evmsk board so my DTS file is : am335x-evmsk.dts.

the commands flow are:

1. ifconfig wlan0 up : which add wlan0 interface, WL_IRQ and WL_EN are toggling via scope, but IRQ not increase [ /proc/interrupts ]

2. iw wlan0 scan: which recieve  "wlcore: ERROR ELP wakeup timeout!"

3. ifconfig  wlan0 down : which recieve  "wlcore: ERROR ELP wakeup timeout!"  which remove wlan0 interface

attach is log file of all procees and my DTS file.

 what the problems that i have?

Thanks Oded.

Log file:

U-Boot SPL 2014.07-00001-g4a8e5b8-dirty (Sep 20 2015 - 12:55:17)
reading args
spl_load_image_fat_os: error reading image args, err - -1
reading u-boot.img
reading u-boot.img


U-Boot 2014.07-00001-g4a8e5b8-dirty (Sep 20 2015 - 12:55:17)

I2C: ready
DRAM: 256 MiB
NAND: 0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
reading uboot.env

** Unable to read "uboot.env" from mmc0:1 **
Using default environment

Net: <ethaddr> not set. Validating first E-fuse MAC
Phy not found
cpsw, usb_ether
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
reading uEnv.txt
** Unable to read file uEnv.txt **
4337552 bytes read in 333 ms (12.4 MiB/s)
37448 bytes read in 31 ms (1.2 MiB/s)
Kernel image @ 0x82000000 [ 0x000000 - 0x422f90 ]
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Device Tree to 8e713000, end 8e71f247 ... OK

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 3.14.43-g875c69b (root@ubuntu) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #1 Mon Sep 21 14:09:36 IDT 2015
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine model: TI AM335x EVM-SK
[ 0.000000] cma: CMA: reserved 24 MiB at 8c800000
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] CPU: All CPU(s) started in SVC mode.
[ 0.000000] AM335X ES2.1 (neon )
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 64768
[ 0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Memory: 225276K/261120K available (5843K kernel code, 303K rwdata, 2144K rodata, 260K init, 232K bss, 35844K reserved, 0K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xd0800000 - 0xff000000 ( 744 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc07d50c4 (7989 kB)
[ 0.000000] .init : 0xc07d6000 - 0xc0817144 ( 261 kB)
[ 0.000000] .data : 0xc0818000 - 0xc0863da0 ( 304 kB)
[ 0.000000] .bss : 0xc0863da0 - 0xc089ddb8 ( 233 kB)
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
[ 0.000000] Total of 128 interrupts on 1 active controller
[ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz
[ 0.000017] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956969942ns
[ 0.000042] OMAP clocksource: timer1 at 24000000 Hz
[ 0.000373] Console: colour dummy device 80x30
[ 0.000403] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[ 0.000412] This ensures that you still see kernel messages. Please
[ 0.000419] update your kernel commandline.
[ 0.000445] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
[ 0.059170] pid_max: default: 32768 minimum: 301
[ 0.059303] Security Framework initialized
[ 0.059370] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.059384] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.069147] CPU: Testing write buffer coherency: ok
[ 0.069668] Setting up static identity map for 0x805baa20 - 0x805baa78
[ 0.070821] devtmpfs: initialized
[ 0.073043] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 0.082643] omap_hwmod: tptc0 using broken dt data from edma
[ 0.082751] omap_hwmod: tptc1 using broken dt data from edma
[ 0.082847] omap_hwmod: tptc2 using broken dt data from edma
[ 0.087408] omap_hwmod: debugss: _wait_target_disable failed
[ 0.144404] pinctrl core: initialized pinctrl subsystem
[ 0.145657] regulator-dummy: no parameters
[ 0.148352] NET: Registered protocol family 16
[ 0.150943] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.154110] cpuidle: using governor ladder
[ 0.154128] cpuidle: using governor menu
[ 0.162418] syscon 44e10000.control_module: regmap [mem 0x44e10000-0x44e107fb] registered
[ 0.164247] platform 49000000.edma: alias fck already exists
[ 0.164277] platform 49000000.edma: alias fck already exists
[ 0.164295] platform 49000000.edma: alias fck already exists
[ 0.165708] OMAP GPIO hardware version 0.1
[ 0.185084] No ATAGs?
[ 0.185113] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.219404] bio: create slab <bio-0> at 0
[ 0.240100] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
[ 0.241521] wlan-en-regulator: 1800 mV
[ 0.242069] vbat: 5000 mV
[ 0.242529] lis3_reg: no parameters
[ 0.243087] vtt: 1500 mV
[ 0.247176] vgaarb: loaded
[ 0.247819] i2c-core: driver [palmas] using legacy suspend method
[ 0.247832] i2c-core: driver [palmas] using legacy resume method
[ 0.248746] SCSI subsystem initialized
[ 0.250735] usbcore: registered new interface driver usbfs
[ 0.250977] usbcore: registered new interface driver hub
[ 0.251228] usbcore: registered new device driver usb
[ 0.252435] omap_i2c 44e0b000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c0_pins, deferring probe
[ 0.252471] platform 44e0b000.i2c: Driver omap_i2c requests probe deferral
[ 0.252974] pps_core: LinuxPPS API ver. 1 registered
[ 0.252988] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.253155] PTP clock support registered
[ 0.255617] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[ 0.256730] Advanced Linux Sound Architecture Driver Initialized.
[ 0.258730] Switched to clocksource timer1
[ 0.283798] NET: Registered protocol family 2
[ 0.284906] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.284949] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.284986] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.285063] TCP: reno registered
[ 0.285079] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.285104] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.285312] NET: Registered protocol family 1
[ 0.285754] RPC: Registered named UNIX socket transport module.
[ 0.285770] RPC: Registered udp transport module.
[ 0.285779] RPC: Registered tcp transport module.
[ 0.285787] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.287087] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
[ 0.290683] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.581987] VFS: Disk quotas dquot_6.5.2
[ 0.582067] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.582725] NFS: Registering the id_resolver key type
[ 0.582825] Key type id_resolver registered
[ 0.582837] Key type id_legacy registered
[ 0.582885] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
[ 0.583105] msgmni has been set to 487
[ 0.584970] NET: Registered protocol family 38
[ 0.585021] io scheduler noop registered
[ 0.585031] io scheduler deadline registered
[ 0.585060] io scheduler cfq registered (default)
[ 0.587125] pinctrl-single 44e10800.pinmux: bad data for mux pinmux_clkout2_pin
[ 0.587149] pinctrl-single 44e10800.pinmux: no pins entries for pinmux_clkout2_pin
[ 0.587235] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[ 0.589663] pinctrl-single 44e10800.pinmux: bad data for mux backlight_pins
[ 0.589687] pinctrl-single 44e10800.pinmux: no pins entries for backlight_pins
[ 0.592118] backlight supply power not found, using dummy regulator
[ 0.596856] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
[ 0.603504] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 88, base_baud = 3000000) is a 8250
[ 1.270238] console [ttyS0] enabled
[ 1.275121] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 61, base_baud = 3000000) is a 8250
[ 1.286209] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
[ 1.293424] [drm] Initialized drm 1.1.0 20060810
[ 1.311960] brd: module loaded
[ 1.322313] loop: module loaded
[ 1.325801] (stk) :sysfs entries created
[ 1.329915] (stk) : debugfs entries created
[ 1.334298] (hci_tty): inside hci_tty_init
[ 1.339222] (hci_tty): allocated 250, 0
[ 1.348284] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 1.359816] usbcore: registered new interface driver asix
[ 1.365511] usbcore: registered new interface driver ax88179_178a
[ 1.371844] usbcore: registered new interface driver cdc_ether
[ 1.377954] usbcore: registered new interface driver smsc95xx
[ 1.383920] usbcore: registered new interface driver net1080
[ 1.389835] usbcore: registered new interface driver cdc_subset
[ 1.396009] usbcore: registered new interface driver zaurus
[ 1.401877] usbcore: registered new interface driver cdc_ncm
[ 1.408238] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.414837] ehci-pci: EHCI PCI platform driver
[ 1.419568] ehci-omap: OMAP-EHCI Host Controller driver
[ 1.425421] usbcore: registered new interface driver cdc_wdm
[ 1.431397] usbcore: registered new interface driver usb-storage
[ 1.438850] mousedev: PS/2 mouse device common for all mice
[ 1.446600] input: ti-tsc as /devices/ocp/44e0d000.tscadc/TI-am335x-tsc/input/input0
[ 1.456224] i2c-core: driver [rtc-ds1307] using legacy suspend method
[ 1.462746] i2c-core: driver [rtc-ds1307] using legacy resume method
[ 1.470089] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
[ 1.477215] 44e3e000.rtc: already running
[ 1.482357] i2c /dev entries driver
[ 1.486059] Driver for 1-wire Dallas network protocol.
[ 1.494305] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 1.503748] omap_hsmmc 48060000.mmc: unable to get vmmc regulator -517
[ 1.510684] platform 48060000.mmc: Driver omap_hsmmc requests probe deferral
[ 1.644046] omap_hsmmc 481d8000.mmc: card claims to support voltages below defined range
[ 1.653338] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.659911] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[ 1.667460] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[ 1.675445] usbcore: registered new interface driver usbhid
[ 1.681095] usbhid: USB HID core driver
[ 1.685342] platform 44d00000.wkup_m3: Driver wkup_m3 requests probe deferral
[ 1.697025] oprofile: using arm/armv7
[ 1.701257] TCP: cubic registered
[ 1.704605] Initializing XFRM netlink socket
[ 1.709000] NET: Registered protocol family 17
[ 1.713518] NET: Registered protocol family 15
[ 1.718107] Key type dns_resolver registered
[ 1.723453] mmc0: queuing unknown CIS tuple 0x91 (3 bytes)
[ 1.729675] cpu cpu0: of_pm_voltdm_notifier_register: Failed to get cpu0 regulator/voltdm: -517
[ 1.738426] cpu cpu0: cpu0 clock notifier not ready, retry
[ 1.744538] platform cpufreq-cpu0.0: Driver cpufreq-cpu0 requests probe deferral
[ 1.752803] PM: bootloader does not support rtc-only!
[ 1.757897] ThumbEE CPU extension supported.
[ 1.762697] mmc0: new high speed SDIO card at address 0001
[ 1.768505] Registering SWP/SWPB emulation handler
[ 1.777060] lis3_reg: disabling
[ 1.780365] vbat: disabling
[ 1.783173] wlan-en-regulator: disabling
[ 1.787113] regulator-dummy: disabling
[ 1.791806] Error: Driver 'tfp410' is already registered, aborting...
[ 1.801323] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 1.807979] [drm] No driver support for vblank timestamp query.
[ 1.861740] Console: switching to colour frame buffer device 60x34
[ 1.870818] tilcdc 4830e000.lcdc: fb0: frame buffer device
[ 1.876432] tilcdc 4830e000.lcdc: registered panic notifier
[ 1.882136] [drm] Initialized tilcdc 1.0.0 20121205 on minor 0
[ 1.890896] tps65910 0-002d: No interrupt support, no core IRQ
[ 1.901619] vrtc: 1800 mV
[ 1.904672] vrtc: supplied by vbat
[ 1.910005] vio: at 1500 mV
[ 1.913011] vio: supplied by vbat
[ 1.918367] vdd_mpu: 912 <--> 1375 mV at 1137 mV
[ 1.923217] vdd_mpu: supplied by vbat
[ 1.928931] vdd_core: 912 <--> 1150 mV at 1137 mV
[ 1.933850] vdd_core: supplied by vbat
[ 1.939125] vdd3: 5000 mV
[ 1.943367] vdig1: at 1800 mV
[ 1.946537] vdig1: supplied by vbat
[ 1.951566] vdig2: at 1800 mV
[ 1.954722] vdig2: supplied by vbat
[ 1.959779] vpll: at 1800 mV
[ 1.962855] vpll: supplied by vbat
[ 1.967835] vdac: at 1800 mV
[ 1.970924] vdac: supplied by vbat
[ 1.975880] vaux1: at 1800 mV
[ 1.979054] vaux1: supplied by vbat
[ 1.984093] vaux2: at 3300 mV
[ 1.987247] vaux2: supplied by vbat
[ 1.992312] vaux33: at 3300 mV
[ 1.995553] vaux33: supplied by vbat
[ 2.000671] vmmc: 1800 <--> 3300 mV at 3300 mV
[ 2.005302] vmmc: supplied by vbat
[ 2.011002] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[ 2.049668] remoteproc0: wkup_m3 is available
[ 2.054173] remoteproc0: Note: remoteproc is still under development and considered experimental.
[ 2.063225] remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[ 2.073881] remoteproc0: Direct firmware load failed with error -2
[ 2.080259] remoteproc0: Falling back to user helper
[ 2.148767] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[ 2.154910] davinci_mdio 4a101000.mdio: no live phy, scanning all
[ 2.161663] davinci_mdio: probe of 4a101000.mdio failed with error -5
[ 2.169509] cpsw 4a100000.ethernet: Detected MACID = 6c:ec:eb:aa:97:48
[ 2.191602] cpsw 4a100000.ethernet: cpsw: Detected MACID = 6c:ec:eb:aa:97:4a
[ 2.201778] input: gpio_buttons@0 as /devices/gpio_buttons@0/input/input1
[ 2.209783] omap_rtc 44e3e000.rtc: setting system clock to 2015-09-21 20:43:23 UTC (1442868203)
[ 2.222370] ALSA device list:
[ 2.225378] No soundcards found.
[ 2.228964] mmc1: host does not support reading read-only switch. assuming write-enable.
[ 2.237778] Waiting for root device /dev/mmcblk0p2...
[ 2.243163] mmc1: new high speed SDHC card at address aaaa
[ 2.249618] mmcblk0: mmc1:aaaa SU08G 7.40 GiB
[ 2.259385] mmcblk0: p1 p2
[ 2.351727] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
[ 2.359148] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
[ 2.408888] EXT4-fs (mmcblk0p2): recovery complete
[ 2.425590] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 2.433893] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 2.446867] devtmpfs: mounted
[ 2.451022] Freeing unused kernel memory: 260K (c07d6000 - c0817000)
INIT: version 2.88 booting
Starting udev
[ 3.415742] udevd[878]: starting version 182
[ 3.776830] Bluetooth: Core ver 2.18
[ 3.824125] NET: Registered protocol family 31
[ 3.828617] Bluetooth: HCI device and connection manager initialized
[ 3.859350] Bluetooth: HCI socket layer initialized
[ 3.864289] Bluetooth: L2CAP socket layer initialized
[ 4.034479] Bluetooth: SCO socket layer initialized
[ 4.121161] 47401300.usb-phy supply vcc not found, using dummy regulator
[ 4.169042] (stc): chnl_id list empty :4
[ 4.172994] (stk) : st_kim_start(stk) :ldisc_install = 1
[ 4.369261] cryptodev: driver 1.6 loaded.
[ 4.383142] 47401b00.usb-phy supply vcc not found, using dummy regulator
[ 4.414396] remoteproc0: powering up wkup_m3
[ 4.440454] remoteproc0: Booting fw image am335x-pm-firmware.elf, size 154412
[ 4.448248] PM: CM3 Firmware Version = 0x190
[ 4.689753] remoteproc0: remote processor wkup_m3 is now up
[ 4.699175] lis3lv02d: 16 bits lis331dlh sensor found
[ 4.826801] Loading modules backported from Linux version R8.5-2-gad69b45
[ 4.833757] Backport generated by backports.git R8.4-0-g0d46f43
[ 4.909302] input: ST LIS3LV02DL Accelerometer as /devices/platform/lis3lv02d/input/input2
[ 4.920671] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
Starting Bootlog daemon: [ 5.278856] (stk) :ldisc installation timeout
[ 5.283097] (stk) :ldisc_install = 0bootlogd: cannot allocate pseudo tty: No such file or directory
bootlogd.
[ 5.666946] random: dd urandom read with 103 bits of entropy available
[ 5.856480] davinci_evm sound: tlv320aic3x-hifi <-> 4803c000.mcasp mapping ok
[ 6.278863] (stk) : timed out waiting for ldisc to be un-installed
[ 6.391706] (stk) :ldisc_install = 1
udevadm settle - timeout of 3 seconds reached, the event queue contains:
/sys/devices/ocp/48060000.mmc/mmc_host/mmc1/mmc1:aaaa/block/mmcblk0/mmcblk0p1 (859)
/sys/devices/ocp/48060000.mmc/mmc_host/mmc1/mmc1:aaaa/block/mmcblk0/mmcblk0p2 (860)
/sys/devices/virtual/block/loop0 (1006)
/sys/devices/virtual/block/loop1 (1007)
/sys/devices/virtual/block/loop2 (1008)
/sys/devices/virtual/block/loop3 (1009)
/sys/devices/virtual/block/loop4 (1010)
/sys/devices/virtual/block/loop5 (1011)
/sys/devices/virtual/block/loop6 (1012)
/sys/devices/virtual/block/loop7 (1013)
/sys/devices/virtual/block/ram0 (1014)
/sys/devices/virtual/block/ram1 (1015)
/sys/devices/virtual/block/ram10 (1016)
/sys/devices/virtual/block/ram11 (1017)
/sys/devices/virtual/block/ram12 (1018)
/sys/devices/virtual/block/ram13 (1019)
/sys/devices/virtual/block/ram14 (1020)
/sys/devices/virtual/block/ram15 (1021)
/sys/devices/virtual/block/ram2 (1022)
/sys/devices/virtual/block/ram3 (1023)
/sys/devices/virtual/block/ram4 (1024)
/sys/devices/virtual/block/ram5 (1025)
/sys/devices/virtual/block/ram6 (1026)
/sys/devices/virtual/block/ram7 (1027)
/sys/devices/virtual/block/ram8 (1028)
/sys/devices/virtual/block/ram9 (1029)
/sys/devices/virtual/net/lo (1036)
/sys/devices/ocp/47400000.usb/47401300.usb-phy (1046)
/sys/devices/virtual/misc/crypto (1053)
[ 7.107656] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 7.388871] (stk) :ldisc installation timeout
[ 7.393111] (stk) :ldisc_install = 0[ 7.615449] random: nonblocking pool is initialized
[ 7.641606] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[ 7.912964] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 7.919909] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 7.927170] usb usb1: Product: MUSB HDRC host driver
[ 7.932177] usb usb1: Manufacturer: Linux 3.14.43-g875c69b musb-hcd
[ 7.938480] usb usb1: SerialNumber: musb-hdrc.1.auto
[ 8.246724] hub 1-0:1.0: USB hub found
[ 8.270441] hub 1-0:1.0: 1 port detected
[ 8.318029] musb-hdrc musb-hdrc.2.auto: MUSB HDRC host driver
[ 8.367836] cfg80211: Calling CRDA to update world regulatory domain
[ 8.379700] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 8.389773] (stk) : timed out waiting for ldisc to be un-installed
[ 8.502577] (stk) :ldisc_install = 1[ 8.542380] musb-hdrc musb-hdrc.2.auto: new USB bus registered, assigned bus number 2
[ 8.639774] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 8.646683] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 8.653975] usb usb2: Product: MUSB HDRC host driver
[ 8.658982] usb usb2: Manufacturer: Linux 3.14.43-g875c69b musb-hcd
[ 8.665280] usb usb2: SerialNumber: musb-hdrc.2.auto
[ 8.730406] hub 2-0:1.0: USB hub found
[ 8.754860] hub 2-0:1.0: 1 port detected
[ 8.959688] wl18xx_driver wl18xx.0.auto: Direct firmware load failed with error -2
[ 8.967357] wl18xx_driver wl18xx.0.auto: Falling back to user helper
[ 9.086631] cfg80211: World regulatory domain updated:
[ 9.091920] cfg80211: DFS Master region: unset
[ 9.096301] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 9.106137] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
[ 9.114546] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm), (N/A)
[ 9.122968] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm), (N/A)
[ 9.131378] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
[ 9.139785] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
[ 9.498903] (stk) :ldisc installation timeout
[ 9.503135] (stk) :ldisc_install = 0ALSA: Restoring mixer settings...
[ 9.529887] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
[ 9.566019] wlcore: loaded
[ 9.578954] wlcore: driver version: ol_r8.a9.14
[ 9.583553] wlcore: compilation time: Mon Jul 6 16:06:06 2015
No state is present for card AM335xEVMSK
Found hardware: "AM335x-EVMSK" "" "" "" ""
Hardware is initialized using a generic method
No state is present for card AM335xEVMSK
INIT: Entering runlevel: 5
Configuring network interfaces... [ 10.016266] net eth0: initializing cpsw version 1.12 (0)
[ 10.024377] libphy: PHY 4a101000.mdio:00 not found
[ 10.029217] net eth0: phy 4a101000.mdio:00 not found on slave 0
udhcpc (v1.22.1) started
Sending discover...
[ 10.498803] (stk) : timed out waiting for ldisc to be un-installed
[ 10.611613] (stk) :ldisc_install = 1(stk) :ldisc installation timeout
[ 11.611712] (stk) :ldisc_install = 0(stk) : timed out waiting for ldisc to be un-installed
[ 12.720450] (stk) :ldisc_install = 1Sending discover...
(stk) :ldisc installation timeout
[ 13.721749] (stk) :ldisc_install = 0(stk) : timed out waiting for ldisc to be un-installed
[ 14.830439] (stk) :ldisc_install = 1(stk) :ldisc installation timeout
[ 15.831707] (stk) :ldisc_install = 0Sending discover...
(stk) : timed out waiting for ldisc to be un-installed
[ 16.835569] Bluetooth: st_register failed -22
No lease, forking to background
done.
Starting system message bus: dbus.
UIM SYSFS Node Found at /sys/./devices/kim/install
Starting uim-sysfs daemon.
uim:@ main
uim:install = /sys/./devices/kim/install
uim:dev_name = /sys/./devices/kim/dev_name
uim:baud_rate = /sys/./devices/kim/baud_rate
uim:flow_cntrl = /sys/./devices/kim/flow_cntrl
uim:begin polling...
Starting Dropbear SSH server: dropbear.
Starting telnet daemon.
Starting rpcbind daemon...rpcbind: cannot create socket for udp6
rpcbind: cannot create socket for tcp6
done.
creating NFS state directory: done
starting statd: done
Starting syslogd/klogd: done
Starting thttpd.
Starting PVR
insmod: ERROR: missing filename.
Could not find pvrsrvkm driver
Starting Lighttpd Web Server: lighttpd.
2015-09-21 20:43:41: (/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-linux-gnueabi/lighttpd/1.4.33-r1/lighttpd-1.4.33/src/log.c.166) server started
/
Starting Matrix GUI application.
Enabling thermal zones...
/etc/rc5.d/S98thermal-zone-init: line 7: /sys/class/thermal/thermal_zone*/mode: No such file or directory
***************************************************************
***************************************************************
NOTICE: This file system contains the followin GPLv3 packages:
autoconf
binutils
cpp-symlinks
cpp
g++-symlinks
g++
gcc-symlinks
gcc
gdbserver
gstreamer1.0-libav
libgmp10
libmpc3
libmpfr4
make

If you do not wish to distribute GPLv3 components please remove
the above packages prior to distribution. This can be done using
the opkg remove command. i.e.:
opkg remove <package>
Where <package> is the name printed in the list above

NOTE: If the package is a dependency of another package you
will be notified of the dependent packages. You should
use the --force-removal-of-dependent-packages option to
also remove the dependent packages as well
***************************************************************
***************************************************************
Stopping Bootlog daemon: bootlogd.

_____ _____ _ _
| _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
| | _| .'| . | . | | __| _| . | | | -_| _| _|
|__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
|___| |___|

Arago Project http://arago-project.org am335x-evm /dev/ttyO0

Arago 2015.05 am335x-evm /dev/ttyO0

am335x-evm login: root
root@am335x-evm:~#
root@am335x-evm:~#
root@am335x-evm:~# lsmod
Module Size Used by
wl18xx 85612 0
wlcore 184859 1 wl18xx
mac80211 353953 2 wl18xx,wlcore
cfg80211 200821 3 mac80211,wl18xx,wlcore
musb_dsps 7319 0
musb_hdrc 54316 1 musb_dsps
snd_soc_evm 5589 0
wlcore_sdio 5153 0
compat 2624 4 cfg80211,mac80211,wl18xx,wlcore_sdio
lis3lv02d_i2c 3153 0
snd_soc_tlv320aic3x 40349 1
lis3lv02d 14936 1 lis3lv02d_i2c
input_polldev 3345 1 lis3lv02d
cryptodev 32483 0
btwilink 3854 0
snd_soc_davinci_mcasp 15606 2
musb_am335x 1217 0
bluetooth 234747 2 btwilink
6lowpan_iphc 6211 1 bluetooth
root@am335x-evm:~#
root@am335x-evm:~#
root@am335x-evm:~# cat /proc/interrupts
CPU0
28: 2424 INTC 12 edma
30: 17 INTC 14 edma_error
32: 0 INTC 16 TI-am335x-tsc
33: 0 INTC 17 47400000.dma-controller
34: 0 INTC 18 musb-hdrc.1.auto
35: 1 INTC 19 musb-hdrc.2.auto
44: 274 INTC 28 mmc0
52: 4049 INTC 36 tilcdc
56: 0 INTC 40 4a100000.ethernet
57: 0 INTC 41 4a100000.ethernet
58: 0 INTC 42 4a100000.ethernet
59: 0 INTC 43 4a100000.ethernet
80: 7150 INTC 64 mmc1
84: 1791 INTC 68 gp_timer
86: 290 INTC 70 44e0b000.i2c
88: 318 INTC 72 serial
91: 0 INTC 75 rtc0
92: 0 INTC 76 rtc0
93: 0 INTC 77 wkup_m3
94: 1 INTC 78 wkup_m3_txev
125: 0 INTC 109 53100000.sham
127: 0 INTC 111 48310000.rng
174: 1 44e07000.gpio 30 button2
209: 0 481ac000.gpio 1 mmc1
210: 0 481ac000.gpio 2 button1
211: 0 481ac000.gpio 3 button0
213: 0 481ac000.gpio 5 button3
243: 0 481ae000.gpio 3 wl18xx
Err: 0
root@am335x-evm:~#
root@am335x-evm:~#
root@am335x-evm:~# ifconfig
eth0 Link encap:Ethernet HWaddr 6C:EC:EB:AA:97:48
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:56

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:700 (700.0 B) TX bytes:700 (700.0 B)

root@am335x-evm:~#
root@am335x-evm:~#
root@am335x-evm:~# ifconfig wlan0 up
[ 112.399375] wlcore: PHY firmware version: Rev 8.2.0.0.224
[ 112.464379] wlcore: firmware booted (Rev 8.9.0.0.31)
root@am335x-evm:~#
root@am335x-evm:~#
root@am335x-evm:~# cat /proc/interrupts
CPU0
28: 3541 INTC 12 edma
30: 18 INTC 14 edma_error
32: 0 INTC 16 TI-am335x-tsc
33: 0 INTC 17 47400000.dma-controller
34: 0 INTC 18 musb-hdrc.1.auto
35: 1 INTC 19 musb-hdrc.2.auto
44: 1639 INTC 28 mmc0
52: 6837 INTC 36 tilcdc
56: 0 INTC 40 4a100000.ethernet
57: 0 INTC 41 4a100000.ethernet
58: 0 INTC 42 4a100000.ethernet
59: 0 INTC 43 4a100000.ethernet
80: 7177 INTC 64 mmc1
84: 2133 INTC 68 gp_timer
86: 290 INTC 70 44e0b000.i2c
88: 488 INTC 72 serial
91: 0 INTC 75 rtc0
92: 0 INTC 76 rtc0
93: 0 INTC 77 wkup_m3
94: 1 INTC 78 wkup_m3_txev
125: 0 INTC 109 53100000.sham
127: 0 INTC 111 48310000.rng
174: 1 44e07000.gpio 30 button2
209: 0 481ac000.gpio 1 mmc1
210: 0 481ac000.gpio 2 button1
211: 0 481ac000.gpio 3 button0
213: 0 481ac000.gpio 5 button3
243: 0 481ae000.gpio 3 wl18xx
Err: 0
root@am335x-evm:~#
root@am335x-evm:~#
root@am335x-evm:~# ifconfig
eth0 Link encap:Ethernet HWaddr 6C:EC:EB:AA:97:48
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:56

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:700 (700.0 B) TX bytes:700 (700.0 B)

wlan0 Link encap:Ethernet HWaddr 78:A5:04:2E:88:99
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

root@am335x-evm:~#
root@am335x-evm:~#
root@am335x-evm:~# iw wlan0 scan
[ 167.008820] wlcore: ERROR ELP wakeup timeout!
[ 167.013247] ------------[ cut here ]------------
[ 167.018122] WARNING: CPU: 0 PID: 1586 at /home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/am335x_evm-linux-gnueabi/ti-compat-wireless-wl18xx/R8.5+gitAUTOINC+ad69b45b9a-r22+g/compat-wireless/driver
s/net/wireless/ti/wlcore/main.c:830 wl12xx_queue_recovery_work+0x74/0x7c [wlcore]()
[ 167.046405] Modules linked in: wl18xx(O) wlcore(O) mac80211(O) cfg80211(O) musb_dsps musb_hdrc snd_soc_evm wlcore_sdio(O) compat(O) lis3lv02d_i2c snd_soc_tlv320aic3x lis3lv02d input_polldev cryptodev(O) btwilink snd_soc_davinci_mcasp m
usb_am335x bluetooth 6lowpan_iphc
[ 167.070601] CPU: 0 PID: 1586 Comm: iw Tainted: G O 3.14.43-g875c69b #1
[ 167.078039] Backtrace:
[ 167.080606] [<c0011240>] (dump_backtrace) from [<c00113dc>] (show_stack+0x18/0x1c)
[ 167.088220] r6:0000033e r5:00000009 r4:00000000 r3:00000000
[ 167.094024] [<c00113c4>] (show_stack) from [<c05b30a0>] (dump_stack+0x20/0x28)
[ 167.101360] [<c05b3080>] (dump_stack) from [<c0034ffc>] (warn_slowpath_common+0x6c/0x8c)
[ 167.109548] [<c0034f90>] (warn_slowpath_common) from [<c0035040>] (warn_slowpath_null+0x24/0x2c)
[ 167.118390] r8:bf192c5c r7:ffffcbda r6:c082c9b0 r5:ffffff92 r4:cf631460
[ 167.125324] [<c003501c>] (warn_slowpath_null) from [<bf174dc8>] (wl12xx_queue_recovery_work+0x74/0x7c [wlcore])
[ 167.135722] [<bf174d54>] (wl12xx_queue_recovery_work [wlcore]) from [<bf17f66c>] (wl1271_ps_elp_wakeup+0xd8/0x1e0 [wlcore])
[ 167.146944] r4:cf631460 r3:200f0093
[ 167.150779] [<bf17f594>] (wl1271_ps_elp_wakeup [wlcore]) from [<bf1707d0>] (wl1271_op_hw_scan+0x64/0xdc [wlcore])
[ 167.161127] r10:cf3a6dfc r8:00000000 r7:cf630b60 r6:cf70b460 r5:cf3a6cc0 r4:cf631494
[ 167.169460] [<bf17076c>] (wl1271_op_hw_scan [wlcore]) from [<bf108200>] (__ieee80211_start_scan+0x180/0x364 [mac80211])
[ 167.180346] r10:cf6c8360 r9:00000000 r8:cf630120 r7:cf70b468 r6:cf70b460 r5:cf3a6cc0
[ 167.188289] r4:cf630b60
[ 167.191132] [<bf108080>] (__ieee80211_start_scan [mac80211]) from [<bf108dcc>] (ieee80211_request_scan+0x30/0x4c [mac80211])
[ 167.202443] r6:00000000 r5:cf3a6d80 r4:cf70b460
[ 167.207430] [<bf108d9c>] (ieee80211_request_scan [mac80211]) from [<bf11727c>] (ieee80211_scan+0xa8/0xac [mac80211])
[ 167.218041] r5:cf630000 r4:00000001
[ 167.222152] [<bf1171d4>] (ieee80211_scan [mac80211]) from [<bf0d7f74>] (nl80211_trigger_scan+0x574/0x5bc [cfg80211])
[ 167.232769] r4:cc34dc7c r3:bf1171d4
[ 167.236576] [<bf0d7a00>] (nl80211_trigger_scan [cfg80211]) from [<c0521198>] (genl_rcv_msg+0x214/0x370)
[ 167.246064] r10:00000000 r9:cf6c8350 r8:bf0dfe4c r7:cf6c8340 r6:cf42a6c0 r5:cc2c7800
[ 167.254023] r4:bf0e257c
[ 167.256613] [<c0520f84>] (genl_rcv_msg) from [<c05205c0>] (netlink_rcv_skb+0xb4/0xc8)
[ 167.264516] r10:00000000 r9:00000000 r8:cc34dd0c r7:cf42a6c0 r6:c0520f84 r5:cf42a6c0
[ 167.272473] r4:cf6c8340
[ 167.275060] [<c052050c>] (netlink_rcv_skb) from [<c052077c>] (genl_rcv+0x30/0x3c)
[ 167.282610] r6:cf544800 r5:cf42a6c0 r4:c085e974 r3:c052074c
[ 167.288366] [<c052074c>] (genl_rcv) from [<c051ff98>] (netlink_unicast+0x180/0x1ec)
[ 167.296100] r5:00000024 r4:cf143c00
[ 167.299763] [<c051fe18>] (netlink_unicast) from [<c0520348>] (netlink_sendmsg+0x298/0x36c)
[ 167.308073] r10:00000000 r8:00000008 r7:cf42a6c0 r6:cf544800 r5:cc34ddd0 r4:cc34df5c
[ 167.316076] [<c05200b0>] (netlink_sendmsg) from [<c04ef7d4>] (sock_sendmsg+0x90/0xb0)
[ 167.323979] r10:cc34de60 r9:00000000 r8:00000000 r7:ce945500 r6:cf603400 r5:cc34ddd0
[ 167.331971] r4:c05200b0
[ 167.334559] [<c04ef744>] (sock_sendmsg) from [<c04f0574>] (___sys_sendmsg.part.28+0x28c/0x29c)
[ 167.343248] r6:cc34de60 r5:00000024 r4:cc34df5c
[ 167.347958] [<c04f02e8>] (___sys_sendmsg.part.28) from [<c04f18bc>] (__sys_sendmsg+0x54/0x80)
[ 167.356558] r10:00000000 r9:cc34c000 r8:c000e904 r7:00000128 r6:00000000 r5:be84ba48
[ 167.364519] r4:ce945500
[ 167.367095] [<c04f1868>] (__sys_sendmsg) from [<c04f18f8>] (SyS_sendmsg+0x10/0x14)
[ 167.374734] r6:0002b320 r5:0002c460 r4:0002b290
[ 167.379466] [<c04f18e8>] (SyS_sendmsg) from [<c000e780>] (ret_fast_syscall+0x0/0x30)
[ 167.387266] ---[ end trace 78d5e630b4c711c1 ]---
[ 167.393902] wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.31
[ 167.400848] ------------[ cut here ]------------
[ 167.405688] WARNING: CPU: 0 PID: 9 at /home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/am335x_evm-linux-gnueabi/ti-compat-wireless-wl18xx/R8.5+gitAUTOINC+ad69b45b9a-r22+g/compat-wireless/drivers/n
et/wireless/ti/wlcore/io.h:65 wlcore_set_partition+0xa0/0x488 [wlcore]()
[ 167.432985] Modules linked in: wl18xx(O) wlcore(O) mac80211(O) cfg80211(O) musb_dsps musb_hdrc snd_soc_evm wlcore_sdio(O) compat(O) lis3lv02d_i2c snd_soc_tlv320aic3x lis3lv02d input_polldev cryptodev(O) btwilink snd_soc_davinci_mcasp m
usb_am335x bluetooth 6lowpan_iphc
[ 167.457146] CPU: 0 PID: 9 Comm: kworker/u2:1 Tainted: G W O 3.14.43-g875c69b #1
[ 167.465324] Workqueue: phy0 wl1271_recovery_work [wlcore]
[ 167.470799] Backtrace:
[ 167.473316] [<c0011240>] (dump_backtrace) from [<c00113dc>] (show_stack+0x18/0x1c)
[ 167.480961] r6:00000041 r5:00000009 r4:00000000 r3:c082deb8
[ 167.486737] [<c00113c4>] (show_stack) from [<c05b30a0>] (dump_stack+0x20/0x28)
[ 167.494064] [<c05b3080>] (dump_stack) from [<c0034ffc>] (warn_slowpath_common+0x6c/0x8c)
[ 167.502252] [<c0034f90>] (warn_slowpath_common) from [<c0035040>] (warn_slowpath_null+0x24/0x2c)
[ 167.511120] r8:00000000 r7:00000000 r6:bf192c5c r5:bf1b3474 r4:cf631460
[ 167.518025] [<c003501c>] (warn_slowpath_null) from [<bf17ba68>] (wlcore_set_partition+0xa0/0x488 [wlcore])
[ 167.527932] [<bf17b9c8>] (wlcore_set_partition [wlcore]) from [<bf175230>] (wl1271_recovery_work+0x70/0x55c [wlcore])
[ 167.538629] r7:cf076100 r6:cf631494 r5:cf631460 r4:cf6316f4
[ 167.544502] [<bf1751c0>] (wl1271_recovery_work [wlcore]) from [<c0047c64>] (process_one_work+0xfc/0x338)
[ 167.554065] r10:00000000 r9:cf0b2000 r8:00000000 r7:cf076100 r6:cf072a00 r5:cf6316f4
[ 167.562037] r4:cf0a0100
[ 167.564620] [<c0047b68>] (process_one_work) from [<c0047ff8>] (worker_thread+0x11c/0x364)
[ 167.572874] r10:c086399f r9:cf072a00 r8:00000001 r7:cf0b2000 r6:cf0a0118 r5:cf072a10
[ 167.580846] r4:cf0a0100
[ 167.583430] [<c0047edc>] (worker_thread) from [<c004dbfc>] (kthread+0xc4/0xe0)
[ 167.590722] r10:00000000 r9:00000000 r8:00000000 r7:c0047edc r6:cf0a0100 r5:cf0a2fc0
[ 167.598664] r4:00000000
[ 167.601271] [<c004db38>] (kthread) from [<c000e818>] (ret_from_fork+0x14/0x3c)
[ 167.608535] r7:00000000 r6:00000000 r5:c004db38 r4:cf0a2fc0
[ 167.614311] ---[ end trace 78d5e630b4c711c2 ]---
[ 167.619006] wlcore: down
command failed: Connection timed out (-110)[ 167.625293] ieee80211 phy0: Hardware restart was requested

root@am335x-evm:~# [ 168.079910] wlcore: PHY firmware version: Rev 8.2.0.0.224
[ 168.144378] wlcore: firmware booted (Rev 8.9.0.0.31)

root@am335x-evm:~#
root@am335x-evm:~#
root@am335x-evm:~# cat /proc/interrupts
CPU0
28: 4671 INTC 12 edma
30: 18 INTC 14 edma_error
32: 0 INTC 16 TI-am335x-tsc
33: 0 INTC 17 47400000.dma-controller
34: 0 INTC 18 musb-hdrc.1.auto
35: 1 INTC 19 musb-hdrc.2.auto
44: 3028 INTC 28 mmc0
52: 9741 INTC 36 tilcdc
56: 0 INTC 40 4a100000.ethernet
57: 0 INTC 41 4a100000.ethernet
58: 0 INTC 42 4a100000.ethernet
59: 0 INTC 43 4a100000.ethernet
80: 7195 INTC 64 mmc1
84: 2537 INTC 68 gp_timer
86: 294 INTC 70 44e0b000.i2c
88: 659 INTC 72 serial
91: 0 INTC 75 rtc0
92: 0 INTC 76 rtc0
93: 0 INTC 77 wkup_m3
94: 1 INTC 78 wkup_m3_txev
125: 0 INTC 109 53100000.sham
127: 0 INTC 111 48310000.rng
174: 1 44e07000.gpio 30 button2
209: 0 481ac000.gpio 1 mmc1
210: 0 481ac000.gpio 2 button1
211: 0 481ac000.gpio 3 button0
213: 0 481ac000.gpio 5 button3
243: 0 481ae000.gpio 3 wl18xx
Err: 0
root@am335x-evm:~#
root@am335x-evm:~#
root@am335x-evm:~# ifconfig wlan0 down
[ 194.458826] wlcore: ERROR ELP wakeup timeout!
[ 194.463260] ------------[ cut here ]------------
[ 194.468150] WARNING: CPU: 0 PID: 6 at /home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/am335x_evm-linux-gnueabi/ti-compat-wireless-wl18xx/R8.5+gitAUTOINC+ad69b45b9a-r22+g/compat-wireless/drivers/n
et/wireless/ti/wlcore/main.c:830 wl12xx_queue_recovery_work+0x74/0x7c [wlcore]()
[ 194.496177] Modules linked in: wl18xx(O) wlcore(O) mac80211(O) cfg80211(O) musb_dsps musb_hdrc snd_soc_evm wlcore_sdio(O) compat(O) lis3lv02d_i2c snd_soc_tlv320aic3x lis3lv02d input_polldev cryptodev(O) btwilink snd_soc_davinci_mcasp m
usb_am335x bluetooth 6lowpan_iphc
[ 194.520369] CPU: 0 PID: 6 Comm: kworker/u2:0 Tainted: G W O 3.14.43-g875c69b #1
[ 194.528705] Workqueue: phy0 ieee80211_reconfig_filter [mac80211]
[ 194.534801] Backtrace:
[ 194.537344] [<c0011240>] (dump_backtrace) from [<c00113dc>] (show_stack+0x18/0x1c)
[ 194.544992] r6:0000033e r5:00000009 r4:00000000 r3:c082deb8
[ 194.550786] [<c00113c4>] (show_stack) from [<c05b30a0>] (dump_stack+0x20/0x28)
[ 194.558097] [<c05b3080>] (dump_stack) from [<c0034ffc>] (warn_slowpath_common+0x6c/0x8c)
[ 194.566288] [<c0034f90>] (warn_slowpath_common) from [<c0035040>] (warn_slowpath_null+0x24/0x2c)
[ 194.575156] r8:bf192c5c r7:ffffd692 r6:c082c9b0 r5:ffffff92 r4:cf631460
[ 194.582120] [<c003501c>] (warn_slowpath_null) from [<bf174dc8>] (wl12xx_queue_recovery_work+0x74/0x7c [wlcore])
[ 194.592516] [<bf174d54>] (wl12xx_queue_recovery_work [wlcore]) from [<bf17f66c>] (wl1271_ps_elp_wakeup+0xd8/0x1e0 [wlcore])
[ 194.603735] r4:cf631460 r3:20000093
[ 194.607552] [<bf17f594>] (wl1271_ps_elp_wakeup [wlcore]) from [<bf170a64>] (wl1271_op_configure_filter+0x58/0x12c [wlcore])
[ 194.618775] r10:cf631494 r8:00000000 r7:cf35e340 r6:cf631460 r5:00000000 r4:cf35e340
[ 194.626930] [<bf170a0c>] (wl1271_op_configure_filter [wlcore]) from [<bf102310>] (ieee80211_configure_filter+0x164/0x1c8 [mac80211])
[ 194.638941] r10:00000000 r9:cf08e000 r8:00000000 r7:cf08feb4 r6:cf630b60 r5:00000000
[ 194.646883] r4:cf35e340
[ 194.649691] [<bf1021ac>] (ieee80211_configure_filter [mac80211]) from [<bf102388>] (ieee80211_reconfig_filter+0x14/0x18 [mac80211])
[ 194.661635] r8:00000001 r7:cf076100 r6:cf072a00 r5:cf630c54 r4:cf066880
[ 194.668565] [<bf102374>] (ieee80211_reconfig_filter [mac80211]) from [<c0047c64>] (process_one_work+0xfc/0x338)
[ 194.678785] [<c0047b68>] (process_one_work) from [<c0047ff8>] (worker_thread+0x11c/0x364)
[ 194.687011] r10:c086399f r9:cf072a00 r8:00000001 r7:cf08e000 r6:cf066898 r5:cf072a10
[ 194.694972] r4:cf066880
[ 194.697567] [<c0047edc>] (worker_thread) from [<c004dbfc>] (kthread+0xc4/0xe0)
[ 194.704857] r10:00000000 r9:00000000 r8:00000000 r7:c0047edc r6:cf066880 r5:cf073c00
[ 194.712813] r4:00000000
[ 194.715405] [<c004db38>] (kthread) from [<c000e818>] (ret_from_fork+0x14/0x3c)
[ 194.722694] r7:00000000 r6:00000000 r5:c004db38 r4:cf073c00
[ 194.728433] ---[ end trace 78d5e630b4c711c3 ]---
[ 194.734726] wlcore: down
[ 194.737622] wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.31
[ 194.744499] ------------[ cut here ]------------
[ 194.749272] WARNING: CPU: 0 PID: 9 at /home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/am335x_evm-linux-gnueabi/ti-compat-wireless-wl18xx/R8.5+gitAUTOINC+ad69b45b9a-r22+g/compat-wireless/drivers/n
et/wireless/ti/wlcore/io.h:65 wlcore_set_partition+0xa0/0x488 [wlcore]()
[ 194.776530] Modules linked in: wl18xx(O) wlcore(O) mac80211(O) cfg80211(O) musb_dsps musb_hdrc snd_soc_evm wlcore_sdio(O) compat(O) lis3lv02d_i2c snd_soc_tlv320aic3x lis3lv02d input_polldev cryptodev(O) btwilink snd_soc_davinci_mcasp m
usb_am335x bluetooth 6lowpan_iphc
[ 194.800571] CPU: 0 PID: 9 Comm: kworker/u2:1 Tainted: G W O 3.14.43-g875c69b #1
[ 194.808668] Workqueue: phy0 wl1271_recovery_work [wlcore]
[ 194.814113] Backtrace:
[ 194.816602] [<c0011240>] (dump_backtrace) from [<c00113dc>] (show_stack+0x18/0x1c)
[ 194.824226] r6:00000041 r5:00000009 r4:00000000 r3:c082deb8
[ 194.829966] [<c00113c4>] (show_stack) from [<c05b30a0>] (dump_stack+0x20/0x28)
[ 194.837241] [<c05b3080>] (dump_stack) from [<c0034ffc>] (warn_slowpath_common+0x6c/0x8c)
[ 194.845397] [<c0034f90>] (warn_slowpath_common) from [<c0035040>] (warn_slowpath_null+0x24/0x2c)
[ 194.854233] r8:00000001 r7:00000000 r6:bf192c5c r5:bf1b3474 r4:cf631460
[ 194.861071] [<c003501c>] (warn_slowpath_null) from [<bf17ba68>] (wlcore_set_partition+0xa0/0x488 [wlcore])
[ 194.870866] [<bf17b9c8>] (wlcore_set_partition [wlcore]) from [<bf175230>] (wl1271_recovery_work+0x70/0x55c [wlcore])
[ 194.881542] r7:cf076100 r6:cf631494 r5:cf631460 r4:cf6316f4
[ 194.887303] [<bf1751c0>] (wl1271_recovery_work [wlcore]) from [<c0047c64>] (process_one_work+0xfc/0x338)
[ 194.896844] r10:00000000 r9:cf0b2000 r8:00000001 r7:cf076100 r6:cf072a00 r5:cf6316f4
[ 194.904754] r4:cf0a0100
[ 194.907313] [<c0047b68>] (process_one_work) from [<c0047ff8>] (worker_thread+0x11c/0x364)
[ 194.915542] r10:c086399f r9:cf072a00 r8:00000001 r7:cf0b2000 r6:cf0a0118 r5:cf072a10
[ 194.923452] r4:cf0a0100
[ 194.926013] [<c0047edc>] (worker_thread) from [<c004dbfc>] (kthread+0xc4/0xe0)
[ 194.933282] r10:00000000 r9:00000000 r8:00000000 r7:c0047edc r6:cf0a0100 r5:cf0a2fc0
[ 194.941193] r4:00000000
[ 194.943750] [<c004db38>] (kthread) from [<c000e818>] (ret_from_fork+0x14/0x3c)
[ 194.951020] r7:00000000 r6:00000000 r5:c004db38 r4:cf0a2fc0
[ 194.956730] ---[ end trace 78d5e630b4c711c4 ]---
[ 194.962638] ieee80211 phy0: Hardware restart was requested
root@am335x-evm:~#
root@am335x-evm:~#
root@am335x-evm:~#
root@am335x-evm:~# ifconfig
eth0 Link encap:Ethernet HWaddr 6C:EC:EB:AA:97:48
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:56

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:700 (700.0 B) TX bytes:700 (700.0 B)

root@am335x-evm:~#
root@am335x-evm:~#
root@am335x-evm:~#

DTS file:

/*
* Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/

/*
* AM335x Starter Kit
* www.ti.com/.../tmdssk3358
*/

/dts-v1/;

#include "am33xx.dtsi"
#include <dt-bindings/pwm/pwm.h>
#include <dt-bindings/interrupt-controller/irq.h>

/ {
model = "TI AM335x EVM-SK";
compatible = "ti,am335x-evmsk", "ti,am33xx";

cpus {
cpu@0 {
cpu0-supply = <&vdd1_reg>;
};
};

memory {
device_type = "memory";
reg = <0x80000000 0x10000000>; /* 256 MB */
};


wlan_en_reg: fixedregulator@2 {
compatible = "regulator-fixed";
regulator-name = "wlan-en-regulator";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
/* WLAN_EN GPIO for this board - Bank1, pin29 */
gpio = <&gpio1 29 0>;
/* WLAN card specific delay */
startup-delay-us = <70000>;
enable-active-high;
};

wlcore {
compatible = "wlcore";
gpio = <99>; /* Bank3, pin3 */
board-ref-clock = <4>;
};

kim {
compatible = "kim";
nshutdown_gpio = <44>; /* Bank1, pin12 */
dev_name = "/dev/ttyO4";
flow_cntrl = <1>;
baud_rate = <3000000>;
};

btwilink {
compatible = "btwilink";
};

vbat: fixedregulator@0 {
compatible = "regulator-fixed";
regulator-name = "vbat";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-boot-on;
};

lis3_reg: fixedregulator@1 {
compatible = "regulator-fixed";
regulator-name = "lis3_reg";
regulator-boot-on;
};

/*wl12xx_vmmc: fixedregulator@2 {
pinctrl-names = "default";
pinctrl-0 = <&wl12xx_gpio>;
compatible = "regulator-fixed";
regulator-name = "vwl1271";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
gpio = <&gpio1 29 0>;
startup-delay-us = <70000>;
enable-active-high;
};*/

vtt_fixed: fixedregulator@3 {
compatible = "regulator-fixed";
regulator-name = "vtt";
regulator-min-microvolt = <1500000>;
regulator-max-microvolt = <1500000>;
gpio = <&gpio0 7 GPIO_ACTIVE_HIGH>;
regulator-always-on;
regulator-boot-on;
enable-active-high;
};

leds {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&user_leds_default>;
pinctrl-1 = <&user_leds_sleep>;

compatible = "gpio-leds";

led@1 {
label = "evmsk:green:usr0";
gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
default-state = "off";
};

led@2 {
label = "evmsk:green:usr1";
gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
default-state = "off";
};

led@3 {
label = "evmsk:green:mmc0";
gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "mmc0";
default-state = "off";
};

led@4 {
label = "evmsk:green:heartbeat";
gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "heartbeat";
default-state = "off";
};
};

gpio_buttons: gpio_buttons@0 {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;

switch@1 {
label = "button0";
linux,code = <0x100>;
gpios = <&gpio2 3 GPIO_ACTIVE_HIGH>;
};

switch@2 {
label = "button1";
linux,code = <0x101>;
gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>;
};

switch@3 {
label = "button2";
linux,code = <0x102>;
gpios = <&gpio0 30 GPIO_ACTIVE_HIGH>;
gpio-key,wakeup;
};

switch@4 {
label = "button3";
linux,code = <0x103>;
gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;
};
};

backlight {
compatible = "pwm-backlight";
pwms = <&ecap2 0 50000 PWM_POLARITY_INVERTED>;
brightness-levels = <0 58 61 66 75 90 125 170 255>;
default-brightness-level = <8>;
};

sound {
compatible = "ti,da830-evm-audio";
ti,model = "AM335x-EVMSK";
ti,audio-codec = <&tlv320aic3106>;
ti,mcasp-controller = <&mcasp1>;
ti,codec-clock-rate = <24000000>;
ti,audio-routing =
"Headphone Jack", "HPLOUT",
"Headphone Jack", "HPROUT";
};

panel {
compatible = "ti,tilcdc,panel";
pinctrl-names = "default", "sleep";
pinctrl-0 = <&lcd_pins_default>;
pinctrl-1 = <&lcd_pins_sleep>;
status = "okay";
panel-info {
ac-bias = <255>;
ac-bias-intrpt = <0>;
dma-burst-sz = <16>;
bpp = <32>;
fdd = <0x80>;
sync-edge = <0>;
sync-ctrl = <1>;
raster-order = <0>;
fifo-th = <0>;
};
display-timings {
480x272 {
hactive = <480>;
vactive = <272>;
hback-porch = <43>;
hfront-porch = <8>;
hsync-len = <4>;
vback-porch = <12>;
vfront-porch = <4>;
vsync-len = <10>;
clock-frequency = <9000000>;
hsync-active = <0>;
vsync-active = <0>;
};
};
};
};

&am33xx_pinmux {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&clkout2_pin &mmc2_pins &wlan_pins_default &uart4_pins_default>;
pinctrl-1 = <&clkout2_pin &mmc2_pins_sleep &wlan_pins_sleep &uart4_pins_sleep>;


ddr3_vtt_toggle: ddr3_vtt_toggle {
pinctrl-single,pins = <
0x164 0x7 /* ecap0_in_pwm0_out.gpio0_7, OUTPUT | MODE7 */
>;
};


lcd_pins_default: lcd_pins_default {
pinctrl-single,pins = <
0xe0 ( PIN_OUTPUT_PULLDOWN | MUX_MODE0 ) /* (U5) lcd_vsync.lcd_vsync */
0xe4 ( PIN_OUTPUT_PULLDOWN | MUX_MODE0 ) /* (R5) lcd_hsync.lcd_hsync */
0xe8 ( PIN_OUTPUT_PULLDOWN | MUX_MODE0 ) /* (V5) lcd_pclk.lcd_pclk */
0xec ( PIN_OUTPUT_PULLDOWN | MUX_MODE0 ) /* (R6) lcd_ac_bias_en.lcd_ac_bias_en */
0xa0 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (R1) lcd_data0.lcd_data0 */
0xa4 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (R2) lcd_data1.lcd_data1 */
0xa8 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (R3) lcd_data2.lcd_data2 */
0xac ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (R4) lcd_data3.lcd_data3 */
0xb0 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (T1) lcd_data4.lcd_data4 */
0xb4 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (T2) lcd_data5.lcd_data5 */
0xb8 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (T3) lcd_data6.lcd_data6 */
0xbc ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (T4) lcd_data7.lcd_data7 */
0xc0 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (U1) lcd_data8.lcd_data8 */
0xc4 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (U2) lcd_data9.lcd_data9 */
0xc8 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (U3) lcd_data10.lcd_data10 */
0xcc ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (U4) lcd_data11.lcd_data11 */
0xd0 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (V2) lcd_data12.lcd_data12 */
0xd4 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (V3) lcd_data13.lcd_data13 */
0xd8 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (V4) lcd_data14.lcd_data14 */
0xdc ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (T5) lcd_data15.lcd_data15 */
0x3c ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (U13) gpmc_ad15.lcd_data16 */
0x38 ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (V13) gpmc_ad14.lcd_data17 */
0x34 ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (R12) gpmc_ad13.lcd_data18 */
//0x30 ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (T12) gpmc_ad12.lcd_data19 */
//0x2c ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (U12) gpmc_ad11.lcd_data20 */
//0x28 ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (T11) gpmc_ad10.lcd_data21 */
0x24 ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (T10) gpmc_ad9.lcd_data22 */
0x20 ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (U10) gpmc_ad8.lcd_data23 */
>;
};

/* Optional sleep pin settings. Must manually enter values in the below skeleton. */
lcd_pins_sleep: lcd_pins_sleep {
pinctrl-single,pins = <
0xe0 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U5) lcd_vsync.lcd_vsync */
0xe4 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (R5) lcd_hsync.lcd_hsync */
0xe8 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V5) lcd_pclk.lcd_pclk */
0xec (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (R6) lcd_ac_bias_en.lcd_ac_bias_en */
0xa0 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (R1) lcd_data0.lcd_data0 */
0xa4 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (R2) lcd_data1.lcd_data1 */
0xa8 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (R3) lcd_data2.lcd_data2 */
0xac (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (R4) lcd_data3.lcd_data3 */
0xb0 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T1) lcd_data4.lcd_data4 */
0xb4 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T2) lcd_data5.lcd_data5 */
0xb8 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T3) lcd_data6.lcd_data6 */
0xbc (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T4) lcd_data7.lcd_data7 */
0xc0 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U1) lcd_data8.lcd_data8 */
0xc4 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U2) lcd_data9.lcd_data9 */
0xc8 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U3) lcd_data10.lcd_data10 */
0xcc (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U4) lcd_data11.lcd_data11 */
0xd0 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V2) lcd_data12.lcd_data12 */
0xd4 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V3) lcd_data13.lcd_data13 */
0xd8 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V4) lcd_data14.lcd_data14 */
0xdc (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T5) lcd_data15.lcd_data15 */
0x3c (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U13) gpmc_ad15.lcd_data16 */
0x38 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V13) gpmc_ad14.lcd_data17 */
0x34 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (R12) gpmc_ad13.lcd_data18 */
//0x30 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T12) gpmc_ad12.lcd_data19 */
//0x2c (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U12) gpmc_ad11.lcd_data20 */
//0x28 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T11) gpmc_ad10.lcd_data21 */
0x24 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T10) gpmc_ad9.lcd_data22 */
0x20 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U10) gpmc_ad8.lcd_data23 */
>;
};

user_leds_default: user_leds_default {
pinctrl-single,pins = <
0x10 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad4.gpio1_4 */
0x14 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad5.gpio1_5 */
0x18 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad6.gpio1_6 */
0x1c (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad7.gpio1_7 */
>;
};

user_leds_sleep: user_leds_sleep {
pinctrl-single,pins = <
0x10 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_a5.gpio1_21 */
0x14 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_a6.gpio1_22 */
0x18 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_a7.gpio1_23 */
0x1c (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_a8.gpio1_24 */
>;
};


gpio_keys_s0: gpio_keys_s0 {
pinctrl-single,pins = <
0x88 ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (T13) gpmc_csn3.gpio2[0] */
0x8c ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V12) gpmc_clk.gpio2[1] */
0x90 ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (R7) gpmc_advn_ale.gpio2[2] */
0x94 ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (T7) gpmc_oen_ren.gpio2[3] */
0x98 ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (U6) gpmc_wen.gpio2[4] */
0x9c ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (T6) gpmc_be0n_cle.gpio2[5] */
0x13c ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (L15) gmii1_rxd1.gpio2[20] */
0x140 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (M16) gmii1_rxd0.gpio2[21] */
>;
};



gpio3_pins_default: pinmux_gpio3_pins_default {
pinctrl-single,pins = <
//0x114 ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (J16) gmii1_txen.gpio3[3] */
0x19c ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (C12) mcasp0_ahclkr.gpio3[17] */
0x1a0 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (B12) mcasp0_aclkr.gpio3[18] */
0x1a4 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (C13) mcasp0_fsr.gpio3[19] */
0x1a8 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (D13) mcasp0_axr1.gpio3[20] */
0x1ac ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (A14) mcasp0_ahclkx.gpio3[21] */
>;
};


gpio0_pins_default: pinmux_gpio0_pins_default {
pinctrl-single,pins = <
0x15c ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (A16) spi0_cs0.gpio0[5] */
0x160 ( PIN_INPUT | MUX_MODE7 ) /* (C15) spi0_cs1.gpio0[6] */
0x164 ( PIN_INPUT | MUX_MODE7 ) /* (C18) eCAP0_in_PWM0_out.gpio0[7] */
0x11c ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (J18) gmii1_txd3.gpio0[16] */
0x120 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (K15) gmii1_txd2.gpio0[17] */
0x21c ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (F16) USB0_DRVVBUS.gpio0[18] */
0x1b0 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (A15) xdma_event_intr0.gpio0[19] */
0x1b4 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (D14) xdma_event_intr1.gpio0[20] */
0x124 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (K16) gmii1_txd1.gpio0[21] */
0x128 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (K17) gmii1_txd0.gpio0[28] */
>;
};

i2c0_pins: pinmux_i2c0_pins {
pinctrl-single,pins = <
0x188 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c0_sda.i2c0_sda */
0x18c (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c0_scl.i2c0_scl */
>;
};

uart0_pins: pinmux_uart0_pins {
pinctrl-single,pins = <
0x170 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart0_rxd.uart0_rxd */
0x174 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart0_txd.uart0_txd */
>;
};

clkout2_pin: pinmux_clkout2_pin {
pinctrl-single,pins = <
//0x1b4 (PIN_OUTPUT_PULLDOWN | MUX_MODE3) /* xdma_event_intr1.clkout2 */
>;
};

ecap2_pins_default: backlight_pins {
pinctrl-single,pins = <
//0x19c 0x4 /* mcasp0_ahclkr.ecap2_in_pwm2_out MODE4 */
>;
};

ecap2_pins_sleep: ecap2_pins_sleep {
pinctrl-single,pins = <
//0x19c (PIN_INPUT_PULLDOWN | MUX_MODE7) /* mcasp0_ahclkr.ecap2_in_pwm2_out */
>;
};


cpsw_default: cpsw_default {
pinctrl-single,pins = <
0x78 ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (U18) gpmc_be1n.gmii2_col */
0x70 ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (T17) gpmc_wait0.gmii2_crs */
0x74 ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (U17) gpmc_wpn.gmii2_rxer */
0x40 ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (R13) gpmc_a0.gmii2_txen */
0x44 ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (V14) gpmc_a1.gmii2_rxdv */
0x58 ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (U15) gpmc_a6.gmii2_txclk */
0x5c ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (T15) gpmc_a7.gmii2_rxclk */
0x54 ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (V15) gpmc_a5.gmii2_txd0 */
0x50 ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (R14) gpmc_a4.gmii2_txd1 */
0x4c ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (T14) gpmc_a3.gmii2_txd2 */
0x48 ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (U14) gpmc_a2.gmii2_txd3 */
0x6c ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (V17) gpmc_a11.gmii2_rxd0 */
0x68 ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (T16) gpmc_a10.gmii2_rxd1 */
0x64 ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (U16) gpmc_a9.gmii2_rxd2 */
0x60 ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (V16) gpmc_a8.gmii2_rxd3 */
>;
};

/* Optional sleep pin settings. Must manually enter values in the below skeleton. */
cpsw_sleep: cpsw_sleep {
pinctrl-single,pins = <
0x78 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U18) gpmc_be1n.gmii2_col */
0x70 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T17) gpmc_wait0.gmii2_crs */
0x74 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U17) gpmc_wpn.gmii2_rxer */
0x40 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (R13) gpmc_a0.gmii2_txen */
0x44 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V14) gpmc_a1.gmii2_rxdv */
0x58 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U15) gpmc_a6.gmii2_txclk */
0x5c (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T15) gpmc_a7.gmii2_rxclk */
0x54 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V15) gpmc_a5.gmii2_txd0 */
0x50 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (R14) gpmc_a4.gmii2_txd1 */
0x4c (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T14) gpmc_a3.gmii2_txd2 */
0x48 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U14) gpmc_a2.gmii2_txd3 */
0x6c (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V17) gpmc_a11.gmii2_rxd0 */
0x68 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T16) gpmc_a10.gmii2_rxd1 */
0x64 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U16) gpmc_a9.gmii2_rxd2 */
0x60 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V16) gpmc_a8.gmii2_rxd3 */
>;
};


davinci_mdio_default: davinci_mdio_default {
pinctrl-single,pins = <
/* MDIO */
0x148 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0) /* mdio_data.mdio_data */
0x14c (PIN_OUTPUT_PULLUP | MUX_MODE0) /* mdio_clk.mdio_clk */
>;
};

davinci_mdio_sleep: davinci_mdio_sleep {
pinctrl-single,pins = <
/* MDIO reset value */
0x148 (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x14c (PIN_INPUT_PULLDOWN | MUX_MODE7)
>;
};


mcasp1_pins: mcasp1_pins {
pinctrl-single,pins = <
0x10c (PIN_INPUT_PULLDOWN | MUX_MODE4) /* mii1_crs.mcasp1_aclkx */
0x110 (PIN_INPUT_PULLDOWN | MUX_MODE4) /* mii1_rxerr.mcasp1_fsx */
0x108 (PIN_OUTPUT_PULLDOWN | MUX_MODE4) /* mii1_col.mcasp1_axr2 */
0x144 (PIN_INPUT_PULLDOWN | MUX_MODE4) /* rmii1_ref_clk.mcasp1_axr3 */
>;
};

mcasp1_pins_sleep: mcasp1_pins_sleep {
pinctrl-single,pins = <
0x10c (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x110 (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x108 (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x144 (PIN_INPUT_PULLDOWN | MUX_MODE7)
>;
};

//wl12xx_gpio: wl12xx_gpio {
//pinctrl-single,pins = <
//0x7c (PIN_OUTPUT_PULLUP | MUX_MODE7) /* gpmc_csn0.gpio1_29 */
//>;
//};



/* wl12xx/wl18xx card enable/irq GPIOs. */
wlan_pins_default: pinmux_wlan_pins_default {
pinctrl-single,pins = <
0x7C (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad10.gpio1_29 WL_EN*/
0x114 ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (J16) gmii1_txen.gpio3[3] WL_IRQ */
0x120 ( PIN_OUTPUT_PULLDOWN | MUX_MODE7 )/* gpmc_ad12.gpio1_12 BT_EN*/
//0x7C (PIN_OUTPUT_PULLUP | MUX_MODE0) /* gpmc_csn0.gpio1_29 BF_EN*/
>;
};

/* wl12xx/wl18xx card enable/irq GPIOs. */
wlan_pins_sleep: pinmux_wlan_pins_sleep {
pinctrl-single,pins = <
0x7C (PIN_OUTPUT_PULLUP | MUX_MODE7) /* gpmc_ad10.gpio1_29 WL_EN*/
0x114 ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (J16) gmii1_txen.gpio3[3] WL_IRQ */
0x120 ( PIN_OUTPUT_PULLUP | MUX_MODE7 ) /* gpmc_ad12.gpio1_12 BT_EN*/
//0x7C (PIN_OUTPUT_PULLUP | MUX_MODE0) /* gpmc_csn0.gpio1_29 BF_EN*/
>;
};


uart4_pins_default: pinmux_uart4_pins_default {
pinctrl-single,pins = <
0x180 ( PIN_INPUT_PULLUP | MUX_MODE0 ) /* (D16) uart1_rxd.uart1_rxd */
0x184 ( PIN_OUTPUT_PULLDOWN | MUX_MODE0 ) /* (D15) uart1_txd.uart1_txd */
0x178 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (D18) uart1_ctsn.uart1_ctsn */
0x17c ( PIN_INPUT | MUX_MODE0 ) /* (D17) uart1_rtsn.uart1_rtsn */
>;
};


/* Optional sleep pin settings. Must manually enter values in the below skeleton. */
uart4_pins_sleep: pinmux_uart4_pins_sleep {
pinctrl-single,pins = <
0x180 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (D16) uart1_rxd.uart1_rxd */
0x184 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* (D15) uart1_txd.uart1_txd */
0x178 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (D18) uart1_ctsn.uart1_ctsn */
0x17c (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (D17) uart1_rtsn.uart1_rtsn */
>;
};

mmc2_pins: pinmux_mmc2_pins {
pinctrl-single,pins = <

0x80 (PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_csn1.mmc1_clk */
0x84 (PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_csn2.mmc1_cmd */
0x00 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad0.mmc1_dat0 */
0x04 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad1.mmc1_dat1 */
0x08 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad2.mmc1_dat2 */
0x0c (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad3.mmc1_dat3 */
>;
};

mmc2_pins_sleep: pinmux_mmc2_pins_sleep {
pinctrl-single,pins = <
0x80 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_csn1.mmc1_clk */
0x84 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_csn2.mmc1_cmd */
0x00 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad0.mmc1_dat0 */
0x04 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad1.mmc1_dat1 */
0x08 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad2.mmc1_dat2 */
0x0c (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad3.mmc1_dat3 */
>;
};


mmc1_pins_default: pinmux_mmc1_pins {
pinctrl-single,pins = <
0x0F0 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat3.mmc0_dat3 */
0x0F4 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat2.mmc0_dat2 */
0x0F8 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat1.mmc0_dat1 */
0x0FC (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat0.mmc0_dat0 */
0x100 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_clk.mmc0_clk */
0x104 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_cmd.mmc0_cmd */
0x1A0 (PIN_INPUT_PULLUP | MUX_MODE7) /* mcasp0_aclkr.gpio3_18 */
0x160 (PIN_INPUT | MUX_MODE7) /* spi0_cs1.gpio0_6 */
>;
};

mmc1_pins_sleep: pinmux_mmc1_pins_sleep {
pinctrl-single,pins = <
0x0F0 (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x0F4 (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x0F8 (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x0FC (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x100 (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x104 (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x1A0 (PIN_INPUT_PULLDOWN | MUX_MODE7)
>;
};
};

&uart0 {
pinctrl-names = "default";
pinctrl-0 = <&uart0_pins>;

status = "okay";
};

&uart4 {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&uart4_pins_default>;
pinctrl-1 = <&uart4_pins_sleep>;

status = "okay";
};

&i2c0 {
pinctrl-names = "default";
pinctrl-0 = <&i2c0_pins>;

status = "okay";
clock-frequency = <400000>;

tps: tps@2d {
reg = <0x2d>;
};

lis331dlh: lis331dlh@18 {
compatible = "st,lis331dlh", "st,lis3lv02d";
reg = <0x18>;
Vdd-supply = <&lis3_reg>;
Vdd_IO-supply = <&lis3_reg>;

st,click-single-x;
st,click-single-y;
st,click-single-z;
st,click-thresh-x = <10>;
st,click-thresh-y = <10>;
st,click-thresh-z = <10>;
st,irq1-click;
st,irq2-click;
st,wakeup-x-lo;
st,wakeup-x-hi;
st,wakeup-y-lo;
st,wakeup-y-hi;
st,wakeup-z-lo;
st,wakeup-z-hi;
st,min-limit-x = <120>;
st,min-limit-y = <120>;
st,min-limit-z = <140>;
st,max-limit-x = <550>;
st,max-limit-y = <550>;
st,max-limit-z = <750>;
};

tlv320aic3106: tlv320aic3106@1b {
compatible = "ti,tlv320aic3106";
reg = <0x1b>;
status = "okay";

/* Regulators */
AVDD-supply = <&vaux2_reg>;
IOVDD-supply = <&vaux2_reg>;
DRVDD-supply = <&vaux2_reg>;
DVDD-supply = <&vbat>;
};
};

&usb {
status = "okay";

control@44e10620 {
status = "okay";
};

usb-phy@47401300 {
status = "okay";
};

usb@47401000 {
status = "okay";
};

dma-controller@47402000 {
status = "okay";
};

usb-phy@47401b00 {
status = "okay";
};
usb@47401800 {
status = "okay";
dr_mode = "host";
};
};

&epwmss2 {
status = "okay";

ecap2: ecap@48304100 {
status = "okay";
pinctrl-names = "default", "sleep";
pinctrl-0 = <&ecap2_pins_default>;
pinctrl-1 = <&ecap2_pins_sleep>;
};
};

&wkup_m3 {
ti,needs-vtt-toggle;
ti,vtt-gpio-pin = <7>;
ti,scale-data-fw = "am335x-evm-scale-data.bin";
};

#include "tps65910.dtsi"

&tps {
vcc1-supply = <&vbat>;
vcc2-supply = <&vbat>;
vcc3-supply = <&vbat>;
vcc4-supply = <&vbat>;
vcc5-supply = <&vbat>;
vcc6-supply = <&vbat>;
vcc7-supply = <&vbat>;
vccio-supply = <&vbat>;

regulators {
vrtc_reg: regulator@0 {
regulator-always-on;
};

vio_reg: regulator@1 {
regulator-always-on;
};

vdd1_reg: regulator@2 {
/* VDD_MPU voltage limits 0.95V - 1.325V with +/-4% tolerance */
regulator-name = "vdd_mpu";
regulator-min-microvolt = <912500>;
regulator-max-microvolt = <1378000>;
regulator-boot-on;
regulator-always-on;
};

vdd2_reg: regulator@3 {
/* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
regulator-name = "vdd_core";
regulator-min-microvolt = <912500>;
regulator-max-microvolt = <1150000>;
regulator-boot-on;
regulator-always-on;
};

vdd3_reg: regulator@4 {
regulator-always-on;
};

vdig1_reg: regulator@5 {
regulator-always-on;
};

vdig2_reg: regulator@6 {
regulator-always-on;
};

vpll_reg: regulator@7 {
regulator-always-on;
};

vdac_reg: regulator@8 {
regulator-always-on;
};

vaux1_reg: regulator@9 {
regulator-always-on;
};

vaux2_reg: regulator@10 {
regulator-always-on;
};

vaux33_reg: regulator@11 {
regulator-always-on;
};

vmmc_reg: regulator@12 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};
};
};

&mac {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&cpsw_default>;
pinctrl-1 = <&cpsw_sleep>;
dual_emac = <1>;
};

&davinci_mdio {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&davinci_mdio_default>;
pinctrl-1 = <&davinci_mdio_sleep>;
};

&cpsw_emac0 {
phy_id = <&davinci_mdio>, <0>;
phy-mode = "rgmii-txid";
dual_emac_res_vlan = <1>;
};

&cpsw_emac1 {
phy_id = <&davinci_mdio>, <1>;
phy-mode = "rgmii-txid";
dual_emac_res_vlan = <2>;
};

&mmc1 {
status = "okay";
vmmc-supply = <&vmmc_reg>;
bus-width = <4>;
pinctrl-names = "default", "sleep";
pinctrl-0 = <&mmc1_pins_default>;
pinctrl-1 = <&mmc1_pins_sleep>;
cd-gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
};

&sham {
status = "okay";
};

&aes {
status = "okay";
};

&gpio0 {
ti,no-reset-on-init;
};


&mmc2 {
status = "okay";
vmmc-supply = <&wlan_en_reg>;
bus-width = <4>;
pinctrl-names = "default", "sleep";
pinctrl-0 = <&mmc2_pins>;
pinctrl-1 = <&mmc2_pins_sleep>;
ti,non-removable;
ti,needs-special-hs-handling;
cap-power-off-card;
keep-power-in-suspend;

#address-cells = <1>;
#size-cells = <0>;
wlcore: wlcore@0 {
compatible = "ti,wlcore";
reg = <2>;
interrupt-parent = <&gpio3>;
interrupts = <3 IRQ_TYPE_LEVEL_HIGH>;
};
};


&mcasp1 {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&mcasp1_pins>;
pinctrl-1 = <&mcasp1_pins_sleep>;

status = "okay";

op-mode = <0>; /* MCASP_IIS_MODE */
tdm-slots = <2>;

serial-dir = <
0 0 1 2
>;
tx-num-evt = <32>;
rx-num-evt = <32>;
};

&tscadc {
status = "okay";
tsc {
ti,wires = <4>;
ti,x-plate-resistance = <200>;
ti,coordinate-readouts = <5>;
ti,wire-config = <0x00 0x11 0x22 0x33>;
ti,charge-delay = <0xb000>;
};
};

&lcdc {
status = "okay";
};

  • Hi,

    Please re-check your WLAN_IRQ pin mapping - "interrupt-parent" & "interrupts" in wlcore above.

    Regards,
    Gigi Joseph.
  • Hi,

    thanks for your answer.

    my WLAN_IRQ gpio is: gpio3[3] and my WLAN_EN gpio is gpio1[ 29] , so what i did is to declare it that way:

    in wlan_en_reg:

    wlan_en_reg: fixedregulator@2 {
    compatible = "regulator-fixed";
    regulator-name = "wlan-en-regulator";
    regulator-min-microvolt = <1800000>;
    regulator-max-microvolt = <1800000>;
    /* WLAN_EN GPIO for this board - Bank1, pin29 */
    gpio = <&gpio1 29 0>;
    /* WLAN card specific delay */
    startup-delay-us = <70000>;
    enable-active-high;
    };


    in wlcore:

    wlcore {
    compatible = "wlcore";
    gpio = <99>; /* Bank3, pin3 */
    board-ref-clock = <4>;
    };


    in mmc2:

    &mmc2 {
    status = "okay";
    vmmc-supply = <&wlan_en_reg>;
    bus-width = <4>;
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&mmc2_pins>;
    pinctrl-1 = <&mmc2_pins_sleep>;
    ti,non-removable;
    ti,needs-special-hs-handling;
    cap-power-off-card;
    keep-power-in-suspend;

    #address-cells = <1>;
    #size-cells = <0>;
    wlcore: wlcore@0 {
    compatible = "ti,wlcore";
    reg = <2>;
    interrupt-parent = <&gpio3>;
    interrupts = <3 IRQ_TYPE_LEVEL_HIGH>;
    };


    what is the right way to declare gpio3[3] in "interrupt-parent" & "interrupts" in wlcore?
    do i have to declare it that way:

    wlcore: wlcore@0 {
    compatible = "ti,wlcore";
    reg = <2>;
    interrupt-parent = <&gpio0>;
    interrupts = <99 IRQ_TYPE_LEVEL_HIGH>;
    };


    Thanks Oded.
  • Hi Oded,

    You don't need both the wlcore definitions, please see: processors.wiki.ti.com/.../WL18xx_Platform_Integration_Guide

    Regards,
    Gigi Joseph.
  • Hi Gigi,
    in WL18xx Platform Integration Guide, the wlcore define twice: once under Platform Data and the second inside mmc3 .
    is it true that i have to remove the definition from Platform Data, since the doc say that
    "For Latest WL18XX driver (R8.4 and up) there were some changes in the wlcore definitions"
    and introduce the wlcore definition inside the mmc3 ?
    and second, since i want both BT & WLAN and since BT_EN is not toggling at all and also during hciconfig,
    can you check that BT definition in DTS is OK?many thanks, Oded
  • Hi Oded,

    is it true that i have to remove the definition from Platform Data, since the doc say that "For Latest WL18XX driver (R8.4 and up) there were some changes in the wlcore definitions" and introduce the wlcore definition inside the mmc3 ?
    >>> Yes.

    second, since i want both BT & WLAN and since BT_EN is not toggling at all and also during hciconfig, can you check that BT definition in DTS is OK?
    >>> It looks okay to me. But please refer to the board schematics and confirm if the pins are correct. Btw, if you are using the 8250 driver, then you should replace /dev/ttyO4 to /dev/ttyS4 (it is mentioned in the platform integration guide).

    Regards,
    Gigi Joseph
  • Hi Gigi,

    I removed wlcore definition from Platform Data, and I still receive the same error "wlcore: ERROR ELP wakeup timeout!" and no interrupt added to

    /proc/interrupts/wl18xx.

    attach is log file and DTS file :

    U-Boot SPL 2014.07-00001-g4a8e5b8-dirty (Sep 20 2015 - 12:55:17)
    reading args
    spl_load_image_fat_os: error reading image args, err - -1
    reading u-boot.img
    reading u-boot.img


    U-Boot 2014.07-00001-g4a8e5b8-dirty (Sep 20 2015 - 12:55:17)

    I2C:   ready
    DRAM:  256 MiB
    NAND:  0 MiB
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    reading uboot.env

    ** Unable to read "uboot.env" from mmc0:1 **
    Using default environment

    Net:   <ethaddr> not set. Validating first E-fuse MAC
    Phy not found
    cpsw, usb_ether
    Hit any key to stop autoboot:  0
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    reading uEnv.txt
    ** Unable to read file uEnv.txt **
    4337552 bytes read in 333 ms (12.4 MiB/s)
    37364 bytes read in 35 ms (1 MiB/s)
    Kernel image @ 0x82000000 [ 0x000000 - 0x422f90 ]
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8e713000, end 8e71f1f3 ... OK

    Starting kernel ...

    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 3.14.43-g875c69b (root@ubuntu) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #1 Mon Sep 21 14:09:36 IDT 2015
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine model: TI AM335x EVM-SK
    [    0.000000] cma: CMA: reserved 24 MiB at 8c800000
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM335X ES2.1 (neon )
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 64768
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait
    [    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.000000] Memory: 225276K/261120K available (5843K kernel code, 303K rwdata, 2144K rodata, 260K init, 232K bss, 35844K reserved, 0K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    [    0.000000]     vmalloc : 0xd0800000 - 0xff000000   ( 744 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc07d50c4   (7989 kB)
    [    0.000000]       .init : 0xc07d6000 - 0xc0817144   ( 261 kB)
    [    0.000000]       .data : 0xc0818000 - 0xc0863da0   ( 304 kB)
    [    0.000000]        .bss : 0xc0863da0 - 0xc089ddb8   ( 233 kB)
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [    0.000000] Total of 128 interrupts on 1 active controller
    [    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [    0.000018] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956969942ns
    [    0.000043] OMAP clocksource: timer1 at 24000000 Hz
    [    0.000374] Console: colour dummy device 80x30
    [    0.000404] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.000413] This ensures that you still see kernel messages. Please
    [    0.000420] update your kernel commandline.
    [    0.000448] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
    [    0.059159] pid_max: default: 32768 minimum: 301
    [    0.059291] Security Framework initialized
    [    0.059359] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.059374] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.069114] CPU: Testing write buffer coherency: ok
    [    0.069624] Setting up static identity map for 0x805baa20 - 0x805baa78
    [    0.070780] devtmpfs: initialized
    [    0.073011] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.082614] omap_hwmod: tptc0 using broken dt data from edma
    [    0.082722] omap_hwmod: tptc1 using broken dt data from edma
    [    0.082818] omap_hwmod: tptc2 using broken dt data from edma
    [    0.087375] omap_hwmod: debugss: _wait_target_disable failed
    [    0.144357] pinctrl core: initialized pinctrl subsystem
    [    0.145594] regulator-dummy: no parameters
    [    0.148309] NET: Registered protocol family 16
    [    0.150882] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.154081] cpuidle: using governor ladder
    [    0.154101] cpuidle: using governor menu
    [    0.162383] syscon 44e10000.control_module: regmap [mem 0x44e10000-0x44e107fb] registered
    [    0.164228] platform 49000000.edma: alias fck already exists
    [    0.164257] platform 49000000.edma: alias fck already exists
    [    0.164276] platform 49000000.edma: alias fck already exists
    [    0.165679] OMAP GPIO hardware version 0.1
    [    0.184779] No ATAGs?
    [    0.184807] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.218984] bio: create slab <bio-0> at 0
    [    0.239745] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
    [    0.241174] wlan-en-regulator: 1800 mV
    [    0.241702] vbat: 5000 mV
    [    0.242166] lis3_reg: no parameters
    [    0.242703] vtt: 1500 mV
    [    0.246751] vgaarb: loaded
    [    0.247417] i2c-core: driver [palmas] using legacy suspend method
    [    0.247431] i2c-core: driver [palmas] using legacy resume method
    [    0.248350] SCSI subsystem initialized
    [    0.250325] usbcore: registered new interface driver usbfs
    [    0.250590] usbcore: registered new interface driver hub
    [    0.250853] usbcore: registered new device driver usb
    [    0.252073] omap_i2c 44e0b000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c0_pins, deferring probe
    [    0.252110] platform 44e0b000.i2c: Driver omap_i2c requests probe deferral
    [    0.252610] pps_core: LinuxPPS API ver. 1 registered
    [    0.252624] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.252789] PTP clock support registered
    [    0.255249] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.256361] Advanced Linux Sound Architecture Driver Initialized.
    [    0.258362] Switched to clocksource timer1
    [    0.283402] NET: Registered protocol family 2
    [    0.284496] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.284539] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.284576] TCP: Hash tables configured (established 2048 bind 2048)
    [    0.284654] TCP: reno registered
    [    0.284671] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.284695] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.284913] NET: Registered protocol family 1
    [    0.285352] RPC: Registered named UNIX socket transport module.
    [    0.285366] RPC: Registered udp transport module.
    [    0.285375] RPC: Registered tcp transport module.
    [    0.285383] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.286672] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
    [    0.290265] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.581610] VFS: Disk quotas dquot_6.5.2
    [    0.581691] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    0.582334] NFS: Registering the id_resolver key type
    [    0.582421] Key type id_resolver registered
    [    0.582433] Key type id_legacy registered
    [    0.582481] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
    [    0.582694] msgmni has been set to 487
    [    0.584528] NET: Registered protocol family 38
    [    0.584583] io scheduler noop registered
    [    0.584593] io scheduler deadline registered
    [    0.584630] io scheduler cfq registered (default)
    [    0.586699] pinctrl-single 44e10800.pinmux: bad data for mux pinmux_clkout2_pin
    [    0.586722] pinctrl-single 44e10800.pinmux: no pins entries for pinmux_clkout2_pin
    [    0.586809] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [    0.589197] pinctrl-single 44e10800.pinmux: bad data for mux backlight_pins
    [    0.589221] pinctrl-single 44e10800.pinmux: no pins entries for backlight_pins
    [    0.591641] backlight supply power not found, using dummy regulator
    [    0.596340] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.603048] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 88, base_baud = 3000000) is a 8250
    [    1.269780] console [ttyS0] enabled
    [    1.274656] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 61, base_baud = 3000000) is a 8250
    [    1.285720] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [    1.292939] [drm] Initialized drm 1.1.0 20060810
    [    1.311493] brd: module loaded
    [    1.321843] loop: module loaded
    [    1.325322] (stk) :sysfs entries created
    [    1.329438] (stk) : debugfs entries created
    [    1.333815] (hci_tty): inside hci_tty_init
    [    1.338732] (hci_tty): allocated 250, 0
    [    1.347736] mtdoops: mtd device (mtddev=name/number) must be supplied
    [    1.359245] usbcore: registered new interface driver asix
    [    1.364942] usbcore: registered new interface driver ax88179_178a
    [    1.371279] usbcore: registered new interface driver cdc_ether
    [    1.377392] usbcore: registered new interface driver smsc95xx
    [    1.383358] usbcore: registered new interface driver net1080
    [    1.389269] usbcore: registered new interface driver cdc_subset
    [    1.395437] usbcore: registered new interface driver zaurus
    [    1.401306] usbcore: registered new interface driver cdc_ncm
    [    1.407665] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    1.414266] ehci-pci: EHCI PCI platform driver
    [    1.419009] ehci-omap: OMAP-EHCI Host Controller driver
    [    1.424857] usbcore: registered new interface driver cdc_wdm
    [    1.430832] usbcore: registered new interface driver usb-storage
    [    1.438241] mousedev: PS/2 mouse device common for all mice
    [    1.446027] input: ti-tsc as /devices/ocp/44e0d000.tscadc/TI-am335x-tsc/input/input0
    [    1.455649] i2c-core: driver [rtc-ds1307] using legacy suspend method
    [    1.462173] i2c-core: driver [rtc-ds1307] using legacy resume method
    [    1.469504] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
    [    1.476628] 44e3e000.rtc: already running
    [    1.481746] i2c /dev entries driver
    [    1.485452] Driver for 1-wire Dallas network protocol.
    [    1.493623] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    1.503063] omap_hsmmc 48060000.mmc: unable to get vmmc regulator -517
    [    1.509998] platform 48060000.mmc: Driver omap_hsmmc requests probe deferral
    [    1.633579] omap_hsmmc 481d8000.mmc: card claims to support voltages below defined range
    [    1.642917] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.649481] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [    1.656986] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [    1.664899] usbcore: registered new interface driver usbhid
    [    1.670541] usbhid: USB HID core driver
    [    1.674764] platform 44d00000.wkup_m3: Driver wkup_m3 requests probe deferral
    [    1.686317] oprofile: using arm/armv7
    [    1.690564] TCP: cubic registered
    [    1.693914] Initializing XFRM netlink socket
    [    1.698237] NET: Registered protocol family 17
    [    1.702806] NET: Registered protocol family 15
    [    1.708120] mmc0: queuing unknown CIS tuple 0x91 (3 bytes)
    [    1.713809] Key type dns_resolver registered
    [    1.719180] mmc0: new high speed SDIO card at address 0001
    [    1.725618] cpu cpu0: of_pm_voltdm_notifier_register: Failed to get cpu0 regulator/voltdm: -517
    [    1.734425] cpu cpu0: cpu0 clock notifier not ready, retry
    [    1.741869] platform cpufreq-cpu0.0: Driver cpufreq-cpu0 requests probe deferral
    [    1.750090] PM: bootloader does not support rtc-only!
    [    1.755181] ThumbEE CPU extension supported.
    [    1.759655] Registering SWP/SWPB emulation handler
    [    1.766338] lis3_reg: disabling
    [    1.769636] vbat: disabling
    [    1.772448] wlan-en-regulator: disabling
    [    1.776388] regulator-dummy: disabling
    [    1.781030] Error: Driver 'tfp410' is already registered, aborting...
    [    1.790478] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    1.797136] [drm] No driver support for vblank timestamp query.
    [    1.851368] Console: switching to colour frame buffer device 60x34
    [    1.860436] tilcdc 4830e000.lcdc: fb0:  frame buffer device
    [    1.866048] tilcdc 4830e000.lcdc: registered panic notifier
    [    1.871674] [drm] Initialized tilcdc 1.0.0 20121205 on minor 0
    [    1.880439] tps65910 0-002d: No interrupt support, no core IRQ
    [    1.891164] vrtc: 1800 mV
    [    1.894214] vrtc: supplied by vbat
    [    1.899552] vio: at 1500 mV
    [    1.902564] vio: supplied by vbat
    [    1.907904] vdd_mpu: 912 <--> 1375 mV at 1137 mV
    [    1.912757] vdd_mpu: supplied by vbat
    [    1.918464] vdd_core: 912 <--> 1150 mV at 1137 mV
    [    1.923395] vdd_core: supplied by vbat
    [    1.928671] vdd3: 5000 mV
    [    1.932915] vdig1: at 1800 mV
    [    1.936087] vdig1: supplied by vbat
    [    1.941111] vdig2: at 1800 mV
    [    1.944265] vdig2: supplied by vbat
    [    1.949281] vpll: at 1800 mV
    [    1.952353] vpll: supplied by vbat
    [    1.957330] vdac: at 1800 mV
    [    1.960424] vdac: supplied by vbat
    [    1.965410] vaux1: at 1800 mV
    [    1.968591] vaux1: supplied by vbat
    [    1.973636] vaux2: at 3300 mV
    [    1.976796] vaux2: supplied by vbat
    [    1.981869] vaux33: at 3300 mV
    [    1.985112] vaux33: supplied by vbat
    [    1.990204] vmmc: 1800 <--> 3300 mV at 3300 mV
    [    1.994842] vmmc: supplied by vbat
    [    2.000529] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    2.039110]  remoteproc0: wkup_m3 is available
    [    2.043608]  remoteproc0: Note: remoteproc is still under development and considered experimental.
    [    2.052660]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    2.063508]  remoteproc0: Direct firmware load failed with error -2
    [    2.069845]  remoteproc0: Falling back to user helper
    [    2.138398] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [    2.144543] davinci_mdio 4a101000.mdio: no live phy, scanning all
    [    2.151184] davinci_mdio: probe of 4a101000.mdio failed with error -5
    [    2.159110] cpsw 4a100000.ethernet: Detected MACID = 6c:ec:eb:aa:97:48
    [    2.181188] cpsw 4a100000.ethernet: cpsw: Detected MACID = 6c:ec:eb:aa:97:4a
    [    2.191286] input: gpio_buttons@0 as /devices/gpio_buttons@0/input/input1
    [    2.199359] omap_rtc 44e3e000.rtc: setting system clock to 2015-09-24 07:04:50 UTC (1443078290)
    [    2.211352] mmc1: host does not support reading read-only switch. assuming write-enable.
    [    2.220241] ALSA device list:
    [    2.223230]   No soundcards found.
    [    2.227393] Waiting for root device /dev/mmcblk0p2...
    [    2.232793] mmc1: new high speed SDHC card at address aaaa
    [    2.239248] mmcblk0: mmc1:aaaa SU08G 7.40 GiB
    [    2.249017]  mmcblk0: p1 p2
    [    2.357674] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    2.365961] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
    [    2.376968] devtmpfs: mounted
    [    2.380567] Freeing unused kernel memory: 260K (c07d6000 - c0817000)
    INIT: version 2.88 booting
    Starting udev
    [    3.345366] udevd[876]: starting version 182
    [    3.714247] Bluetooth: Core ver 2.18
    [    3.717963] NET: Registered protocol family 31
    [    3.722538] Bluetooth: HCI device and connection manager initialized
    [    3.807959]  remoteproc0: powering up wkup_m3
    [    3.839341]  remoteproc0: Booting fw image am335x-pm-firmware.elf, size 154412
    [    3.847125] PM: CM3 Firmware Version = 0x190
    [    3.950574] lis3lv02d: 16 bits lis331dlh sensor found
    [    3.956216] Bluetooth: HCI socket layer initialized
    [    3.989478]  remoteproc0: remote processor wkup_m3 is now up
    [    4.015631] Bluetooth: L2CAP socket layer initialized
    [    4.048787] Bluetooth: SCO socket layer initialized
    [    4.088995] input: ST LIS3LV02DL Accelerometer as /devices/platform/lis3lv02d/input/input2
    [    4.127298] cryptodev: driver 1.6 loaded.
    [    4.139363] 47401300.usb-phy supply vcc not found, using dummy regulator
    [    4.183072] (stc):  chnl_id list empty :4
    [    4.187025] (stk) : st_kim_start(stk) :ldisc_install = 1
    [    4.459796] 47401b00.usb-phy supply vcc not found, using dummy regulator
    [    4.694565] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
    [    4.786606] Loading modules backported from Linux version R8.5-2-gad69b45
    [    4.793547] Backport generated by backports.git R8.4-0-g0d46f43
    Starting Bootlog daemon: [    5.288496] (stk) :ldisc installation timeout
    [    5.292738] (stk) :ldisc_install = 0bootlogd: cannot allocate pseudo tty: No such file or directory
    bootlogd.
    [    5.599691] random: dd urandom read with 106 bits of entropy available
    [    5.746661] davinci_evm sound: tlv320aic3x-hifi <-> 4803c000.mcasp mapping ok
    [    6.288499] (stk) : timed out waiting for ldisc to be un-installed
    [    6.401372] (stk) :ldisc_install = 1
    udevadm settle - timeout of 3 seconds reached, the event queue contains:
      /sys/devices/ocp/48060000.mmc/mmc_host/mmc1/mmc1:aaaa/block/mmcblk0/mmcblk0p1 (858)
      /sys/devices/ocp/48060000.mmc/mmc_host/mmc1/mmc1:aaaa/block/mmcblk0/mmcblk0p2 (859)
      /sys/devices/virtual/block/loop0 (1005)
      /sys/devices/virtual/block/loop1 (1006)
      /sys/devices/virtual/block/loop2 (1007)
      /sys/devices/virtual/block/loop3 (1008)
      /sys/devices/virtual/block/loop4 (1009)
      /sys/devices/virtual/block/loop5 (1010)
      /sys/devices/virtual/block/loop6 (1011)
      /sys/devices/virtual/block/loop7 (1012)
      /sys/devices/virtual/block/ram0 (1013)
      /sys/devices/virtual/block/ram1 (1014)
      /sys/devices/virtual/block/ram10 (1015)
      /sys/devices/virtual/block/ram11 (1016)
      /sys/devices/virtual/block/ram12 (1017)
      /sys/devices/virtual/block/ram13 (1018)
      /sys/devices/virtual/block/ram14 (1019)
      /sys/devices/virtual/block/ram15 (1020)
      /sys/devices/virtual/block/ram2 (1021)
      /sys/devices/virtual/block/ram3 (1022)
      /sys/devices/virtual/block/ram4 (1023)
      /sys/devices/virtual/block/ram5 (1024)
      /sys/devices/virtual/block/ram6 (1025)
      /sys/devices/virtual/block/ram7 (1026)
      /sys/devices/virtual/block/ram8 (1027)
      /sys/devices/virtual/block/ram9 (1028)
      /sys/devices/virtual/net/lo (1035)
      /sys/devices/platform/lis3lv02d (1048)
      /sys/module/cryptodev (1049)
    [    7.112024] random: nonblocking pool is initialized
    [    7.398478] (stk) :ldisc installation timeout
    [    7.402715] (stk) :ldisc_install = 0[    7.447514] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
    [    7.901359] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
    [    8.016830] cfg80211: Calling CRDA to update world regulatory domain
    [    8.106238] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    8.113173] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    8.120453] usb usb1: Product: MUSB HDRC host driver
    [    8.125456] usb usb1: Manufacturer: Linux 3.14.43-g875c69b musb-hcd
    [    8.131770] usb usb1: SerialNumber: musb-hdrc.1.auto
    [    8.276522] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [    8.356625] hub 1-0:1.0: USB hub found
    [    8.393627] wl18xx_driver wl18xx.0.auto: Direct firmware load failed with error -2
    [    8.401337] wl18xx_driver wl18xx.0.auto: Falling back to user helper
    [    8.407750] (stk) : timed out waiting for ldisc to be un-installed
    [    8.520553] (stk) :ldisc_install = 1[    8.525457] hub 1-0:1.0: 1 port detected
    [    8.576346] musb-hdrc musb-hdrc.2.auto: MUSB HDRC host driver
    [    8.681566] musb-hdrc musb-hdrc.2.auto: new USB bus registered, assigned bus number 2
    [    8.725890] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    [    8.732833] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    8.740122] usb usb2: Product: MUSB HDRC host driver
    [    8.745126] usb usb2: Manufacturer: Linux 3.14.43-g875c69b musb-hcd
    [    8.751440] usb usb2: SerialNumber: musb-hdrc.2.auto
    [    8.816616] hub 2-0:1.0: USB hub found
    [    8.843638] hub 2-0:1.0: 1 port detected
    [    8.893356] cfg80211: World regulatory domain updated:
    [    8.898630] cfg80211:  DFS Master region: unset
    [    8.903022] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
    [    8.912836] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
    [    8.921247] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm), (N/A)
    [    8.929674] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm), (N/A)
    [    8.938084] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
    [    8.946489] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
    [    9.039423] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
    [    9.182340] wlcore: loaded
    [    9.185159] wlcore: driver version: ol_r8.a9.14
    [    9.189783] wlcore: compilation time: Mon Jul  6 16:06:06 2015
    ALSA: Restoring mixer settings...
    [    9.518474] (stk) :ldisc installation timeout
    [    9.522731] (stk) :ldisc_install = 0No state is present for card AM335xEVMSK
    Found hardware: "AM335x-EVMSK" "" "" "" ""
    Hardware is initialized using a generic method
    No state is present for card AM335xEVMSK
    INIT: Entering runlevel: 5
    Configuring network interfaces... [    9.920932] net eth0: initializing cpsw version 1.12 (0)
    [    9.929034] libphy: PHY 4a101000.mdio:00 not found
    [    9.933856] net eth0: phy 4a101000.mdio:00 not found on slave 0
    udhcpc (v1.22.1) started
    Sending discover...
    [   10.518474] (stk) : timed out waiting for ldisc to be un-installed
    [   10.631431] (stk) :ldisc_install = 1(stk) :ldisc installation timeout
    [   11.631350] (stk) :ldisc_install = 0(stk) : timed out waiting for ldisc to be un-installed
    [   12.740076] (stk) :ldisc_install = 1Sending discover...
    (stk) :ldisc installation timeout
    [   13.741431] (stk) :ldisc_install = 0(stk) : timed out waiting for ldisc to be un-installed
    [   14.850115] (stk) :ldisc_install = 1(stk) :ldisc installation timeout
    [   15.851338] (stk) :ldisc_install = 0Sending discover...
    (stk) : timed out waiting for ldisc to be un-installed
    [   16.855217] Bluetooth: st_register failed -22
    No lease, forking to background
    done.
    Starting system message bus: dbus.
    UIM SYSFS Node Found at /sys/./devices/kim/install
    Starting uim-sysfs daemon.
    uim:@ main
    uim:install = /sys/./devices/kim/install
    uim:dev_name = /sys/./devices/kim/dev_name
    uim:baud_rate = /sys/./devices/kim/baud_rate
    uim:flow_cntrl = /sys/./devices/kim/flow_cntrl
    uim:begin polling...
    Starting Dropbear SSH server: dropbear.
    Starting telnet daemon.
    Starting rpcbind daemon...rpcbind: cannot create socket for udp6
    rpcbind: cannot create socket for tcp6
    done.
    creating NFS state directory: done
    starting statd: done
    Starting syslogd/klogd: done
    Starting thttpd.
    Starting PVR
    insmod: ERROR: missing filename.
    Could not find pvrsrvkm driver
    Starting Lighttpd Web Server: lighttpd.
    2015-09-24 07:05:08: (/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-linux-gnueabi/lighttpd/1.4.33-r1/lighttpd-1.4.33/src/log.c.166) server started
    /
    Starting Matrix GUI application.
    Enabling thermal zones...
    /etc/rc5.d/S98thermal-zone-init: line 7: /sys/class/thermal/thermal_zone*/mode: No such file or directory
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the followin GPLv3 packages:
            autoconf
            binutils
            cpp-symlinks
            cpp
            g++-symlinks
            g++
            gcc-symlinks
            gcc
            gdbserver
            gstreamer1.0-libav
            libgmp10
            libmpc3
            libmpfr4
            make

    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above

    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    Stopping Bootlog daemon: bootlogd.

     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|

    Arago Project http://arago-project.org am335x-evm /dev/ttyO0

    Arago 2015.05 am335x-evm /dev/ttyO0

    am335x-evm login: root
    root@am335x-evm:~#
    root@am335x-evm:~#
    root@am335x-evm:~# lsmod
    Module                  Size  Used by
    wl18xx                 85612  0
    wlcore                184859  1 wl18xx
    mac80211              353953  2 wl18xx,wlcore
    cfg80211              200821  3 mac80211,wl18xx,wlcore
    musb_dsps               7319  0
    musb_hdrc              54316  1 musb_dsps
    snd_soc_evm             5589  0
    wlcore_sdio             5153  0
    compat                  2624  4 cfg80211,mac80211,wl18xx,wlcore_sdio
    snd_soc_davinci_mcasp    15606  2
    musb_am335x             1217  0
    btwilink                3854  0
    cryptodev              32483  0
    lis3lv02d_i2c           3153  0
    lis3lv02d              14936  1 lis3lv02d_i2c
    snd_soc_tlv320aic3x    40349  1
    input_polldev           3345  1 lis3lv02d
    bluetooth             234747  2 btwilink
    6lowpan_iphc            6211  1 bluetooth
    root@am335x-evm:~#
    root@am335x-evm:~#
    root@am335x-evm:~#
    root@am335x-evm:~# ifconfig
    eth0      Link encap:Ethernet  HWaddr 6C:EC:EB:AA:97:48
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
              Interrupt:56

    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              UP LOOPBACK RUNNING  MTU:65536  Metric:1
              RX packets:10 errors:0 dropped:0 overruns:0 frame:0
              TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:700 (700.0 B)  TX bytes:700 (700.0 B)

    root@am335x-evm:~#
    root@am335x-evm:~#
    root@am335x-evm:~#
    root@am335x-evm:~# cat /proc/interrupts
               CPU0
     28:       2410      INTC  12  edma
     30:         13      INTC  14  edma_error
     32:          0      INTC  16  TI-am335x-tsc
     33:          0      INTC  17  47400000.dma-controller
     34:          0      INTC  18  musb-hdrc.1.auto
     35:          1      INTC  19  musb-hdrc.2.auto
     44:        274      INTC  28  mmc0
     52:       3231      INTC  36  tilcdc
     56:          0      INTC  40  4a100000.ethernet
     57:          0      INTC  41  4a100000.ethernet
     58:          0      INTC  42  4a100000.ethernet
     59:          0      INTC  43  4a100000.ethernet
     80:       7083      INTC  64  mmc1
     84:       1704      INTC  68  gp_timer
     86:        290      INTC  70  44e0b000.i2c
     88:        357      INTC  72  serial
     91:          0      INTC  75  rtc0
     92:          0      INTC  76  rtc0
     93:          0      INTC  77  wkup_m3
     94:          1      INTC  78  wkup_m3_txev
    125:          0      INTC 109  53100000.sham
    127:          0      INTC 111  48310000.rng
    174:          1  44e07000.gpio  30  button2
    209:          0  481ac000.gpio   1  mmc1
    210:          0  481ac000.gpio   2  button1
    211:          0  481ac000.gpio   3  button0
    213:          0  481ac000.gpio   5  button3
    243:          0  481ae000.gpio   3  wl18xx
    Err:          0
    root@am335x-evm:~#
    root@am335x-evm:~#
    root@am335x-evm:~#
    root@am335x-evm:~# ifconfig wlan0 up
    [   72.778934] wlcore: PHY firmware version: Rev 8.2.0.0.224
    [   72.844007] wlcore: firmware booted (Rev 8.9.0.0.31)
    root@am335x-evm:~#
    root@am335x-evm:~#
    root@am335x-evm:~#
    root@am335x-evm:~# cat /proc/interrupts
               CPU0
     28:       3529      INTC  12  edma
     30:         13      INTC  14  edma_error
     32:          0      INTC  16  TI-am335x-tsc
     33:          0      INTC  17  47400000.dma-controller
     34:          0      INTC  18  musb-hdrc.1.auto
     35:          1      INTC  19  musb-hdrc.2.auto
     44:       1642      INTC  28  mmc0
     52:       4237      INTC  36  tilcdc
     56:          0      INTC  40  4a100000.ethernet
     57:          0      INTC  41  4a100000.ethernet
     58:          0      INTC  42  4a100000.ethernet
     59:          0      INTC  43  4a100000.ethernet
     80:       7110      INTC  64  mmc1
     84:       1862      INTC  68  gp_timer
     86:        290      INTC  70  44e0b000.i2c
     88:        480      INTC  72  serial
     91:          0      INTC  75  rtc0
     92:          0      INTC  76  rtc0
     93:          0      INTC  77  wkup_m3
     94:          1      INTC  78  wkup_m3_txev
    125:          0      INTC 109  53100000.sham
    127:          0      INTC 111  48310000.rng
    174:          1  44e07000.gpio  30  button2
    209:          0  481ac000.gpio   1  mmc1
    210:          0  481ac000.gpio   2  button1
    211:          0  481ac000.gpio   3  button0
    213:          0  481ac000.gpio   5  button3
    243:          0  481ae000.gpio   3  wl18xx
    Err:          0
    root@am335x-evm:~#
    root@am335x-evm:~#
    root@am335x-evm:~#
    root@am335x-evm:~# ifconfig
    eth0      Link encap:Ethernet  HWaddr 6C:EC:EB:AA:97:48
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
              Interrupt:56

    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              UP LOOPBACK RUNNING  MTU:65536  Metric:1
              RX packets:10 errors:0 dropped:0 overruns:0 frame:0
              TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:700 (700.0 B)  TX bytes:700 (700.0 B)

    wlan0     Link encap:Ethernet  HWaddr 78:A5:04:2E:88:99
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

    root@am335x-evm:~#
    root@am335x-evm:~#
    root@am335x-evm:~#
    root@am335x-evm:~# iw wlan0 scan
    [  110.608467] wlcore: ERROR ELP wakeup timeout!
    [  110.612898] ------------[ cut here ]------------
    [  110.617789] WARNING: CPU: 0 PID: 1582 at /home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/am335x_evm-linux-gnueabi/ti-compat-wireless-wl18xx/R8.5+gitAUTOINC+ad69b45b9a-r22+g/compat-wireless/driver
    s/net/wireless/ti/wlcore/main.c:830 wl12xx_queue_recovery_work+0x74/0x7c [wlcore]()
    [  110.646072] Modules linked in: wl18xx(O) wlcore(O) mac80211(O) cfg80211(O) musb_dsps musb_hdrc snd_soc_evm wlcore_sdio(O) compat(O) snd_soc_davinci_mcasp musb_am335x btwilink cryptodev(O) lis3lv02d_i2c lis3lv02d snd_soc_tlv320aic3x inp
    ut_polldev bluetooth 6lowpan_iphc
    [  110.670265] CPU: 0 PID: 1582 Comm: iw Tainted: G           O 3.14.43-g875c69b #1
    [  110.677704] Backtrace:
    [  110.680260] [<c0011240>] (dump_backtrace) from [<c00113dc>] (show_stack+0x18/0x1c)
    [  110.687886]  r6:0000033e r5:00000009 r4:00000000 r3:00000000
    [  110.693685] [<c00113c4>] (show_stack) from [<c05b30a0>] (dump_stack+0x20/0x28)
    [  110.701013] [<c05b3080>] (dump_stack) from [<c0034ffc>] (warn_slowpath_common+0x6c/0x8c)
    [  110.709230] [<c0034f90>] (warn_slowpath_common) from [<c0035040>] (warn_slowpath_null+0x24/0x2c)
    [  110.718066]  r8:bf192c5c r7:ffffb5d2 r6:c082c9b0 r5:ffffff92 r4:cc2d9460
    [  110.725020] [<c003501c>] (warn_slowpath_null) from [<bf174dc8>] (wl12xx_queue_recovery_work+0x74/0x7c [wlcore])
    [  110.735413] [<bf174d54>] (wl12xx_queue_recovery_work [wlcore]) from [<bf17f66c>] (wl1271_ps_elp_wakeup+0xd8/0x1e0 [wlcore])
    [  110.746647]  r4:cc2d9460 r3:200f0093
    [  110.750478] [<bf17f594>] (wl1271_ps_elp_wakeup [wlcore]) from [<bf1707d0>] (wl1271_op_hw_scan+0x64/0xdc [wlcore])
    [  110.760832]  r10:cf715dfc r8:00000000 r7:cc2d8b60 r6:cf718460 r5:cf715cc0 r4:cc2d9494
    [  110.769155] [<bf17076c>] (wl1271_op_hw_scan [wlcore]) from [<bf108200>] (__ieee80211_start_scan+0x180/0x364 [mac80211])
    [  110.780057]  r10:cf4c1ce0 r9:00000000 r8:cc2d8120 r7:cf718468 r6:cf718460 r5:cf715cc0
    [  110.787991]  r4:cc2d8b60
    [  110.790854] [<bf108080>] (__ieee80211_start_scan [mac80211]) from [<bf108dcc>] (ieee80211_request_scan+0x30/0x4c [mac80211])
    [  110.802174]  r6:00000000 r5:cf715d80 r4:cf718460
    [  110.807154] [<bf108d9c>] (ieee80211_request_scan [mac80211]) from [<bf11727c>] (ieee80211_scan+0xa8/0xac [mac80211])
    [  110.817778]  r5:cc2d8000 r4:00000001
    [  110.821878] [<bf1171d4>] (ieee80211_scan [mac80211]) from [<bf0d7f74>] (nl80211_trigger_scan+0x574/0x5bc [cfg80211])
    [  110.832506]  r4:cc2dfc7c r3:bf1171d4
    [  110.836314] [<bf0d7a00>] (nl80211_trigger_scan [cfg80211]) from [<c0521198>] (genl_rcv_msg+0x214/0x370)
    [  110.845793]  r10:00000000 r9:cf4c1cd0 r8:bf0dfe4c r7:cf4c1cc0 r6:cf4e9980 r5:cc181000
    [  110.853760]  r4:bf0e257c
    [  110.856344] [<c0520f84>] (genl_rcv_msg) from [<c05205c0>] (netlink_rcv_skb+0xb4/0xc8)
    [  110.864245]  r10:00000000 r9:00000000 r8:cc2dfd0c r7:cf4e9980 r6:c0520f84 r5:cf4e9980
    [  110.872212]  r4:cf4c1cc0
    [  110.874792] [<c052050c>] (netlink_rcv_skb) from [<c052077c>] (genl_rcv+0x30/0x3c)
    [  110.882342]  r6:cc37fc00 r5:cf4e9980 r4:c085e974 r3:c052074c
    [  110.888109] [<c052074c>] (genl_rcv) from [<c051ff98>] (netlink_unicast+0x180/0x1ec)
    [  110.895834]  r5:00000024 r4:cf142c00
    [  110.899500] [<c051fe18>] (netlink_unicast) from [<c0520348>] (netlink_sendmsg+0x298/0x36c)
    [  110.907818]  r10:00000000 r8:00000008 r7:cf4e9980 r6:cc37fc00 r5:cc2dfdd0 r4:cc2dff5c
    [  110.915815] [<c05200b0>] (netlink_sendmsg) from [<c04ef7d4>] (sock_sendmsg+0x90/0xb0)
    [  110.923723]  r10:cc2dfe60 r9:00000000 r8:00000000 r7:ce981240 r6:cc3fbc00 r5:cc2dfdd0
    [  110.931679]  r4:c05200b0
    [  110.934268] [<c04ef744>] (sock_sendmsg) from [<c04f0574>] (___sys_sendmsg.part.28+0x28c/0x29c)
    [  110.942958]  r6:cc2dfe60 r5:00000024 r4:cc2dff5c
    [  110.947658] [<c04f02e8>] (___sys_sendmsg.part.28) from [<c04f18bc>] (__sys_sendmsg+0x54/0x80)
    [  110.956262]  r10:00000000 r9:cc2de000 r8:c000e904 r7:00000128 r6:00000000 r5:beb5aa48
    [  110.964230]  r4:ce981240
    [  110.966808] [<c04f1868>] (__sys_sendmsg) from [<c04f18f8>] (SyS_sendmsg+0x10/0x14)
    [  110.974454]  r6:0002b320 r5:0002c460 r4:0002b290
    [  110.979183] [<c04f18e8>] (SyS_sendmsg) from [<c000e780>] (ret_fast_syscall+0x0/0x30)
    [  110.986974] ---[ end trace a78b982d61bfeabe ]---
    [  110.994817] wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.31
    [  111.001781] ------------[ cut here ]------------
    [  111.006646] WARNING: CPU: 0 PID: 6 at /home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/am335x_evm-linux-gnueabi/ti-compat-wireless-wl18xx/R8.5+gitAUTOINC+ad69b45b9a-r22+g/compat-wireless/drivers/n
    et/wireless/ti/wlcore/io.h:65 wlcore_set_partition+0xa0/0x488 [wlcore]()
    [  111.033955] Modules linked in: wl18xx(O) wlcore(O) mac80211(O) cfg80211(O) musb_dsps musb_hdrc snd_soc_evm wlcore_sdio(O) compat(O) snd_soc_davinci_mcasp musb_am335x btwilink cryptodev(O) lis3lv02d_i2c lis3lv02d snd_soc_tlv320aic3x inp
    ut_polldev bluetooth 6lowpan_iphc
    [  111.058111] CPU: 0 PID: 6 Comm: kworker/u2:0 Tainted: G        W  O 3.14.43-g875c69b #1
    [  111.066299] Workqueue: phy0 wl1271_recovery_work [wlcore]
    [  111.071771] Backtrace:
    [  111.074294] [<c0011240>] (dump_backtrace) from [<c00113dc>] (show_stack+0x18/0x1c)
    [  111.081945]  r6:00000041 r5:00000009 r4:00000000 r3:c082deb8
    [  111.087717] [<c00113c4>] (show_stack) from [<c05b30a0>] (dump_stack+0x20/0x28)
    [  111.095046] [<c05b3080>] (dump_stack) from [<c0034ffc>] (warn_slowpath_common+0x6c/0x8c)
    [  111.103242] [<c0034f90>] (warn_slowpath_common) from [<c0035040>] (warn_slowpath_null+0x24/0x2c)
    [  111.112100]  r8:00000000 r7:00000000 r6:bf192c5c r5:bf1b3474 r4:cc2d9460
    [  111.119041] [<c003501c>] (warn_slowpath_null) from [<bf17ba68>] (wlcore_set_partition+0xa0/0x488 [wlcore])
    [  111.128944] [<bf17b9c8>] (wlcore_set_partition [wlcore]) from [<bf175230>] (wl1271_recovery_work+0x70/0x55c [wlcore])
    [  111.139646]  r7:cf076100 r6:cc2d9494 r5:cc2d9460 r4:cc2d96f4
    [  111.145487] [<bf1751c0>] (wl1271_recovery_work [wlcore]) from [<c0047c64>] (process_one_work+0xfc/0x338)
    [  111.155056]  r10:00000000 r9:cf08e000 r8:00000000 r7:cf076100 r6:cf072a00 r5:cc2d96f4
    [  111.163017]  r4:cf066b00
    [  111.165601] [<c0047b68>] (process_one_work) from [<c0047ff8>] (worker_thread+0x11c/0x364)
    [  111.173856]  r10:c086399f r9:cf072a00 r8:00000001 r7:cf08e000 r6:cf066b18 r5:cf072a10
    [  111.181816]  r4:cf066b00
    [  111.184411] [<c0047edc>] (worker_thread) from [<c004dbfc>] (kthread+0xc4/0xe0)
    [  111.191700]  r10:00000000 r9:00000000 r8:00000000 r7:c0047edc r6:cf066b00 r5:cf073c00
    [  111.199659]  r4:00000000
    [  111.202249] [<c004db38>] (kthread) from [<c000e818>] (ret_from_fork+0x14/0x3c)
    [  111.209538]  r7:00000000 r6:00000000 r5:c004db38 r4:cf073c00
    [  111.215305] ---[ end trace a78b982d61bfeabf ]---
    [  111.220013] wlcore: down
    command failed: Connection timed out (-110)[  111.226399] ieee80211 phy0: Hardware restart was requested

    root@am335x-evm:~# [  111.679712] wlcore: PHY firmware version: Rev 8.2.0.0.224
    [  111.743995] wlcore: firmware booted (Rev 8.9.0.0.31)

    root@am335x-evm:~#
    root@am335x-evm:~#
    root@am335x-evm:~#
    root@am335x-evm:~# cat /proc/interrupts
               CPU0
     28:       4659      INTC  12  edma
     30:         13      INTC  14  edma_error
     32:          0      INTC  16  TI-am335x-tsc
     33:          0      INTC  17  47400000.dma-controller
     34:          0      INTC  18  musb-hdrc.1.auto
     35:          1      INTC  19  musb-hdrc.2.auto
     44:       3032      INTC  28  mmc0
     52:       6492      INTC  36  tilcdc
     56:          0      INTC  40  4a100000.ethernet
     57:          0      INTC  41  4a100000.ethernet
     58:          0      INTC  42  4a100000.ethernet
     59:          0      INTC  43  4a100000.ethernet
     80:       7128      INTC  64  mmc1
     84:       2216      INTC  68  gp_timer
     86:        294      INTC  70  44e0b000.i2c
     88:        672      INTC  72  serial
     91:          0      INTC  75  rtc0
     92:          0      INTC  76  rtc0
     93:          0      INTC  77  wkup_m3
     94:          1      INTC  78  wkup_m3_txev
    125:          0      INTC 109  53100000.sham
    127:          0      INTC 111  48310000.rng
    174:          1  44e07000.gpio  30  button2
    209:          0  481ac000.gpio   1  mmc1
    210:          0  481ac000.gpio   2  button1
    211:          0  481ac000.gpio   3  button0
    213:          0  481ac000.gpio   5  button3
    243:          0  481ae000.gpio   3  wl18xx
    Err:          0
    root@am335x-evm:~#
    root@am335x-evm:~#
    root@am335x-evm:~#
    root@am335x-evm:~#

    DTS file:

    /*
     * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
     *
     * This program is free software; you can redistribute it and/or modify
     * it under the terms of the GNU General Public License version 2 as
     * published by the Free Software Foundation.
     */

    /*
     * AM335x Starter Kit
     * www.ti.com/.../tmdssk3358
     */

    /dts-v1/;

    #include "am33xx.dtsi"
    #include <dt-bindings/pwm/pwm.h>
    #include <dt-bindings/interrupt-controller/irq.h>

    / {
     model = "TI AM335x EVM-SK";
     compatible = "ti,am335x-evmsk", "ti,am33xx";

     cpus {
      cpu@0 {
       cpu0-supply = <&vdd1_reg>;
      };
     };

     memory {
      device_type = "memory";
      reg = <0x80000000 0x10000000>; /* 256 MB */
     };

           
            wlan_en_reg: fixedregulator@2 {
      compatible = "regulator-fixed";
      regulator-name = "wlan-en-regulator";
      regulator-min-microvolt = <1800000>;
      regulator-max-microvolt = <1800000>;

      /* WLAN_EN GPIO for this board - Bank1, pin29 */
      gpio = <&gpio1 29 0>;
                   
      /* WLAN card specific delay */
      startup-delay-us = <70000>;
      enable-active-high;

     };

            //wlcore {
      //compatible = "wlcore";
      //gpio = <&gpio3 3 0>; /* Bank3, pin3 */
                    //gpio = <99>; /* Bank3, pin3 */
      //board-ref-clock = <4>;
     //};

     kim {
      compatible = "kim";
      nshutdown_gpio = <44>; /* Bank1, pin12 */
      dev_name = "/dev/ttyO4";
      flow_cntrl = <1>;
      baud_rate = <3000000>;
     };

     btwilink {
      compatible = "btwilink";
     };

     vbat: fixedregulator@0 {
      compatible = "regulator-fixed";
      regulator-name = "vbat";
      regulator-min-microvolt = <5000000>;
      regulator-max-microvolt = <5000000>;
      regulator-boot-on;
     };

     lis3_reg: fixedregulator@1 {
      compatible = "regulator-fixed";
      regulator-name = "lis3_reg";
      regulator-boot-on;
     };

     vtt_fixed: fixedregulator@3 {
      compatible = "regulator-fixed";
      regulator-name = "vtt";
      regulator-min-microvolt = <1500000>;
      regulator-max-microvolt = <1500000>;
      gpio = <&gpio0 7 GPIO_ACTIVE_HIGH>;
      regulator-always-on;
      regulator-boot-on;
      enable-active-high;
     };

     leds {
      pinctrl-names = "default", "sleep";
      pinctrl-0 = <&user_leds_default>;
      pinctrl-1 = <&user_leds_sleep>;

      compatible = "gpio-leds";

      led@1 {
       label = "evmsk:green:usr0";
       gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
       default-state = "off";
      };

      led@2 {
       label = "evmsk:green:usr1";
       gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
       default-state = "off";
      };

      led@3 {
       label = "evmsk:green:mmc0";
       gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
       linux,default-trigger = "mmc0";
       default-state = "off";
      };

      led@4 {
       label = "evmsk:green:heartbeat";
       gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
       linux,default-trigger = "heartbeat";
       default-state = "off";
      };
     };

     gpio_buttons: gpio_buttons@0 {
      compatible = "gpio-keys";
      #address-cells = <1>;
      #size-cells = <0>;

      switch@1 {
       label = "button0";
       linux,code = <0x100>;
       gpios = <&gpio2 3 GPIO_ACTIVE_HIGH>;
      };

      switch@2 {
       label = "button1";
       linux,code = <0x101>;
       gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>;
      };

      switch@3 {
       label = "button2";
       linux,code = <0x102>;
       gpios = <&gpio0 30 GPIO_ACTIVE_HIGH>;
       gpio-key,wakeup;
      };

      switch@4 {
       label = "button3";
       linux,code = <0x103>;
       gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;
      };
     };

     backlight {
      compatible = "pwm-backlight";
      pwms = <&ecap2 0 50000 PWM_POLARITY_INVERTED>;
      brightness-levels = <0 58 61 66 75 90 125 170 255>;
      default-brightness-level = <8>;
     };

     sound {
      compatible = "ti,da830-evm-audio";
      ti,model = "AM335x-EVMSK";
      ti,audio-codec = <&tlv320aic3106>;
      ti,mcasp-controller = <&mcasp1>;
      ti,codec-clock-rate = <24000000>;
      ti,audio-routing =
       "Headphone Jack",       "HPLOUT",
       "Headphone Jack",       "HPROUT";
     };

     panel {
      compatible = "ti,tilcdc,panel";
      pinctrl-names = "default", "sleep";
      pinctrl-0 = <&lcd_pins_default>;
      pinctrl-1 = <&lcd_pins_sleep>;
      status = "okay";
      panel-info {
       ac-bias           = <255>;
       ac-bias-intrpt    = <0>;
       dma-burst-sz      = <16>;
       bpp               = <32>;
       fdd               = <0x80>;
       sync-edge         = <0>;
       sync-ctrl         = <1>;
       raster-order      = <0>;
       fifo-th           = <0>;
      };
      display-timings {
       480x272 {
        hactive         = <480>;
        vactive         = <272>;
        hback-porch     = <43>;
        hfront-porch    = <8>;
        hsync-len       = <4>;
        vback-porch     = <12>;
        vfront-porch    = <4>;
        vsync-len       = <10>;
        clock-frequency = <9000000>;
        hsync-active    = <0>;
        vsync-active    = <0>;
       };
      };
     };
    };

    &am33xx_pinmux {
     pinctrl-names = "default", "sleep";
         
            pinctrl-0 = <&clkout2_pin &mmc2_pins &wlan_pins_default &uart4_pins_default>;
            pinctrl-1 = <&clkout2_pin &mmc2_pins_sleep &wlan_pins_sleep &uart4_pins_sleep>;
     
     ddr3_vtt_toggle: ddr3_vtt_toggle {
      pinctrl-single,pins = <
       0x164 0x7 /* ecap0_in_pwm0_out.gpio0_7, OUTPUT | MODE7 */
      >;
     };

     lcd_pins_default: lcd_pins_default {
      pinctrl-single,pins = <
       0xe0 ( PIN_OUTPUT_PULLDOWN | MUX_MODE0 ) /* (U5) lcd_vsync.lcd_vsync */
       0xe4 ( PIN_OUTPUT_PULLDOWN | MUX_MODE0 ) /* (R5) lcd_hsync.lcd_hsync */
       0xe8 ( PIN_OUTPUT_PULLDOWN | MUX_MODE0 ) /* (V5) lcd_pclk.lcd_pclk */
       0xec ( PIN_OUTPUT_PULLDOWN | MUX_MODE0 ) /* (R6) lcd_ac_bias_en.lcd_ac_bias_en */
       0xa0 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (R1) lcd_data0.lcd_data0 */
       0xa4 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (R2) lcd_data1.lcd_data1 */
       0xa8 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (R3) lcd_data2.lcd_data2 */
       0xac ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (R4) lcd_data3.lcd_data3 */
       0xb0 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (T1) lcd_data4.lcd_data4 */
       0xb4 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (T2) lcd_data5.lcd_data5 */
       0xb8 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (T3) lcd_data6.lcd_data6 */
       0xbc ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (T4) lcd_data7.lcd_data7 */
       0xc0 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (U1) lcd_data8.lcd_data8 */
       0xc4 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (U2) lcd_data9.lcd_data9 */
       0xc8 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (U3) lcd_data10.lcd_data10 */
       0xcc ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (U4) lcd_data11.lcd_data11 */
       0xd0 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (V2) lcd_data12.lcd_data12 */
       0xd4 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (V3) lcd_data13.lcd_data13 */
       0xd8 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (V4) lcd_data14.lcd_data14 */
       0xdc ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (T5) lcd_data15.lcd_data15 */
       0x3c ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (U13) gpmc_ad15.lcd_data16 */
       0x38 ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (V13) gpmc_ad14.lcd_data17 */
       0x34 ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (R12) gpmc_ad13.lcd_data18 */
       //0x30 ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (T12) gpmc_ad12.lcd_data19 */
       //0x2c ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (U12) gpmc_ad11.lcd_data20 */
       //0x28 ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (T11) gpmc_ad10.lcd_data21 */
       0x24 ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (T10) gpmc_ad9.lcd_data22 */
       0x20 ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (U10) gpmc_ad8.lcd_data23 */
      >;
     };

            /* Optional sleep pin settings. Must manually enter values in the below skeleton. */
     lcd_pins_sleep: lcd_pins_sleep {
      pinctrl-single,pins = <
       0xe0 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U5) lcd_vsync.lcd_vsync */
       0xe4 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (R5) lcd_hsync.lcd_hsync */
       0xe8 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V5) lcd_pclk.lcd_pclk */
       0xec (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (R6) lcd_ac_bias_en.lcd_ac_bias_en */
       0xa0 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (R1) lcd_data0.lcd_data0 */
       0xa4 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (R2) lcd_data1.lcd_data1 */
       0xa8 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (R3) lcd_data2.lcd_data2 */
       0xac (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (R4) lcd_data3.lcd_data3 */
       0xb0 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T1) lcd_data4.lcd_data4 */
       0xb4 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T2) lcd_data5.lcd_data5 */
       0xb8 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T3) lcd_data6.lcd_data6 */
       0xbc (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T4) lcd_data7.lcd_data7 */
       0xc0 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U1) lcd_data8.lcd_data8 */
       0xc4 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U2) lcd_data9.lcd_data9 */
       0xc8 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U3) lcd_data10.lcd_data10 */
       0xcc (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U4) lcd_data11.lcd_data11 */
       0xd0 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V2) lcd_data12.lcd_data12 */
       0xd4 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V3) lcd_data13.lcd_data13 */
       0xd8 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V4) lcd_data14.lcd_data14 */
       0xdc (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T5) lcd_data15.lcd_data15 */
       0x3c (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U13) gpmc_ad15.lcd_data16 */
       0x38 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V13) gpmc_ad14.lcd_data17 */
       0x34 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (R12) gpmc_ad13.lcd_data18 */
       //0x30 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T12) gpmc_ad12.lcd_data19 */
       //0x2c (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U12) gpmc_ad11.lcd_data20 */
       //0x28 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T11) gpmc_ad10.lcd_data21 */
       0x24 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T10) gpmc_ad9.lcd_data22 */
       0x20 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U10) gpmc_ad8.lcd_data23 */
      >;
     };

     user_leds_default: user_leds_default {
      pinctrl-single,pins = <
       0x10 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad4.gpio1_4 */
       0x14 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad5.gpio1_5 */
       0x18 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad6.gpio1_6 */
       0x1c (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad7.gpio1_7 */
      >;
     };

     user_leds_sleep: user_leds_sleep {
      pinctrl-single,pins = <
       0x10 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_a5.gpio1_21 */
       0x14 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_a6.gpio1_22 */
       0x18 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_a7.gpio1_23 */
       0x1c (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_a8.gpio1_24 */
      >;
     };

     
     gpio_keys_s0: gpio_keys_s0 {
      pinctrl-single,pins = <
       0x88 ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (T13) gpmc_csn3.gpio2[0] */
       0x8c ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V12) gpmc_clk.gpio2[1] */
       0x90 ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (R7) gpmc_advn_ale.gpio2[2] */
       0x94 ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (T7) gpmc_oen_ren.gpio2[3] */
       0x98 ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (U6) gpmc_wen.gpio2[4] */
       0x9c ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (T6) gpmc_be0n_cle.gpio2[5] */
       0x13c ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (L15) gmii1_rxd1.gpio2[20] */
       0x140 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (M16) gmii1_rxd0.gpio2[21] */
      >;
     };


     
     gpio3_pins_default: pinmux_gpio3_pins_default {
      pinctrl-single,pins = <
       //0x114 ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (J16) gmii1_txen.gpio3[3] */
       0x19c ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (C12) mcasp0_ahclkr.gpio3[17] */
       0x1a0 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (B12) mcasp0_aclkr.gpio3[18] */
       0x1a4 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (C13) mcasp0_fsr.gpio3[19] */
       0x1a8 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (D13) mcasp0_axr1.gpio3[20] */
       0x1ac ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (A14) mcasp0_ahclkx.gpio3[21] */
      >;
     };

     
            gpio0_pins_default: pinmux_gpio0_pins_default {
     pinctrl-single,pins = <
       0x15c ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (A16) spi0_cs0.gpio0[5] */
       0x160 ( PIN_INPUT | MUX_MODE7 ) /* (C15) spi0_cs1.gpio0[6] */
       0x164 ( PIN_INPUT | MUX_MODE7 ) /* (C18) eCAP0_in_PWM0_out.gpio0[7] */
       0x11c ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (J18) gmii1_txd3.gpio0[16] */
       0x120 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (K15) gmii1_txd2.gpio0[17] */
       0x21c ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (F16) USB0_DRVVBUS.gpio0[18] */
       0x1b0 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (A15) xdma_event_intr0.gpio0[19] */
       0x1b4 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (D14) xdma_event_intr1.gpio0[20] */
       0x124 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (K16) gmii1_txd1.gpio0[21] */
       0x128 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (K17) gmii1_txd0.gpio0[28] */
     >;
            };
     
     i2c0_pins: pinmux_i2c0_pins {
      pinctrl-single,pins = <
       0x188 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c0_sda.i2c0_sda */
       0x18c (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c0_scl.i2c0_scl */
      >;
     };

     uart0_pins: pinmux_uart0_pins {
      pinctrl-single,pins = <
       0x170 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart0_rxd.uart0_rxd */
       0x174 (PIN_OUTPUT_PULLDOWN | MUX_MODE0)  /* uart0_txd.uart0_txd */
      >;
     };

     clkout2_pin: pinmux_clkout2_pin {
      pinctrl-single,pins = <
       //0x1b4 (PIN_OUTPUT_PULLDOWN | MUX_MODE3)  /* xdma_event_intr1.clkout2 */
      >;
     };

     ecap2_pins_default: backlight_pins {
      pinctrl-single,pins = <
       //0x19c 0x4 /* mcasp0_ahclkr.ecap2_in_pwm2_out MODE4 */
      >;
     };

     ecap2_pins_sleep: ecap2_pins_sleep {
      pinctrl-single,pins = <
       //0x19c (PIN_INPUT_PULLDOWN | MUX_MODE7) /* mcasp0_ahclkr.ecap2_in_pwm2_out */
      >;
     };


     cpsw_default: cpsw_default {
      pinctrl-single,pins = <
       0x78 ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (U18) gpmc_be1n.gmii2_col */
       0x70 ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (T17) gpmc_wait0.gmii2_crs */
       0x74 ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (U17) gpmc_wpn.gmii2_rxer */
       0x40 ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (R13) gpmc_a0.gmii2_txen */
       0x44 ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (V14) gpmc_a1.gmii2_rxdv */
       0x58 ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (U15) gpmc_a6.gmii2_txclk */
       0x5c ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (T15) gpmc_a7.gmii2_rxclk */
       0x54 ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (V15) gpmc_a5.gmii2_txd0 */
       0x50 ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (R14) gpmc_a4.gmii2_txd1 */
       0x4c ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (T14) gpmc_a3.gmii2_txd2 */
       0x48 ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (U14) gpmc_a2.gmii2_txd3 */
       0x6c ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (V17) gpmc_a11.gmii2_rxd0 */
       0x68 ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (T16) gpmc_a10.gmii2_rxd1 */
       0x64 ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (U16) gpmc_a9.gmii2_rxd2 */
       0x60 ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (V16) gpmc_a8.gmii2_rxd3 */
      >;
     };

     /* Optional sleep pin settings. Must manually enter values in the below skeleton. */
     cpsw_sleep: cpsw_sleep {
      pinctrl-single,pins = <
       0x78 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U18) gpmc_be1n.gmii2_col */
       0x70 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T17) gpmc_wait0.gmii2_crs */
       0x74 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U17) gpmc_wpn.gmii2_rxer */
       0x40 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (R13) gpmc_a0.gmii2_txen */
       0x44 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V14) gpmc_a1.gmii2_rxdv */
       0x58 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U15) gpmc_a6.gmii2_txclk */
       0x5c (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T15) gpmc_a7.gmii2_rxclk */
       0x54 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V15) gpmc_a5.gmii2_txd0 */
       0x50 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (R14) gpmc_a4.gmii2_txd1 */
       0x4c (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T14) gpmc_a3.gmii2_txd2 */
       0x48 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U14) gpmc_a2.gmii2_txd3 */
       0x6c (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V17) gpmc_a11.gmii2_rxd0 */
       0x68 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T16) gpmc_a10.gmii2_rxd1 */
       0x64 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U16) gpmc_a9.gmii2_rxd2 */
       0x60 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V16) gpmc_a8.gmii2_rxd3 */
      >;
     };


     davinci_mdio_default: davinci_mdio_default {
      pinctrl-single,pins = <
       /* MDIO */
       0x148 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0) /* mdio_data.mdio_data */
       0x14c (PIN_OUTPUT_PULLUP | MUX_MODE0)   /* mdio_clk.mdio_clk */
      >;
     };

     davinci_mdio_sleep: davinci_mdio_sleep {
      pinctrl-single,pins = <
       /* MDIO reset value */
       0x148 (PIN_INPUT_PULLDOWN | MUX_MODE7)
       0x14c (PIN_INPUT_PULLDOWN | MUX_MODE7)
      >;
     };


     mcasp1_pins: mcasp1_pins {
      pinctrl-single,pins = <
       0x10c (PIN_INPUT_PULLDOWN | MUX_MODE4) /* mii1_crs.mcasp1_aclkx */
       0x110 (PIN_INPUT_PULLDOWN | MUX_MODE4) /* mii1_rxerr.mcasp1_fsx */
       0x108 (PIN_OUTPUT_PULLDOWN | MUX_MODE4) /* mii1_col.mcasp1_axr2 */
       0x144 (PIN_INPUT_PULLDOWN | MUX_MODE4) /* rmii1_ref_clk.mcasp1_axr3 */
      >;
     };

     mcasp1_pins_sleep: mcasp1_pins_sleep {
      pinctrl-single,pins = <
       0x10c (PIN_INPUT_PULLDOWN | MUX_MODE7)
       0x110 (PIN_INPUT_PULLDOWN | MUX_MODE7)
       0x108 (PIN_INPUT_PULLDOWN | MUX_MODE7)
       0x144 (PIN_INPUT_PULLDOWN | MUX_MODE7)
      >;
     };

     
            /* wl12xx/wl18xx card enable/irq GPIOs. */
     wlan_pins_default: pinmux_wlan_pins_default {
      pinctrl-single,pins = <
       0x7C (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad10.gpio1_29 WL_EN*/
                            0x114 ( PIN_INPUT | MUX_MODE7 )  /* (J16) gmii1_txen.gpio3[3] WL_IRQ */
                            0x120 ( PIN_OUTPUT_PULLDOWN | MUX_MODE7 )/* gpmc_ad12.gpio1_12 BT_EN*/
      >;
     };

     /* wl12xx/wl18xx card enable/irq GPIOs. */
     wlan_pins_sleep: pinmux_wlan_pins_sleep {
      pinctrl-single,pins = <
       0x7C (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad10.gpio1_29 WL_EN*/
                            0x114 ( PIN_INPUT | MUX_MODE7 ) /* (J16) gmii1_txen.gpio3[3] WL_IRQ */
                            0x120 ( PIN_OUTPUT_PULLUP | MUX_MODE7 ) /* gpmc_ad12.gpio1_12 BT_EN*/
      >;
     };


            uart4_pins_default: pinmux_uart4_pins_default {
      pinctrl-single,pins = <
       0x180 ( PIN_INPUT_PULLUP | MUX_MODE0 ) /* (D16) uart1_rxd.uart1_rxd */
       0x184 ( PIN_OUTPUT_PULLDOWN | MUX_MODE0 ) /* (D15) uart1_txd.uart1_txd */
       0x178 ( PIN_INPUT | MUX_MODE0 ) /* (D18) uart1_ctsn.uart1_ctsn */
       0x17c ( PIN_OUTPUT_PULLDOWN | MUX_MODE0 ) /* (D17) uart1_rtsn.uart1_rtsn */
      >;
     };


     /* Optional sleep pin settings. Must manually enter values in the below skeleton. */
     uart4_pins_sleep: pinmux_uart4_pins_sleep {
      pinctrl-single,pins = <
       0x180 (PIN_INPUT_PULLUP | MUX_MODE7  ) /* (D16) uart1_rxd.uart1_rxd */
       0x184 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* (D15) uart1_txd.uart1_txd */
       0x178 (PIN_INPUT | MUX_MODE0 | MUX_MODE7 ) /* (D18) uart1_ctsn.uart1_ctsn */
       0x17c (PIN_OUTPUT_PULLDOWN | MUX_MODE7  ) /* (D17) uart1_rtsn.uart1_rtsn */
      >;
     };

            mmc2_pins: pinmux_mmc2_pins {
      pinctrl-single,pins = <
       
       0x80 (PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_csn1.mmc1_clk */
       0x84 (PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_csn2.mmc1_cmd */
       0x00 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad0.mmc1_dat0 */
       0x04 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad1.mmc1_dat1 */
       0x08 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad2.mmc1_dat2 */
       0x0c (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad3.mmc1_dat3 */
      >;
     };

            mmc2_pins_sleep: pinmux_mmc2_pins_sleep {
      pinctrl-single,pins = <  
       0x80 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_csn1.mmc1_clk */
       0x84 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_csn2.mmc1_cmd */
       0x00 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad0.mmc1_dat0 */
       0x04 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad1.mmc1_dat1 */
       0x08 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad2.mmc1_dat2 */
       0x0c (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad3.mmc1_dat3 */
      >;
     }; 


           mmc1_pins_default: pinmux_mmc1_pins {
      pinctrl-single,pins = <
       0x0F0 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat3.mmc0_dat3 */
       0x0F4 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat2.mmc0_dat2 */
       0x0F8 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat1.mmc0_dat1 */
       0x0FC (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat0.mmc0_dat0 */
       0x100 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_clk.mmc0_clk */
       0x104 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_cmd.mmc0_cmd */
       0x1A0 (PIN_INPUT_PULLUP | MUX_MODE7) /* mcasp0_aclkr.gpio3_18 */
       0x160 (PIN_INPUT | MUX_MODE7)  /* spi0_cs1.gpio0_6 */
      >;
     };

     mmc1_pins_sleep: pinmux_mmc1_pins_sleep {
      pinctrl-single,pins = <
       0x0F0 (PIN_INPUT_PULLDOWN | MUX_MODE7)
       0x0F4 (PIN_INPUT_PULLDOWN | MUX_MODE7)
       0x0F8 (PIN_INPUT_PULLDOWN | MUX_MODE7)
       0x0FC (PIN_INPUT_PULLDOWN | MUX_MODE7)
       0x100 (PIN_INPUT_PULLDOWN | MUX_MODE7)
       0x104 (PIN_INPUT_PULLDOWN | MUX_MODE7)
       0x1A0 (PIN_INPUT_PULLDOWN | MUX_MODE7)
      >;
     };   
    };

    &uart0 {
     pinctrl-names = "default";
     pinctrl-0 = <&uart0_pins>;

     status = "okay";
    };

    &uart4 {
     pinctrl-names = "default", "sleep";
     pinctrl-0 = <&uart4_pins_default>;
     pinctrl-1 = <&uart4_pins_sleep>;

     status = "okay";
    };

    &i2c0 {
     pinctrl-names = "default";
     pinctrl-0 = <&i2c0_pins>;

     status = "okay";
     clock-frequency = <400000>;

     tps: tps@2d {
      reg = <0x2d>;
     };

     lis331dlh: lis331dlh@18 {
      compatible = "st,lis331dlh", "st,lis3lv02d";
      reg = <0x18>;
      Vdd-supply = <&lis3_reg>;
      Vdd_IO-supply = <&lis3_reg>;

      st,click-single-x;
      st,click-single-y;
      st,click-single-z;
      st,click-thresh-x = <10>;
      st,click-thresh-y = <10>;
      st,click-thresh-z = <10>;
      st,irq1-click;
      st,irq2-click;
      st,wakeup-x-lo;
      st,wakeup-x-hi;
      st,wakeup-y-lo;
      st,wakeup-y-hi;
      st,wakeup-z-lo;
      st,wakeup-z-hi;
      st,min-limit-x = <120>;
      st,min-limit-y = <120>;
      st,min-limit-z = <140>;
      st,max-limit-x = <550>;
      st,max-limit-y = <550>;
      st,max-limit-z = <750>;
     };

     tlv320aic3106: tlv320aic3106@1b {
      compatible = "ti,tlv320aic3106";
      reg = <0x1b>;
      status = "okay";

      /* Regulators */
      AVDD-supply = <&vaux2_reg>;
      IOVDD-supply = <&vaux2_reg>;
      DRVDD-supply = <&vaux2_reg>;
      DVDD-supply = <&vbat>;
     };
    };

    &usb {
     status = "okay";

     control@44e10620 {
      status = "okay";
     };

     usb-phy@47401300 {
      status = "okay";
     };

     usb@47401000 {
      status = "okay";
     };

     dma-controller@47402000  {
      status = "okay";
     };

     usb-phy@47401b00 {
      status = "okay";
     };
     usb@47401800 {
      status = "okay";
      dr_mode = "host";
     };
    };

    &epwmss2 {
     status = "okay";

     ecap2: ecap@48304100 {
      status = "okay";
      pinctrl-names = "default", "sleep";
      pinctrl-0 = <&ecap2_pins_default>;
      pinctrl-1 = <&ecap2_pins_sleep>;
     };
    };

    &wkup_m3 {
     ti,needs-vtt-toggle;
     ti,vtt-gpio-pin = <7>;
     ti,scale-data-fw = "am335x-evm-scale-data.bin";
    };

    #include "tps65910.dtsi"

    &tps {
     vcc1-supply = <&vbat>;
     vcc2-supply = <&vbat>;
     vcc3-supply = <&vbat>;
     vcc4-supply = <&vbat>;
     vcc5-supply = <&vbat>;
     vcc6-supply = <&vbat>;
     vcc7-supply = <&vbat>;
     vccio-supply = <&vbat>;

     regulators {
      vrtc_reg: regulator@0 {
       regulator-always-on;
      };

      vio_reg: regulator@1 {
       regulator-always-on;
      };

      vdd1_reg: regulator@2 {
       /* VDD_MPU voltage limits 0.95V - 1.325V with +/-4% tolerance */
       regulator-name = "vdd_mpu";
       regulator-min-microvolt = <912500>;
       regulator-max-microvolt = <1378000>;
       regulator-boot-on;
       regulator-always-on;
      };

      vdd2_reg: regulator@3 {
       /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
       regulator-name = "vdd_core";
       regulator-min-microvolt = <912500>;
       regulator-max-microvolt = <1150000>;
       regulator-boot-on;
       regulator-always-on;
      };

      vdd3_reg: regulator@4 {
       regulator-always-on;
      };

      vdig1_reg: regulator@5 {
       regulator-always-on;
      };

      vdig2_reg: regulator@6 {
       regulator-always-on;
      };

      vpll_reg: regulator@7 {
       regulator-always-on;
      };

      vdac_reg: regulator@8 {
       regulator-always-on;
      };

      vaux1_reg: regulator@9 {
       regulator-always-on;
      };

      vaux2_reg: regulator@10 {
       regulator-always-on;
      };

      vaux33_reg: regulator@11 {
       regulator-always-on;
      };

      vmmc_reg: regulator@12 {
       regulator-min-microvolt = <1800000>;
       regulator-max-microvolt = <3300000>;
       regulator-always-on;
      };
     };
    };

    &mac {
     pinctrl-names = "default", "sleep";
     pinctrl-0 = <&cpsw_default>;
     pinctrl-1 = <&cpsw_sleep>;
     dual_emac = <1>;
    };

    &davinci_mdio {
     pinctrl-names = "default", "sleep";
     pinctrl-0 = <&davinci_mdio_default>;
     pinctrl-1 = <&davinci_mdio_sleep>;
    };

    &cpsw_emac0 {
     phy_id = <&davinci_mdio>, <0>;
     phy-mode = "rgmii-txid";
     dual_emac_res_vlan = <1>;
    };

    &cpsw_emac1 {
     phy_id = <&davinci_mdio>, <1>;
     phy-mode = "rgmii-txid";
     dual_emac_res_vlan = <2>;
    };

    &mmc1 {
     status = "okay";
     vmmc-supply = <&vmmc_reg>;
     bus-width = <4>;
     pinctrl-names = "default", "sleep";
     pinctrl-0 = <&mmc1_pins_default>;
     pinctrl-1 = <&mmc1_pins_sleep>;
            cd-gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
    };

    &sham {
     status = "okay";
    };

    &aes {
     status = "okay";
    };

    &gpio0 {
     ti,no-reset-on-init;
    };


    &mmc2 {
            status = "okay";
     vmmc-supply = <&wlan_en_reg>;
     bus-width = <4>;
     pinctrl-names = "default", "sleep";
     pinctrl-0 = <&mmc2_pins>;
     pinctrl-1 = <&mmc2_pins_sleep>;
     ti,non-removable;
     ti,needs-special-hs-handling;
     cap-power-off-card;
     keep-power-in-suspend;

     #address-cells = <1>;
     #size-cells = <0>;
     wlcore: wlcore@0 {
      compatible = "ti,wlcore";            
      reg = <2>;
                    interrupt-parent = <&gpio3>;
                    interrupts = <3 IRQ_TYPE_LEVEL_HIGH>;
            };
    };


    &mcasp1 {
     pinctrl-names = "default", "sleep";
     pinctrl-0 = <&mcasp1_pins>;
     pinctrl-1 = <&mcasp1_pins_sleep>;

     status = "okay";

     op-mode = <0>; /* MCASP_IIS_MODE */
     tdm-slots = <2>;
     
     serial-dir = < 
      0 0 1 2
     >;
     tx-num-evt = <32>;
     rx-num-evt = <32>;
    };

    &tscadc {
     status = "okay";
     tsc {
      ti,wires = <4>;
      ti,x-plate-resistance = <200>;
      ti,coordinate-readouts = <5>;
      ti,wire-config = <0x00 0x11 0x22 0x33>;
      ti,charge-delay = <0xb000>;
     };
    };

    &lcdc {
          status = "okay";
    };

    What are the problems?

    Thanks Oded.

  • Hi Gigi,

    I removed wlcore definition from Platform Data, and I still receive the same error "wlcore: ERROR ELP wakeup timeout!" and no interrupt added to /proc/interrupts/wl18xx.
    what make this problems?
    Thanks Oded.
  • Hi Oded,

    I think this could be either wrong WLAN_IRQ mapping or some pinmux issue.

    Regards,
    Gigi Joseph.
  • Hi Gigi,
    but I see that WLAN_IRQ is toggling [ via scope ] , during ifconfig wlan0 up.
    I have a question. is it must to disable
    CONFIG_BT=N
    CONFIG_CFG80211=N
    CONFIG_MAC80211=N
    and enable all the rest as wrote in WL18xx Platform Integration Guide doc?
    because I did disable all 3 above and nothing was change in the results.
    so do I have to make the rest enabled?

    Thanks Oded.
  • Hi Oded,

    Please enable all the configurations as mentioned in: processors.wiki.ti.com/.../WL18xx_Platform_Integration_Guide

    I am aware that the WLAN_IRQ is toggling correctly using scope. What I am not sure is if it is mapped correctly in the dts file.

    Regards,
    Gigi Joseph.
  • Hi Gigi,

    Thanks for your help. Wi-Fi is enable and operate scan function.
    Now I try enable Bluetooth and I receive errors during "hciconfig hci0 up" operation.
    What wrong and what are the right actions to enable and scan via Bluetooth?
    attach is log file and DTS file.


    Log file:


    U-Boot SPL 2014.07-00001-g4a8e5b8-dirty (Sep 29 2015 - 14:57:45)
    reading args
    spl_load_image_fat_os: error reading image args, err - -1
    reading u-boot.img
    reading u-boot.img


    U-Boot 2014.07-00001-g4a8e5b8-dirty (Sep 29 2015 - 14:57:45)

    I2C: ready
    DRAM: 256 MiB
    NAND: 0 MiB
    MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
    reading uboot.env

    ** Unable to read "uboot.env" from mmc0:1 **
    Using default environment

    Net: <ethaddr> not set. Validating first E-fuse MAC
    Phy not found
    cpsw, usb_ether
    Hit any key to stop autoboot: 0
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    reading uEnv.txt
    ** Unable to read file uEnv.txt **
    4423888 bytes read in 337 ms (12.5 MiB/s)
    37308 bytes read in 31 ms (1.1 MiB/s)
    Kernel image @ 0x82000000 [ 0x000000 - 0x4380d0 ]
    ## Flattened Device Tree blob at 88000000
    Booting using the fdt blob at 0x88000000
    Loading Device Tree to 8e713000, end 8e71f1bb ... OK

    Starting kernel ...

    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Linux version 3.14.43-g875c69b (root@ubuntu) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #1 Tue Sep 29 11:41:35 IDT 2015
    [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
    [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [ 0.000000] Machine model: TI AM335x EVM-SK
    [ 0.000000] cma: CMA: reserved 24 MiB at 8c800000
    [ 0.000000] Memory policy: Data cache writeback
    [ 0.000000] CPU: All CPU(s) started in SVC mode.
    [ 0.000000] AM335X ES2.1 (neon )
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 64768
    [ 0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait
    [ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    [ 0.000000] Memory: 225108K/261120K available (5963K kernel code, 311K rwdata, 2184K rodata, 263K init, 232K bss, 36012K reserved, 0K highmem)
    [ 0.000000] Virtual kernel memory layout:
    [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
    [ 0.000000] vmalloc : 0xd0800000 - 0xff000000 ( 744 MB)
    [ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
    [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
    [ 0.000000] .text : 0xc0008000 - 0xc07fd0c4 (8149 kB)
    [ 0.000000] .init : 0xc07fe000 - 0xc083fe3c ( 264 kB)
    [ 0.000000] .data : 0xc0840000 - 0xc088df10 ( 312 kB)
    [ 0.000000] .bss : 0xc088df10 - 0xc08c7fe0 ( 233 kB)
    [ 0.000000] NR_IRQS:16 nr_irqs:16 16
    [ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [ 0.000000] Total of 128 interrupts on 1 active controller
    [ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [ 0.000017] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956969942ns
    [ 0.000042] OMAP clocksource: timer1 at 24000000 Hz
    [ 0.000370] Console: colour dummy device 80x30
    [ 0.000401] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [ 0.000409] This ensures that you still see kernel messages. Please
    [ 0.000416] update your kernel commandline.
    [ 0.000444] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
    [ 0.059155] pid_max: default: 32768 minimum: 301
    [ 0.059284] Security Framework initialized
    [ 0.059351] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.059365] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.069067] CPU: Testing write buffer coherency: ok
    [ 0.069582] Setting up static identity map for 0x805d92e0 - 0x805d9338
    [ 0.070749] devtmpfs: initialized
    [ 0.072956] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [ 0.082656] omap_hwmod: tptc0 using broken dt data from edma
    [ 0.082765] omap_hwmod: tptc1 using broken dt data from edma
    [ 0.082861] omap_hwmod: tptc2 using broken dt data from edma
    [ 0.087440] omap_hwmod: debugss: _wait_target_disable failed
    [ 0.144419] pinctrl core: initialized pinctrl subsystem
    [ 0.145650] regulator-dummy: no parameters
    [ 0.148423] NET: Registered protocol family 16
    [ 0.150996] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.154144] cpuidle: using governor ladder
    [ 0.154164] cpuidle: using governor menu
    [ 0.162422] syscon 44e10000.control_module: regmap [mem 0x44e10000-0x44e107fb] registered
    [ 0.164271] platform 49000000.edma: alias fck already exists
    [ 0.164301] platform 49000000.edma: alias fck already exists
    [ 0.164319] platform 49000000.edma: alias fck already exists
    [ 0.165727] OMAP GPIO hardware version 0.1
    [ 0.184661] No ATAGs?
    [ 0.184688] hw-breakpoint: debug architecture 0x4 unsupported.
    [ 0.220211] bio: create slab <bio-0> at 0
    [ 0.240775] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
    [ 0.242057] vbat: 5000 mV
    [ 0.242533] lis3_reg: no parameters
    [ 0.243148] wlan-en-regulator: 1800 mV
    [ 0.243720] vtt: 1500 mV
    [ 0.247796] vgaarb: loaded
    [ 0.248453] i2c-core: driver [palmas] using legacy suspend method
    [ 0.248465] i2c-core: driver [palmas] using legacy resume method
    [ 0.249443] SCSI subsystem initialized
    [ 0.251360] usbcore: registered new interface driver usbfs
    [ 0.251598] usbcore: registered new interface driver hub
    [ 0.251858] usbcore: registered new device driver usb
    [ 0.253060] omap_i2c 44e0b000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c0_pins, deferring probe
    [ 0.253096] platform 44e0b000.i2c: Driver omap_i2c requests probe deferral
    [ 0.253591] pps_core: LinuxPPS API ver. 1 registered
    [ 0.253603] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 0.253766] PTP clock support registered
    [ 0.256225] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [ 0.257350] Advanced Linux Sound Architecture Driver Initialized.
    [ 0.259405] Switched to clocksource timer1
    [ 0.284145] NET: Registered protocol family 2
    [ 0.285243] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.285287] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.285325] TCP: Hash tables configured (established 2048 bind 2048)
    [ 0.285400] TCP: reno registered
    [ 0.285418] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.285442] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.285661] NET: Registered protocol family 1
    [ 0.286107] RPC: Registered named UNIX socket transport module.
    [ 0.286122] RPC: Registered udp transport module.
    [ 0.286130] RPC: Registered tcp transport module.
    [ 0.286138] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.287434] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
    [ 0.291031] futex hash table entries: 256 (order: -1, 3072 bytes)
    [ 0.517193] VFS: Disk quotas dquot_6.5.2
    [ 0.517281] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [ 0.517909] NFS: Registering the id_resolver key type
    [ 0.518015] Key type id_resolver registered
    [ 0.518025] Key type id_legacy registered
    [ 0.518074] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
    [ 0.518297] msgmni has been set to 487
    [ 0.520720] NET: Registered protocol family 38
    [ 0.520775] io scheduler noop registered
    [ 0.520785] io scheduler deadline registered
    [ 0.520812] io scheduler cfq registered (default)
    [ 0.522907] pinctrl-single 44e10800.pinmux: bad data for mux pinmux_clkout2_pin
    [ 0.522930] pinctrl-single 44e10800.pinmux: no pins entries for pinmux_clkout2_pin
    [ 0.523024] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [ 0.525330] pinctrl-single 44e10800.pinmux: bad data for mux backlight_pins
    [ 0.525354] pinctrl-single 44e10800.pinmux: no pins entries for backlight_pins
    [ 0.527752] backlight supply power not found, using dummy regulator
    [ 0.532700] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [ 0.539206] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 88, base_baud = 3000000) is a 8250
    [ 1.205971] console [ttyS0] enabled
    [ 1.210897] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 61, base_baud = 3000000) is a 8250
    [ 1.221953] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [ 1.229065] [drm] Initialized drm 1.1.0 20060810
    [ 1.247342] brd: module loaded
    [ 1.257568] loop: module loaded
    [ 1.261193] (stk) :sysfs entries created
    [ 1.265187] (stk) : debugfs entries created
    [ 1.269592] (hci_tty): inside hci_tty_init
    [ 1.274474] (hci_tty): allocated 250, 0
    [ 1.283561] mtdoops: mtd device (mtddev=name/number) must be supplied
    [ 1.294962] usbcore: registered new interface driver asix
    [ 1.300699] usbcore: registered new interface driver ax88179_178a
    [ 1.307055] usbcore: registered new interface driver cdc_ether
    [ 1.313138] usbcore: registered new interface driver smsc95xx
    [ 1.319134] usbcore: registered new interface driver net1080
    [ 1.325022] usbcore: registered new interface driver cdc_subset
    [ 1.331194] usbcore: registered new interface driver zaurus
    [ 1.337095] usbcore: registered new interface driver cdc_ncm
    [ 1.343441] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [ 1.350039] ehci-pci: EHCI PCI platform driver
    [ 1.354747] ehci-omap: OMAP-EHCI Host Controller driver
    [ 1.360635] usbcore: registered new interface driver cdc_wdm
    [ 1.366599] usbcore: registered new interface driver usb-storage
    [ 1.374010] mousedev: PS/2 mouse device common for all mice
    [ 1.381791] input: ti-tsc as /devices/ocp/44e0d000.tscadc/TI-am335x-tsc/input/input0
    [ 1.391732] i2c-core: driver [rtc-ds1307] using legacy suspend method
    [ 1.398210] i2c-core: driver [rtc-ds1307] using legacy resume method
    [ 1.405594] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
    [ 1.412825] 44e3e000.rtc: already running
    [ 1.417827] i2c /dev entries driver
    [ 1.421582] Driver for 1-wire Dallas network protocol.
    [ 1.429782] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [ 1.439162] omap_hsmmc 48060000.mmc: unable to get vmmc regulator -517
    [ 1.446089] platform 48060000.mmc: Driver omap_hsmmc requests probe deferral
    [ 1.574679] omap_hsmmc 481d8000.mmc: card claims to support voltages below defined range
    [ 1.583930] ledtrig-cpu: registered to indicate activity on CPUs
    [ 1.590504] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [ 1.598049] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [ 1.605995] usbcore: registered new interface driver usbhid
    [ 1.611642] usbhid: USB HID core driver
    [ 1.615866] platform 44d00000.wkup_m3: Driver wkup_m3 requests probe deferral
    [ 1.627431] oprofile: using arm/armv7
    [ 1.631395] nf_conntrack version 0.5.0 (3901 buckets, 15604 max)
    [ 1.638279] ip_tables: (C) 2000-2006 Netfilter Core Team
    [ 1.644559] mmc0: queuing unknown CIS tuple 0x91 (3 bytes)
    [ 1.650141] TCP: cubic registered
    [ 1.653472] Initializing XFRM netlink socket
    [ 1.657783] NET: Registered protocol family 17
    [ 1.662776] NET: Registered protocol family 15
    [ 1.667382] Bridge firewalling registered
    [ 1.671709] mmc0: new high speed SDIO card at address 0001
    [ 1.677611] Key type dns_resolver registered
    [ 1.684665] cpu cpu0: of_pm_voltdm_notifier_register: Failed to get cpu0 regulator/voltdm: -517
    [ 1.693478] cpu cpu0: cpu0 clock notifier not ready, retry
    [ 1.699229] platform cpufreq-cpu0.0: Driver cpufreq-cpu0 requests probe deferral
    [ 1.707447] PM: bootloader does not support rtc-only!
    [ 1.712670] ThumbEE CPU extension supported.
    [ 1.716997] Registering SWP/SWPB emulation handler
    [ 1.723681] wlan-en-regulator: disabling
    [ 1.727635] lis3_reg: disabling
    [ 1.730920] vbat: disabling
    [ 1.733731] regulator-dummy: disabling
    [ 1.738374] Error: Driver 'tfp410' is already registered, aborting...
    [ 1.747856] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [ 1.754570] [drm] No driver support for vblank timestamp query.
    [ 1.812441] Console: switching to colour frame buffer device 60x34
    [ 1.821513] tilcdc 4830e000.lcdc: fb0: frame buffer device
    [ 1.827122] tilcdc 4830e000.lcdc: registered panic notifier
    [ 1.832752] [drm] Initialized tilcdc 1.0.0 20121205 on minor 0
    [ 1.841512] tps65910 0-002d: No interrupt support, no core IRQ
    [ 1.852264] vrtc: 1800 mV
    [ 1.855311] vrtc: supplied by vbat
    [ 1.860678] vio: at 1500 mV
    [ 1.863690] vio: supplied by vbat
    [ 1.869045] vdd_mpu: 912 <--> 1375 mV at 1137 mV
    [ 1.873901] vdd_mpu: supplied by vbat
    [ 1.879596] vdd_core: 912 <--> 1150 mV at 1137 mV
    [ 1.884516] vdd_core: supplied by vbat
    [ 1.889782] vdd3: 5000 mV
    [ 1.894033] vdig1: at 1800 mV
    [ 1.897196] vdig1: supplied by vbat
    [ 1.902284] vdig2: at 1800 mV
    [ 1.905441] vdig2: supplied by vbat
    [ 1.910496] vpll: at 1800 mV
    [ 1.913562] vpll: supplied by vbat
    [ 1.918543] vdac: at 1800 mV
    [ 1.921636] vdac: supplied by vbat
    [ 1.926614] vaux1: at 1800 mV
    [ 1.929792] vaux1: supplied by vbat
    [ 1.934856] vaux2: at 3300 mV
    [ 1.938007] vaux2: supplied by vbat
    [ 1.943085] vaux33: at 3300 mV
    [ 1.946338] vaux33: supplied by vbat
    [ 1.951445] vmmc: 1800 <--> 3300 mV at 3300 mV
    [ 1.956089] vmmc: supplied by vbat
    [ 1.961767] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [ 2.000197] remoteproc0: wkup_m3 is available
    [ 2.004699] remoteproc0: Note: remoteproc is still under development and considered experimental.
    [ 2.013742] remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [ 2.024395] remoteproc0: Direct firmware load failed with error -2
    [ 2.030769] remoteproc0: Falling back to user helper
    [ 2.099444] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [ 2.105589] davinci_mdio 4a101000.mdio: no live phy, scanning all
    [ 2.112230] davinci_mdio: probe of 4a101000.mdio failed with error -5
    [ 2.119993] cpsw 4a100000.ethernet: Detected MACID = 6c:ec:eb:aa:97:48
    [ 2.142065] cpsw 4a100000.ethernet: cpsw: Detected MACID = 6c:ec:eb:aa:97:4a
    [ 2.152095] input: gpio_buttons@0 as /devices/gpio_buttons@0/input/input1
    [ 2.160188] omap_rtc 44e3e000.rtc: setting system clock to 2015-09-30 10:17:12 UTC (1443608232)
    [ 2.172777] ALSA device list:
    [ 2.175853] No soundcards found.
    [ 2.179381] mmc1: host does not support reading read-only switch. assuming write-enable.
    [ 2.188198] Waiting for root device /dev/mmcblk0p2...
    [ 2.197343] mmc1: new high speed SDHC card at address aaaa
    [ 2.203813] mmcblk0: mmc1:aaaa SU08G 7.40 GiB
    [ 2.213560] mmcblk0: p1 p2
    [ 2.318567] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [ 2.326852] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
    [ 2.338286] devtmpfs: mounted
    [ 2.341888] Freeing unused kernel memory: 260K (c07fe000 - c083f000)
    INIT: version 2.88 booting
    Starting udev
    [ 3.301001] udevd[889]: starting version 182
    [ 3.595978] Bluetooth: Core ver 2.18
    [ 3.742522] NET: Registered protocol family 31
    [ 3.747015] Bluetooth: HCI device and connection manager initialized
    [ 3.847800] remoteproc0: powering up wkup_m3
    [ 3.878259] remoteproc0: Booting fw image am335x-pm-firmware.elf, size 154412
    [ 3.885805] Bluetooth: HCI socket layer initialized
    [ 3.971617] Bluetooth: L2CAP socket layer initialized
    [ 3.976928] lis3lv02d: 16 bits lis331dlh sensor found
    [ 3.982456] Bluetooth: SCO socket layer initialized
    [ 4.002156] 47401300.usb-phy supply vcc not found, using dummy regulator
    [ 4.040671] PM: CM3 Firmware Version = 0x190
    [ 4.080739] remoteproc0: remote processor wkup_m3 is now up
    [ 4.094683] 47401b00.usb-phy supply vcc not found, using dummy regulator
    [ 4.116218] (stc): chnl_id list empty :4
    [ 4.120255] (stk) : st_kim_start(stk) :ldisc_install = 1
    [ 4.230831] input: ST LIS3LV02DL Accelerometer as /devices/platform/lis3lv02d/input/input2
    [ 4.259902] cryptodev: driver 1.6 loaded.
    [ 4.600251] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
    [ 4.674083] Loading modules backported from Linux version R8.5-2-gad69b45
    [ 4.681012] Backport generated by backports.git R8.4-0-g0d46f43
    Starting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such file or directory
    bootlogd.
    [ 5.239548] (stk) :ldisc installation timeout
    [ 5.243790] (stk) :ldisc_install = 0[ 5.340849] davinci_evm sound: tlv320aic3x-hifi <-> 4803c000.mcasp mapping ok
    [ 5.650931] random: dd urandom read with 107 bits of entropy available
    [ 6.239549] (stk) : timed out waiting for ldisc to be un-installed
    [ 6.352401] (stk) :ldisc_install = 1
    udevadm settle - timeout of 3 seconds reached, the event queue contains:
    /sys/devices/ocp/48060000.mmc/mmc_host/mmc1/mmc1:aaaa/block/mmcblk0/mmcblk0p1 (866)
    /sys/devices/ocp/48060000.mmc/mmc_host/mmc1/mmc1:aaaa/block/mmcblk0/mmcblk0p2 (867)
    /sys/devices/virtual/block/loop0 (1014)
    /sys/devices/virtual/block/loop1 (1015)
    /sys/devices/virtual/block/loop5 (1019)
    /sys/devices/virtual/block/ram0 (1022)
    /sys/devices/virtual/block/ram1 (1023)
    /sys/devices/virtual/block/ram10 (1024)
    /sys/devices/virtual/block/ram11 (1025)
    /sys/devices/virtual/block/ram12 (1026)
    /sys/devices/virtual/block/ram13 (1027)
    /sys/devices/virtual/block/ram14 (1028)
    /sys/devices/virtual/block/ram15 (1029)
    /sys/devices/virtual/block/ram2 (1030)
    /sys/devices/virtual/block/ram3 (1031)
    /sys/devices/virtual/block/ram4 (1032)
    /sys/devices/virtual/block/ram5 (1033)
    /sys/devices/virtual/block/ram6 (1034)
    /sys/devices/virtual/block/ram7 (1035)
    /sys/devices/virtual/block/ram8 (1036)
    /sys/devices/virtual/block/ram9 (1037)
    /sys/devices/virtual/net/lo (1044)
    /sys/devices/platform/lis3lv02d (1060)
    /sys/devices/ocp/47400000.usb/47401400.usb (1062)
    [ 6.997127] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
    [ 7.253361] random: nonblocking pool is initialized
    [ 7.349603] (stk) :ldisc installation timeout
    [ 7.353843] (stk) :ldisc_install = 0[ 7.409237] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
    [ 7.569822] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [ 7.576669] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 7.583981] usb usb1: Product: MUSB HDRC host driver
    [ 7.588983] usb usb1: Manufacturer: Linux 3.14.43-g875c69b musb-hcd
    [ 7.595318] usb usb1: SerialNumber: musb-hdrc.1.auto
    [ 7.890545] hub 1-0:1.0: USB hub found
    [ 7.949577] hub 1-0:1.0: 1 port detected
    [ 8.009050] musb-hdrc musb-hdrc.2.auto: MUSB HDRC host driver
    [ 8.112243] musb-hdrc musb-hdrc.2.auto: new USB bus registered, assigned bus number 2
    [ 8.125125] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [ 8.191669] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    [ 8.198516] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 8.205848] usb usb2: Product: MUSB HDRC host driver
    [ 8.210866] usb usb2: Manufacturer: Linux 3.14.43-g875c69b musb-hcd
    [ 8.217165] usb usb2: SerialNumber: musb-hdrc.2.auto
    [ 8.349537] (stk) : timed out waiting for ldisc to be un-installed
    [ 8.462382] (stk) :ldisc_install = 1[ 8.608618] cfg80211: Calling CRDA to update world regulatory domain
    [ 8.631363] hub 2-0:1.0: USB hub found
    [ 8.671045] hub 2-0:1.0: 1 port detected
    [ 9.149082] cfg80211: World regulatory domain updated:
    [ 9.154372] cfg80211: DFS Master region: unset
    [ 9.158801] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
    [ 9.168627] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
    [ 9.177034] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm), (N/A)
    [ 9.185442] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm), (N/A)
    [ 9.193847] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
    [ 9.202259] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
    [ 9.300613] wl18xx_driver wl18xx.0.auto: Direct firmware load failed with error -2
    [ 9.308266] wl18xx_driver wl18xx.0.auto: Falling back to user helper
    ALSA: Restoring mixer settings...
    No state is present for card AM335xEVMSK
    Found hardware: "AM335x-EVMSK" "" "" "" ""
    Hardware is initia[ 9.459535] (stk) :ldisc installation timeoutlized using a generic method

    [ 9.463888] (stk) :ldisc_install = 0No state is present for card AM335xEVMSK
    INIT: Entering runlevel: 5
    Configuring network interfaces... [ 9.720464] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
    [ 9.757155] wlcore: loaded
    [ 9.769631] wlcore: driver version: ol_r8.a9.14
    [ 9.774212] wlcore: compilation time: Thu Sep 24 11:59:52 2015
    [ 9.941518] net eth0: initializing cpsw version 1.12 (0)
    [ 9.949624] libphy: PHY 4a101000.mdio:00 not found
    [ 9.954444] net eth0: phy 4a101000.mdio:00 not found on slave 0
    udhcpc (v1.22.1) started
    Sending discover...
    [ 10.469500] (stk) : timed out waiting for ldisc to be un-installed
    [ 10.582483] (stk) :ldisc_install = 1(stk) :ldisc installation timeout
    [ 11.582381] (stk) :ldisc_install = 0(stk) : timed out waiting for ldisc to be un-installed
    [ 12.691118] (stk) :ldisc_install = 1Sending discover...
    (stk) :ldisc installation timeout
    [ 13.692425] (stk) :ldisc_install = 0(stk) : timed out waiting for ldisc to be un-installed
    [ 14.801112] (stk) :ldisc_install = 1(stk) :ldisc installation timeout
    [ 15.802392] (stk) :ldisc_install = 0Sending discover...
    (stk) : timed out waiting for ldisc to be un-installed
    [ 16.806252] Bluetooth: st_register failed -22
    No lease, forking to background
    done.
    Starting system message bus: dbus.
    UIM SYSFS Node Found at /sys/./devices/kim/install
    Starting uim-sysfs daemon.
    uim:@ main
    uim:install = /sys/./devices/kim/install
    uim:dev_name = /sys/./devices/kim/dev_name
    uim:baud_rate = /sys/./devices/kim/baud_rate
    uim:flow_cntrl = /sys/./devices/kim/flow_cntrl
    uim:begin polling...
    Starting Dropbear SSH server: dropbear.
    Starting telnet daemon.
    Starting rpcbind daemon...rpcbind: cannot create socket for udp6
    rpcbind: cannot create socket for tcp6
    done.
    creating NFS state directory: done
    starting statd: done
    Starting syslogd/klogd: done
    Starting thttpd.
    Starting PVR
    insmod: ERROR: missing filename.
    Could not find pvrsrvkm driver
    Starting Lighttpd Web Server: lighttpd.
    2015-09-30 10:17:30: (/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-linux-gnueabi/lighttpd/1.4.33-r1/lighttpd-1.4.33/src/log.c.166) server started
    /
    Starting Matrix GUI application.
    Enabling thermal zones...
    /etc/rc5.d/S98thermal-zone-init: line 7: /sys/class/thermal/thermal_zone*/mode: No such file or directory
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the followin GPLv3 packages:
    autoconf
    binutils
    cpp-symlinks
    cpp
    g++-symlinks
    g++
    gcc-symlinks
    gcc
    gdbserver
    gstreamer1.0-libav
    libgmp10
    libmpc3
    libmpfr4
    make

    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution. This can be done using
    the opkg remove command. i.e.:
    opkg remove <package>
    Where <package> is the name printed in the list above

    NOTE: If the package is a dependency of another package you
    will be notified of the dependent packages. You should
    use the --force-removal-of-dependent-packages option to
    also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    Stopping Bootlog daemon: bootlogd.

    _____ _____ _ _
    | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
    | | _| .'| . | . | | __| _| . | | | -_| _| _|
    |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
    |___| |___|

    Arago Project http://arago-project.org am335x-evm /dev/ttyO0

    Arago 2015.05 am335x-evm /dev/ttyO0

    am335x-evm login: root
    root@am335x-evm:~# lsmod
    Module Size Used by
    wl18xx 85324 0
    wlcore 183851 1 wl18xx
    mac80211 353953 2 wl18xx,wlcore
    cfg80211 200821 3 mac80211,wl18xx,wlcore
    musb_dsps 7319 0
    musb_hdrc 54316 1 musb_dsps
    snd_soc_evm 5589 0
    wlcore_sdio 5105 0
    compat 2624 4 cfg80211,mac80211,wl18xx,wlcore_sdio
    cryptodev 32483 0
    btwilink 3854 0
    snd_soc_davinci_mcasp 15606 2
    musb_am335x 1217 0
    lis3lv02d_i2c 3153 0
    lis3lv02d 14936 1 lis3lv02d_i2c
    snd_soc_tlv320aic3x 40349 1
    input_polldev 3345 1 lis3lv02d
    bluetooth 234747 2 btwilink
    6lowpan_iphc 6211 1 bluetooth
    root@am335x-evm:~#
    root@am335x-evm:~#
    root@am335x-evm:~# ifconfig wlan0 up
    [ 67.200220] wlcore: PHY firmware version: Rev 8.2.0.0.224
    [ 67.264956] wlcore: firmware booted (Rev 8.9.0.0.31)
    root@am335x-evm:~#
    root@am335x-evm:~#
    root@am335x-evm:~# ifconfig
    eth0 Link encap:Ethernet HWaddr 6C:EC:EB:AA:97:48
    UP BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
    Interrupt:56

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    UP LOOPBACK RUNNING MTU:65536 Metric:1
    RX packets:10 errors:0 dropped:0 overruns:0 frame:0
    TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:700 (700.0 B) TX bytes:700 (700.0 B)

    wlan0 Link encap:Ethernet HWaddr 78:A5:04:2E:88:99
    UP BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

    root@am335x-evm:~#
    root@am335x-evm:~#
    root@am335x-evm:~# iw wlan0 scan
    BSS 14:cc:20:66:96:ea(on wlan0)
    TSF: 81386883952 usec (0d, 22:36:26)
    freq: 2412
    beacon interval: 100 TUs
    capability: ESS Privacy ShortPreamble ShortSlotTime (0x0431)
    signal: -87.00 dBm
    last seen: 420 ms ago
    Information elements from Probe Response frame:
    SSID: Zam-Prod
    Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0
    DS Parameter set: channel 1
    Country: IL Environment: Indoor/Outdoor
    Channels [1 - 13] @ 20 dBm
    ERP: <no flags>
    RSN: * Version: 1
    * Group cipher: TKIP
    * Pairwise ciphers: CCMP TKIP
    * Authentication suites: PSK
    * Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000)
    Extended supported rates: 24.0 36.0 48.0 54.0
    HT capabilities:
    Capabilities: 0x116e
    HT20/HT40
    SM Power Save disabled
    RX HT20 SGI
    RX HT40 SGI
    RX STBC 1-stream
    Max AMSDU length: 3839 bytes
    DSSS/CCK HT40
    Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
    Minimum RX AMPDU time spacing: No restriction (0x00)
    HT RX MCS rate indexes supported: 0-7
    HT TX MCS rate indexes are undefined
    HT operation:
    * primary channel: 1
    * secondary channel offset: above
    * STA channel width: any
    * RIFS: 0
    * HT protection: nonmember
    * non-GF present: 0
    * OBSS non-GF present: 1
    * dual beacon: 0
    * dual CTS protection: 0
    * STBC beacon: 0
    * L-SIG TXOP Prot: 0
    * PCO active: 0
    * PCO phase: 0
    WPA: * Version: 1
    * Group cipher: TKIP
    * Pairwise ciphers: CCMP TKIP
    * Authentication suites: PSK
    WMM: * Parameter version 1
    * BE: CW 15-1023, AIFSN 3
    * BK: CW 15-1023, AIFSN 7
    * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
    * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
    WPS: * Version: 1.0
    * Wi-Fi Protected Setup State: 2 (Configured)
    * Response Type: 3 (AP)
    * UUID: 00000000-0000-1000-0000-14cc20669610
    * Manufacturer: TP-LINK
    * Model: TL-WR740N
    * Model Number: 4.0
    * Serial Number: 1.0
    * Primary Device Type: 6-0050f204-1
    * Device name: Wireless Router TL-WR740N
    * Config methods: Ethernet, Label, PBC
    * RF Bands: 0x1
    * Unknown TLV (0x1049, 20 bytes): 00 24 e2 60 02 00 01 01 60 00 00 02 00 01 60 01 00 02 00 01
    BSS 84:18:3a:38:33:88(on wlan0)
    TSF: 5230490276 usec (0d, 01:27:10)
    freq: 2412
    beacon interval: 100 TUs
    capability: ESS Privacy ShortPreamble ShortSlotTime (0x0431)
    signal: -89.00 dBm
    last seen: 410 ms ago
    Information elements from Probe Response frame:
    SSID: WiFi01
    Supported rates: 1.0* 2.0* 5.5* 11.0*
    DS Parameter set: channel 1
    TIM: DTIM Count 0 DTIM Period 1 Bitmap Control 0x0 Bitmap[0] 0x0
    Country: IL Environment: Indoor/Outdoor
    Channels [1 - 13] @ 20 dBm
    ERP: <no flags>
    Extended supported rates: 6.0 9.0 12.0 18.0 24.0 36.0 48.0 54.0
    WMM: * Parameter version 1
    * u-APSD
    * BE: CW 15-1023, AIFSN 3
    * BK: CW 15-1023, AIFSN 7
    * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
    * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
    HT capabilities:
    Capabilities: 0x1ad
    RX LDPC
    HT20
    SM Power Save disabled
    RX HT20 SGI
    TX STBC
    RX STBC 1-stream
    Max AMSDU length: 3839 bytes
    No DSSS/CCK HT40
    Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
    Minimum RX AMPDU time spacing: No restriction (0x00)
    HT RX MCS rate indexes supported: 0-23
    HT TX MCS rate indexes are undefined
    HT operation:
    * primary channel: 1
    * secondary channel offset: no secondary
    * STA channel width: 20 MHz
    * RIFS: 0
    * HT protection: no
    * non-GF present: 0
    * OBSS non-GF present: 0
    * dual beacon: 0
    * dual CTS protection: 0
    * STBC beacon: 0
    * L-SIG TXOP Prot: 0
    * PCO active: 0
    * PCO phase: 0
    BSS Load:
    * station count: 0
    * channel utilisation: 82/255
    * available admission capacity: 0 [*32us]
    Extended capabilities: BSS Transition
    RSN: * Version: 1
    * Group cipher: CCMP
    * Pairwise ciphers: CCMP
    * Authentication suites: PSK
    * Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000)
    BSS 84:18:3a:78:33:88(on wlan0)
    TSF: 5230491331 usec (0d, 01:27:10)
    freq: 2412
    beacon interval: 100 TUs
    capability: ESS Privacy ShortPreamble ShortSlotTime (0x0431)
    signal: -88.00 dBm
    last seen: 410 ms ago
    Information elements from Probe Response frame:
    SSID: PlariumGuests
    Supported rates: 1.0* 2.0* 5.5* 11.0*
    DS Parameter set: channel 1
    TIM: DTIM Count 0 DTIM Period 1 Bitmap Control 0x0 Bitmap[0] 0x28
    Country: IL Environment: Indoor/Outdoor
    Channels [1 - 13] @ 20 dBm
    ERP: <no flags>
    Extended supported rates: 6.0 9.0 12.0 18.0 24.0 36.0 48.0 54.0
    WMM: * Parameter version 1
    * u-APSD
    * BE: CW 15-1023, AIFSN 3
    * BK: CW 15-1023, AIFSN 7
    * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
    * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
    HT capabilities:
    Capabilities: 0x1ad
    RX LDPC
    HT20
    SM Power Save disabled
    RX HT20 SGI
    TX STBC
    RX STBC 1-stream
    Max AMSDU length: 3839 bytes
    No DSSS/CCK HT40
    Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
    Minimum RX AMPDU time spacing: No restriction (0x00)
    HT RX MCS rate indexes supported: 0-23
    HT TX MCS rate indexes are undefined
    HT operation:
    * primary channel: 1
    * secondary channel offset: no secondary
    * STA channel width: 20 MHz
    * RIFS: 0
    * HT protection: no
    * non-GF present: 0
    * OBSS non-GF present: 0
    * dual beacon: 0
    * dual CTS protection: 0
    * STBC beacon: 0
    * L-SIG TXOP Prot: 0
    * PCO active: 0
    * PCO phase: 0
    BSS Load:
    * station count: 4
    * channel utilisation: 82/255
    * available admission capacity: 0 [*32us]
    Extended capabilities: BSS Transition
    RSN: * Version: 1
    * Group cipher: CCMP
    * Pairwise ciphers: CCMP
    * Authentication suites: PSK
    * Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000)
    root@am335x-evm:~#
    root@am335x-evm:~#
    root@am335x-evm:~# ifconfig
    eth0 Link encap:Ethernet HWaddr 6C:EC:EB:AA:97:48
    UP BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
    Interrupt:56

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    UP LOOPBACK RUNNING MTU:65536 Metric:1
    RX packets:10 errors:0 dropped:0 overruns:0 frame:0
    TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:700 (700.0 B) TX bytes:700 (700.0 B)

    wlan0 Link encap:Ethernet HWaddr 78:A5:04:2E:88:99
    UP BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

    root@am335x-evm:~#
    root@am335x-evm:~#
    root@am335x-evm:~# hciconfig hci0 up
    [ 130.359899] (stc): chnl_id list empty :4
    [ 130.363931] (stk) : st_kim_start(stk) :ldisc_install = 1uim:poll broke due to event 10(PRI:2/ERR:8)

    uim:read 1 from install

    uim:@ st_uart_config
    uim: signal received, opening /dev/ttyO4
    uim:@ set_baud_rate
    uim:set_baud_rate() done
    uim:Setting speed to 3000000
    uim:@ read_command_complete
    uim: Command complete started
    uim:@ read_hci_event
    uim: read_hci_event
    uim:Invalid response
    uim:begin polling...

    [ 131.469509] (stk) :ldisc installation timeout(stk) :ldisc_install = 0uim:poll broke due to event 10(PRI:2/ERR:8)

    uim:read 0 from install

    uim:@ st_uart_config
    uim:Un-Installed N_TI_WL Line displine
    uim:begin polling...

    [ 132.469497] (stk) : timed out waiting for ldisc to be un-installed(stk) :ldisc_install = 1uim:poll broke due to event 10(PRI:2/ERR:8)

    uim:read 1 from install

    uim:@ st_uart_config
    uim: signal received, opening /dev/ttyO4
    uim:@ set_baud_rate
    uim:set_baud_rate() done
    uim:Setting speed to 3000000
    uim:@ read_command_complete
    uim: Command complete started
    uim:@ read_hci_event
    uim: read_hci_event
    uim:Invalid response
    uim:begin polling...

    [ 133.579509] (stk) :ldisc installation timeout(stk) :ldisc_install = 0uim:poll broke due to event 10(PRI:2/ERR:8)

    uim:read 0 from install

    uim:@ st_uart_config
    uim:Un-Installed N_TI_WL Line displine
    uim:begin polling...

    [ 134.579535] (stk) : timed out waiting for ldisc to be un-installed(stk) :ldisc_install = 1uim:poll broke due to event 10(PRI:2/ERR:8)

    uim:read 1 from install

    uim:@ st_uart_config
    uim: signal received, opening /dev/ttyO4
    uim:@ set_baud_rate
    uim:set_baud_rate() done
    uim:Setting speed to 3000000
    uim:@ read_command_complete
    uim: Command complete started
    uim:@ read_hci_event
    uim: read_hci_event
    uim:Invalid response
    uim:begin polling...

    [ 135.689547] (stk) :ldisc installation timeout(stk) :ldisc_install = 0uim:poll broke due to event 10(PRI:2/ERR:8)

    uim:read 0 from install

    uim:@ st_uart_config
    uim:Un-Installed N_TI_WL Line displine
    uim:begin polling...

    [ 136.689526] (stk) : timed out waiting for ldisc to be un-installed(stk) :ldisc_install = 1uim:poll broke due to event 10(PRI:2/ERR:8)

    uim:read 1 from install

    uim:@ st_uart_config
    uim: signal received, opening /dev/ttyO4
    uim:@ set_baud_rate
    uim:set_baud_rate() done
    uim:Setting speed to 3000000
    uim:@ read_command_complete
    uim: Command complete started
    uim:@ read_hci_event
    uim: read_hci_event
    uim:Invalid response
    uim:begin polling...

    [ 137.799509] (stk) :ldisc installation timeout(stk) :ldisc_install = 0uim:poll broke due to event 10(PRI:2/ERR:8)

    uim:read 0 from install

    uim:@ st_uart_config
    uim:Un-Installed N_TI_WL Line displine
    uim:begin polling...

    [ 138.799493] (stk) : timed out waiting for ldisc to be un-installed(stk) :ldisc_install = 1uim:poll broke due to event 10(PRI:2/ERR:8)

    uim:read 1 from install

    uim:@ st_uart_config
    uim: signal received, opening /dev/ttyO4
    uim:@ set_baud_rate
    uim:set_baud_rate() done
    uim:Setting speed to 3000000
    uim:@ read_command_complete
    uim: Command complete started
    uim:@ read_hci_event
    uim: read_hci_event
    uim:Invalid response
    uim:begin polling...

    [ 139.909493] (stk) :ldisc installation timeout(stk) :ldisc_install = 0uim:poll broke due to event 10(PRI:2/ERR:8)

    uim:read 0 from install

    uim:@ st_uart_config
    uim:Un-Installed N_TI_WL Line displine
    uim:begin polling...

    [ 140.909524] (stk) : timed out waiting for ldisc to be un-installed(stk) :ldisc_install = 1uim:poll broke due to event 10(PRI:2/ERR:8)

    uim:read 1 from install

    uim:@ st_uart_config
    uim: signal received, opening /dev/ttyO4
    uim:@ set_baud_rate
    uim:set_baud_rate() done
    uim:Setting speed to 3000000
    uim:@ read_command_complete
    uim: Command complete started
    uim:@ read_hci_event
    uim: read_hci_event
    uim:Invalid response
    uim:begin polling...

    [ 142.019502] (stk) :ldisc installation timeout(stk) :ldisc_install = 0uim:poll broke due to event 10(PRI:2/ERR:8)

    uim:read 0 from install

    uim:@ st_uart_config
    uim:Un-Installed N_TI_WL Line displine
    uim:begin polling...

    [ 143.019546] (stk) : timed out waiting for ldisc to be un-installed[ 143.027805] Bluetooth: st_register failed -22
    Can't init device hci0: Input/output error (5)
    root@am335x-evm:~#
    root@am335x-evm:~#
    root@am335x-evm:~#



    DTS file:


    /*
    * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
    *
    * This program is free software; you can redistribute it and/or modify
    * it under the terms of the GNU General Public License version 2 as
    * published by the Free Software Foundation.
    */

    /*
    * AM335x Starter Kit
    * www.ti.com/.../tmdssk3358
    */

    /dts-v1/;

    #include "am33xx.dtsi"
    #include <dt-bindings/pwm/pwm.h>
    #include <dt-bindings/interrupt-controller/irq.h>

    / {
    model = "TI AM335x EVM-SK";
    compatible = "ti,am335x-evmsk", "ti,am33xx";

    cpus {
    cpu@0 {
    cpu0-supply = <&vdd1_reg>;
    };
    };

    memory {
    device_type = "memory";
    reg = <0x80000000 0x10000000>; /* 256 MB */
    };

    vbat: fixedregulator@0 {
    compatible = "regulator-fixed";
    regulator-name = "vbat";
    regulator-min-microvolt = <5000000>;
    regulator-max-microvolt = <5000000>;
    regulator-boot-on;
    };

    lis3_reg: fixedregulator@1 {
    compatible = "regulator-fixed";
    regulator-name = "lis3_reg";
    regulator-boot-on;
    };

    wlan_en_reg: fixedregulator@2 {
    compatible = "regulator-fixed";
    regulator-name = "wlan-en-regulator";
    regulator-min-microvolt = <1800000>;
    regulator-max-microvolt = <1800000>;
    /* WLAN_EN GPIO for this board - Bank1, pin16 */
    gpio = <&gpio1 29 0>;
    /* WLAN card specific delay */
    startup-delay-us = <70000>;
    enable-active-high;
    };

    vtt_fixed: fixedregulator@3 {
    compatible = "regulator-fixed";
    regulator-name = "vtt";
    regulator-min-microvolt = <1500000>;
    regulator-max-microvolt = <1500000>;
    gpio = <&gpio0 7 GPIO_ACTIVE_HIGH>;
    regulator-always-on;
    regulator-boot-on;
    enable-active-high;
    };

    leds {
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&user_leds_default>;
    pinctrl-1 = <&user_leds_sleep>;

    compatible = "gpio-leds";

    led@1 {
    label = "evmsk:green:usr0";
    gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
    default-state = "off";
    };

    led@2 {
    label = "evmsk:green:usr1";
    gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
    default-state = "off";
    };

    led@3 {
    label = "evmsk:green:mmc0";
    gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
    linux,default-trigger = "mmc0";
    default-state = "off";
    };

    led@4 {
    label = "evmsk:green:heartbeat";
    gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
    linux,default-trigger = "heartbeat";
    default-state = "off";
    };
    };

    gpio_buttons: gpio_buttons@0 {
    compatible = "gpio-keys";
    #address-cells = <1>;
    #size-cells = <0>;

    switch@1 {
    label = "button0";
    linux,code = <0x100>;
    gpios = <&gpio2 3 GPIO_ACTIVE_HIGH>;
    };

    switch@2 {
    label = "button1";
    linux,code = <0x101>;
    gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>;
    };

    switch@3 {
    label = "button2";
    linux,code = <0x102>;
    gpios = <&gpio0 30 GPIO_ACTIVE_HIGH>;
    gpio-key,wakeup;
    };

    switch@4 {
    label = "button3";
    linux,code = <0x103>;
    gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;
    };
    };

    backlight {
    compatible = "pwm-backlight";
    pwms = <&ecap2 0 50000 PWM_POLARITY_INVERTED>;
    brightness-levels = <0 58 61 66 75 90 125 170 255>;
    default-brightness-level = <8>;
    };

    sound {
    compatible = "ti,da830-evm-audio";
    ti,model = "AM335x-EVMSK";
    ti,audio-codec = <&tlv320aic3106>;
    ti,mcasp-controller = <&mcasp1>;
    ti,codec-clock-rate = <24000000>;
    ti,audio-routing =
    "Headphone Jack", "HPLOUT",
    "Headphone Jack", "HPROUT";
    };

    panel {
    compatible = "ti,tilcdc,panel";
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&lcd_pins_default>;
    pinctrl-1 = <&lcd_pins_sleep>;
    status = "okay";
    panel-info {
    ac-bias = <255>;
    ac-bias-intrpt = <0>;
    dma-burst-sz = <16>;
    bpp = <32>;
    fdd = <0x80>;
    sync-edge = <0>;
    sync-ctrl = <1>;
    raster-order = <0>;
    fifo-th = <0>;
    };
    display-timings {
    480x272 {
    hactive = <480>;
    vactive = <272>;
    hback-porch = <43>;
    hfront-porch = <8>;
    hsync-len = <4>;
    vback-porch = <12>;
    vfront-porch = <4>;
    vsync-len = <10>;
    clock-frequency = <9000000>;
    hsync-active = <0>;
    vsync-active = <0>;
    };
    };
    };

    kim {
    compatible = "kim";
    nshutdown_gpio = <44>; /* Bank1, pin12 */
    dev_name = "/dev/ttyO4";
    flow_cntrl = <1>;
    baud_rate = <3000000>;
    };

    btwilink {
    compatible = "btwilink";
    };

    };

    &am33xx_pinmux {
    pinctrl-names = "default";
    pinctrl-0 = <&gpio_keys_s0 &clkout2_pin &ddr3_vtt_toggle &mmc2_pins_default &wlan_pins_default &uart4_pins_default>;

    ddr3_vtt_toggle: ddr3_vtt_toggle {
    pinctrl-single,pins = <
    0x164 0x7 /* ecap0_in_pwm0_out.gpio0_7, OUTPUT | MODE7 */
    >;
    };

    lcd_pins_default: lcd_pins_default {
    pinctrl-single,pins = <
    0xe0 ( PIN_OUTPUT_PULLDOWN | MUX_MODE0 ) /* (U5) lcd_vsync.lcd_vsync */
    0xe4 ( PIN_OUTPUT_PULLDOWN | MUX_MODE0 ) /* (R5) lcd_hsync.lcd_hsync */
    0xe8 ( PIN_OUTPUT_PULLDOWN | MUX_MODE0 ) /* (V5) lcd_pclk.lcd_pclk */
    0xec ( PIN_OUTPUT_PULLDOWN | MUX_MODE0 ) /* (R6) lcd_ac_bias_en.lcd_ac_bias_en */
    0xa0 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (R1) lcd_data0.lcd_data0 */
    0xa4 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (R2) lcd_data1.lcd_data1 */
    0xa8 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (R3) lcd_data2.lcd_data2 */
    0xac ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (R4) lcd_data3.lcd_data3 */
    0xb0 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (T1) lcd_data4.lcd_data4 */
    0xb4 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (T2) lcd_data5.lcd_data5 */
    0xb8 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (T3) lcd_data6.lcd_data6 */
    0xbc ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (T4) lcd_data7.lcd_data7 */
    0xc0 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (U1) lcd_data8.lcd_data8 */
    0xc4 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (U2) lcd_data9.lcd_data9 */
    0xc8 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (U3) lcd_data10.lcd_data10 */
    0xcc ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (U4) lcd_data11.lcd_data11 */
    0xd0 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (V2) lcd_data12.lcd_data12 */
    0xd4 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (V3) lcd_data13.lcd_data13 */
    0xd8 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (V4) lcd_data14.lcd_data14 */
    0xdc ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (T5) lcd_data15.lcd_data15 */
    0x3c ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (U13) gpmc_ad15.lcd_data16 */
    0x38 ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (V13) gpmc_ad14.lcd_data17 */
    0x34 ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (R12) gpmc_ad13.lcd_data18 */
    //0x30 ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (T12) gpmc_ad12.lcd_data19 */
    //0x2c ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (U12) gpmc_ad11.lcd_data20 */
    //0x28 ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (T11) gpmc_ad10.lcd_data21 */
    0x24 ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (T10) gpmc_ad9.lcd_data22 */
    0x20 ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (U10) gpmc_ad8.lcd_data23 */
    >;
    };

    /* Optional sleep pin settings. Must manually enter values in the below skeleton. */
    lcd_pins_sleep: lcd_pins_sleep {
    pinctrl-single,pins = <
    0xe0 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U5) lcd_vsync.lcd_vsync */
    0xe4 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (R5) lcd_hsync.lcd_hsync */
    0xe8 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V5) lcd_pclk.lcd_pclk */
    0xec (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (R6) lcd_ac_bias_en.lcd_ac_bias_en */
    0xa0 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (R1) lcd_data0.lcd_data0 */
    0xa4 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (R2) lcd_data1.lcd_data1 */
    0xa8 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (R3) lcd_data2.lcd_data2 */
    0xac (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (R4) lcd_data3.lcd_data3 */
    0xb0 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T1) lcd_data4.lcd_data4 */
    0xb4 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T2) lcd_data5.lcd_data5 */
    0xb8 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T3) lcd_data6.lcd_data6 */
    0xbc (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T4) lcd_data7.lcd_data7 */
    0xc0 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U1) lcd_data8.lcd_data8 */
    0xc4 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U2) lcd_data9.lcd_data9 */
    0xc8 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U3) lcd_data10.lcd_data10 */
    0xcc (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U4) lcd_data11.lcd_data11 */
    0xd0 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V2) lcd_data12.lcd_data12 */
    0xd4 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V3) lcd_data13.lcd_data13 */
    0xd8 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V4) lcd_data14.lcd_data14 */
    0xdc (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T5) lcd_data15.lcd_data15 */
    0x3c (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U13) gpmc_ad15.lcd_data16 */
    0x38 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V13) gpmc_ad14.lcd_data17 */
    0x34 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (R12) gpmc_ad13.lcd_data18 */
    //0x30 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T12) gpmc_ad12.lcd_data19 */
    //0x2c (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U12) gpmc_ad11.lcd_data20 */
    //0x28 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T11) gpmc_ad10.lcd_data21 */
    0x24 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T10) gpmc_ad9.lcd_data22 */
    0x20 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U10) gpmc_ad8.lcd_data23 */
    >;
    };


    user_leds_default: user_leds_default {
    pinctrl-single,pins = <
    0x10 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad4.gpio1_4 */
    0x14 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad5.gpio1_5 */
    0x18 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad6.gpio1_6 */
    0x1c (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad7.gpio1_7 */
    >;
    };

    user_leds_sleep: user_leds_sleep {
    pinctrl-single,pins = <
    0x10 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_a5.gpio1_21 */
    0x14 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_a6.gpio1_22 */
    0x18 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_a7.gpio1_23 */
    0x1c (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_a8.gpio1_24 */
    >;
    };

    gpio_keys_s0: gpio_keys_s0 {
    pinctrl-single,pins = <
    0x88 ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (T13) gpmc_csn3.gpio2[0] */
    0x8c ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V12) gpmc_clk.gpio2[1] */
    0x90 ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (R7) gpmc_advn_ale.gpio2[2] */
    0x94 ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (T7) gpmc_oen_ren.gpio2[3] */
    0x98 ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (U6) gpmc_wen.gpio2[4] */
    0x9c ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (T6) gpmc_be0n_cle.gpio2[5] */
    0x13c ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (L15) gmii1_rxd1.gpio2[20] */
    0x140 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (M16) gmii1_rxd0.gpio2[21] */
    >;
    };



    gpio3_pins_default: pinmux_gpio3_pins_default {
    pinctrl-single,pins = <
    //0x114 ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (J16) gmii1_txen.gpio3[3] */
    0x19c ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (C12) mcasp0_ahclkr.gpio3[17] */
    0x1a0 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (B12) mcasp0_aclkr.gpio3[18] */
    0x1a4 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (C13) mcasp0_fsr.gpio3[19] */
    0x1a8 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (D13) mcasp0_axr1.gpio3[20] */
    0x1ac ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (A14) mcasp0_ahclkx.gpio3[21] */
    >;
    };


    gpio0_pins_default: pinmux_gpio0_pins_default {
    pinctrl-single,pins = <
    0x15c ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (A16) spi0_cs0.gpio0[5] */
    0x160 ( PIN_INPUT | MUX_MODE7 ) /* (C15) spi0_cs1.gpio0[6] */
    0x164 ( PIN_INPUT | MUX_MODE7 ) /* (C18) eCAP0_in_PWM0_out.gpio0[7] */
    0x11c ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (J18) gmii1_txd3.gpio0[16] */
    //0x120 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (K15) gmii1_txd2.gpio0[17] */
    0x21c ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (F16) USB0_DRVVBUS.gpio0[18] */
    0x1b0 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (A15) xdma_event_intr0.gpio0[19] */
    0x1b4 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (D14) xdma_event_intr1.gpio0[20] */
    0x124 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (K16) gmii1_txd1.gpio0[21] */
    0x128 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (K17) gmii1_txd0.gpio0[28] */
    >;
    };

    i2c0_pins: pinmux_i2c0_pins {
    pinctrl-single,pins = <
    0x188 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c0_sda.i2c0_sda */
    0x18c (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c0_scl.i2c0_scl */
    >;
    };

    uart0_pins: pinmux_uart0_pins {
    pinctrl-single,pins = <
    0x170 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart0_rxd.uart0_rxd */
    0x174 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart0_txd.uart0_txd */
    >;
    };

    clkout2_pin: pinmux_clkout2_pin {
    pinctrl-single,pins = <
    //0x1b4 (PIN_OUTPUT_PULLDOWN | MUX_MODE3) /* xdma_event_intr1.clkout2 */
    >;
    };

    ecap2_pins_default: backlight_pins {
    pinctrl-single,pins = <
    //0x19c 0x4 /* mcasp0_ahclkr.ecap2_in_pwm2_out MODE4 */
    >;
    };

    ecap2_pins_sleep: ecap2_pins_sleep {
    pinctrl-single,pins = <
    //0x19c (PIN_INPUT_PULLDOWN | MUX_MODE7) /* mcasp0_ahclkr.ecap2_in_pwm2_out */
    >;
    };


    cpsw_default: cpsw_default {
    pinctrl-single,pins = <
    0x78 ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (U18) gpmc_be1n.gmii2_col */
    0x70 ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (T17) gpmc_wait0.gmii2_crs */
    0x74 ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (U17) gpmc_wpn.gmii2_rxer */
    0x40 ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (R13) gpmc_a0.gmii2_txen */
    0x44 ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (V14) gpmc_a1.gmii2_rxdv */
    0x58 ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (U15) gpmc_a6.gmii2_txclk */
    0x5c ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (T15) gpmc_a7.gmii2_rxclk */
    0x54 ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (V15) gpmc_a5.gmii2_txd0 */
    0x50 ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (R14) gpmc_a4.gmii2_txd1 */
    0x4c ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (T14) gpmc_a3.gmii2_txd2 */
    0x48 ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (U14) gpmc_a2.gmii2_txd3 */
    0x6c ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (V17) gpmc_a11.gmii2_rxd0 */
    0x68 ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (T16) gpmc_a10.gmii2_rxd1 */
    0x64 ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (U16) gpmc_a9.gmii2_rxd2 */
    0x60 ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (V16) gpmc_a8.gmii2_rxd3 */
    >;
    };

    /* Optional sleep pin settings. Must manually enter values in the below skeleton. */
    cpsw_sleep: cpsw_sleep {
    pinctrl-single,pins = <
    0x78 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U18) gpmc_be1n.gmii2_col */
    0x70 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T17) gpmc_wait0.gmii2_crs */
    0x74 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U17) gpmc_wpn.gmii2_rxer */
    0x40 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (R13) gpmc_a0.gmii2_txen */
    0x44 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V14) gpmc_a1.gmii2_rxdv */
    0x58 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U15) gpmc_a6.gmii2_txclk */
    0x5c (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T15) gpmc_a7.gmii2_rxclk */
    0x54 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V15) gpmc_a5.gmii2_txd0 */
    0x50 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (R14) gpmc_a4.gmii2_txd1 */
    0x4c (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T14) gpmc_a3.gmii2_txd2 */
    0x48 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U14) gpmc_a2.gmii2_txd3 */
    0x6c (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V17) gpmc_a11.gmii2_rxd0 */
    0x68 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T16) gpmc_a10.gmii2_rxd1 */
    0x64 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U16) gpmc_a9.gmii2_rxd2 */
    0x60 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V16) gpmc_a8.gmii2_rxd3 */
    >;
    };


    davinci_mdio_default: davinci_mdio_default {
    pinctrl-single,pins = <
    /* MDIO */
    0x148 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0) /* mdio_data.mdio_data */
    0x14c (PIN_OUTPUT_PULLUP | MUX_MODE0) /* mdio_clk.mdio_clk */
    >;
    };

    davinci_mdio_sleep: davinci_mdio_sleep {
    pinctrl-single,pins = <
    /* MDIO reset value */
    0x148 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x14c (PIN_INPUT_PULLDOWN | MUX_MODE7)
    >;
    };


    mcasp1_pins: mcasp1_pins {
    pinctrl-single,pins = <
    0x10c (PIN_INPUT_PULLDOWN | MUX_MODE4) /* mii1_crs.mcasp1_aclkx */
    0x110 (PIN_INPUT_PULLDOWN | MUX_MODE4) /* mii1_rxerr.mcasp1_fsx */
    0x108 (PIN_OUTPUT_PULLDOWN | MUX_MODE4) /* mii1_col.mcasp1_axr2 */
    0x144 (PIN_INPUT_PULLDOWN | MUX_MODE4) /* rmii1_ref_clk.mcasp1_axr3 */
    >;
    };

    mcasp1_pins_sleep: mcasp1_pins_sleep {
    pinctrl-single,pins = <
    0x10c (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x110 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x108 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x144 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    >;
    };


    /* wl12xx/wl18xx card enable/irq GPIOs. */
    wlan_pins_default: pinmux_wlan_pins_default {
    pinctrl-single,pins = <
    0x7C (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad10.gpio1_29 WL_EN*/
    0x114 ( PIN_INPUT | MUX_MODE7 ) /* (J16) gmii1_txen.gpio3[3] WL_IRQ */
    0x120 ( PIN_OUTPUT_PULLDOWN | MUX_MODE7 )/* gpmc_ad12.gpio1_12 BT_EN*/

    >;
    };

    /* wl12xx/wl18xx card enable/irq GPIOs. */
    wlan_pins_sleep: pinmux_wlan_pins_sleep {
    pinctrl-single,pins = <
    0x7C (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad10.gpio1_29 WL_EN*/
    0x114 ( PIN_INPUT | MUX_MODE7 ) /* (J16) gmii1_txen.gpio3[3] WL_IRQ */
    0x120 ( PIN_OUTPUT_PULLUP | MUX_MODE7 ) /* gpmc_ad12.gpio1_12 BT_EN*/

    >;
    };


    uart4_pins_default: pinmux_uart4_pins_default {
    pinctrl-single,pins = <
    0x180 ( PIN_INPUT_PULLUP | MUX_MODE0 ) /* (D16) uart1_rxd.uart1_rxd */
    0x184 ( PIN_OUTPUT_PULLDOWN | MUX_MODE0 ) /* (D15) uart1_txd.uart1_txd */
    0x178 ( PIN_INPUT | MUX_MODE0 ) /* (D18) uart1_ctsn.uart1_ctsn */
    0x17c ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (D17) uart1_rtsn.uart1_rtsn */
    >;
    };


    /* Optional sleep pin settings. Must manually enter values in the below skeleton. */
    uart4_pins_sleep: pinmux_uart4_pins_sleep {
    pinctrl-single,pins = <
    0x180 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (D16) uart1_rxd.uart1_rxd */
    0x184 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* (D15) uart1_txd.uart1_txd */
    0x178 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (D18) uart1_ctsn.uart1_ctsn */
    0x17c (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (D17) uart1_rtsn.uart1_rtsn */
    >;
    };

    mmc1_pins_default: pinmux_mmc1_pins {
    pinctrl-single,pins = <
    0x0F0 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat3.mmc0_dat3 */
    0x0F4 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat2.mmc0_dat2 */
    0x0F8 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat1.mmc0_dat1 */
    0x0FC (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat0.mmc0_dat0 */
    0x100 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_clk.mmc0_clk */
    0x104 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_cmd.mmc0_cmd */
    0x1A0 (PIN_INPUT_PULLUP | MUX_MODE7) /* mcasp0_aclkr.gpio3_18 */
    0x160 (PIN_INPUT | MUX_MODE7) /* spi0_cs1.gpio0_6 */
    >;
    };

    mmc1_pins_sleep: pinmux_mmc1_pins_sleep {
    pinctrl-single,pins = <
    0x0F0 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x0F4 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x0F8 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x0FC (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x100 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x104 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x1A0 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    >;
    };

    mmc2_pins_default: pinmux_mmc2_pins {
    pinctrl-single,pins = <

    0x80 (PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_csn1.mmc1_clk */
    0x84 (PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_csn2.mmc1_cmd */
    0x00 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad0.mmc1_dat0 */
    0x04 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad1.mmc1_dat1 */
    0x08 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad2.mmc1_dat2 */
    0x0c (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad3.mmc1_dat3 */

    >;
    };

    mmc2_pins_sleep: pinmux_mmc2_pins_sleep {
    pinctrl-single,pins = <

    0x80 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_csn1.mmc1_clk */
    0x84 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_csn2.mmc1_cmd */
    0x00 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad0.mmc1_dat0 */
    0x04 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad1.mmc1_dat1 */
    0x08 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad2.mmc1_dat2 */
    0x0c (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad3.mmc1_dat3 */
    >;
    };


    };

    &uart0 {
    pinctrl-names = "default";
    pinctrl-0 = <&uart0_pins>;

    status = "okay";
    };

    &uart4 {
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&uart4_pins_default>;
    pinctrl-1 = <&uart4_pins_sleep>;

    status = "okay";
    };

    &i2c0 {
    pinctrl-names = "default";
    pinctrl-0 = <&i2c0_pins>;

    status = "okay";
    clock-frequency = <400000>;

    tps: tps@2d {
    reg = <0x2d>;
    };

    lis331dlh: lis331dlh@18 {
    compatible = "st,lis331dlh", "st,lis3lv02d";
    reg = <0x18>;
    Vdd-supply = <&lis3_reg>;
    Vdd_IO-supply = <&lis3_reg>;

    st,click-single-x;
    st,click-single-y;
    st,click-single-z;
    st,click-thresh-x = <10>;
    st,click-thresh-y = <10>;
    st,click-thresh-z = <10>;
    st,irq1-click;
    st,irq2-click;
    st,wakeup-x-lo;
    st,wakeup-x-hi;
    st,wakeup-y-lo;
    st,wakeup-y-hi;
    st,wakeup-z-lo;
    st,wakeup-z-hi;
    st,min-limit-x = <120>;
    st,min-limit-y = <120>;
    st,min-limit-z = <140>;
    st,max-limit-x = <550>;
    st,max-limit-y = <550>;
    st,max-limit-z = <750>;
    };

    tlv320aic3106: tlv320aic3106@1b {
    compatible = "ti,tlv320aic3106";
    reg = <0x1b>;
    status = "okay";

    /* Regulators */
    AVDD-supply = <&vaux2_reg>;
    IOVDD-supply = <&vaux2_reg>;
    DRVDD-supply = <&vaux2_reg>;
    DVDD-supply = <&vbat>;
    };
    };

    &usb {
    status = "okay";

    control@44e10620 {
    status = "okay";
    };

    usb-phy@47401300 {
    status = "okay";
    };

    usb@47401000 {
    status = "okay";
    };

    dma-controller@47402000 {
    status = "okay";
    };

    usb-phy@47401b00 {
    status = "okay";
    };
    usb@47401800 {
    status = "okay";
    dr_mode = "host";
    };
    };

    &epwmss2 {
    status = "okay";

    ecap2: ecap@48304100 {
    status = "okay";
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&ecap2_pins_default>;
    pinctrl-1 = <&ecap2_pins_sleep>;
    };
    };

    &wkup_m3 {
    ti,needs-vtt-toggle;
    ti,vtt-gpio-pin = <7>;
    ti,scale-data-fw = "am335x-evm-scale-data.bin";
    };

    #include "tps65910.dtsi"

    &tps {
    vcc1-supply = <&vbat>;
    vcc2-supply = <&vbat>;
    vcc3-supply = <&vbat>;
    vcc4-supply = <&vbat>;
    vcc5-supply = <&vbat>;
    vcc6-supply = <&vbat>;
    vcc7-supply = <&vbat>;
    vccio-supply = <&vbat>;

    regulators {
    vrtc_reg: regulator@0 {
    regulator-always-on;
    };

    vio_reg: regulator@1 {
    regulator-always-on;
    };

    vdd1_reg: regulator@2 {
    /* VDD_MPU voltage limits 0.95V - 1.325V with +/-4% tolerance */
    regulator-name = "vdd_mpu";
    regulator-min-microvolt = <912500>;
    regulator-max-microvolt = <1378000>;
    regulator-boot-on;
    regulator-always-on;
    };

    vdd2_reg: regulator@3 {
    /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
    regulator-name = "vdd_core";
    regulator-min-microvolt = <912500>;
    regulator-max-microvolt = <1150000>;
    regulator-boot-on;
    regulator-always-on;
    };

    vdd3_reg: regulator@4 {
    regulator-always-on;
    };

    vdig1_reg: regulator@5 {
    regulator-always-on;
    };

    vdig2_reg: regulator@6 {
    regulator-always-on;
    };

    vpll_reg: regulator@7 {
    regulator-always-on;
    };

    vdac_reg: regulator@8 {
    regulator-always-on;
    };

    vaux1_reg: regulator@9 {
    regulator-always-on;
    };

    vaux2_reg: regulator@10 {
    regulator-always-on;
    };

    vaux33_reg: regulator@11 {
    regulator-always-on;
    };

    vmmc_reg: regulator@12 {
    regulator-min-microvolt = <1800000>;
    regulator-max-microvolt = <3300000>;
    regulator-always-on;
    };
    };
    };

    &mac {
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&cpsw_default>;
    pinctrl-1 = <&cpsw_sleep>;
    dual_emac = <1>;
    };

    &davinci_mdio {
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&davinci_mdio_default>;
    pinctrl-1 = <&davinci_mdio_sleep>;
    };

    &cpsw_emac0 {
    phy_id = <&davinci_mdio>, <0>;
    phy-mode = "rgmii-txid";
    dual_emac_res_vlan = <1>;
    };

    &cpsw_emac1 {
    phy_id = <&davinci_mdio>, <1>;
    phy-mode = "rgmii-txid";
    dual_emac_res_vlan = <2>;
    };

    &mmc1 {
    status = "okay";
    vmmc-supply = <&vmmc_reg>;
    bus-width = <4>;
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&mmc1_pins_default>;
    pinctrl-1 = <&mmc1_pins_sleep>;
    //cd-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
    cd-gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
    };

    &sham {
    status = "okay";
    };

    &aes {
    status = "okay";
    };

    &gpio0 {
    ti,no-reset-on-init;
    };


    &mmc2 {
    status = "okay";
    vmmc-supply = <&wlan_en_reg>;
    bus-width = <4>;
    pinctrl-names = "default";
    pinctrl-0 = <&mmc2_pins_default &wlan_pins_default>;
    //pinctrl-1 = <&mmc2_pins_sleep &wlan_pins_sleep>;
    ti,non-removable;
    ti,needs-special-hs-handling;
    cap-power-off-card;
    keep-power-in-suspend;

    #address-cells = <1>;
    #size-cells = <0>;
    wlcore: wlcore@0 {
    compatible = "ti,wlcore";
    reg = <2>;
    interrupt-parent = <&gpio3>;
    interrupts = <3 IRQ_TYPE_LEVEL_HIGH>;
    };
    };



    &mcasp1 {
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&mcasp1_pins>;
    pinctrl-1 = <&mcasp1_pins_sleep>;

    status = "okay";

    op-mode = <0>; /* MCASP_IIS_MODE */
    tdm-slots = <2>;
    /* 4 serializers */
    serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
    0 0 1 2
    >;
    tx-num-evt = <32>;
    rx-num-evt = <32>;
    };

    &tscadc {
    status = "okay";
    tsc {
    ti,wires = <4>;
    ti,x-plate-resistance = <200>;
    ti,coordinate-readouts = <5>;
    ti,wire-config = <0x00 0x11 0x22 0x33>;
    ti,charge-delay = <0xb000>;
    };
    };

    &lcdc {
    status = "okay";
    };



    Thanks Oded
  • Hi Gigi,
    Thanks for your help. Wifi is now working and make scan operation.
    Now I try to enable blutooth and I receive errors.
    What wrong and what are the right actions to enable and operate scan on Bluetooth?
    Attach is log file and DTS file.


    Log file:


    U-Boot SPL 2014.07-00001-g4a8e5b8-dirty (Sep 29 2015 - 14:57:45)
    reading args
    spl_load_image_fat_os: error reading image args, err - -1
    reading u-boot.img
    reading u-boot.img


    U-Boot 2014.07-00001-g4a8e5b8-dirty (Sep 29 2015 - 14:57:45)

    I2C: ready
    DRAM: 256 MiB
    NAND: 0 MiB
    MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
    reading uboot.env

    ** Unable to read "uboot.env" from mmc0:1 **
    Using default environment

    Net: <ethaddr> not set. Validating first E-fuse MAC
    Phy not found
    cpsw, usb_ether
    Hit any key to stop autoboot: 0
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    reading uEnv.txt
    ** Unable to read file uEnv.txt **
    4423888 bytes read in 337 ms (12.5 MiB/s)
    37308 bytes read in 31 ms (1.1 MiB/s)
    Kernel image @ 0x82000000 [ 0x000000 - 0x4380d0 ]
    ## Flattened Device Tree blob at 88000000
    Booting using the fdt blob at 0x88000000
    Loading Device Tree to 8e713000, end 8e71f1bb ... OK

    Starting kernel ...

    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Linux version 3.14.43-g875c69b (root@ubuntu) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #1 Tue Sep 29 11:41:35 IDT 2015
    [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
    [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [ 0.000000] Machine model: TI AM335x EVM-SK
    [ 0.000000] cma: CMA: reserved 24 MiB at 8c800000
    [ 0.000000] Memory policy: Data cache writeback
    [ 0.000000] CPU: All CPU(s) started in SVC mode.
    [ 0.000000] AM335X ES2.1 (neon )
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 64768
    [ 0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait
    [ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    [ 0.000000] Memory: 225108K/261120K available (5963K kernel code, 311K rwdata, 2184K rodata, 263K init, 232K bss, 36012K reserved, 0K highmem)
    [ 0.000000] Virtual kernel memory layout:
    [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
    [ 0.000000] vmalloc : 0xd0800000 - 0xff000000 ( 744 MB)
    [ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
    [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
    [ 0.000000] .text : 0xc0008000 - 0xc07fd0c4 (8149 kB)
    [ 0.000000] .init : 0xc07fe000 - 0xc083fe3c ( 264 kB)
    [ 0.000000] .data : 0xc0840000 - 0xc088df10 ( 312 kB)
    [ 0.000000] .bss : 0xc088df10 - 0xc08c7fe0 ( 233 kB)
    [ 0.000000] NR_IRQS:16 nr_irqs:16 16
    [ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [ 0.000000] Total of 128 interrupts on 1 active controller
    [ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [ 0.000017] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956969942ns
    [ 0.000042] OMAP clocksource: timer1 at 24000000 Hz
    [ 0.000370] Console: colour dummy device 80x30
    [ 0.000401] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [ 0.000409] This ensures that you still see kernel messages. Please
    [ 0.000416] update your kernel commandline.
    [ 0.000444] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
    [ 0.059155] pid_max: default: 32768 minimum: 301
    [ 0.059284] Security Framework initialized
    [ 0.059351] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.059365] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.069067] CPU: Testing write buffer coherency: ok
    [ 0.069582] Setting up static identity map for 0x805d92e0 - 0x805d9338
    [ 0.070749] devtmpfs: initialized
    [ 0.072956] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [ 0.082656] omap_hwmod: tptc0 using broken dt data from edma
    [ 0.082765] omap_hwmod: tptc1 using broken dt data from edma
    [ 0.082861] omap_hwmod: tptc2 using broken dt data from edma
    [ 0.087440] omap_hwmod: debugss: _wait_target_disable failed
    [ 0.144419] pinctrl core: initialized pinctrl subsystem
    [ 0.145650] regulator-dummy: no parameters
    [ 0.148423] NET: Registered protocol family 16
    [ 0.150996] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.154144] cpuidle: using governor ladder
    [ 0.154164] cpuidle: using governor menu
    [ 0.162422] syscon 44e10000.control_module: regmap [mem 0x44e10000-0x44e107fb] registered
    [ 0.164271] platform 49000000.edma: alias fck already exists
    [ 0.164301] platform 49000000.edma: alias fck already exists
    [ 0.164319] platform 49000000.edma: alias fck already exists
    [ 0.165727] OMAP GPIO hardware version 0.1
    [ 0.184661] No ATAGs?
    [ 0.184688] hw-breakpoint: debug architecture 0x4 unsupported.
    [ 0.220211] bio: create slab <bio-0> at 0
    [ 0.240775] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
    [ 0.242057] vbat: 5000 mV
    [ 0.242533] lis3_reg: no parameters
    [ 0.243148] wlan-en-regulator: 1800 mV
    [ 0.243720] vtt: 1500 mV
    [ 0.247796] vgaarb: loaded
    [ 0.248453] i2c-core: driver [palmas] using legacy suspend method
    [ 0.248465] i2c-core: driver [palmas] using legacy resume method
    [ 0.249443] SCSI subsystem initialized
    [ 0.251360] usbcore: registered new interface driver usbfs
    [ 0.251598] usbcore: registered new interface driver hub
    [ 0.251858] usbcore: registered new device driver usb
    [ 0.253060] omap_i2c 44e0b000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c0_pins, deferring probe
    [ 0.253096] platform 44e0b000.i2c: Driver omap_i2c requests probe deferral
    [ 0.253591] pps_core: LinuxPPS API ver. 1 registered
    [ 0.253603] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 0.253766] PTP clock support registered
    [ 0.256225] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [ 0.257350] Advanced Linux Sound Architecture Driver Initialized.
    [ 0.259405] Switched to clocksource timer1
    [ 0.284145] NET: Registered protocol family 2
    [ 0.285243] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.285287] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.285325] TCP: Hash tables configured (established 2048 bind 2048)
    [ 0.285400] TCP: reno registered
    [ 0.285418] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.285442] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.285661] NET: Registered protocol family 1
    [ 0.286107] RPC: Registered named UNIX socket transport module.
    [ 0.286122] RPC: Registered udp transport module.
    [ 0.286130] RPC: Registered tcp transport module.
    [ 0.286138] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.287434] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
    [ 0.291031] futex hash table entries: 256 (order: -1, 3072 bytes)
    [ 0.517193] VFS: Disk quotas dquot_6.5.2
    [ 0.517281] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [ 0.517909] NFS: Registering the id_resolver key type
    [ 0.518015] Key type id_resolver registered
    [ 0.518025] Key type id_legacy registered
    [ 0.518074] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
    [ 0.518297] msgmni has been set to 487
    [ 0.520720] NET: Registered protocol family 38
    [ 0.520775] io scheduler noop registered
    [ 0.520785] io scheduler deadline registered
    [ 0.520812] io scheduler cfq registered (default)
    [ 0.522907] pinctrl-single 44e10800.pinmux: bad data for mux pinmux_clkout2_pin
    [ 0.522930] pinctrl-single 44e10800.pinmux: no pins entries for pinmux_clkout2_pin
    [ 0.523024] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [ 0.525330] pinctrl-single 44e10800.pinmux: bad data for mux backlight_pins
    [ 0.525354] pinctrl-single 44e10800.pinmux: no pins entries for backlight_pins
    [ 0.527752] backlight supply power not found, using dummy regulator
    [ 0.532700] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [ 0.539206] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 88, base_baud = 3000000) is a 8250
    [ 1.205971] console [ttyS0] enabled
    [ 1.210897] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 61, base_baud = 3000000) is a 8250
    [ 1.221953] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [ 1.229065] [drm] Initialized drm 1.1.0 20060810
    [ 1.247342] brd: module loaded
    [ 1.257568] loop: module loaded
    [ 1.261193] (stk) :sysfs entries created
    [ 1.265187] (stk) : debugfs entries created
    [ 1.269592] (hci_tty): inside hci_tty_init
    [ 1.274474] (hci_tty): allocated 250, 0
    [ 1.283561] mtdoops: mtd device (mtddev=name/number) must be supplied
    [ 1.294962] usbcore: registered new interface driver asix
    [ 1.300699] usbcore: registered new interface driver ax88179_178a
    [ 1.307055] usbcore: registered new interface driver cdc_ether
    [ 1.313138] usbcore: registered new interface driver smsc95xx
    [ 1.319134] usbcore: registered new interface driver net1080
    [ 1.325022] usbcore: registered new interface driver cdc_subset
    [ 1.331194] usbcore: registered new interface driver zaurus
    [ 1.337095] usbcore: registered new interface driver cdc_ncm
    [ 1.343441] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [ 1.350039] ehci-pci: EHCI PCI platform driver
    [ 1.354747] ehci-omap: OMAP-EHCI Host Controller driver
    [ 1.360635] usbcore: registered new interface driver cdc_wdm
    [ 1.366599] usbcore: registered new interface driver usb-storage
    [ 1.374010] mousedev: PS/2 mouse device common for all mice
    [ 1.381791] input: ti-tsc as /devices/ocp/44e0d000.tscadc/TI-am335x-tsc/input/input0
    [ 1.391732] i2c-core: driver [rtc-ds1307] using legacy suspend method
    [ 1.398210] i2c-core: driver [rtc-ds1307] using legacy resume method
    [ 1.405594] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
    [ 1.412825] 44e3e000.rtc: already running
    [ 1.417827] i2c /dev entries driver
    [ 1.421582] Driver for 1-wire Dallas network protocol.
    [ 1.429782] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [ 1.439162] omap_hsmmc 48060000.mmc: unable to get vmmc regulator -517
    [ 1.446089] platform 48060000.mmc: Driver omap_hsmmc requests probe deferral
    [ 1.574679] omap_hsmmc 481d8000.mmc: card claims to support voltages below defined range
    [ 1.583930] ledtrig-cpu: registered to indicate activity on CPUs
    [ 1.590504] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [ 1.598049] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [ 1.605995] usbcore: registered new interface driver usbhid
    [ 1.611642] usbhid: USB HID core driver
    [ 1.615866] platform 44d00000.wkup_m3: Driver wkup_m3 requests probe deferral
    [ 1.627431] oprofile: using arm/armv7
    [ 1.631395] nf_conntrack version 0.5.0 (3901 buckets, 15604 max)
    [ 1.638279] ip_tables: (C) 2000-2006 Netfilter Core Team
    [ 1.644559] mmc0: queuing unknown CIS tuple 0x91 (3 bytes)
    [ 1.650141] TCP: cubic registered
    [ 1.653472] Initializing XFRM netlink socket
    [ 1.657783] NET: Registered protocol family 17
    [ 1.662776] NET: Registered protocol family 15
    [ 1.667382] Bridge firewalling registered
    [ 1.671709] mmc0: new high speed SDIO card at address 0001
    [ 1.677611] Key type dns_resolver registered
    [ 1.684665] cpu cpu0: of_pm_voltdm_notifier_register: Failed to get cpu0 regulator/voltdm: -517
    [ 1.693478] cpu cpu0: cpu0 clock notifier not ready, retry
    [ 1.699229] platform cpufreq-cpu0.0: Driver cpufreq-cpu0 requests probe deferral
    [ 1.707447] PM: bootloader does not support rtc-only!
    [ 1.712670] ThumbEE CPU extension supported.
    [ 1.716997] Registering SWP/SWPB emulation handler
    [ 1.723681] wlan-en-regulator: disabling
    [ 1.727635] lis3_reg: disabling
    [ 1.730920] vbat: disabling
    [ 1.733731] regulator-dummy: disabling
    [ 1.738374] Error: Driver 'tfp410' is already registered, aborting...
    [ 1.747856] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [ 1.754570] [drm] No driver support for vblank timestamp query.
    [ 1.812441] Console: switching to colour frame buffer device 60x34
    [ 1.821513] tilcdc 4830e000.lcdc: fb0: frame buffer device
    [ 1.827122] tilcdc 4830e000.lcdc: registered panic notifier
    [ 1.832752] [drm] Initialized tilcdc 1.0.0 20121205 on minor 0
    [ 1.841512] tps65910 0-002d: No interrupt support, no core IRQ
    [ 1.852264] vrtc: 1800 mV
    [ 1.855311] vrtc: supplied by vbat
    [ 1.860678] vio: at 1500 mV
    [ 1.863690] vio: supplied by vbat
    [ 1.869045] vdd_mpu: 912 <--> 1375 mV at 1137 mV
    [ 1.873901] vdd_mpu: supplied by vbat
    [ 1.879596] vdd_core: 912 <--> 1150 mV at 1137 mV
    [ 1.884516] vdd_core: supplied by vbat
    [ 1.889782] vdd3: 5000 mV
    [ 1.894033] vdig1: at 1800 mV
    [ 1.897196] vdig1: supplied by vbat
    [ 1.902284] vdig2: at 1800 mV
    [ 1.905441] vdig2: supplied by vbat
    [ 1.910496] vpll: at 1800 mV
    [ 1.913562] vpll: supplied by vbat
    [ 1.918543] vdac: at 1800 mV
    [ 1.921636] vdac: supplied by vbat
    [ 1.926614] vaux1: at 1800 mV
    [ 1.929792] vaux1: supplied by vbat
    [ 1.934856] vaux2: at 3300 mV
    [ 1.938007] vaux2: supplied by vbat
    [ 1.943085] vaux33: at 3300 mV
    [ 1.946338] vaux33: supplied by vbat
    [ 1.951445] vmmc: 1800 <--> 3300 mV at 3300 mV
    [ 1.956089] vmmc: supplied by vbat
    [ 1.961767] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [ 2.000197] remoteproc0: wkup_m3 is available
    [ 2.004699] remoteproc0: Note: remoteproc is still under development and considered experimental.
    [ 2.013742] remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [ 2.024395] remoteproc0: Direct firmware load failed with error -2
    [ 2.030769] remoteproc0: Falling back to user helper
    [ 2.099444] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [ 2.105589] davinci_mdio 4a101000.mdio: no live phy, scanning all
    [ 2.112230] davinci_mdio: probe of 4a101000.mdio failed with error -5
    [ 2.119993] cpsw 4a100000.ethernet: Detected MACID = 6c:ec:eb:aa:97:48
    [ 2.142065] cpsw 4a100000.ethernet: cpsw: Detected MACID = 6c:ec:eb:aa:97:4a
    [ 2.152095] input: gpio_buttons@0 as /devices/gpio_buttons@0/input/input1
    [ 2.160188] omap_rtc 44e3e000.rtc: setting system clock to 2015-09-30 10:17:12 UTC (1443608232)
    [ 2.172777] ALSA device list:
    [ 2.175853] No soundcards found.
    [ 2.179381] mmc1: host does not support reading read-only switch. assuming write-enable.
    [ 2.188198] Waiting for root device /dev/mmcblk0p2...
    [ 2.197343] mmc1: new high speed SDHC card at address aaaa
    [ 2.203813] mmcblk0: mmc1:aaaa SU08G 7.40 GiB
    [ 2.213560] mmcblk0: p1 p2
    [ 2.318567] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [ 2.326852] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
    [ 2.338286] devtmpfs: mounted
    [ 2.341888] Freeing unused kernel memory: 260K (c07fe000 - c083f000)
    INIT: version 2.88 booting
    Starting udev
    [ 3.301001] udevd[889]: starting version 182
    [ 3.595978] Bluetooth: Core ver 2.18
    [ 3.742522] NET: Registered protocol family 31
    [ 3.747015] Bluetooth: HCI device and connection manager initialized
    [ 3.847800] remoteproc0: powering up wkup_m3
    [ 3.878259] remoteproc0: Booting fw image am335x-pm-firmware.elf, size 154412
    [ 3.885805] Bluetooth: HCI socket layer initialized
    [ 3.971617] Bluetooth: L2CAP socket layer initialized
    [ 3.976928] lis3lv02d: 16 bits lis331dlh sensor found
    [ 3.982456] Bluetooth: SCO socket layer initialized
    [ 4.002156] 47401300.usb-phy supply vcc not found, using dummy regulator
    [ 4.040671] PM: CM3 Firmware Version = 0x190
    [ 4.080739] remoteproc0: remote processor wkup_m3 is now up
    [ 4.094683] 47401b00.usb-phy supply vcc not found, using dummy regulator
    [ 4.116218] (stc): chnl_id list empty :4
    [ 4.120255] (stk) : st_kim_start(stk) :ldisc_install = 1
    [ 4.230831] input: ST LIS3LV02DL Accelerometer as /devices/platform/lis3lv02d/input/input2
    [ 4.259902] cryptodev: driver 1.6 loaded.
    [ 4.600251] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
    [ 4.674083] Loading modules backported from Linux version R8.5-2-gad69b45
    [ 4.681012] Backport generated by backports.git R8.4-0-g0d46f43
    Starting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such file or directory
    bootlogd.
    [ 5.239548] (stk) :ldisc installation timeout
    [ 5.243790] (stk) :ldisc_install = 0[ 5.340849] davinci_evm sound: tlv320aic3x-hifi <-> 4803c000.mcasp mapping ok
    [ 5.650931] random: dd urandom read with 107 bits of entropy available
    [ 6.239549] (stk) : timed out waiting for ldisc to be un-installed
    [ 6.352401] (stk) :ldisc_install = 1
    udevadm settle - timeout of 3 seconds reached, the event queue contains:
    /sys/devices/ocp/48060000.mmc/mmc_host/mmc1/mmc1:aaaa/block/mmcblk0/mmcblk0p1 (866)
    /sys/devices/ocp/48060000.mmc/mmc_host/mmc1/mmc1:aaaa/block/mmcblk0/mmcblk0p2 (867)
    /sys/devices/virtual/block/loop0 (1014)
    /sys/devices/virtual/block/loop1 (1015)
    /sys/devices/virtual/block/loop5 (1019)
    /sys/devices/virtual/block/ram0 (1022)
    /sys/devices/virtual/block/ram1 (1023)
    /sys/devices/virtual/block/ram10 (1024)
    /sys/devices/virtual/block/ram11 (1025)
    /sys/devices/virtual/block/ram12 (1026)
    /sys/devices/virtual/block/ram13 (1027)
    /sys/devices/virtual/block/ram14 (1028)
    /sys/devices/virtual/block/ram15 (1029)
    /sys/devices/virtual/block/ram2 (1030)
    /sys/devices/virtual/block/ram3 (1031)
    /sys/devices/virtual/block/ram4 (1032)
    /sys/devices/virtual/block/ram5 (1033)
    /sys/devices/virtual/block/ram6 (1034)
    /sys/devices/virtual/block/ram7 (1035)
    /sys/devices/virtual/block/ram8 (1036)
    /sys/devices/virtual/block/ram9 (1037)
    /sys/devices/virtual/net/lo (1044)
    /sys/devices/platform/lis3lv02d (1060)
    /sys/devices/ocp/47400000.usb/47401400.usb (1062)
    [ 6.997127] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
    [ 7.253361] random: nonblocking pool is initialized
    [ 7.349603] (stk) :ldisc installation timeout
    [ 7.353843] (stk) :ldisc_install = 0[ 7.409237] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
    [ 7.569822] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [ 7.576669] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 7.583981] usb usb1: Product: MUSB HDRC host driver
    [ 7.588983] usb usb1: Manufacturer: Linux 3.14.43-g875c69b musb-hcd
    [ 7.595318] usb usb1: SerialNumber: musb-hdrc.1.auto
    [ 7.890545] hub 1-0:1.0: USB hub found
    [ 7.949577] hub 1-0:1.0: 1 port detected
    [ 8.009050] musb-hdrc musb-hdrc.2.auto: MUSB HDRC host driver
    [ 8.112243] musb-hdrc musb-hdrc.2.auto: new USB bus registered, assigned bus number 2
    [ 8.125125] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [ 8.191669] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    [ 8.198516] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 8.205848] usb usb2: Product: MUSB HDRC host driver
    [ 8.210866] usb usb2: Manufacturer: Linux 3.14.43-g875c69b musb-hcd
    [ 8.217165] usb usb2: SerialNumber: musb-hdrc.2.auto
    [ 8.349537] (stk) : timed out waiting for ldisc to be un-installed
    [ 8.462382] (stk) :ldisc_install = 1[ 8.608618] cfg80211: Calling CRDA to update world regulatory domain
    [ 8.631363] hub 2-0:1.0: USB hub found
    [ 8.671045] hub 2-0:1.0: 1 port detected
    [ 9.149082] cfg80211: World regulatory domain updated:
    [ 9.154372] cfg80211: DFS Master region: unset
    [ 9.158801] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
    [ 9.168627] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
    [ 9.177034] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm), (N/A)
    [ 9.185442] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm), (N/A)
    [ 9.193847] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
    [ 9.202259] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
    [ 9.300613] wl18xx_driver wl18xx.0.auto: Direct firmware load failed with error -2
    [ 9.308266] wl18xx_driver wl18xx.0.auto: Falling back to user helper
    ALSA: Restoring mixer settings...
    No state is present for card AM335xEVMSK
    Found hardware: "AM335x-EVMSK" "" "" "" ""
    Hardware is initia[ 9.459535] (stk) :ldisc installation timeoutlized using a generic method

    [ 9.463888] (stk) :ldisc_install = 0No state is present for card AM335xEVMSK
    INIT: Entering runlevel: 5
    Configuring network interfaces... [ 9.720464] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
    [ 9.757155] wlcore: loaded
    [ 9.769631] wlcore: driver version: ol_r8.a9.14
    [ 9.774212] wlcore: compilation time: Thu Sep 24 11:59:52 2015
    [ 9.941518] net eth0: initializing cpsw version 1.12 (0)
    [ 9.949624] libphy: PHY 4a101000.mdio:00 not found
    [ 9.954444] net eth0: phy 4a101000.mdio:00 not found on slave 0
    udhcpc (v1.22.1) started
    Sending discover...
    [ 10.469500] (stk) : timed out waiting for ldisc to be un-installed
    [ 10.582483] (stk) :ldisc_install = 1(stk) :ldisc installation timeout
    [ 11.582381] (stk) :ldisc_install = 0(stk) : timed out waiting for ldisc to be un-installed
    [ 12.691118] (stk) :ldisc_install = 1Sending discover...
    (stk) :ldisc installation timeout
    [ 13.692425] (stk) :ldisc_install = 0(stk) : timed out waiting for ldisc to be un-installed
    [ 14.801112] (stk) :ldisc_install = 1(stk) :ldisc installation timeout
    [ 15.802392] (stk) :ldisc_install = 0Sending discover...
    (stk) : timed out waiting for ldisc to be un-installed
    [ 16.806252] Bluetooth: st_register failed -22
    No lease, forking to background
    done.
    Starting system message bus: dbus.
    UIM SYSFS Node Found at /sys/./devices/kim/install
    Starting uim-sysfs daemon.
    uim:@ main
    uim:install = /sys/./devices/kim/install
    uim:dev_name = /sys/./devices/kim/dev_name
    uim:baud_rate = /sys/./devices/kim/baud_rate
    uim:flow_cntrl = /sys/./devices/kim/flow_cntrl
    uim:begin polling...
    Starting Dropbear SSH server: dropbear.
    Starting telnet daemon.
    Starting rpcbind daemon...rpcbind: cannot create socket for udp6
    rpcbind: cannot create socket for tcp6
    done.
    creating NFS state directory: done
    starting statd: done
    Starting syslogd/klogd: done
    Starting thttpd.
    Starting PVR
    insmod: ERROR: missing filename.
    Could not find pvrsrvkm driver
    Starting Lighttpd Web Server: lighttpd.
    2015-09-30 10:17:30: (/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-linux-gnueabi/lighttpd/1.4.33-r1/lighttpd-1.4.33/src/log.c.166) server started
    /
    Starting Matrix GUI application.
    Enabling thermal zones...
    /etc/rc5.d/S98thermal-zone-init: line 7: /sys/class/thermal/thermal_zone*/mode: No such file or directory
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the followin GPLv3 packages:
    autoconf
    binutils
    cpp-symlinks
    cpp
    g++-symlinks
    g++
    gcc-symlinks
    gcc
    gdbserver
    gstreamer1.0-libav
    libgmp10
    libmpc3
    libmpfr4
    make

    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution. This can be done using
    the opkg remove command. i.e.:
    opkg remove <package>
    Where <package> is the name printed in the list above

    NOTE: If the package is a dependency of another package you
    will be notified of the dependent packages. You should
    use the --force-removal-of-dependent-packages option to
    also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    Stopping Bootlog daemon: bootlogd.

    _____ _____ _ _
    | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
    | | _| .'| . | . | | __| _| . | | | -_| _| _|
    |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
    |___| |___|

    Arago Project http://arago-project.org am335x-evm /dev/ttyO0

    Arago 2015.05 am335x-evm /dev/ttyO0

    am335x-evm login: root
    root@am335x-evm:~# lsmod
    Module Size Used by
    wl18xx 85324 0
    wlcore 183851 1 wl18xx
    mac80211 353953 2 wl18xx,wlcore
    cfg80211 200821 3 mac80211,wl18xx,wlcore
    musb_dsps 7319 0
    musb_hdrc 54316 1 musb_dsps
    snd_soc_evm 5589 0
    wlcore_sdio 5105 0
    compat 2624 4 cfg80211,mac80211,wl18xx,wlcore_sdio
    cryptodev 32483 0
    btwilink 3854 0
    snd_soc_davinci_mcasp 15606 2
    musb_am335x 1217 0
    lis3lv02d_i2c 3153 0
    lis3lv02d 14936 1 lis3lv02d_i2c
    snd_soc_tlv320aic3x 40349 1
    input_polldev 3345 1 lis3lv02d
    bluetooth 234747 2 btwilink
    6lowpan_iphc 6211 1 bluetooth
    root@am335x-evm:~#
    root@am335x-evm:~#
    root@am335x-evm:~# ifconfig wlan0 up
    [ 67.200220] wlcore: PHY firmware version: Rev 8.2.0.0.224
    [ 67.264956] wlcore: firmware booted (Rev 8.9.0.0.31)
    root@am335x-evm:~#
    root@am335x-evm:~#
    root@am335x-evm:~# ifconfig
    eth0 Link encap:Ethernet HWaddr 6C:EC:EB:AA:97:48
    UP BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
    Interrupt:56

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    UP LOOPBACK RUNNING MTU:65536 Metric:1
    RX packets:10 errors:0 dropped:0 overruns:0 frame:0
    TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:700 (700.0 B) TX bytes:700 (700.0 B)

    wlan0 Link encap:Ethernet HWaddr 78:A5:04:2E:88:99
    UP BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

    root@am335x-evm:~#
    root@am335x-evm:~#
    root@am335x-evm:~# iw wlan0 scan
    BSS 14:cc:20:66:96:ea(on wlan0)
    TSF: 81386883952 usec (0d, 22:36:26)
    freq: 2412
    beacon interval: 100 TUs
    capability: ESS Privacy ShortPreamble ShortSlotTime (0x0431)
    signal: -87.00 dBm
    last seen: 420 ms ago
    Information elements from Probe Response frame:
    SSID: Zam-Prod
    Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0
    DS Parameter set: channel 1
    Country: IL Environment: Indoor/Outdoor
    Channels [1 - 13] @ 20 dBm
    ERP: <no flags>
    RSN: * Version: 1
    * Group cipher: TKIP
    * Pairwise ciphers: CCMP TKIP
    * Authentication suites: PSK
    * Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000)
    Extended supported rates: 24.0 36.0 48.0 54.0
    HT capabilities:
    Capabilities: 0x116e
    HT20/HT40
    SM Power Save disabled
    RX HT20 SGI
    RX HT40 SGI
    RX STBC 1-stream
    Max AMSDU length: 3839 bytes
    DSSS/CCK HT40
    Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
    Minimum RX AMPDU time spacing: No restriction (0x00)
    HT RX MCS rate indexes supported: 0-7
    HT TX MCS rate indexes are undefined
    HT operation:
    * primary channel: 1
    * secondary channel offset: above
    * STA channel width: any
    * RIFS: 0
    * HT protection: nonmember
    * non-GF present: 0
    * OBSS non-GF present: 1
    * dual beacon: 0
    * dual CTS protection: 0
    * STBC beacon: 0
    * L-SIG TXOP Prot: 0
    * PCO active: 0
    * PCO phase: 0
    WPA: * Version: 1
    * Group cipher: TKIP
    * Pairwise ciphers: CCMP TKIP
    * Authentication suites: PSK
    WMM: * Parameter version 1
    * BE: CW 15-1023, AIFSN 3
    * BK: CW 15-1023, AIFSN 7
    * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
    * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
    WPS: * Version: 1.0
    * Wi-Fi Protected Setup State: 2 (Configured)
    * Response Type: 3 (AP)
    * UUID: 00000000-0000-1000-0000-14cc20669610
    * Manufacturer: TP-LINK
    * Model: TL-WR740N
    * Model Number: 4.0
    * Serial Number: 1.0
    * Primary Device Type: 6-0050f204-1
    * Device name: Wireless Router TL-WR740N
    * Config methods: Ethernet, Label, PBC
    * RF Bands: 0x1
    * Unknown TLV (0x1049, 20 bytes): 00 24 e2 60 02 00 01 01 60 00 00 02 00 01 60 01 00 02 00 01
    BSS 84:18:3a:38:33:88(on wlan0)
    TSF: 5230490276 usec (0d, 01:27:10)
    freq: 2412
    beacon interval: 100 TUs
    capability: ESS Privacy ShortPreamble ShortSlotTime (0x0431)
    signal: -89.00 dBm
    last seen: 410 ms ago
    Information elements from Probe Response frame:
    SSID: WiFi01
    Supported rates: 1.0* 2.0* 5.5* 11.0*
    DS Parameter set: channel 1
    TIM: DTIM Count 0 DTIM Period 1 Bitmap Control 0x0 Bitmap[0] 0x0
    Country: IL Environment: Indoor/Outdoor
    Channels [1 - 13] @ 20 dBm
    ERP: <no flags>
    Extended supported rates: 6.0 9.0 12.0 18.0 24.0 36.0 48.0 54.0
    WMM: * Parameter version 1
    * u-APSD
    * BE: CW 15-1023, AIFSN 3
    * BK: CW 15-1023, AIFSN 7
    * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
    * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
    HT capabilities:
    Capabilities: 0x1ad
    RX LDPC
    HT20
    SM Power Save disabled
    RX HT20 SGI
    TX STBC
    RX STBC 1-stream
    Max AMSDU length: 3839 bytes
    No DSSS/CCK HT40
    Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
    Minimum RX AMPDU time spacing: No restriction (0x00)
    HT RX MCS rate indexes supported: 0-23
    HT TX MCS rate indexes are undefined
    HT operation:
    * primary channel: 1
    * secondary channel offset: no secondary
    * STA channel width: 20 MHz
    * RIFS: 0
    * HT protection: no
    * non-GF present: 0
    * OBSS non-GF present: 0
    * dual beacon: 0
    * dual CTS protection: 0
    * STBC beacon: 0
    * L-SIG TXOP Prot: 0
    * PCO active: 0
    * PCO phase: 0
    BSS Load:
    * station count: 0
    * channel utilisation: 82/255
    * available admission capacity: 0 [*32us]
    Extended capabilities: BSS Transition
    RSN: * Version: 1
    * Group cipher: CCMP
    * Pairwise ciphers: CCMP
    * Authentication suites: PSK
    * Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000)
    BSS 84:18:3a:78:33:88(on wlan0)
    TSF: 5230491331 usec (0d, 01:27:10)
    freq: 2412
    beacon interval: 100 TUs
    capability: ESS Privacy ShortPreamble ShortSlotTime (0x0431)
    signal: -88.00 dBm
    last seen: 410 ms ago
    Information elements from Probe Response frame:
    SSID: PlariumGuests
    Supported rates: 1.0* 2.0* 5.5* 11.0*
    DS Parameter set: channel 1
    TIM: DTIM Count 0 DTIM Period 1 Bitmap Control 0x0 Bitmap[0] 0x28
    Country: IL Environment: Indoor/Outdoor
    Channels [1 - 13] @ 20 dBm
    ERP: <no flags>
    Extended supported rates: 6.0 9.0 12.0 18.0 24.0 36.0 48.0 54.0
    WMM: * Parameter version 1
    * u-APSD
    * BE: CW 15-1023, AIFSN 3
    * BK: CW 15-1023, AIFSN 7
    * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
    * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
    HT capabilities:
    Capabilities: 0x1ad
    RX LDPC
    HT20
    SM Power Save disabled
    RX HT20 SGI
    TX STBC
    RX STBC 1-stream
    Max AMSDU length: 3839 bytes
    No DSSS/CCK HT40
    Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
    Minimum RX AMPDU time spacing: No restriction (0x00)
    HT RX MCS rate indexes supported: 0-23
    HT TX MCS rate indexes are undefined
    HT operation:
    * primary channel: 1
    * secondary channel offset: no secondary
    * STA channel width: 20 MHz
    * RIFS: 0
    * HT protection: no
    * non-GF present: 0
    * OBSS non-GF present: 0
    * dual beacon: 0
    * dual CTS protection: 0
    * STBC beacon: 0
    * L-SIG TXOP Prot: 0
    * PCO active: 0
    * PCO phase: 0
    BSS Load:
    * station count: 4
    * channel utilisation: 82/255
    * available admission capacity: 0 [*32us]
    Extended capabilities: BSS Transition
    RSN: * Version: 1
    * Group cipher: CCMP
    * Pairwise ciphers: CCMP
    * Authentication suites: PSK
    * Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000)
    root@am335x-evm:~#
    root@am335x-evm:~#
    root@am335x-evm:~# ifconfig
    eth0 Link encap:Ethernet HWaddr 6C:EC:EB:AA:97:48
    UP BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
    Interrupt:56

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    UP LOOPBACK RUNNING MTU:65536 Metric:1
    RX packets:10 errors:0 dropped:0 overruns:0 frame:0
    TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:700 (700.0 B) TX bytes:700 (700.0 B)

    wlan0 Link encap:Ethernet HWaddr 78:A5:04:2E:88:99
    UP BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

    root@am335x-evm:~#
    root@am335x-evm:~#
    root@am335x-evm:~# hciconfig hci0 up
    [ 130.359899] (stc): chnl_id list empty :4
    [ 130.363931] (stk) : st_kim_start(stk) :ldisc_install = 1uim:poll broke due to event 10(PRI:2/ERR:8)

    uim:read 1 from install

    uim:@ st_uart_config
    uim: signal received, opening /dev/ttyO4
    uim:@ set_baud_rate
    uim:set_baud_rate() done
    uim:Setting speed to 3000000
    uim:@ read_command_complete
    uim: Command complete started
    uim:@ read_hci_event
    uim: read_hci_event
    uim:Invalid response
    uim:begin polling...

    [ 131.469509] (stk) :ldisc installation timeout(stk) :ldisc_install = 0uim:poll broke due to event 10(PRI:2/ERR:8)

    uim:read 0 from install

    uim:@ st_uart_config
    uim:Un-Installed N_TI_WL Line displine
    uim:begin polling...

    [ 132.469497] (stk) : timed out waiting for ldisc to be un-installed(stk) :ldisc_install = 1uim:poll broke due to event 10(PRI:2/ERR:8)

    uim:read 1 from install

    uim:@ st_uart_config
    uim: signal received, opening /dev/ttyO4
    uim:@ set_baud_rate
    uim:set_baud_rate() done
    uim:Setting speed to 3000000
    uim:@ read_command_complete
    uim: Command complete started
    uim:@ read_hci_event
    uim: read_hci_event
    uim:Invalid response
    uim:begin polling...

    [ 133.579509] (stk) :ldisc installation timeout(stk) :ldisc_install = 0uim:poll broke due to event 10(PRI:2/ERR:8)

    uim:read 0 from install

    uim:@ st_uart_config
    uim:Un-Installed N_TI_WL Line displine
    uim:begin polling...

    [ 134.579535] (stk) : timed out waiting for ldisc to be un-installed(stk) :ldisc_install = 1uim:poll broke due to event 10(PRI:2/ERR:8)

    uim:read 1 from install

    uim:@ st_uart_config
    uim: signal received, opening /dev/ttyO4
    uim:@ set_baud_rate
    uim:set_baud_rate() done
    uim:Setting speed to 3000000
    uim:@ read_command_complete
    uim: Command complete started
    uim:@ read_hci_event
    uim: read_hci_event
    uim:Invalid response
    uim:begin polling...

    [ 135.689547] (stk) :ldisc installation timeout(stk) :ldisc_install = 0uim:poll broke due to event 10(PRI:2/ERR:8)

    uim:read 0 from install

    uim:@ st_uart_config
    uim:Un-Installed N_TI_WL Line displine
    uim:begin polling...

    [ 136.689526] (stk) : timed out waiting for ldisc to be un-installed(stk) :ldisc_install = 1uim:poll broke due to event 10(PRI:2/ERR:8)

    uim:read 1 from install

    uim:@ st_uart_config
    uim: signal received, opening /dev/ttyO4
    uim:@ set_baud_rate
    uim:set_baud_rate() done
    uim:Setting speed to 3000000
    uim:@ read_command_complete
    uim: Command complete started
    uim:@ read_hci_event
    uim: read_hci_event
    uim:Invalid response
    uim:begin polling...

    [ 137.799509] (stk) :ldisc installation timeout(stk) :ldisc_install = 0uim:poll broke due to event 10(PRI:2/ERR:8)

    uim:read 0 from install

    uim:@ st_uart_config
    uim:Un-Installed N_TI_WL Line displine
    uim:begin polling...

    [ 138.799493] (stk) : timed out waiting for ldisc to be un-installed(stk) :ldisc_install = 1uim:poll broke due to event 10(PRI:2/ERR:8)

    uim:read 1 from install

    uim:@ st_uart_config
    uim: signal received, opening /dev/ttyO4
    uim:@ set_baud_rate
    uim:set_baud_rate() done
    uim:Setting speed to 3000000
    uim:@ read_command_complete
    uim: Command complete started
    uim:@ read_hci_event
    uim: read_hci_event
    uim:Invalid response
    uim:begin polling...

    [ 139.909493] (stk) :ldisc installation timeout(stk) :ldisc_install = 0uim:poll broke due to event 10(PRI:2/ERR:8)

    uim:read 0 from install

    uim:@ st_uart_config
    uim:Un-Installed N_TI_WL Line displine
    uim:begin polling...

    [ 140.909524] (stk) : timed out waiting for ldisc to be un-installed(stk) :ldisc_install = 1uim:poll broke due to event 10(PRI:2/ERR:8)

    uim:read 1 from install

    uim:@ st_uart_config
    uim: signal received, opening /dev/ttyO4
    uim:@ set_baud_rate
    uim:set_baud_rate() done
    uim:Setting speed to 3000000
    uim:@ read_command_complete
    uim: Command complete started
    uim:@ read_hci_event
    uim: read_hci_event
    uim:Invalid response
    uim:begin polling...

    [ 142.019502] (stk) :ldisc installation timeout(stk) :ldisc_install = 0uim:poll broke due to event 10(PRI:2/ERR:8)

    uim:read 0 from install

    uim:@ st_uart_config
    uim:Un-Installed N_TI_WL Line displine
    uim:begin polling...

    [ 143.019546] (stk) : timed out waiting for ldisc to be un-installed[ 143.027805] Bluetooth: st_register failed -22
    Can't init device hci0: Input/output error (5)
    root@am335x-evm:~#
    root@am335x-evm:~#
    root@am335x-evm:~#



    DTS file:


    /*
    * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
    *
    * This program is free software; you can redistribute it and/or modify
    * it under the terms of the GNU General Public License version 2 as
    * published by the Free Software Foundation.
    */

    /*
    * AM335x Starter Kit
    * www.ti.com/.../tmdssk3358
    */

    /dts-v1/;

    #include "am33xx.dtsi"
    #include <dt-bindings/pwm/pwm.h>
    #include <dt-bindings/interrupt-controller/irq.h>

    / {
    model = "TI AM335x EVM-SK";
    compatible = "ti,am335x-evmsk", "ti,am33xx";

    cpus {
    cpu@0 {
    cpu0-supply = <&vdd1_reg>;
    };
    };

    memory {
    device_type = "memory";
    reg = <0x80000000 0x10000000>; /* 256 MB */
    };

    vbat: fixedregulator@0 {
    compatible = "regulator-fixed";
    regulator-name = "vbat";
    regulator-min-microvolt = <5000000>;
    regulator-max-microvolt = <5000000>;
    regulator-boot-on;
    };

    lis3_reg: fixedregulator@1 {
    compatible = "regulator-fixed";
    regulator-name = "lis3_reg";
    regulator-boot-on;
    };

    wlan_en_reg: fixedregulator@2 {
    compatible = "regulator-fixed";
    regulator-name = "wlan-en-regulator";
    regulator-min-microvolt = <1800000>;
    regulator-max-microvolt = <1800000>;
    /* WLAN_EN GPIO for this board - Bank1, pin16 */
    gpio = <&gpio1 29 0>;
    /* WLAN card specific delay */
    startup-delay-us = <70000>;
    enable-active-high;
    };

    vtt_fixed: fixedregulator@3 {
    compatible = "regulator-fixed";
    regulator-name = "vtt";
    regulator-min-microvolt = <1500000>;
    regulator-max-microvolt = <1500000>;
    gpio = <&gpio0 7 GPIO_ACTIVE_HIGH>;
    regulator-always-on;
    regulator-boot-on;
    enable-active-high;
    };

    leds {
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&user_leds_default>;
    pinctrl-1 = <&user_leds_sleep>;

    compatible = "gpio-leds";

    led@1 {
    label = "evmsk:green:usr0";
    gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
    default-state = "off";
    };

    led@2 {
    label = "evmsk:green:usr1";
    gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
    default-state = "off";
    };

    led@3 {
    label = "evmsk:green:mmc0";
    gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
    linux,default-trigger = "mmc0";
    default-state = "off";
    };

    led@4 {
    label = "evmsk:green:heartbeat";
    gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
    linux,default-trigger = "heartbeat";
    default-state = "off";
    };
    };

    gpio_buttons: gpio_buttons@0 {
    compatible = "gpio-keys";
    #address-cells = <1>;
    #size-cells = <0>;

    switch@1 {
    label = "button0";
    linux,code = <0x100>;
    gpios = <&gpio2 3 GPIO_ACTIVE_HIGH>;
    };

    switch@2 {
    label = "button1";
    linux,code = <0x101>;
    gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>;
    };

    switch@3 {
    label = "button2";
    linux,code = <0x102>;
    gpios = <&gpio0 30 GPIO_ACTIVE_HIGH>;
    gpio-key,wakeup;
    };

    switch@4 {
    label = "button3";
    linux,code = <0x103>;
    gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;
    };
    };

    backlight {
    compatible = "pwm-backlight";
    pwms = <&ecap2 0 50000 PWM_POLARITY_INVERTED>;
    brightness-levels = <0 58 61 66 75 90 125 170 255>;
    default-brightness-level = <8>;
    };

    sound {
    compatible = "ti,da830-evm-audio";
    ti,model = "AM335x-EVMSK";
    ti,audio-codec = <&tlv320aic3106>;
    ti,mcasp-controller = <&mcasp1>;
    ti,codec-clock-rate = <24000000>;
    ti,audio-routing =
    "Headphone Jack", "HPLOUT",
    "Headphone Jack", "HPROUT";
    };

    panel {
    compatible = "ti,tilcdc,panel";
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&lcd_pins_default>;
    pinctrl-1 = <&lcd_pins_sleep>;
    status = "okay";
    panel-info {
    ac-bias = <255>;
    ac-bias-intrpt = <0>;
    dma-burst-sz = <16>;
    bpp = <32>;
    fdd = <0x80>;
    sync-edge = <0>;
    sync-ctrl = <1>;
    raster-order = <0>;
    fifo-th = <0>;
    };
    display-timings {
    480x272 {
    hactive = <480>;
    vactive = <272>;
    hback-porch = <43>;
    hfront-porch = <8>;
    hsync-len = <4>;
    vback-porch = <12>;
    vfront-porch = <4>;
    vsync-len = <10>;
    clock-frequency = <9000000>;
    hsync-active = <0>;
    vsync-active = <0>;
    };
    };
    };

    kim {
    compatible = "kim";
    nshutdown_gpio = <44>; /* Bank1, pin12 */
    dev_name = "/dev/ttyO4";
    flow_cntrl = <1>;
    baud_rate = <3000000>;
    };

    btwilink {
    compatible = "btwilink";
    };

    };

    &am33xx_pinmux {
    pinctrl-names = "default";
    pinctrl-0 = <&gpio_keys_s0 &clkout2_pin &ddr3_vtt_toggle &mmc2_pins_default &wlan_pins_default &uart4_pins_default>;

    ddr3_vtt_toggle: ddr3_vtt_toggle {
    pinctrl-single,pins = <
    0x164 0x7 /* ecap0_in_pwm0_out.gpio0_7, OUTPUT | MODE7 */
    >;
    };

    lcd_pins_default: lcd_pins_default {
    pinctrl-single,pins = <
    0xe0 ( PIN_OUTPUT_PULLDOWN | MUX_MODE0 ) /* (U5) lcd_vsync.lcd_vsync */
    0xe4 ( PIN_OUTPUT_PULLDOWN | MUX_MODE0 ) /* (R5) lcd_hsync.lcd_hsync */
    0xe8 ( PIN_OUTPUT_PULLDOWN | MUX_MODE0 ) /* (V5) lcd_pclk.lcd_pclk */
    0xec ( PIN_OUTPUT_PULLDOWN | MUX_MODE0 ) /* (R6) lcd_ac_bias_en.lcd_ac_bias_en */
    0xa0 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (R1) lcd_data0.lcd_data0 */
    0xa4 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (R2) lcd_data1.lcd_data1 */
    0xa8 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (R3) lcd_data2.lcd_data2 */
    0xac ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (R4) lcd_data3.lcd_data3 */
    0xb0 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (T1) lcd_data4.lcd_data4 */
    0xb4 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (T2) lcd_data5.lcd_data5 */
    0xb8 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (T3) lcd_data6.lcd_data6 */
    0xbc ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (T4) lcd_data7.lcd_data7 */
    0xc0 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (U1) lcd_data8.lcd_data8 */
    0xc4 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (U2) lcd_data9.lcd_data9 */
    0xc8 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (U3) lcd_data10.lcd_data10 */
    0xcc ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (U4) lcd_data11.lcd_data11 */
    0xd0 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (V2) lcd_data12.lcd_data12 */
    0xd4 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (V3) lcd_data13.lcd_data13 */
    0xd8 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (V4) lcd_data14.lcd_data14 */
    0xdc ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (T5) lcd_data15.lcd_data15 */
    0x3c ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (U13) gpmc_ad15.lcd_data16 */
    0x38 ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (V13) gpmc_ad14.lcd_data17 */
    0x34 ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (R12) gpmc_ad13.lcd_data18 */
    //0x30 ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (T12) gpmc_ad12.lcd_data19 */
    //0x2c ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (U12) gpmc_ad11.lcd_data20 */
    //0x28 ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (T11) gpmc_ad10.lcd_data21 */
    0x24 ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (T10) gpmc_ad9.lcd_data22 */
    0x20 ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (U10) gpmc_ad8.lcd_data23 */
    >;
    };

    /* Optional sleep pin settings. Must manually enter values in the below skeleton. */
    lcd_pins_sleep: lcd_pins_sleep {
    pinctrl-single,pins = <
    0xe0 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U5) lcd_vsync.lcd_vsync */
    0xe4 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (R5) lcd_hsync.lcd_hsync */
    0xe8 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V5) lcd_pclk.lcd_pclk */
    0xec (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (R6) lcd_ac_bias_en.lcd_ac_bias_en */
    0xa0 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (R1) lcd_data0.lcd_data0 */
    0xa4 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (R2) lcd_data1.lcd_data1 */
    0xa8 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (R3) lcd_data2.lcd_data2 */
    0xac (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (R4) lcd_data3.lcd_data3 */
    0xb0 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T1) lcd_data4.lcd_data4 */
    0xb4 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T2) lcd_data5.lcd_data5 */
    0xb8 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T3) lcd_data6.lcd_data6 */
    0xbc (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T4) lcd_data7.lcd_data7 */
    0xc0 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U1) lcd_data8.lcd_data8 */
    0xc4 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U2) lcd_data9.lcd_data9 */
    0xc8 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U3) lcd_data10.lcd_data10 */
    0xcc (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U4) lcd_data11.lcd_data11 */
    0xd0 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V2) lcd_data12.lcd_data12 */
    0xd4 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V3) lcd_data13.lcd_data13 */
    0xd8 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V4) lcd_data14.lcd_data14 */
    0xdc (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T5) lcd_data15.lcd_data15 */
    0x3c (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U13) gpmc_ad15.lcd_data16 */
    0x38 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V13) gpmc_ad14.lcd_data17 */
    0x34 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (R12) gpmc_ad13.lcd_data18 */
    //0x30 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T12) gpmc_ad12.lcd_data19 */
    //0x2c (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U12) gpmc_ad11.lcd_data20 */
    //0x28 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T11) gpmc_ad10.lcd_data21 */
    0x24 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T10) gpmc_ad9.lcd_data22 */
    0x20 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U10) gpmc_ad8.lcd_data23 */
    >;
    };


    user_leds_default: user_leds_default {
    pinctrl-single,pins = <
    0x10 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad4.gpio1_4 */
    0x14 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad5.gpio1_5 */
    0x18 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad6.gpio1_6 */
    0x1c (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad7.gpio1_7 */
    >;
    };

    user_leds_sleep: user_leds_sleep {
    pinctrl-single,pins = <
    0x10 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_a5.gpio1_21 */
    0x14 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_a6.gpio1_22 */
    0x18 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_a7.gpio1_23 */
    0x1c (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_a8.gpio1_24 */
    >;
    };

    gpio_keys_s0: gpio_keys_s0 {
    pinctrl-single,pins = <
    0x88 ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (T13) gpmc_csn3.gpio2[0] */
    0x8c ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V12) gpmc_clk.gpio2[1] */
    0x90 ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (R7) gpmc_advn_ale.gpio2[2] */
    0x94 ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (T7) gpmc_oen_ren.gpio2[3] */
    0x98 ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (U6) gpmc_wen.gpio2[4] */
    0x9c ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (T6) gpmc_be0n_cle.gpio2[5] */
    0x13c ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (L15) gmii1_rxd1.gpio2[20] */
    0x140 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (M16) gmii1_rxd0.gpio2[21] */
    >;
    };



    gpio3_pins_default: pinmux_gpio3_pins_default {
    pinctrl-single,pins = <
    //0x114 ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (J16) gmii1_txen.gpio3[3] */
    0x19c ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (C12) mcasp0_ahclkr.gpio3[17] */
    0x1a0 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (B12) mcasp0_aclkr.gpio3[18] */
    0x1a4 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (C13) mcasp0_fsr.gpio3[19] */
    0x1a8 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (D13) mcasp0_axr1.gpio3[20] */
    0x1ac ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (A14) mcasp0_ahclkx.gpio3[21] */
    >;
    };


    gpio0_pins_default: pinmux_gpio0_pins_default {
    pinctrl-single,pins = <
    0x15c ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (A16) spi0_cs0.gpio0[5] */
    0x160 ( PIN_INPUT | MUX_MODE7 ) /* (C15) spi0_cs1.gpio0[6] */
    0x164 ( PIN_INPUT | MUX_MODE7 ) /* (C18) eCAP0_in_PWM0_out.gpio0[7] */
    0x11c ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (J18) gmii1_txd3.gpio0[16] */
    //0x120 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (K15) gmii1_txd2.gpio0[17] */
    0x21c ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (F16) USB0_DRVVBUS.gpio0[18] */
    0x1b0 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (A15) xdma_event_intr0.gpio0[19] */
    0x1b4 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (D14) xdma_event_intr1.gpio0[20] */
    0x124 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (K16) gmii1_txd1.gpio0[21] */
    0x128 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (K17) gmii1_txd0.gpio0[28] */
    >;
    };

    i2c0_pins: pinmux_i2c0_pins {
    pinctrl-single,pins = <
    0x188 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c0_sda.i2c0_sda */
    0x18c (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c0_scl.i2c0_scl */
    >;
    };

    uart0_pins: pinmux_uart0_pins {
    pinctrl-single,pins = <
    0x170 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart0_rxd.uart0_rxd */
    0x174 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart0_txd.uart0_txd */
    >;
    };

    clkout2_pin: pinmux_clkout2_pin {
    pinctrl-single,pins = <
    //0x1b4 (PIN_OUTPUT_PULLDOWN | MUX_MODE3) /* xdma_event_intr1.clkout2 */
    >;
    };

    ecap2_pins_default: backlight_pins {
    pinctrl-single,pins = <
    //0x19c 0x4 /* mcasp0_ahclkr.ecap2_in_pwm2_out MODE4 */
    >;
    };

    ecap2_pins_sleep: ecap2_pins_sleep {
    pinctrl-single,pins = <
    //0x19c (PIN_INPUT_PULLDOWN | MUX_MODE7) /* mcasp0_ahclkr.ecap2_in_pwm2_out */
    >;
    };


    cpsw_default: cpsw_default {
    pinctrl-single,pins = <
    0x78 ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (U18) gpmc_be1n.gmii2_col */
    0x70 ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (T17) gpmc_wait0.gmii2_crs */
    0x74 ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (U17) gpmc_wpn.gmii2_rxer */
    0x40 ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (R13) gpmc_a0.gmii2_txen */
    0x44 ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (V14) gpmc_a1.gmii2_rxdv */
    0x58 ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (U15) gpmc_a6.gmii2_txclk */
    0x5c ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (T15) gpmc_a7.gmii2_rxclk */
    0x54 ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (V15) gpmc_a5.gmii2_txd0 */
    0x50 ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (R14) gpmc_a4.gmii2_txd1 */
    0x4c ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (T14) gpmc_a3.gmii2_txd2 */
    0x48 ( PIN_OUTPUT_PULLDOWN | MUX_MODE1 ) /* (U14) gpmc_a2.gmii2_txd3 */
    0x6c ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (V17) gpmc_a11.gmii2_rxd0 */
    0x68 ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (T16) gpmc_a10.gmii2_rxd1 */
    0x64 ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (U16) gpmc_a9.gmii2_rxd2 */
    0x60 ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (V16) gpmc_a8.gmii2_rxd3 */
    >;
    };

    /* Optional sleep pin settings. Must manually enter values in the below skeleton. */
    cpsw_sleep: cpsw_sleep {
    pinctrl-single,pins = <
    0x78 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U18) gpmc_be1n.gmii2_col */
    0x70 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T17) gpmc_wait0.gmii2_crs */
    0x74 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U17) gpmc_wpn.gmii2_rxer */
    0x40 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (R13) gpmc_a0.gmii2_txen */
    0x44 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V14) gpmc_a1.gmii2_rxdv */
    0x58 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U15) gpmc_a6.gmii2_txclk */
    0x5c (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T15) gpmc_a7.gmii2_rxclk */
    0x54 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V15) gpmc_a5.gmii2_txd0 */
    0x50 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (R14) gpmc_a4.gmii2_txd1 */
    0x4c (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T14) gpmc_a3.gmii2_txd2 */
    0x48 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U14) gpmc_a2.gmii2_txd3 */
    0x6c (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V17) gpmc_a11.gmii2_rxd0 */
    0x68 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (T16) gpmc_a10.gmii2_rxd1 */
    0x64 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (U16) gpmc_a9.gmii2_rxd2 */
    0x60 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (V16) gpmc_a8.gmii2_rxd3 */
    >;
    };


    davinci_mdio_default: davinci_mdio_default {
    pinctrl-single,pins = <
    /* MDIO */
    0x148 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0) /* mdio_data.mdio_data */
    0x14c (PIN_OUTPUT_PULLUP | MUX_MODE0) /* mdio_clk.mdio_clk */
    >;
    };

    davinci_mdio_sleep: davinci_mdio_sleep {
    pinctrl-single,pins = <
    /* MDIO reset value */
    0x148 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x14c (PIN_INPUT_PULLDOWN | MUX_MODE7)
    >;
    };


    mcasp1_pins: mcasp1_pins {
    pinctrl-single,pins = <
    0x10c (PIN_INPUT_PULLDOWN | MUX_MODE4) /* mii1_crs.mcasp1_aclkx */
    0x110 (PIN_INPUT_PULLDOWN | MUX_MODE4) /* mii1_rxerr.mcasp1_fsx */
    0x108 (PIN_OUTPUT_PULLDOWN | MUX_MODE4) /* mii1_col.mcasp1_axr2 */
    0x144 (PIN_INPUT_PULLDOWN | MUX_MODE4) /* rmii1_ref_clk.mcasp1_axr3 */
    >;
    };

    mcasp1_pins_sleep: mcasp1_pins_sleep {
    pinctrl-single,pins = <
    0x10c (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x110 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x108 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x144 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    >;
    };


    /* wl12xx/wl18xx card enable/irq GPIOs. */
    wlan_pins_default: pinmux_wlan_pins_default {
    pinctrl-single,pins = <
    0x7C (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad10.gpio1_29 WL_EN*/
    0x114 ( PIN_INPUT | MUX_MODE7 ) /* (J16) gmii1_txen.gpio3[3] WL_IRQ */
    0x120 ( PIN_OUTPUT_PULLDOWN | MUX_MODE7 )/* gpmc_ad12.gpio1_12 BT_EN*/

    >;
    };

    /* wl12xx/wl18xx card enable/irq GPIOs. */
    wlan_pins_sleep: pinmux_wlan_pins_sleep {
    pinctrl-single,pins = <
    0x7C (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad10.gpio1_29 WL_EN*/
    0x114 ( PIN_INPUT | MUX_MODE7 ) /* (J16) gmii1_txen.gpio3[3] WL_IRQ */
    0x120 ( PIN_OUTPUT_PULLUP | MUX_MODE7 ) /* gpmc_ad12.gpio1_12 BT_EN*/

    >;
    };


    uart4_pins_default: pinmux_uart4_pins_default {
    pinctrl-single,pins = <
    0x180 ( PIN_INPUT_PULLUP | MUX_MODE0 ) /* (D16) uart1_rxd.uart1_rxd */
    0x184 ( PIN_OUTPUT_PULLDOWN | MUX_MODE0 ) /* (D15) uart1_txd.uart1_txd */
    0x178 ( PIN_INPUT | MUX_MODE0 ) /* (D18) uart1_ctsn.uart1_ctsn */
    0x17c ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (D17) uart1_rtsn.uart1_rtsn */
    >;
    };


    /* Optional sleep pin settings. Must manually enter values in the below skeleton. */
    uart4_pins_sleep: pinmux_uart4_pins_sleep {
    pinctrl-single,pins = <
    0x180 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (D16) uart1_rxd.uart1_rxd */
    0x184 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* (D15) uart1_txd.uart1_txd */
    0x178 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (D18) uart1_ctsn.uart1_ctsn */
    0x17c (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (D17) uart1_rtsn.uart1_rtsn */
    >;
    };

    mmc1_pins_default: pinmux_mmc1_pins {
    pinctrl-single,pins = <
    0x0F0 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat3.mmc0_dat3 */
    0x0F4 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat2.mmc0_dat2 */
    0x0F8 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat1.mmc0_dat1 */
    0x0FC (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat0.mmc0_dat0 */
    0x100 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_clk.mmc0_clk */
    0x104 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_cmd.mmc0_cmd */
    0x1A0 (PIN_INPUT_PULLUP | MUX_MODE7) /* mcasp0_aclkr.gpio3_18 */
    0x160 (PIN_INPUT | MUX_MODE7) /* spi0_cs1.gpio0_6 */
    >;
    };

    mmc1_pins_sleep: pinmux_mmc1_pins_sleep {
    pinctrl-single,pins = <
    0x0F0 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x0F4 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x0F8 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x0FC (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x100 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x104 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    0x1A0 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    >;
    };

    mmc2_pins_default: pinmux_mmc2_pins {
    pinctrl-single,pins = <

    0x80 (PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_csn1.mmc1_clk */
    0x84 (PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_csn2.mmc1_cmd */
    0x00 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad0.mmc1_dat0 */
    0x04 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad1.mmc1_dat1 */
    0x08 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad2.mmc1_dat2 */
    0x0c (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad3.mmc1_dat3 */

    >;
    };

    mmc2_pins_sleep: pinmux_mmc2_pins_sleep {
    pinctrl-single,pins = <

    0x80 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_csn1.mmc1_clk */
    0x84 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_csn2.mmc1_cmd */
    0x00 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad0.mmc1_dat0 */
    0x04 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad1.mmc1_dat1 */
    0x08 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad2.mmc1_dat2 */
    0x0c (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad3.mmc1_dat3 */
    >;
    };


    };

    &uart0 {
    pinctrl-names = "default";
    pinctrl-0 = <&uart0_pins>;

    status = "okay";
    };

    &uart4 {
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&uart4_pins_default>;
    pinctrl-1 = <&uart4_pins_sleep>;

    status = "okay";
    };

    &i2c0 {
    pinctrl-names = "default";
    pinctrl-0 = <&i2c0_pins>;

    status = "okay";
    clock-frequency = <400000>;

    tps: tps@2d {
    reg = <0x2d>;
    };

    lis331dlh: lis331dlh@18 {
    compatible = "st,lis331dlh", "st,lis3lv02d";
    reg = <0x18>;
    Vdd-supply = <&lis3_reg>;
    Vdd_IO-supply = <&lis3_reg>;

    st,click-single-x;
    st,click-single-y;
    st,click-single-z;
    st,click-thresh-x = <10>;
    st,click-thresh-y = <10>;
    st,click-thresh-z = <10>;
    st,irq1-click;
    st,irq2-click;
    st,wakeup-x-lo;
    st,wakeup-x-hi;
    st,wakeup-y-lo;
    st,wakeup-y-hi;
    st,wakeup-z-lo;
    st,wakeup-z-hi;
    st,min-limit-x = <120>;
    st,min-limit-y = <120>;
    st,min-limit-z = <140>;
    st,max-limit-x = <550>;
    st,max-limit-y = <550>;
    st,max-limit-z = <750>;
    };

    tlv320aic3106: tlv320aic3106@1b {
    compatible = "ti,tlv320aic3106";
    reg = <0x1b>;
    status = "okay";

    /* Regulators */
    AVDD-supply = <&vaux2_reg>;
    IOVDD-supply = <&vaux2_reg>;
    DRVDD-supply = <&vaux2_reg>;
    DVDD-supply = <&vbat>;
    };
    };

    &usb {
    status = "okay";

    control@44e10620 {
    status = "okay";
    };

    usb-phy@47401300 {
    status = "okay";
    };

    usb@47401000 {
    status = "okay";
    };

    dma-controller@47402000 {
    status = "okay";
    };

    usb-phy@47401b00 {
    status = "okay";
    };
    usb@47401800 {
    status = "okay";
    dr_mode = "host";
    };
    };

    &epwmss2 {
    status = "okay";

    ecap2: ecap@48304100 {
    status = "okay";
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&ecap2_pins_default>;
    pinctrl-1 = <&ecap2_pins_sleep>;
    };
    };

    &wkup_m3 {
    ti,needs-vtt-toggle;
    ti,vtt-gpio-pin = <7>;
    ti,scale-data-fw = "am335x-evm-scale-data.bin";
    };

    #include "tps65910.dtsi"

    &tps {
    vcc1-supply = <&vbat>;
    vcc2-supply = <&vbat>;
    vcc3-supply = <&vbat>;
    vcc4-supply = <&vbat>;
    vcc5-supply = <&vbat>;
    vcc6-supply = <&vbat>;
    vcc7-supply = <&vbat>;
    vccio-supply = <&vbat>;

    regulators {
    vrtc_reg: regulator@0 {
    regulator-always-on;
    };

    vio_reg: regulator@1 {
    regulator-always-on;
    };

    vdd1_reg: regulator@2 {
    /* VDD_MPU voltage limits 0.95V - 1.325V with +/-4% tolerance */
    regulator-name = "vdd_mpu";
    regulator-min-microvolt = <912500>;
    regulator-max-microvolt = <1378000>;
    regulator-boot-on;
    regulator-always-on;
    };

    vdd2_reg: regulator@3 {
    /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
    regulator-name = "vdd_core";
    regulator-min-microvolt = <912500>;
    regulator-max-microvolt = <1150000>;
    regulator-boot-on;
    regulator-always-on;
    };

    vdd3_reg: regulator@4 {
    regulator-always-on;
    };

    vdig1_reg: regulator@5 {
    regulator-always-on;
    };

    vdig2_reg: regulator@6 {
    regulator-always-on;
    };

    vpll_reg: regulator@7 {
    regulator-always-on;
    };

    vdac_reg: regulator@8 {
    regulator-always-on;
    };

    vaux1_reg: regulator@9 {
    regulator-always-on;
    };

    vaux2_reg: regulator@10 {
    regulator-always-on;
    };

    vaux33_reg: regulator@11 {
    regulator-always-on;
    };

    vmmc_reg: regulator@12 {
    regulator-min-microvolt = <1800000>;
    regulator-max-microvolt = <3300000>;
    regulator-always-on;
    };
    };
    };

    &mac {
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&cpsw_default>;
    pinctrl-1 = <&cpsw_sleep>;
    dual_emac = <1>;
    };

    &davinci_mdio {
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&davinci_mdio_default>;
    pinctrl-1 = <&davinci_mdio_sleep>;
    };

    &cpsw_emac0 {
    phy_id = <&davinci_mdio>, <0>;
    phy-mode = "rgmii-txid";
    dual_emac_res_vlan = <1>;
    };

    &cpsw_emac1 {
    phy_id = <&davinci_mdio>, <1>;
    phy-mode = "rgmii-txid";
    dual_emac_res_vlan = <2>;
    };

    &mmc1 {
    status = "okay";
    vmmc-supply = <&vmmc_reg>;
    bus-width = <4>;
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&mmc1_pins_default>;
    pinctrl-1 = <&mmc1_pins_sleep>;
    //cd-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
    cd-gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
    };

    &sham {
    status = "okay";
    };

    &aes {
    status = "okay";
    };

    &gpio0 {
    ti,no-reset-on-init;
    };


    &mmc2 {
    status = "okay";
    vmmc-supply = <&wlan_en_reg>;
    bus-width = <4>;
    pinctrl-names = "default";
    pinctrl-0 = <&mmc2_pins_default &wlan_pins_default>;
    //pinctrl-1 = <&mmc2_pins_sleep &wlan_pins_sleep>;
    ti,non-removable;
    ti,needs-special-hs-handling;
    cap-power-off-card;
    keep-power-in-suspend;

    #address-cells = <1>;
    #size-cells = <0>;
    wlcore: wlcore@0 {
    compatible = "ti,wlcore";
    reg = <2>;
    interrupt-parent = <&gpio3>;
    interrupts = <3 IRQ_TYPE_LEVEL_HIGH>;
    };
    };



    &mcasp1 {
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&mcasp1_pins>;
    pinctrl-1 = <&mcasp1_pins_sleep>;

    status = "okay";

    op-mode = <0>; /* MCASP_IIS_MODE */
    tdm-slots = <2>;
    /* 4 serializers */
    serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
    0 0 1 2
    >;
    tx-num-evt = <32>;
    rx-num-evt = <32>;
    };

    &tscadc {
    status = "okay";
    tsc {
    ti,wires = <4>;
    ti,x-plate-resistance = <200>;
    ti,coordinate-readouts = <5>;
    ti,wire-config = <0x00 0x11 0x22 0x33>;
    ti,charge-delay = <0xb000>;
    };
    };

    &lcdc {
    status = "okay";
    };


    Thanks Oded
  • Hi Oded,

    I am closing this thread since a new post(e2e.ti.com/.../456010) has been made for the same issue.

    Regards,
    Gigi Joseph.