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.

am335x-evmsk wl18xx Bluetooth

Other Parts Discussed in Thread: TFP410, TPS65910, TLV320AIC3106

Hi Gigi,

Thanks for your help. Now Wi-Fi is working and operate scan function.

Now I want to enable Bluetooth and operate scan function but I receive errors.

What am I doing wrong and what are the right actions to enable Bluetooth and opareate scan function?

Attach are 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,

    uim:Invalid response
    indicates some issue with the uart communication or the device is not up. Kindly ensure proper device power up (as per datasheet).

    Also, please confirm the BT UART device:

    ***
    Note: For SDK8 (or processor SDK 1.0.0.0) and older AM335x releases, the serial driver used is
    OMAP_SERIAL (/dev/ttyOx) which requires the following (kernel) patch:
    gforge.ti.com/.../0001-OMAP-SERIAL-Enable-HW-flow-control.patch
    Newer SDKs use 8250 driver (through /dev/ttySx).
    ***

    So, if you are using the 8250 driver, please change "/dev/ttyO4" to "/dev/ttyS4".

    Regards,
    Gigi Joseph.
  • Hi Gigi,

    As in the log, I using the 8250 driver, so I defined "/dev/ttyS4" :

    [ 0.596408] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [ 0.603150] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 88, base_baud = 3000000) is a 8250
    [ 1.269877] console [ttyS0] enabled
    [ 1.274755] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 89, base_baud = 3000000) is a 8250
    [ 1.285839] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [ 1.293066] [drm] Initialized drm 1.1.0 20060810
    [ 1.311606] brd: module loaded
    [ 1.321942] loop: module loaded
    [ 1.325443] (stk) :sysfs entries created
    [ 1.329565] (stk) : debugfs entries created
    [ 1.333931] (hci_tty): inside hci_tty_init
    [ 1.338864] (hci_tty): allocated 250, 0

    Also, the bluetooth device is not power up in boot, since I don't see any toggling in the scope.
    This is the reason why uim recieve Invalid response?
    How to power up the bluetooth device ? When I try to power up after boot via BlueTopia, I received this error:

    BluetopiaPM/bin# ./SS1BTPM &
    [1] 1617
    val-4.0.1.4.2/BluetopiaPM/bin# -sh: ./SS1BTPM: Permission denied

    What are the problems?

    Thanks Oded.
  • Hi Oded,

    Yes, if you don't see BT_EN toggling, then uim will give you an "Invalid response" print.
    The SSIBTPM error looks like a permission issue. Are you running as root? Did you give execute permission to SS1BTPM?

    An alternate way to turn on BT would be to use "hciconfig hci0 up" (no need to run the SS1BTPM tool.

    Regards,
    Gigi Joseph.
  • Hi Gigi,
    After boot, I run SSIBTPM as root with execute permission so I don't understand why I receive this error.

    during boot, I receive this Bluetooth log:

    [ 3.406274] udevd[877]: starting version 182
    [ 3.707871] Bluetooth: Core ver 2.18
    [ 3.812284] NET: Registered protocol family 31
    [ 3.816810] Bluetooth: HCI device and connection manager initialized
    [ 3.907166] remoteproc0: powering up wkup_m3
    [ 3.924312] remoteproc0: Booting fw image am335x-pm-firmware.elf, size 154412
    [ 3.959846] 47401300.usb-phy supply vcc not found, using dummy regulator
    [ 3.988836] Bluetooth: HCI socket layer initialized
    [ 3.993796] Bluetooth: L2CAP socket layer initialized
    [ 4.060204] PM: CM3 Firmware Version = 0x190
    [ 4.114382] 47401b00.usb-phy supply vcc not found, using dummy regulator
    [ 4.121540] lis3lv02d: 16 bits lis331dlh sensor found
    [ 4.163033] remoteproc0: remote processor wkup_m3 is now up
    [ 4.171251] Bluetooth: SCO socket layer initialized
    [ 16.945498] Bluetooth: st_register failed -22


    After boot, lsmod result is:

    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
    cryptodev 32483 0
    btwilink 3854 0
    lis3lv02d_i2c 3153 0
    snd_soc_davinci_mcasp 15606 2
    snd_soc_tlv320aic3x 40349 1
    lis3lv02d 14936 1 lis3lv02d_i2c
    input_polldev 3345 1 lis3lv02d
    musb_am335x 1217 0
    bluetooth 234747 2 btwilink
    6lowpan_iphc 6211 1 Bluetooth


    and when I operate hciconfig hci0 up, I receive this errors:


    [ 930.539838] (stc): chnl_id list empty :4
    [ 930.543878] (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/ttyS1
    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...

    [ 931.648741] (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...

    [ 932.648743] (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/ttyS1
    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

    [ 933.758720] (stk) :ldisc installation timeout(stk) :ldisc_install = 0
    [ 934.758707] (stk) : timed out waiting for ldisc to be un-installed(stk) :ldisc_install = 1
    [ 935.868731] (stk) :ldisc installation timeout(stk) :ldisc_install = 0
    [ 936.868711] (stk) : timed out waiting for ldisc to be un-installed(stk) :ldisc_install = 1
    [ 937.978700] (stk) :ldisc installation timeout(stk) :ldisc_install = 0
    [ 938.978739] (stk) : timed out waiting for ldisc to be un-installed(stk) :ldisc_install = 1
    [ 940.088719] (stk) :ldisc installation timeout(stk) :ldisc_install = 0
    [ 941.088837] (stk) : timed out waiting for ldisc to be un-installed(stk) :ldisc_install = 1
    [ 942.198716] (stk) :ldisc installation timeout(stk) :ldisc_install = 0
    [ 943.198706] (stk) : timed out waiting for ldisc to be un-installed[ 943.206991] Bluetooth: st_register failed -22
    Can't init device hci0: Input/output error (5)
    root@am335x-evm:~#


    What wrong?

    Thanks Oded.
  • Hi Gigi,
    Does the Bluetooth device work correct now?

    root@am335x-evm:~# ifconfig wlan0 up
    [ 48.208221] wlcore: PHY firmware version: Rev 8.2.0.0.224
    [ 48.314169] wlcore: firmware booted (Rev 8.9.0.0.31)
    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:~# cat /proc/interrupts
    CPU0
    28: 3580 INTC 12 edma
    30: 12 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: 1669 INTC 28 mmc0
    52: 3290 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: 7225 INTC 64 mmc1
    84: 1817 INTC 68 gp_timer
    86: 294 INTC 70 44e0b000.i2c
    88: 383 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: 1 481ae000.gpio 3 wl18xx
    Err: 0
    root@am335x-evm:~# hciconfig hci0 up
    [ 74.860095] (stc): chnl_id list empty :4
    [ 74.864134] (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/ttyS1
    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:Command complete done
    [ 75.029173] (stc): st_tty_open
    uim:Speed changing to 3000000, 1
    uim:@ set_custom_baud_rate
    (stk) :line discipline installeduim:Installed N_TI_WL Line displine
    [ 75.043553] (stk) :TIInit_11.8.32.bts
    uim:begin polling...
    (stk) :change remote baud rate command in firmware
    [ 75.065131] (stk) :skipping the wait event of change remote baud[ 75.798536] (stc): add_channel_to_table: id 4
    [ 75.802931] (stc): add_channel_to_table: id 2
    [ 75.807307] (stc): add_channel_to_table: id 3
    root@am335x-evm:~# hcitool scan
    Scanning ...
    root@am335x-evm:~#


    the scan function not find any device. this is because no device are available or because the scan not work correctly?

    Thanks Oded.
  • Hi Oded,

    Yes, it looks like BT is up now.
    No results in scanning looks like a lack of devices in the neighbourhood.

    Regards,
    Gigi Joseph.
  • Many thanks Gigi