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.

ti-processor-sdk-linux-am335x-evm-02.00.00.00 Support BLE [ wl18xx Bluetooth ]?

Other Parts Discussed in Thread: TPS65910, PCF8574, TCA9554, TLV320AIC3106, WL1835

Hi,

Does new SDK  ti-processor-sdk-linux-am335x-evm-02.00.00.00,  have full support in BLE  [ wl18xx Bluetooth ] ?

Thanks Oded.

  • Hi Oded,

    Not sure what you mean by "full support".

    BLE is supported from a long time. Please see: processors.wiki.ti.com/.../TI_Bluetooth_Stack_for_WL18xx_-_Demo_Guide for the demo guides.

    Regards,
    Gigi Joseph.
  • Hi Gigi,

    when i was operate BLE on SDK 8 [ ti-processor-sdk-linux-am335x-evm-01.00.00.03 ] it works OK [ my application was base on
    LinuxSPPLE.c code ].
    now I try to do the same on SDK 9 [ ti-processor-sdk-linux-am335x-evm-02.00.00.00 ] . wlan0 is up and scan is success but when
    I operate OpenStack() function from LinuxSPPLE.c file , I received this errors:
    BSC_Initialize Failed: -14.
    Unable to open the stack.

    so my question is what are the different between SDK 8 and SDK 9 accord to wl18xx?

    Thanks Oded.
  • Hi gigi,

    attach a boot log file and wlan scan results:

    root@am335x-evm:~# ifconfig wlan0 up
    root@am335x-evm:~# ifconfig
    eth0 Link encap:Ethernet HWaddr 68:C9:0B:24:A0:E0
    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:172

    eth1 Link encap:Ethernet HWaddr 68:C9:0B:24:A0:E2
    inet addr:10.1.1.4 Bcast:10.1.255.255 Mask:255.255.0.0
    inet6 addr: fe80::6ac9:bff:fe24:a0e2/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:1250 errors:0 dropped:0 overruns:0 frame:0
    TX packets:1344 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:134468 (131.3 KiB) TX bytes:381844 (372.8 KiB)

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    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 5C:31:3E:59:9B:A8
    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:~# iw wlan0 scan | grep SSID
    SSID:
    SSID: HP-Print-72-Officejet Pro 8600




    boot log file :


    root@am335x-evm:~# dmesg
    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Initializing cgroup subsys cpuset
    [ 0.000000] Initializing cgroup subsys cpu
    [ 0.000000] Initializing cgroup subsys cpuacct
    [ 0.000000] Linux version 4.1.6-g52c4aa7 (root@ubuntu) (gcc version 4.9.3 20150413 (prerelease) (Linaro GCC 4.9-2015.05) ) #2 PREEMPT Sun Jan 24 09:22:33 IST 2016
    [ 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: Reserved 24 MiB at 0x8d000000
    [ 0.000000] Memory policy: Data cache writeback
    [ 0.000000] On node 0 totalpages: 65536
    [ 0.000000] free_area_init_node: node 0, pgdat c08b9ca0, node_mem_map cfdad000
    [ 0.000000] Normal zone: 576 pages used for memmap
    [ 0.000000] Normal zone: 0 pages reserved
    [ 0.000000] Normal zone: 65536 pages, LIFO batch:15
    [ 0.000000] CPU: All CPU(s) started in SVC mode.
    [ 0.000000] AM335X ES2.1 (neon )
    [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
    [ 0.000000] pcpu-alloc: [0] 0
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 64960
    [ 0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=00000000-02 rw 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: 225612K/262144K available (6283K kernel code, 255K rwdata, 2100K rodata, 268K init, 229K bss, 11956K reserved, 24576K cma-reserved, 0K highmem)
    [ 0.000000] Virtual kernel memory layout:
    [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 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 - 0xc08380ac (8385 kB)
    [ 0.000000] .init : 0xc0839000 - 0xc087c000 ( 268 kB)
    [ 0.000000] .data : 0xc087c000 - 0xc08bbd28 ( 256 kB)
    [ 0.000000] .bss : 0xc08be000 - 0xc08f77f8 ( 230 kB)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [ 0.000000] Preemptible hierarchical RCU implementation.
    [ 0.000000] Additional per-CPU info printed with stalls.
    [ 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] OMAP clockevent source: timer2 at 24000000 Hz
    [ 0.000019] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [ 0.000046] clocksource timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [ 0.000059] OMAP clocksource: timer1 at 24000000 Hz
    [ 0.000287] Console: colour dummy device 80x30
    [ 0.000317] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [ 0.000326] This ensures that you still see kernel messages. Please
    [ 0.000334] update your kernel commandline.
    [ 0.000358] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
    [ 0.118776] pid_max: default: 32768 minimum: 301
    [ 0.118902] Security Framework initialized
    [ 0.118969] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.118984] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.119863] Initializing cgroup subsys blkio
    [ 0.119894] Initializing cgroup subsys memory
    [ 0.119945] Initializing cgroup subsys devices
    [ 0.119966] Initializing cgroup subsys freezer
    [ 0.119985] Initializing cgroup subsys perf_event
    [ 0.120018] CPU: Testing write buffer coherency: ok
    [ 0.120492] Setting up static identity map for 0x80008200 - 0x80008270
    [ 0.122514] devtmpfs: initialized
    [ 0.138727] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [ 0.152251] omap_hwmod: tptc0 using broken dt data from edma
    [ 0.152420] omap_hwmod: tptc1 using broken dt data from edma
    [ 0.152561] omap_hwmod: tptc2 using broken dt data from edma
    [ 0.157638] omap_hwmod: debugss: _wait_target_disable failed
    [ 0.214737] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [ 0.217462] pinctrl core: initialized pinctrl subsystem
    [ 0.219230] NET: Registered protocol family 16
    [ 0.222100] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.248781] cpuidle: using governor ladder
    [ 0.278768] cpuidle: using governor menu
    [ 0.283187] gpiochip_add: registered GPIOs 0 to 31 on device: gpio
    [ 0.283397] OMAP GPIO hardware version 0.1
    [ 0.284331] gpiochip_add: registered GPIOs 32 to 63 on device: gpio
    [ 0.285144] gpiochip_add: registered GPIOs 64 to 95 on device: gpio
    [ 0.285897] gpiochip_add: registered GPIOs 96 to 127 on device: gpio
    [ 0.298037] No ATAGs?
    [ 0.298077] hw-breakpoint: debug architecture 0x4 unsupported.
    [ 0.340079] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
    [ 0.340794] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator@0[0]'
    [ 0.341172] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator@1[0]'
    [ 0.341498] reg-fixed-voltage fixedregulator@2: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_wl12xx_gpio, deferring probe
    [ 0.341623] of_get_named_gpiod_flags: parsed 'gpio' property of node '/fixedregulator@3[0]' - status (0)
    [ 0.345760] vgaarb: loaded
    [ 0.346404] SCSI subsystem initialized
    [ 0.347085] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
    [ 0.347329] pps_core: LinuxPPS API ver. 1 registered
    [ 0.347341] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 0.347383] PTP clock support registered
    [ 0.348456] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [ 0.348901] Advanced Linux Sound Architecture Driver Initialized.
    [ 0.349972] Switched to clocksource timer1
    [ 0.363862] NET: Registered protocol family 2
    [ 0.364931] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.364976] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.365014] TCP: Hash tables configured (established 2048 bind 2048)
    [ 0.365120] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.365146] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.365345] NET: Registered protocol family 1
    [ 0.365828] RPC: Registered named UNIX socket transport module.
    [ 0.365845] RPC: Registered udp transport module.
    [ 0.365854] RPC: Registered tcp transport module.
    [ 0.365863] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.365907] PCI: CLS 0 bytes, default 64
    [ 0.367016] CPU PMU: Failed to parse /pmu/interrupt-affinity[0]
    [ 0.367078] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [ 0.369796] futex hash table entries: 256 (order: -1, 3072 bytes)
    [ 0.369907] audit: initializing netlink subsys (disabled)
    [ 0.370170] audit: type=2000 audit(0.370:1): initialized
    [ 0.380260] VFS: Disk quotas dquot_6.6.0
    [ 0.380572] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [ 0.383264] NFS: Registering the id_resolver key type
    [ 0.383360] Key type id_resolver registered
    [ 0.383371] Key type id_legacy registered
    [ 0.383466] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
    [ 0.386730] NET: Registered protocol family 38
    [ 0.386819] io scheduler noop registered
    [ 0.386839] io scheduler deadline registered
    [ 0.386912] io scheduler cfq registered (default)
    [ 0.388446] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [ 0.392763] pwm-backlight backlight: GPIO lookup for consumer enable
    [ 0.392790] pwm-backlight backlight: using device tree for GPIO lookup
    [ 0.392810] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/backlight[0]'
    [ 0.392824] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/backlight[0]'
    [ 0.392839] pwm-backlight backlight: using lookup tables for GPIO lookup
    [ 0.392852] pwm-backlight backlight: lookup for GPIO enable failed
    [ 0.392879] backlight supply power not found, using dummy regulator
    [ 0.394800] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
    [ 0.396209] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [ 0.400526] omap8250 44e09000.serial: GPIO lookup for consumer enable
    [ 0.400553] omap8250 44e09000.serial: using device tree for GPIO lookup
    [ 0.400573] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/ocp/serial@44e09000[0]'
    [ 0.400588] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/ocp/serial@44e09000[0]'
    [ 0.400602] omap8250 44e09000.serial: using lookup tables for GPIO lookup
    [ 0.400616] omap8250 44e09000.serial: lookup for GPIO enable failed
    [ 0.401170] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 155, base_baud = 3000000) is a 8250
    [ 0.401737] pinctrl-single 44e10800.pinmux: pin 44e10978.0 already requested by 44e10800.pinmux; cannot claim for 48022000.serial
    [ 0.401759] pinctrl-single 44e10800.pinmux: pin-94 (48022000.serial) status -22
    [ 0.401777] pinctrl-single 44e10800.pinmux: could not request pin 94 (44e10978.0) from group pinmux_uart1_pins_default on device pinctrl-single
    [ 0.401791] omap8250 48022000.serial: Error applying setting, reverse things back
    [ 0.401894] omap8250 48022000.serial: GPIO lookup for consumer enable
    [ 0.401909] omap8250 48022000.serial: using device tree for GPIO lookup
    [ 0.401925] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/ocp/serial@48022000[0]'
    [ 0.401939] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/ocp/serial@48022000[0]'
    [ 0.401952] omap8250 48022000.serial: using lookup tables for GPIO lookup
    [ 0.401965] omap8250 48022000.serial: lookup for GPIO enable failed
    [ 0.402410] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 156, base_baud = 3000000) is a 8250
    [ 0.403820] [drm] Initialized drm 1.1.0 20060810
    [ 0.404440] panel panel: GPIO lookup for consumer enable
    [ 0.404457] panel panel: using device tree for GPIO lookup
    [ 0.404474] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/panel[0]'
    [ 0.404487] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/panel[0]'
    [ 0.404500] panel panel: using lookup tables for GPIO lookup
    [ 0.404512] panel panel: lookup for GPIO enable failed
    [ 0.406095] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [ 0.406112] [drm] No driver support for vblank timestamp query.
    [ 0.453013] Console: switching to colour frame buffer device 60x34
    [ 0.455314] tilcdc 4830e000.lcdc: fb0: frame buffer device
    [ 0.455328] tilcdc 4830e000.lcdc: registered panic notifier
    [ 0.480012] [drm] Initialized tilcdc 1.0.0 20121205 on minor 0
    [ 0.493615] brd: module loaded
    [ 0.500181] loop: module loaded
    [ 0.501464] mtdoops: mtd device (mtddev=name/number) must be supplied
    [ 0.507065] PPP generic driver version 2.4.2
    [ 0.508349] mousedev: PS/2 mouse device common for all mice
    [ 0.508448] i2c /dev entries driver
    [ 0.509585] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd
    [ 0.509606] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [ 0.509647] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@48060000[0]' - status (0)
    [ 0.509676] omap_hsmmc 48060000.mmc: Got CD GPIO
    [ 0.509692] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp
    [ 0.509704] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [ 0.509717] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@48060000[0]'
    [ 0.509732] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@48060000[0]'
    [ 0.509744] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup
    [ 0.509758] omap_hsmmc 48060000.mmc: lookup for GPIO wp failed
    [ 0.540248] pinctrl-single 44e10800.pinmux: pin 44e10880.0 already requested by 44e10800.pinmux; cannot claim for 481d8000.mmc
    [ 0.540277] pinctrl-single 44e10800.pinmux: pin-32 (481d8000.mmc) status -22
    [ 0.540295] pinctrl-single 44e10800.pinmux: could not request pin 32 (44e10880.0) from group pinmux_mmc2_pins on device pinctrl-single
    [ 0.540309] omap_hsmmc 481d8000.mmc: Error applying setting, reverse things back
    [ 0.540451] omap_hsmmc 481d8000.mmc: GPIO lookup for consumer cd
    [ 0.540466] omap_hsmmc 481d8000.mmc: using device tree for GPIO lookup
    [ 0.540483] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@481d8000[0]'
    [ 0.540498] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@481d8000[0]'
    [ 0.540511] omap_hsmmc 481d8000.mmc: using lookup tables for GPIO lookup
    [ 0.540525] omap_hsmmc 481d8000.mmc: lookup for GPIO cd failed
    [ 0.540540] omap_hsmmc 481d8000.mmc: GPIO lookup for consumer wp
    [ 0.540552] omap_hsmmc 481d8000.mmc: using device tree for GPIO lookup
    [ 0.540566] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@481d8000[0]'
    [ 0.540579] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@481d8000[0]'
    [ 0.540591] omap_hsmmc 481d8000.mmc: using lookup tables for GPIO lookup
    [ 0.540603] omap_hsmmc 481d8000.mmc: lookup for GPIO wp failed
    [ 0.570477] ledtrig-cpu: registered to indicate activity on CPUs
    [ 0.570892] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [ 0.572702] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [ 0.574731] remoteproc0: wkup_m3 is available
    [ 0.574755] remoteproc0: Note: remoteproc is still under development and considered experimental.
    [ 0.574766] remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [ 0.575898] remoteproc0: Direct firmware load for am335x-pm-firmware.elf failed with error -2
    [ 0.575916] remoteproc0: Falling back to user helper
    [ 0.578568] oprofile: using arm/armv7
    [ 0.579025] Initializing XFRM netlink socket
    [ 0.579106] NET: Registered protocol family 17
    [ 0.579176] NET: Registered protocol family 15
    [ 0.579343] Key type dns_resolver registered
    [ 0.579794] omap_voltage_late_init: Voltage driver support not added
    [ 0.580571] ThumbEE CPU extension supported.
    [ 0.580613] Registering SWP/SWPB emulation handler
    [ 0.583637] pinctrl-single 44e10800.pinmux: pin 44e1087c.0 already requested by 44e10800.pinmux; cannot claim for fixedregulator@2
    [ 0.583670] pinctrl-single 44e10800.pinmux: pin-31 (fixedregulator@2) status -22
    [ 0.583689] pinctrl-single 44e10800.pinmux: could not request pin 31 (44e1087c.0) from group pinmux_wl12xx_gpio on device pinctrl-single
    [ 0.583704] reg-fixed-voltage fixedregulator@2: Error applying setting, reverse things back
    [ 0.583834] of_get_named_gpiod_flags: parsed 'gpio' property of node '/fixedregulator@2[0]' - status (0)
    [ 0.600613] tps65910 0-002d: No interrupt support, no core IRQ
    [ 0.653341] gpiochip_find_base: found new base at 504
    [ 0.653652] GPIO line 504 (reset_fg_i2c_mux) hogged as output/high
    [ 0.653925] GPIO line 510 (battery_1_enable) hogged as output/high
    [ 0.654106] gpiochip_add: registered GPIOs 504 to 511 on device: pcf8574
    [ 0.654127] pcf857x 0-0020: probed
    [ 0.654592] gpiochip_find_base: found new base at 496
    [ 0.654765] gpiochip_add: registered GPIOs 496 to 503 on device: pcf8574
    [ 0.654780] pcf857x 0-0021: probed
    [ 0.655236] gpiochip_find_base: found new base at 488
    [ 0.655392] gpiochip_add: registered GPIOs 488 to 495 on device: pcf8574
    [ 0.655407] pcf857x 0-0022: probed
    [ 0.655865] gpiochip_find_base: found new base at 480
    [ 0.656033] gpiochip_add: registered GPIOs 480 to 487 on device: tca9554
    [ 0.656048] pcf857x 0-0070: probed
    [ 0.660379] rtc-s35390a 0-0030: rtc core: registered rtc-s35390a as rtc0
    [ 0.660433] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 100 kHz
    [ 0.661965] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd
    [ 0.661992] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [ 0.662031] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@48060000[0]' - status (0)
    [ 0.662058] omap_hsmmc 48060000.mmc: Got CD GPIO
    [ 0.662076] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp
    [ 0.662088] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [ 0.662101] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@48060000[0]'
    [ 0.662116] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@48060000[0]'
    [ 0.662129] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup
    [ 0.662143] omap_hsmmc 48060000.mmc: lookup for GPIO wp failed
    [ 0.662626] vmmc: supplied by vbat
    [ 0.700928] pinctrl-single 44e10800.pinmux: pin 44e10880.0 already requested by 44e10800.pinmux; cannot claim for 481d8000.mmc
    [ 0.700959] pinctrl-single 44e10800.pinmux: pin-32 (481d8000.mmc) status -22
    [ 0.700976] pinctrl-single 44e10800.pinmux: could not request pin 32 (44e10880.0) from group pinmux_mmc2_pins on device pinctrl-single
    [ 0.700991] omap_hsmmc 481d8000.mmc: Error applying setting, reverse things back
    [ 0.701166] omap_hsmmc 481d8000.mmc: GPIO lookup for consumer cd
    [ 0.701182] omap_hsmmc 481d8000.mmc: using device tree for GPIO lookup
    [ 0.701201] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@481d8000[0]'
    [ 0.701216] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@481d8000[0]'
    [ 0.701229] omap_hsmmc 481d8000.mmc: using lookup tables for GPIO lookup
    [ 0.701243] omap_hsmmc 481d8000.mmc: lookup for GPIO cd failed
    [ 0.701258] omap_hsmmc 481d8000.mmc: GPIO lookup for consumer wp
    [ 0.701269] omap_hsmmc 481d8000.mmc: using device tree for GPIO lookup
    [ 0.701282] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@481d8000[0]'
    [ 0.701295] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@481d8000[0]'
    [ 0.701307] omap_hsmmc 481d8000.mmc: using lookup tables for GPIO lookup
    [ 0.701319] omap_hsmmc 481d8000.mmc: lookup for GPIO wp failed
    [ 0.779695] mmc0: host does not support reading read-only switch, assuming write-enable
    [ 0.783578] mmc0: new high speed SDHC card at address aaaa
    [ 0.784176] mmcblk0: mmc0:aaaa SU08G 7.40 GiB
    [ 0.789542] mmcblk0: p1 p2
    [ 0.840295] omap_hsmmc 481d8000.mmc: card claims to support voltages below defined range
    [ 0.851115] mmc1: queuing unknown CIS tuple 0x91 (3 bytes)
    [ 0.851939] mmc1: new high speed SDIO card at address 0001
    [ 0.880018] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [ 0.880038] davinci_mdio 4a101000.mdio: detected phy mask fffffffd
    [ 0.880977] libphy: 4a101000.mdio: probed
    [ 0.881005] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver SMSC LAN8710/LAN8720
    [ 0.881941] cpsw 4a100000.ethernet: Detected MACID = 68:c9:0b:24:a0:e0
    [ 0.883095] cpsw 4a100000.ethernet: cpsw: Detected MACID = 68:c9:0b:24:a0:e2
    [ 0.884947] rtc-s35390a 0-0030: setting system clock to 2066-01-03 03:03:35 UTC (3029713415)
    [ 0.890214] wlan-en-regulator: disabling
    [ 0.890247] lis3_reg: disabling
    [ 0.890397] ALSA device list:
    [ 0.890406] No soundcards found.
    [ 0.890583] Warning: unable to open an initial console.
    [ 0.918390] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [ 0.918498] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [ 0.927091] devtmpfs: mounted
    [ 0.927710] Freeing unused kernel memory: 268K (c0839000 - c087c000)
    [ 1.858679] udevd[99]: starting version 182
    [ 2.225004] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_buttons@0/switch@1[0]' - status (0)
    [ 2.225068] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_buttons@0/switch@2[0]' - status (0)
    [ 2.225099] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_buttons@0/switch@3[0]' - status (0)
    [ 2.225128] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_buttons@0/switch@4[0]' - status (0)
    [ 2.225157] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_buttons@0/switch@5[0]' - status (0)
    [ 2.225187] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_buttons@0/switch@6[0]' - status (0)
    [ 2.225215] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_buttons@0/switch@7[0]' - status (0)
    [ 2.226061] input: gpio_buttons@0 as /devices/platform/gpio_buttons@0/input/input0
    [ 2.281062] vdd_mpu: supplied by vbat
    [ 2.311001] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@1[0]' - status (0)
    [ 2.311312] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@2[0]' - status (0)
    [ 2.311508] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@3[0]' - status (0)
    [ 2.311688] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@4[0]' - status (0)
    [ 2.311873] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@5[0]' - status (0)
    [ 2.312052] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@6[0]' - status (0)
    [ 2.312233] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@7[0]' - status (0)
    [ 2.312410] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@8[0]' - status (0)
    [ 2.312594] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@9[0]' - status (0)
    [ 2.312779] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@10[0]' - status (0)
    [ 2.312954] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@11[0]' - status (0)
    [ 2.313136] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@12[0]' - status (0)
    [ 2.313312] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@13[0]' - status (0)
    [ 2.313492] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@14[0]' - status (0)
    [ 2.441460] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [ 2.444270] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc1
    [ 2.447931] am335x-phy-driver 47401300.usb-phy: GPIO lookup for consumer reset
    [ 2.447962] am335x-phy-driver 47401300.usb-phy: using device tree for GPIO lookup
    [ 2.447984] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [ 2.447999] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [ 2.448013] am335x-phy-driver 47401300.usb-phy: using lookup tables for GPIO lookup
    [ 2.448027] am335x-phy-driver 47401300.usb-phy: lookup for GPIO reset failed
    [ 2.448043] am335x-phy-driver 47401300.usb-phy: GPIO lookup for consumer vbus-detect
    [ 2.448055] am335x-phy-driver 47401300.usb-phy: using device tree for GPIO lookup
    [ 2.448068] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpios' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [ 2.448082] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpio' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [ 2.448095] am335x-phy-driver 47401300.usb-phy: using lookup tables for GPIO lookup
    [ 2.448108] am335x-phy-driver 47401300.usb-phy: lookup for GPIO vbus-detect failed
    [ 2.448196] 47401300.usb-phy supply vcc not found, using dummy regulator
    [ 2.497802] input: ti-tsc as /devices/platform/ocp/44e0d000.tscadc/TI-am335x-tsc/input/input1
    [ 2.522191] am335x-phy-driver 47401b00.usb-phy: GPIO lookup for consumer reset
    [ 2.522228] am335x-phy-driver 47401b00.usb-phy: using device tree for GPIO lookup
    [ 2.522249] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
    [ 2.522263] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
    [ 2.522311] am335x-phy-driver 47401b00.usb-phy: using lookup tables for GPIO lookup
    [ 2.522327] am335x-phy-driver 47401b00.usb-phy: lookup for GPIO reset failed
    [ 2.522343] am335x-phy-driver 47401b00.usb-phy: GPIO lookup for consumer vbus-detect
    [ 2.522355] am335x-phy-driver 47401b00.usb-phy: using device tree for GPIO lookup
    [ 2.522370] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpios' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
    [ 2.522383] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpio' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
    [ 2.522396] am335x-phy-driver 47401b00.usb-phy: using lookup tables for GPIO lookup
    [ 2.522409] am335x-phy-driver 47401b00.usb-phy: lookup for GPIO vbus-detect failed
    [ 2.522499] 47401b00.usb-phy supply vcc not found, using dummy regulator
    [ 2.541979] of_get_named_gpiod_flags: can't parse 'gpio-reset' property of node '/ocp/i2c@44e0b000/tlv320aic3106@1b[0]'
    [ 2.542159] vaux2: supplied by vbat
    [ 2.640849] lis3lv02d: 16 bits lis331dlh sensor found
    [ 2.740590] input: ST LIS3LV02DL Accelerometer as /devices/platform/lis3lv02d/input/input2
    [ 3.294265] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [ 4.039376] remoteproc0: powering up wkup_m3
    [ 4.040896] remoteproc0: Booting fw image am335x-pm-firmware.elf, size 219803
    [ 4.041208] remoteproc0: remote processor wkup_m3 is now up
    [ 4.041243] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x191
    [ 4.047433] PM: bootloader does not support rtc-only!
    [ 4.219911] davinci_evm sound: tlv320aic3x-hifi <-> 4803c000.mcasp mapping ok
    [ 6.806971] usbcore: registered new interface driver usbfs
    [ 6.807100] usbcore: registered new interface driver hub
    [ 6.807285] usbcore: registered new device driver usb
    [ 6.903884] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    [ 6.903920] musb-hdrc: MHDRC RTL version 2.0
    [ 6.903932] musb-hdrc: setup fifo_mode 4
    [ 6.903960] musb-hdrc: 28/31 max ep, 16384/16384 memory
    [ 6.904168] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
    [ 6.904215] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
    [ 6.908765] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [ 6.908797] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 6.908811] usb usb1: Product: MUSB HDRC host driver
    [ 6.908824] usb usb1: Manufacturer: Linux 4.1.6-g52c4aa7 musb-hcd
    [ 6.908836] usb usb1: SerialNumber: musb-hdrc.1.auto
    [ 6.912126] hub 1-0:1.0: USB hub found
    [ 6.915716] hub 1-0:1.0: 1 port detected
    [ 6.948886] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    [ 6.948918] musb-hdrc: MHDRC RTL version 2.0
    [ 6.948930] musb-hdrc: setup fifo_mode 4
    [ 6.948954] musb-hdrc: 28/31 max ep, 16384/16384 memory
    [ 6.949131] musb-hdrc musb-hdrc.2.auto: MUSB HDRC host driver
    [ 6.949180] musb-hdrc musb-hdrc.2.auto: new USB bus registered, assigned bus number 2
    [ 6.956258] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [ 6.979132] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    [ 6.979170] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 6.979184] usb usb2: Product: MUSB HDRC host driver
    [ 6.979198] usb usb2: Manufacturer: Linux 4.1.6-g52c4aa7 musb-hcd
    [ 6.979211] usb usb2: SerialNumber: musb-hdrc.2.auto
    [ 6.990910] hub 2-0:1.0: USB hub found
    [ 6.992899] hub 2-0:1.0: 1 port detected
    [ 7.179251] cfg80211: Calling CRDA to update world regulatory domain
    [ 7.576725] wl18xx_driver wl18xx.0.auto: Direct firmware load for ti-connectivity/wl1271-nvs.bin failed with error -2
    [ 7.576761] wl18xx_driver wl18xx.0.auto: Falling back to user helper
    [ 7.673453] cfg80211: World regulatory domain updated:
    [ 7.673496] cfg80211: DFS Master region: unset
    [ 7.673510] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
    [ 7.673530] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
    [ 7.673544] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
    [ 7.673557] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
    [ 7.673574] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
    [ 7.673589] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
    [ 7.673603] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
    [ 7.673616] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
    [ 7.673628] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
    [ 7.767988] cryptodev: driver 1.6 loaded.
    [ 7.826196] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
    [ 7.978518] random: nonblocking pool is initialized
    [ 8.041485] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
    [ 8.109635] wlcore: loaded
    [ 9.590953] net eth0: initializing cpsw version 1.12 (0)
    [ 9.593679] libphy: PHY 4a101000.mdio:00 not found
    [ 9.593696] net eth0: phy 4a101000.mdio:00 not found on slave 0
    [ 19.191825] net eth1: initializing cpsw version 1.12 (0)
    [ 19.196234] net eth1: phy found : id is : 0x7c0f1
    [ 20.679521] NET: Registered protocol family 10
    [ 20.685450] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [ 20.688363] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [ 21.056176] reset_interupt_driver init
    [ 21.056231] reset_interupt_driver: assigned major: 247
    [ 21.056241] create node with mknod /dev/reset_interupt_driver c 247 0
    [ 21.056251] GPIO_TEST: The button is mapped to IRQ: 120
    [ 21.056338] GPIO_TEST: The interrupt request result is: 0
    [ 21.092973] usbcore: registered new interface driver cdc_acm
    [ 21.093008] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    [ 21.174644] gpio_lf_driver init
    [ 21.174693] gpio_lf_driver: assigned major: 246
    [ 21.174704] create node with mknod /dev/gpio_lf_driver c 246 0
    [ 21.274558] bq27x00-battery 0-0055: support ver. 1.2.0 enabled
    [ 21.274743] sc_pcom1.1_fuel_gauge fuel_gauge@55000000: Fuel gauge driver has probed!!
    [ 21.293773] bq27x00-battery 0-0055: Gas Gauge Reset
    [ 21.510432] bq27x00-battery 0-0055: read_dm_block: error reading subclass 82 offset 0
    [ 21.512681] gpio-504 (reset_fg_i2c_mux): gpiod_request: status -16
    [ 21.512707] export_store: status -16
    [ 21.524739] gpio-510 (battery_1_enable): gpiod_request: status -16
    [ 21.524767] export_store: status -16
    [ 22.270849] cpsw 4a100000.ethernet eth1: Link is Up - 100Mbps/Full - flow control off
    [ 22.270943] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
    [ 52.690122] usb 2-1: new high-speed USB device number 2 using musb-hdrc
    [ 67.810139] usb 2-1: device descriptor read/64, error -110
    [ 83.040138] usb 2-1: device descriptor read/64, error -110
    [ 83.270135] usb 2-1: new high-speed USB device number 3 using musb-hdrc
    [ 98.390131] usb 2-1: device descriptor read/64, error -110
    [ 102.760125] usb 2-1: new high-speed USB device number 4 using musb-hdrc
    [ 117.880133] usb 2-1: device descriptor read/64, error -110
    [ 133.110131] usb 2-1: device descriptor read/64, error -110
    [ 133.340070] usb 2-1: new high-speed USB device number 5 using musb-hdrc
    [ 148.460145] usb 2-1: device descriptor read/64, error -110
    [ 163.690137] usb 2-1: device descriptor read/64, error -110
    [ 163.920118] usb 2-1: new high-speed USB device number 6 using musb-hdrc
    [ 174.340139] usb 2-1: device not accepting address 6, error -110
    [ 174.460135] usb 2-1: new high-speed USB device number 7 using musb-hdrc
    [ 184.880147] usb 2-1: device not accepting address 7, error -110
    [ 184.880325] usb usb2-port1: unable to enumerate USB device
    root@am335x-evm:~#


    Thanks Oded
  • Hi Gigi,

    What can cause that I can't open BLE stack?

    Thanks
  • Hi Oded,

    This is probably because the shared transport driver is not part of/ not enabled in the Processor 2.0 SDK that you are using.
    Please check:

    1. CONFIG_TI_ST=y & CONFIG_ST_HCI=y in the defconfig file

    2. "drivers/misc/ti-st/tty_hci.c" exists in the kernel source tree.

    3. The below line exists in "drivers/misc/ti-st/Makefile"
    obj-$(CONFIG_ST_HCI) += tty_hci.c

    4. The "config ST_HCI" related entries exists in /drivers/misc/ti-st/Kconfig

    5. The dts has the "kim" node.


    Regards,
    Gigi Joseph.
  • Hi Gigi,

    1. in defconfig I have only CONFIG_TI_ST option and not CONFIG_ST_HCI option. why that?

    2. in drivers/misc/ti-st I have not have tty_hci.c file.

    3. in drivers/misc/ti-st/Makefile I have only: obj-$(CONFIG_TI_ST) += st_drv.o

    4. in /drivers/misc/ti-st/Kconfig I have only: "config TI_ST" option.

    5. in dts file I have "kim" node

    Why I don't have ST_HCI option and files in ti-processor-sdk-linux-am335x-evm-02.00.00.00?

    Thanks Oded
  • Hi Oded,

    Can you please re-enable them and see if it helps?

    Regards,
    Gigi Joseph.
  • Hi Gig,

    as i understand, CONFIG_ST_HCI is not locate in ti-processor-sdk-linux-am335x-evm-02.00.00.00 directories and file.
    I have only CONFIG_TI_ST option.
    in "drivers/misc/ti-st: directory I have only 3 files:
    st_core.c, st_kim.c and st_ii.c.
    How that?

    Thanks Oded.
  • Hi Oded,

    Can you please add the tty_hci.c from SDK 8 to Processor 2.0, and make the above changes (to defconfig/Makefile/Kconfig) and see if it helps?

    Regards,
    Gigi Joseph.
  • Hi Gigi,
    Yes, I try it now.
    Thanks Oded.
  • Hi Gigi,

    Well, I add tty_hci.c from SDK 8 to SDK 9 , CONFIG_TI_ST=y & CONFIG_ST_HCI=y in the defconfig file , and the results are the the same.
    I operate OpenStack() function from LinuxSPPLE.c file , I received this errors:
    BSC_Initialize Failed: -14.
    Unable to open the stack.

    What else can be the problem?

    attach is boot log file:

    root@am335x-evm:~# dmesg
    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Initializing cgroup subsys cpuset
    [ 0.000000] Initializing cgroup subsys cpu
    [ 0.000000] Initializing cgroup subsys cpuacct
    [ 0.000000] Linux version 4.1.6-g52c4aa7 (root@ubuntu) (gcc version 4.9.3 20150413 (prerelease) (Linaro GCC 4.9-2015.05) ) #1 PREEMPT Wed Jan 27 16:23:20 IST 2016
    [ 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: Reserved 24 MiB at 0x8d000000
    [ 0.000000] Memory policy: Data cache writeback
    [ 0.000000] On node 0 totalpages: 65536
    [ 0.000000] free_area_init_node: node 0, pgdat c08bde20, node_mem_map cfdad000
    [ 0.000000] Normal zone: 576 pages used for memmap
    [ 0.000000] Normal zone: 0 pages reserved
    [ 0.000000] Normal zone: 65536 pages, LIFO batch:15
    [ 0.000000] CPU: All CPU(s) started in SVC mode.
    [ 0.000000] AM335X ES2.1 (neon )
    [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
    [ 0.000000] pcpu-alloc: [0] 0
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 64960
    [ 0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=00000000-02 rw 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: 225596K/262144K available (6295K kernel code, 255K rwdata, 2108K rodata, 264K init, 230K bss, 11972K reserved, 24576K cma-reserved, 0K highmem)
    [ 0.000000] Virtual kernel memory layout:
    [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 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 - 0xc083d0ac (8405 kB)
    [ 0.000000] .init : 0xc083e000 - 0xc0880000 ( 264 kB)
    [ 0.000000] .data : 0xc0880000 - 0xc08bfea8 ( 256 kB)
    [ 0.000000] .bss : 0xc08c2000 - 0xc08fb838 ( 231 kB)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [ 0.000000] Preemptible hierarchical RCU implementation.
    [ 0.000000] Additional per-CPU info printed with stalls.
    [ 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] OMAP clockevent source: timer2 at 24000000 Hz
    [ 0.000018] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [ 0.000044] clocksource timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [ 0.000058] OMAP clocksource: timer1 at 24000000 Hz
    [ 0.000284] Console: colour dummy device 80x30
    [ 0.000314] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [ 0.000322] This ensures that you still see kernel messages. Please
    [ 0.000330] update your kernel commandline.
    [ 0.000353] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
    [ 0.118751] pid_max: default: 32768 minimum: 301
    [ 0.118876] Security Framework initialized
    [ 0.118945] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.118959] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.119829] Initializing cgroup subsys blkio
    [ 0.119860] Initializing cgroup subsys memory
    [ 0.119912] Initializing cgroup subsys devices
    [ 0.119931] Initializing cgroup subsys freezer
    [ 0.119949] Initializing cgroup subsys perf_event
    [ 0.119981] CPU: Testing write buffer coherency: ok
    [ 0.120451] Setting up static identity map for 0x80008200 - 0x80008270
    [ 0.122492] devtmpfs: initialized
    [ 0.138608] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [ 0.152434] omap_hwmod: tptc0 using broken dt data from edma
    [ 0.152608] omap_hwmod: tptc1 using broken dt data from edma
    [ 0.152755] omap_hwmod: tptc2 using broken dt data from edma
    [ 0.157863] omap_hwmod: debugss: _wait_target_disable failed
    [ 0.214434] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [ 0.217153] pinctrl core: initialized pinctrl subsystem
    [ 0.218934] NET: Registered protocol family 16
    [ 0.221818] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.248753] cpuidle: using governor ladder
    [ 0.278742] cpuidle: using governor menu
    [ 0.283183] gpiochip_add: registered GPIOs 0 to 31 on device: gpio
    [ 0.283390] OMAP GPIO hardware version 0.1
    [ 0.284309] gpiochip_add: registered GPIOs 32 to 63 on device: gpio
    [ 0.285125] gpiochip_add: registered GPIOs 64 to 95 on device: gpio
    [ 0.285875] gpiochip_add: registered GPIOs 96 to 127 on device: gpio
    [ 0.298117] No ATAGs?
    [ 0.298159] hw-breakpoint: debug architecture 0x4 unsupported.
    [ 0.340102] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
    [ 0.340812] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator@0[0]'
    [ 0.341190] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator@1[0]'
    [ 0.341523] reg-fixed-voltage fixedregulator@2: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_wl12xx_gpio, deferring probe
    [ 0.341645] of_get_named_gpiod_flags: parsed 'gpio' property of node '/fixedregulator@3[0]' - status (0)
    [ 0.345755] vgaarb: loaded
    [ 0.346403] SCSI subsystem initialized
    [ 0.347094] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
    [ 0.347335] pps_core: LinuxPPS API ver. 1 registered
    [ 0.347347] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 0.347391] PTP clock support registered
    [ 0.348477] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [ 0.348923] Advanced Linux Sound Architecture Driver Initialized.
    [ 0.350013] Switched to clocksource timer1
    [ 0.363967] NET: Registered protocol family 2
    [ 0.365032] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.365078] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.365115] TCP: Hash tables configured (established 2048 bind 2048)
    [ 0.365221] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.365247] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.365462] NET: Registered protocol family 1
    [ 0.365949] RPC: Registered named UNIX socket transport module.
    [ 0.365969] RPC: Registered udp transport module.
    [ 0.365979] RPC: Registered tcp transport module.
    [ 0.365988] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.366017] PCI: CLS 0 bytes, default 64
    [ 0.367111] CPU PMU: Failed to parse /pmu/interrupt-affinity[0]
    [ 0.367173] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [ 0.369879] futex hash table entries: 256 (order: -1, 3072 bytes)
    [ 0.369993] audit: initializing netlink subsys (disabled)
    [ 0.370263] audit: type=2000 audit(0.370:1): initialized
    [ 0.380364] VFS: Disk quotas dquot_6.6.0
    [ 0.380671] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [ 0.383396] NFS: Registering the id_resolver key type
    [ 0.383490] Key type id_resolver registered
    [ 0.383502] Key type id_legacy registered
    [ 0.383599] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
    [ 0.386880] NET: Registered protocol family 38
    [ 0.386980] io scheduler noop registered
    [ 0.387001] io scheduler deadline registered
    [ 0.387073] io scheduler cfq registered (default)
    [ 0.388618] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [ 0.392926] pwm-backlight backlight: GPIO lookup for consumer enable
    [ 0.392954] pwm-backlight backlight: using device tree for GPIO lookup
    [ 0.392974] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/backlight[0]'
    [ 0.392987] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/backlight[0]'
    [ 0.393001] pwm-backlight backlight: using lookup tables for GPIO lookup
    [ 0.393015] pwm-backlight backlight: lookup for GPIO enable failed
    [ 0.393042] backlight supply power not found, using dummy regulator
    [ 0.394890] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
    [ 0.396271] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [ 0.400635] omap8250 44e09000.serial: GPIO lookup for consumer enable
    [ 0.400661] omap8250 44e09000.serial: using device tree for GPIO lookup
    [ 0.400682] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/ocp/serial@44e09000[0]'
    [ 0.400696] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/ocp/serial@44e09000[0]'
    [ 0.400710] omap8250 44e09000.serial: using lookup tables for GPIO lookup
    [ 0.400724] omap8250 44e09000.serial: lookup for GPIO enable failed
    [ 0.401281] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 155, base_baud = 3000000) is a 8250
    [ 0.401844] pinctrl-single 44e10800.pinmux: pin 44e10978.0 already requested by 44e10800.pinmux; cannot claim for 48022000.serial
    [ 0.401865] pinctrl-single 44e10800.pinmux: pin-94 (48022000.serial) status -22
    [ 0.401884] pinctrl-single 44e10800.pinmux: could not request pin 94 (44e10978.0) from group pinmux_uart1_pins_default on device pinctrl-single
    [ 0.401897] omap8250 48022000.serial: Error applying setting, reverse things back
    [ 0.401998] omap8250 48022000.serial: GPIO lookup for consumer enable
    [ 0.402013] omap8250 48022000.serial: using device tree for GPIO lookup
    [ 0.402029] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/ocp/serial@48022000[0]'
    [ 0.402043] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/ocp/serial@48022000[0]'
    [ 0.402055] omap8250 48022000.serial: using lookup tables for GPIO lookup
    [ 0.402067] omap8250 48022000.serial: lookup for GPIO enable failed
    [ 0.402504] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 156, base_baud = 3000000) is a 8250
    [ 0.403911] [drm] Initialized drm 1.1.0 20060810
    [ 0.404532] panel panel: GPIO lookup for consumer enable
    [ 0.404549] panel panel: using device tree for GPIO lookup
    [ 0.404566] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/panel[0]'
    [ 0.404579] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/panel[0]'
    [ 0.404591] panel panel: using lookup tables for GPIO lookup
    [ 0.404604] panel panel: lookup for GPIO enable failed
    [ 0.406187] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [ 0.406205] [drm] No driver support for vblank timestamp query.
    [ 0.453051] Console: switching to colour frame buffer device 60x34
    [ 0.455350] tilcdc 4830e000.lcdc: fb0: frame buffer device
    [ 0.455365] tilcdc 4830e000.lcdc: registered panic notifier
    [ 0.480055] [drm] Initialized tilcdc 1.0.0 20121205 on minor 0
    [ 0.493717] brd: module loaded
    [ 0.500295] loop: module loaded
    [ 0.500845] (stk) :sysfs entries created
    [ 0.501006] (hci_tty): inside hci_tty_init
    [ 0.501322] (hci_tty): allocated 250, 0
    [ 0.502429] mtdoops: mtd device (mtddev=name/number) must be supplied
    [ 0.508022] PPP generic driver version 2.4.2
    [ 0.509276] mousedev: PS/2 mouse device common for all mice
    [ 0.509376] i2c /dev entries driver
    [ 0.510746] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd
    [ 0.510770] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [ 0.510811] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@48060000[0]' - status (0)
    [ 0.510838] omap_hsmmc 48060000.mmc: Got CD GPIO
    [ 0.510853] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp
    [ 0.510865] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [ 0.510879] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@48060000[0]'
    [ 0.510893] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@48060000[0]'
    [ 0.510905] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup
    [ 0.510919] omap_hsmmc 48060000.mmc: lookup for GPIO wp failed
    [ 0.540292] pinctrl-single 44e10800.pinmux: pin 44e10880.0 already requested by 44e10800.pinmux; cannot claim for 481d8000.mmc
    [ 0.540320] pinctrl-single 44e10800.pinmux: pin-32 (481d8000.mmc) status -22
    [ 0.540338] pinctrl-single 44e10800.pinmux: could not request pin 32 (44e10880.0) from group pinmux_mmc2_pins on device pinctrl-single
    [ 0.540352] omap_hsmmc 481d8000.mmc: Error applying setting, reverse things back
    [ 0.540500] omap_hsmmc 481d8000.mmc: GPIO lookup for consumer cd
    [ 0.540516] omap_hsmmc 481d8000.mmc: using device tree for GPIO lookup
    [ 0.540533] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@481d8000[0]'
    [ 0.540546] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@481d8000[0]'
    [ 0.540559] omap_hsmmc 481d8000.mmc: using lookup tables for GPIO lookup
    [ 0.540572] omap_hsmmc 481d8000.mmc: lookup for GPIO cd failed
    [ 0.540588] omap_hsmmc 481d8000.mmc: GPIO lookup for consumer wp
    [ 0.540600] omap_hsmmc 481d8000.mmc: using device tree for GPIO lookup
    [ 0.540613] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@481d8000[0]'
    [ 0.540625] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@481d8000[0]'
    [ 0.540637] omap_hsmmc 481d8000.mmc: using lookup tables for GPIO lookup
    [ 0.540649] omap_hsmmc 481d8000.mmc: lookup for GPIO wp failed
    [ 0.570515] ledtrig-cpu: registered to indicate activity on CPUs
    [ 0.570945] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [ 0.572741] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [ 0.574780] remoteproc0: wkup_m3 is available
    [ 0.574802] remoteproc0: Note: remoteproc is still under development and considered experimental.
    [ 0.574814] remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [ 0.575952] remoteproc0: Direct firmware load for am335x-pm-firmware.elf failed with error -2
    [ 0.575973] remoteproc0: Falling back to user helper
    [ 0.578654] oprofile: using arm/armv7
    [ 0.579128] Initializing XFRM netlink socket
    [ 0.579194] NET: Registered protocol family 17
    [ 0.579260] NET: Registered protocol family 15
    [ 0.579420] Key type dns_resolver registered
    [ 0.579858] omap_voltage_late_init: Voltage driver support not added
    [ 0.580632] ThumbEE CPU extension supported.
    [ 0.580673] Registering SWP/SWPB emulation handler
    [ 0.583742] pinctrl-single 44e10800.pinmux: pin 44e1087c.0 already requested by 44e10800.pinmux; cannot claim for fixedregulator@2
    [ 0.583774] pinctrl-single 44e10800.pinmux: pin-31 (fixedregulator@2) status -22
    [ 0.583792] pinctrl-single 44e10800.pinmux: could not request pin 31 (44e1087c.0) from group pinmux_wl12xx_gpio on device pinctrl-single
    [ 0.583807] reg-fixed-voltage fixedregulator@2: Error applying setting, reverse things back
    [ 0.583940] of_get_named_gpiod_flags: parsed 'gpio' property of node '/fixedregulator@2[0]' - status (0)
    [ 0.600663] tps65910 0-002d: No interrupt support, no core IRQ
    [ 0.653407] gpiochip_find_base: found new base at 504
    [ 0.653719] GPIO line 504 (reset_fg_i2c_mux) hogged as output/high
    [ 0.653991] GPIO line 510 (battery_1_enable) hogged as output/high
    [ 0.654175] gpiochip_add: registered GPIOs 504 to 511 on device: pcf8574
    [ 0.654196] pcf857x 0-0020: probed
    [ 0.654675] gpiochip_find_base: found new base at 496
    [ 0.654839] gpiochip_add: registered GPIOs 496 to 503 on device: pcf8574
    [ 0.654854] pcf857x 0-0021: probed
    [ 0.655308] gpiochip_find_base: found new base at 488
    [ 0.655480] gpiochip_add: registered GPIOs 488 to 495 on device: pcf8574
    [ 0.655496] pcf857x 0-0022: probed
    [ 0.655950] gpiochip_find_base: found new base at 480
    [ 0.656109] gpiochip_add: registered GPIOs 480 to 487 on device: tca9554
    [ 0.656124] pcf857x 0-0070: probed
    [ 0.660433] rtc-s35390a 0-0030: rtc core: registered rtc-s35390a as rtc0
    [ 0.660487] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 100 kHz
    [ 0.662003] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd
    [ 0.662030] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [ 0.662071] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@48060000[0]' - status (0)
    [ 0.662098] omap_hsmmc 48060000.mmc: Got CD GPIO
    [ 0.662128] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp
    [ 0.662141] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [ 0.662155] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@48060000[0]'
    [ 0.662169] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@48060000[0]'
    [ 0.662181] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup
    [ 0.662195] omap_hsmmc 48060000.mmc: lookup for GPIO wp failed
    [ 0.662690] vmmc: supplied by vbat
    [ 0.700968] pinctrl-single 44e10800.pinmux: pin 44e10880.0 already requested by 44e10800.pinmux; cannot claim for 481d8000.mmc
    [ 0.700997] pinctrl-single 44e10800.pinmux: pin-32 (481d8000.mmc) status -22
    [ 0.701015] pinctrl-single 44e10800.pinmux: could not request pin 32 (44e10880.0) from group pinmux_mmc2_pins on device pinctrl-single
    [ 0.701030] omap_hsmmc 481d8000.mmc: Error applying setting, reverse things back
    [ 0.701214] omap_hsmmc 481d8000.mmc: GPIO lookup for consumer cd
    [ 0.701229] omap_hsmmc 481d8000.mmc: using device tree for GPIO lookup
    [ 0.701247] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@481d8000[0]'
    [ 0.701261] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@481d8000[0]'
    [ 0.701274] omap_hsmmc 481d8000.mmc: using lookup tables for GPIO lookup
    [ 0.701288] omap_hsmmc 481d8000.mmc: lookup for GPIO cd failed
    [ 0.701303] omap_hsmmc 481d8000.mmc: GPIO lookup for consumer wp
    [ 0.701315] omap_hsmmc 481d8000.mmc: using device tree for GPIO lookup
    [ 0.701328] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@481d8000[0]'
    [ 0.701340] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@481d8000[0]'
    [ 0.701353] omap_hsmmc 481d8000.mmc: using lookup tables for GPIO lookup
    [ 0.701365] omap_hsmmc 481d8000.mmc: lookup for GPIO wp failed
    [ 0.779255] mmc0: host does not support reading read-only switch, assuming write-enable
    [ 0.783113] mmc0: new high speed SDHC card at address aaaa
    [ 0.783728] mmcblk0: mmc0:aaaa SU08G 7.40 GiB
    [ 0.789087] mmcblk0: p1 p2
    [ 0.840380] omap_hsmmc 481d8000.mmc: card claims to support voltages below defined range
    [ 0.851191] mmc1: queuing unknown CIS tuple 0x91 (3 bytes)
    [ 0.852005] mmc1: new high speed SDIO card at address 0001
    [ 0.880063] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [ 0.880085] davinci_mdio 4a101000.mdio: detected phy mask fffffffd
    [ 0.881036] libphy: 4a101000.mdio: probed
    [ 0.881067] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver SMSC LAN8710/LAN8720
    [ 0.882007] cpsw 4a100000.ethernet: Detected MACID = 68:c9:0b:24:a0:e0
    [ 0.883156] cpsw 4a100000.ethernet: cpsw: Detected MACID = 68:c9:0b:24:a0:e2
    [ 0.885009] rtc-s35390a 0-0030: setting system clock to 2066-01-03 08:39:00 UTC (3029733540)
    [ 0.890259] wlan-en-regulator: disabling
    [ 0.890295] lis3_reg: disabling
    [ 0.890430] ALSA device list:
    [ 0.890439] No soundcards found.
    [ 0.890618] Warning: unable to open an initial console.
    [ 8.158410] EXT4-fs (mmcblk0p2): recovery complete
    [ 8.830738] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [ 8.830840] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [ 8.840958] devtmpfs: mounted
    [ 8.841568] Freeing unused kernel memory: 264K (c083e000 - c0880000)
    [ 9.598389] udevd[99]: starting version 182
    [ 9.976916] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_buttons@0/switch@1[0]' - status (0)
    [ 9.976976] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_buttons@0/switch@2[0]' - status (0)
    [ 9.977007] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_buttons@0/switch@3[0]' - status (0)
    [ 9.977036] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_buttons@0/switch@4[0]' - status (0)
    [ 9.977065] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_buttons@0/switch@5[0]' - status (0)
    [ 9.977094] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_buttons@0/switch@6[0]' - status (0)
    [ 9.977123] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_buttons@0/switch@7[0]' - status (0)
    [ 9.995092] input: gpio_buttons@0 as /devices/platform/gpio_buttons@0/input/input0
    [ 10.021900] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@1[0]' - status (0)
    [ 10.022232] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@2[0]' - status (0)
    [ 10.022431] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@3[0]' - status (0)
    [ 10.022617] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@4[0]' - status (0)
    [ 10.022800] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@5[0]' - status (0)
    [ 10.058390] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@6[0]' - status (0)
    [ 10.058657] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@7[0]' - status (0)
    [ 10.058845] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@8[0]' - status (0)
    [ 10.059046] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@9[0]' - status (0)
    [ 10.059231] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@10[0]' - status (0)
    [ 10.059409] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@11[0]' - status (0)
    [ 10.059586] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@12[0]' - status (0)
    [ 10.059776] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@13[0]' - status (0)
    [ 10.059952] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@14[0]' - status (0)
    [ 10.063564] vdd_mpu: supplied by vbat
    [ 10.201526] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [ 10.212581] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc1
    [ 10.214593] am335x-phy-driver 47401300.usb-phy: GPIO lookup for consumer reset
    [ 10.214622] am335x-phy-driver 47401300.usb-phy: using device tree for GPIO lookup
    [ 10.214644] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [ 10.214659] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [ 10.214673] am335x-phy-driver 47401300.usb-phy: using lookup tables for GPIO lookup
    [ 10.214687] am335x-phy-driver 47401300.usb-phy: lookup for GPIO reset failed
    [ 10.214703] am335x-phy-driver 47401300.usb-phy: GPIO lookup for consumer vbus-detect
    [ 10.214715] am335x-phy-driver 47401300.usb-phy: using device tree for GPIO lookup
    [ 10.214729] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpios' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [ 10.214743] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpio' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [ 10.214755] am335x-phy-driver 47401300.usb-phy: using lookup tables for GPIO lookup
    [ 10.214768] am335x-phy-driver 47401300.usb-phy: lookup for GPIO vbus-detect failed
    [ 10.214855] 47401300.usb-phy supply vcc not found, using dummy regulator
    [ 10.256823] input: ti-tsc as /devices/platform/ocp/44e0d000.tscadc/TI-am335x-tsc/input/input1
    [ 10.258959] am335x-phy-driver 47401b00.usb-phy: GPIO lookup for consumer reset
    [ 10.258988] am335x-phy-driver 47401b00.usb-phy: using device tree for GPIO lookup
    [ 10.259011] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
    [ 10.259026] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
    [ 10.259039] am335x-phy-driver 47401b00.usb-phy: using lookup tables for GPIO lookup
    [ 10.259054] am335x-phy-driver 47401b00.usb-phy: lookup for GPIO reset failed
    [ 10.259069] am335x-phy-driver 47401b00.usb-phy: GPIO lookup for consumer vbus-detect
    [ 10.259081] am335x-phy-driver 47401b00.usb-phy: using device tree for GPIO lookup
    [ 10.259095] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpios' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
    [ 10.259109] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpio' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
    [ 10.259122] am335x-phy-driver 47401b00.usb-phy: using lookup tables for GPIO lookup
    [ 10.259134] am335x-phy-driver 47401b00.usb-phy: lookup for GPIO vbus-detect failed
    [ 10.259220] 47401b00.usb-phy supply vcc not found, using dummy regulator
    [ 10.528240] of_get_named_gpiod_flags: can't parse 'gpio-reset' property of node '/ocp/i2c@44e0b000/tlv320aic3106@1b[0]'
    [ 10.528421] vaux2: supplied by vbat
    [ 10.630940] lis3lv02d: 16 bits lis331dlh sensor found
    [ 10.740660] input: ST LIS3LV02DL Accelerometer as /devices/platform/lis3lv02d/input/input2
    [ 11.056228] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [ 11.852219] PM: bootloader does not support rtc-only!
    [ 12.127379] davinci_evm sound: tlv320aic3x-hifi <-> 4803c000.mcasp mapping ok
    [ 12.152999] remoteproc0: powering up wkup_m3
    [ 12.154362] remoteproc0: Booting fw image am335x-pm-firmware.elf, size 219803
    [ 12.154680] remoteproc0: remote processor wkup_m3 is now up
    [ 12.154712] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x191
    [ 14.653123] usbcore: registered new interface driver usbfs
    [ 14.653252] usbcore: registered new interface driver hub
    [ 14.664035] usbcore: registered new device driver usb
    [ 14.759822] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    [ 14.759859] musb-hdrc: MHDRC RTL version 2.0
    [ 14.759871] musb-hdrc: setup fifo_mode 4
    [ 14.759900] musb-hdrc: 28/31 max ep, 16384/16384 memory
    [ 14.777197] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
    [ 14.777270] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
    [ 14.791204] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [ 14.791239] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 14.791254] usb usb1: Product: MUSB HDRC host driver
    [ 14.791268] usb usb1: Manufacturer: Linux 4.1.6-g52c4aa7 musb-hcd
    [ 14.791280] usb usb1: SerialNumber: musb-hdrc.1.auto
    [ 14.795778] hub 1-0:1.0: USB hub found
    [ 14.797433] hub 1-0:1.0: 1 port detected
    [ 14.839062] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    [ 14.839096] musb-hdrc: MHDRC RTL version 2.0
    [ 14.839107] musb-hdrc: setup fifo_mode 4
    [ 14.839130] musb-hdrc: 28/31 max ep, 16384/16384 memory
    [ 14.839301] musb-hdrc musb-hdrc.2.auto: MUSB HDRC host driver
    [ 14.839348] musb-hdrc musb-hdrc.2.auto: new USB bus registered, assigned bus number 2
    [ 14.871106] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    [ 14.871142] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 14.871156] usb usb2: Product: MUSB HDRC host driver
    [ 14.871170] usb usb2: Manufacturer: Linux 4.1.6-g52c4aa7 musb-hcd
    [ 14.871183] usb usb2: SerialNumber: musb-hdrc.2.auto
    [ 14.876279] hub 2-0:1.0: USB hub found
    [ 14.876400] hub 2-0:1.0: 1 port detected
    [ 14.900900] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [ 14.989960] cfg80211: Calling CRDA to update world regulatory domain
    [ 15.414146] wl18xx_driver wl18xx.0.auto: Direct firmware load for ti-connectivity/wl1271-nvs.bin failed with error -2
    [ 15.414181] wl18xx_driver wl18xx.0.auto: Falling back to user helper
    [ 15.521550] cfg80211: World regulatory domain updated:
    [ 15.521594] cfg80211: DFS Master region: unset
    [ 15.521607] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
    [ 15.521627] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
    [ 15.521641] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
    [ 15.521654] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
    [ 15.521671] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
    [ 15.521686] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
    [ 15.521700] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
    [ 15.521713] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
    [ 15.521725] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
    [ 15.646650] cryptodev: driver 1.6 loaded.
    [ 15.705906] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
    [ 15.859036] random: nonblocking pool is initialized
    [ 15.891328] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
    [ 15.959525] wlcore: loaded
    [ 18.355584] net eth0: initializing cpsw version 1.12 (0)
    [ 18.358312] libphy: PHY 4a101000.mdio:00 not found
    [ 18.358329] net eth0: phy 4a101000.mdio:00 not found on slave 0
    [ 27.941094] net eth1: initializing cpsw version 1.12 (0)
    [ 27.945370] net eth1: phy found : id is : 0x7c0f1
    [ 29.445031] NET: Registered protocol family 10
    [ 29.452018] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [ 29.454938] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [ 29.808518] reset_interupt_driver init
    [ 29.808574] reset_interupt_driver: assigned major: 246
    [ 29.808585] create node with mknod /dev/reset_interupt_driver c 246 0
    [ 29.808595] GPIO_TEST: The button is mapped to IRQ: 120
    [ 29.808682] GPIO_TEST: The interrupt request result is: 0
    [ 29.845335] usbcore: registered new interface driver cdc_acm
    [ 29.845369] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    [ 29.926182] gpio_lf_driver init
    [ 29.926233] gpio_lf_driver: assigned major: 245
    [ 29.926244] create node with mknod /dev/gpio_lf_driver c 245 0
    [ 30.024578] bq27x00-battery 0-0055: support ver. 1.2.0 enabled
    [ 30.024782] sc_pcom1.1_fuel_gauge fuel_gauge@55000000: Fuel gauge driver has probed!!
    [ 30.030559] power_supply bq27421-0: driver failed to report `voltage_now' property: -121
    [ 30.043670] bq27x00-battery 0-0055: Gas Gauge Reset
    [ 30.048743] power_supply bq27421-0: driver failed to report `voltage_now' property: -121
    [ 30.049655] power_supply bq27421-0: driver failed to report `voltage_now' property: -121
    [ 30.050777] power_supply bq27421-0: driver failed to report `voltage_now' property: -121
    [ 30.060453] gpio-504 (reset_fg_i2c_mux): gpiod_request: status -16
    [ 30.060482] export_store: status -16
    [ 30.071145] gpio-510 (battery_1_enable): gpiod_request: status -16
    [ 30.071173] export_store: status -16
    [ 31.021153] cpsw 4a100000.ethernet eth1: Link is Up - 100Mbps/Full - flow control off
    [ 31.021411] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
    [ 60.400187] usb 2-1: new high-speed USB device number 2 using musb-hdrc
    root@am335x-evm:~#


    Thanks Oded
  • Hi Gigi,

    Well, I add tty_hci.c from SDK 8 to SDK 9 , CONFIG_TI_ST=y & CONFIG_ST_HCI=y in the defconfig file , and the results are the the same.
    I operate OpenStack() function from LinuxSPPLE.c file , I received this errors:
    BSC_Initialize Failed: -14.
    Unable to open the stack.

    What else can be the problem?

    attach is boot log file:

    root@am335x-evm:~# dmesg
    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Initializing cgroup subsys cpuset
    [ 0.000000] Initializing cgroup subsys cpu
    [ 0.000000] Initializing cgroup subsys cpuacct
    [ 0.000000] Linux version 4.1.6-g52c4aa7 (root@ubuntu) (gcc version 4.9.3 20150413 (prerelease) (Linaro GCC 4.9-2015.05) ) #1 PREEMPT Wed Jan 27 16:23:20 IST 2016
    [ 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: Reserved 24 MiB at 0x8d000000
    [ 0.000000] Memory policy: Data cache writeback
    [ 0.000000] On node 0 totalpages: 65536
    [ 0.000000] free_area_init_node: node 0, pgdat c08bde20, node_mem_map cfdad000
    [ 0.000000] Normal zone: 576 pages used for memmap
    [ 0.000000] Normal zone: 0 pages reserved
    [ 0.000000] Normal zone: 65536 pages, LIFO batch:15
    [ 0.000000] CPU: All CPU(s) started in SVC mode.
    [ 0.000000] AM335X ES2.1 (neon )
    [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
    [ 0.000000] pcpu-alloc: [0] 0
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 64960
    [ 0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=00000000-02 rw 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: 225596K/262144K available (6295K kernel code, 255K rwdata, 2108K rodata, 264K init, 230K bss, 11972K reserved, 24576K cma-reserved, 0K highmem)
    [ 0.000000] Virtual kernel memory layout:
    [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 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 - 0xc083d0ac (8405 kB)
    [ 0.000000] .init : 0xc083e000 - 0xc0880000 ( 264 kB)
    [ 0.000000] .data : 0xc0880000 - 0xc08bfea8 ( 256 kB)
    [ 0.000000] .bss : 0xc08c2000 - 0xc08fb838 ( 231 kB)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [ 0.000000] Preemptible hierarchical RCU implementation.
    [ 0.000000] Additional per-CPU info printed with stalls.
    [ 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] OMAP clockevent source: timer2 at 24000000 Hz
    [ 0.000018] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [ 0.000044] clocksource timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [ 0.000058] OMAP clocksource: timer1 at 24000000 Hz
    [ 0.000284] Console: colour dummy device 80x30
    [ 0.000314] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [ 0.000322] This ensures that you still see kernel messages. Please
    [ 0.000330] update your kernel commandline.
    [ 0.000353] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
    [ 0.118751] pid_max: default: 32768 minimum: 301
    [ 0.118876] Security Framework initialized
    [ 0.118945] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.118959] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.119829] Initializing cgroup subsys blkio
    [ 0.119860] Initializing cgroup subsys memory
    [ 0.119912] Initializing cgroup subsys devices
    [ 0.119931] Initializing cgroup subsys freezer
    [ 0.119949] Initializing cgroup subsys perf_event
    [ 0.119981] CPU: Testing write buffer coherency: ok
    [ 0.120451] Setting up static identity map for 0x80008200 - 0x80008270
    [ 0.122492] devtmpfs: initialized
    [ 0.138608] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [ 0.152434] omap_hwmod: tptc0 using broken dt data from edma
    [ 0.152608] omap_hwmod: tptc1 using broken dt data from edma
    [ 0.152755] omap_hwmod: tptc2 using broken dt data from edma
    [ 0.157863] omap_hwmod: debugss: _wait_target_disable failed
    [ 0.214434] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [ 0.217153] pinctrl core: initialized pinctrl subsystem
    [ 0.218934] NET: Registered protocol family 16
    [ 0.221818] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.248753] cpuidle: using governor ladder
    [ 0.278742] cpuidle: using governor menu
    [ 0.283183] gpiochip_add: registered GPIOs 0 to 31 on device: gpio
    [ 0.283390] OMAP GPIO hardware version 0.1
    [ 0.284309] gpiochip_add: registered GPIOs 32 to 63 on device: gpio
    [ 0.285125] gpiochip_add: registered GPIOs 64 to 95 on device: gpio
    [ 0.285875] gpiochip_add: registered GPIOs 96 to 127 on device: gpio
    [ 0.298117] No ATAGs?
    [ 0.298159] hw-breakpoint: debug architecture 0x4 unsupported.
    [ 0.340102] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
    [ 0.340812] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator@0[0]'
    [ 0.341190] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator@1[0]'
    [ 0.341523] reg-fixed-voltage fixedregulator@2: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_wl12xx_gpio, deferring probe
    [ 0.341645] of_get_named_gpiod_flags: parsed 'gpio' property of node '/fixedregulator@3[0]' - status (0)
    [ 0.345755] vgaarb: loaded
    [ 0.346403] SCSI subsystem initialized
    [ 0.347094] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
    [ 0.347335] pps_core: LinuxPPS API ver. 1 registered
    [ 0.347347] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 0.347391] PTP clock support registered
    [ 0.348477] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [ 0.348923] Advanced Linux Sound Architecture Driver Initialized.
    [ 0.350013] Switched to clocksource timer1
    [ 0.363967] NET: Registered protocol family 2
    [ 0.365032] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.365078] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.365115] TCP: Hash tables configured (established 2048 bind 2048)
    [ 0.365221] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.365247] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.365462] NET: Registered protocol family 1
    [ 0.365949] RPC: Registered named UNIX socket transport module.
    [ 0.365969] RPC: Registered udp transport module.
    [ 0.365979] RPC: Registered tcp transport module.
    [ 0.365988] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.366017] PCI: CLS 0 bytes, default 64
    [ 0.367111] CPU PMU: Failed to parse /pmu/interrupt-affinity[0]
    [ 0.367173] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [ 0.369879] futex hash table entries: 256 (order: -1, 3072 bytes)
    [ 0.369993] audit: initializing netlink subsys (disabled)
    [ 0.370263] audit: type=2000 audit(0.370:1): initialized
    [ 0.380364] VFS: Disk quotas dquot_6.6.0
    [ 0.380671] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [ 0.383396] NFS: Registering the id_resolver key type
    [ 0.383490] Key type id_resolver registered
    [ 0.383502] Key type id_legacy registered
    [ 0.383599] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
    [ 0.386880] NET: Registered protocol family 38
    [ 0.386980] io scheduler noop registered
    [ 0.387001] io scheduler deadline registered
    [ 0.387073] io scheduler cfq registered (default)
    [ 0.388618] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [ 0.392926] pwm-backlight backlight: GPIO lookup for consumer enable
    [ 0.392954] pwm-backlight backlight: using device tree for GPIO lookup
    [ 0.392974] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/backlight[0]'
    [ 0.392987] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/backlight[0]'
    [ 0.393001] pwm-backlight backlight: using lookup tables for GPIO lookup
    [ 0.393015] pwm-backlight backlight: lookup for GPIO enable failed
    [ 0.393042] backlight supply power not found, using dummy regulator
    [ 0.394890] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
    [ 0.396271] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [ 0.400635] omap8250 44e09000.serial: GPIO lookup for consumer enable
    [ 0.400661] omap8250 44e09000.serial: using device tree for GPIO lookup
    [ 0.400682] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/ocp/serial@44e09000[0]'
    [ 0.400696] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/ocp/serial@44e09000[0]'
    [ 0.400710] omap8250 44e09000.serial: using lookup tables for GPIO lookup
    [ 0.400724] omap8250 44e09000.serial: lookup for GPIO enable failed
    [ 0.401281] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 155, base_baud = 3000000) is a 8250
    [ 0.401844] pinctrl-single 44e10800.pinmux: pin 44e10978.0 already requested by 44e10800.pinmux; cannot claim for 48022000.serial
    [ 0.401865] pinctrl-single 44e10800.pinmux: pin-94 (48022000.serial) status -22
    [ 0.401884] pinctrl-single 44e10800.pinmux: could not request pin 94 (44e10978.0) from group pinmux_uart1_pins_default on device pinctrl-single
    [ 0.401897] omap8250 48022000.serial: Error applying setting, reverse things back
    [ 0.401998] omap8250 48022000.serial: GPIO lookup for consumer enable
    [ 0.402013] omap8250 48022000.serial: using device tree for GPIO lookup
    [ 0.402029] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/ocp/serial@48022000[0]'
    [ 0.402043] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/ocp/serial@48022000[0]'
    [ 0.402055] omap8250 48022000.serial: using lookup tables for GPIO lookup
    [ 0.402067] omap8250 48022000.serial: lookup for GPIO enable failed
    [ 0.402504] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 156, base_baud = 3000000) is a 8250
    [ 0.403911] [drm] Initialized drm 1.1.0 20060810
    [ 0.404532] panel panel: GPIO lookup for consumer enable
    [ 0.404549] panel panel: using device tree for GPIO lookup
    [ 0.404566] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/panel[0]'
    [ 0.404579] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/panel[0]'
    [ 0.404591] panel panel: using lookup tables for GPIO lookup
    [ 0.404604] panel panel: lookup for GPIO enable failed
    [ 0.406187] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [ 0.406205] [drm] No driver support for vblank timestamp query.
    [ 0.453051] Console: switching to colour frame buffer device 60x34
    [ 0.455350] tilcdc 4830e000.lcdc: fb0: frame buffer device
    [ 0.455365] tilcdc 4830e000.lcdc: registered panic notifier
    [ 0.480055] [drm] Initialized tilcdc 1.0.0 20121205 on minor 0
    [ 0.493717] brd: module loaded
    [ 0.500295] loop: module loaded
    [ 0.500845] (stk) :sysfs entries created
    [ 0.501006] (hci_tty): inside hci_tty_init
    [ 0.501322] (hci_tty): allocated 250, 0
    [ 0.502429] mtdoops: mtd device (mtddev=name/number) must be supplied
    [ 0.508022] PPP generic driver version 2.4.2
    [ 0.509276] mousedev: PS/2 mouse device common for all mice
    [ 0.509376] i2c /dev entries driver
    [ 0.510746] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd
    [ 0.510770] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [ 0.510811] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@48060000[0]' - status (0)
    [ 0.510838] omap_hsmmc 48060000.mmc: Got CD GPIO
    [ 0.510853] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp
    [ 0.510865] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [ 0.510879] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@48060000[0]'
    [ 0.510893] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@48060000[0]'
    [ 0.510905] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup
    [ 0.510919] omap_hsmmc 48060000.mmc: lookup for GPIO wp failed
    [ 0.540292] pinctrl-single 44e10800.pinmux: pin 44e10880.0 already requested by 44e10800.pinmux; cannot claim for 481d8000.mmc
    [ 0.540320] pinctrl-single 44e10800.pinmux: pin-32 (481d8000.mmc) status -22
    [ 0.540338] pinctrl-single 44e10800.pinmux: could not request pin 32 (44e10880.0) from group pinmux_mmc2_pins on device pinctrl-single
    [ 0.540352] omap_hsmmc 481d8000.mmc: Error applying setting, reverse things back
    [ 0.540500] omap_hsmmc 481d8000.mmc: GPIO lookup for consumer cd
    [ 0.540516] omap_hsmmc 481d8000.mmc: using device tree for GPIO lookup
    [ 0.540533] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@481d8000[0]'
    [ 0.540546] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@481d8000[0]'
    [ 0.540559] omap_hsmmc 481d8000.mmc: using lookup tables for GPIO lookup
    [ 0.540572] omap_hsmmc 481d8000.mmc: lookup for GPIO cd failed
    [ 0.540588] omap_hsmmc 481d8000.mmc: GPIO lookup for consumer wp
    [ 0.540600] omap_hsmmc 481d8000.mmc: using device tree for GPIO lookup
    [ 0.540613] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@481d8000[0]'
    [ 0.540625] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@481d8000[0]'
    [ 0.540637] omap_hsmmc 481d8000.mmc: using lookup tables for GPIO lookup
    [ 0.540649] omap_hsmmc 481d8000.mmc: lookup for GPIO wp failed
    [ 0.570515] ledtrig-cpu: registered to indicate activity on CPUs
    [ 0.570945] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [ 0.572741] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [ 0.574780] remoteproc0: wkup_m3 is available
    [ 0.574802] remoteproc0: Note: remoteproc is still under development and considered experimental.
    [ 0.574814] remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [ 0.575952] remoteproc0: Direct firmware load for am335x-pm-firmware.elf failed with error -2
    [ 0.575973] remoteproc0: Falling back to user helper
    [ 0.578654] oprofile: using arm/armv7
    [ 0.579128] Initializing XFRM netlink socket
    [ 0.579194] NET: Registered protocol family 17
    [ 0.579260] NET: Registered protocol family 15
    [ 0.579420] Key type dns_resolver registered
    [ 0.579858] omap_voltage_late_init: Voltage driver support not added
    [ 0.580632] ThumbEE CPU extension supported.
    [ 0.580673] Registering SWP/SWPB emulation handler
    [ 0.583742] pinctrl-single 44e10800.pinmux: pin 44e1087c.0 already requested by 44e10800.pinmux; cannot claim for fixedregulator@2
    [ 0.583774] pinctrl-single 44e10800.pinmux: pin-31 (fixedregulator@2) status -22
    [ 0.583792] pinctrl-single 44e10800.pinmux: could not request pin 31 (44e1087c.0) from group pinmux_wl12xx_gpio on device pinctrl-single
    [ 0.583807] reg-fixed-voltage fixedregulator@2: Error applying setting, reverse things back
    [ 0.583940] of_get_named_gpiod_flags: parsed 'gpio' property of node '/fixedregulator@2[0]' - status (0)
    [ 0.600663] tps65910 0-002d: No interrupt support, no core IRQ
    [ 0.653407] gpiochip_find_base: found new base at 504
    [ 0.653719] GPIO line 504 (reset_fg_i2c_mux) hogged as output/high
    [ 0.653991] GPIO line 510 (battery_1_enable) hogged as output/high
    [ 0.654175] gpiochip_add: registered GPIOs 504 to 511 on device: pcf8574
    [ 0.654196] pcf857x 0-0020: probed
    [ 0.654675] gpiochip_find_base: found new base at 496
    [ 0.654839] gpiochip_add: registered GPIOs 496 to 503 on device: pcf8574
    [ 0.654854] pcf857x 0-0021: probed
    [ 0.655308] gpiochip_find_base: found new base at 488
    [ 0.655480] gpiochip_add: registered GPIOs 488 to 495 on device: pcf8574
    [ 0.655496] pcf857x 0-0022: probed
    [ 0.655950] gpiochip_find_base: found new base at 480
    [ 0.656109] gpiochip_add: registered GPIOs 480 to 487 on device: tca9554
    [ 0.656124] pcf857x 0-0070: probed
    [ 0.660433] rtc-s35390a 0-0030: rtc core: registered rtc-s35390a as rtc0
    [ 0.660487] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 100 kHz
    [ 0.662003] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd
    [ 0.662030] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [ 0.662071] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@48060000[0]' - status (0)
    [ 0.662098] omap_hsmmc 48060000.mmc: Got CD GPIO
    [ 0.662128] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp
    [ 0.662141] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [ 0.662155] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@48060000[0]'
    [ 0.662169] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@48060000[0]'
    [ 0.662181] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup
    [ 0.662195] omap_hsmmc 48060000.mmc: lookup for GPIO wp failed
    [ 0.662690] vmmc: supplied by vbat
    [ 0.700968] pinctrl-single 44e10800.pinmux: pin 44e10880.0 already requested by 44e10800.pinmux; cannot claim for 481d8000.mmc
    [ 0.700997] pinctrl-single 44e10800.pinmux: pin-32 (481d8000.mmc) status -22
    [ 0.701015] pinctrl-single 44e10800.pinmux: could not request pin 32 (44e10880.0) from group pinmux_mmc2_pins on device pinctrl-single
    [ 0.701030] omap_hsmmc 481d8000.mmc: Error applying setting, reverse things back
    [ 0.701214] omap_hsmmc 481d8000.mmc: GPIO lookup for consumer cd
    [ 0.701229] omap_hsmmc 481d8000.mmc: using device tree for GPIO lookup
    [ 0.701247] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@481d8000[0]'
    [ 0.701261] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@481d8000[0]'
    [ 0.701274] omap_hsmmc 481d8000.mmc: using lookup tables for GPIO lookup
    [ 0.701288] omap_hsmmc 481d8000.mmc: lookup for GPIO cd failed
    [ 0.701303] omap_hsmmc 481d8000.mmc: GPIO lookup for consumer wp
    [ 0.701315] omap_hsmmc 481d8000.mmc: using device tree for GPIO lookup
    [ 0.701328] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@481d8000[0]'
    [ 0.701340] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@481d8000[0]'
    [ 0.701353] omap_hsmmc 481d8000.mmc: using lookup tables for GPIO lookup
    [ 0.701365] omap_hsmmc 481d8000.mmc: lookup for GPIO wp failed
    [ 0.779255] mmc0: host does not support reading read-only switch, assuming write-enable
    [ 0.783113] mmc0: new high speed SDHC card at address aaaa
    [ 0.783728] mmcblk0: mmc0:aaaa SU08G 7.40 GiB
    [ 0.789087] mmcblk0: p1 p2
    [ 0.840380] omap_hsmmc 481d8000.mmc: card claims to support voltages below defined range
    [ 0.851191] mmc1: queuing unknown CIS tuple 0x91 (3 bytes)
    [ 0.852005] mmc1: new high speed SDIO card at address 0001
    [ 0.880063] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [ 0.880085] davinci_mdio 4a101000.mdio: detected phy mask fffffffd
    [ 0.881036] libphy: 4a101000.mdio: probed
    [ 0.881067] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver SMSC LAN8710/LAN8720
    [ 0.882007] cpsw 4a100000.ethernet: Detected MACID = 68:c9:0b:24:a0:e0
    [ 0.883156] cpsw 4a100000.ethernet: cpsw: Detected MACID = 68:c9:0b:24:a0:e2
    [ 0.885009] rtc-s35390a 0-0030: setting system clock to 2066-01-03 08:39:00 UTC (3029733540)
    [ 0.890259] wlan-en-regulator: disabling
    [ 0.890295] lis3_reg: disabling
    [ 0.890430] ALSA device list:
    [ 0.890439] No soundcards found.
    [ 0.890618] Warning: unable to open an initial console.
    [ 8.158410] EXT4-fs (mmcblk0p2): recovery complete
    [ 8.830738] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [ 8.830840] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [ 8.840958] devtmpfs: mounted
    [ 8.841568] Freeing unused kernel memory: 264K (c083e000 - c0880000)
    [ 9.598389] udevd[99]: starting version 182
    [ 9.976916] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_buttons@0/switch@1[0]' - status (0)
    [ 9.976976] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_buttons@0/switch@2[0]' - status (0)
    [ 9.977007] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_buttons@0/switch@3[0]' - status (0)
    [ 9.977036] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_buttons@0/switch@4[0]' - status (0)
    [ 9.977065] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_buttons@0/switch@5[0]' - status (0)
    [ 9.977094] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_buttons@0/switch@6[0]' - status (0)
    [ 9.977123] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_buttons@0/switch@7[0]' - status (0)
    [ 9.995092] input: gpio_buttons@0 as /devices/platform/gpio_buttons@0/input/input0
    [ 10.021900] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@1[0]' - status (0)
    [ 10.022232] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@2[0]' - status (0)
    [ 10.022431] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@3[0]' - status (0)
    [ 10.022617] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@4[0]' - status (0)
    [ 10.022800] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@5[0]' - status (0)
    [ 10.058390] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@6[0]' - status (0)
    [ 10.058657] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@7[0]' - status (0)
    [ 10.058845] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@8[0]' - status (0)
    [ 10.059046] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@9[0]' - status (0)
    [ 10.059231] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@10[0]' - status (0)
    [ 10.059409] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@11[0]' - status (0)
    [ 10.059586] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@12[0]' - status (0)
    [ 10.059776] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@13[0]' - status (0)
    [ 10.059952] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@14[0]' - status (0)
    [ 10.063564] vdd_mpu: supplied by vbat
    [ 10.201526] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [ 10.212581] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc1
    [ 10.214593] am335x-phy-driver 47401300.usb-phy: GPIO lookup for consumer reset
    [ 10.214622] am335x-phy-driver 47401300.usb-phy: using device tree for GPIO lookup
    [ 10.214644] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [ 10.214659] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [ 10.214673] am335x-phy-driver 47401300.usb-phy: using lookup tables for GPIO lookup
    [ 10.214687] am335x-phy-driver 47401300.usb-phy: lookup for GPIO reset failed
    [ 10.214703] am335x-phy-driver 47401300.usb-phy: GPIO lookup for consumer vbus-detect
    [ 10.214715] am335x-phy-driver 47401300.usb-phy: using device tree for GPIO lookup
    [ 10.214729] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpios' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [ 10.214743] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpio' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [ 10.214755] am335x-phy-driver 47401300.usb-phy: using lookup tables for GPIO lookup
    [ 10.214768] am335x-phy-driver 47401300.usb-phy: lookup for GPIO vbus-detect failed
    [ 10.214855] 47401300.usb-phy supply vcc not found, using dummy regulator
    [ 10.256823] input: ti-tsc as /devices/platform/ocp/44e0d000.tscadc/TI-am335x-tsc/input/input1
    [ 10.258959] am335x-phy-driver 47401b00.usb-phy: GPIO lookup for consumer reset
    [ 10.258988] am335x-phy-driver 47401b00.usb-phy: using device tree for GPIO lookup
    [ 10.259011] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
    [ 10.259026] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
    [ 10.259039] am335x-phy-driver 47401b00.usb-phy: using lookup tables for GPIO lookup
    [ 10.259054] am335x-phy-driver 47401b00.usb-phy: lookup for GPIO reset failed
    [ 10.259069] am335x-phy-driver 47401b00.usb-phy: GPIO lookup for consumer vbus-detect
    [ 10.259081] am335x-phy-driver 47401b00.usb-phy: using device tree for GPIO lookup
    [ 10.259095] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpios' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
    [ 10.259109] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpio' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
    [ 10.259122] am335x-phy-driver 47401b00.usb-phy: using lookup tables for GPIO lookup
    [ 10.259134] am335x-phy-driver 47401b00.usb-phy: lookup for GPIO vbus-detect failed
    [ 10.259220] 47401b00.usb-phy supply vcc not found, using dummy regulator
    [ 10.528240] of_get_named_gpiod_flags: can't parse 'gpio-reset' property of node '/ocp/i2c@44e0b000/tlv320aic3106@1b[0]'
    [ 10.528421] vaux2: supplied by vbat
    [ 10.630940] lis3lv02d: 16 bits lis331dlh sensor found
    [ 10.740660] input: ST LIS3LV02DL Accelerometer as /devices/platform/lis3lv02d/input/input2
    [ 11.056228] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [ 11.852219] PM: bootloader does not support rtc-only!
    [ 12.127379] davinci_evm sound: tlv320aic3x-hifi <-> 4803c000.mcasp mapping ok
    [ 12.152999] remoteproc0: powering up wkup_m3
    [ 12.154362] remoteproc0: Booting fw image am335x-pm-firmware.elf, size 219803
    [ 12.154680] remoteproc0: remote processor wkup_m3 is now up
    [ 12.154712] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x191
    [ 14.653123] usbcore: registered new interface driver usbfs
    [ 14.653252] usbcore: registered new interface driver hub
    [ 14.664035] usbcore: registered new device driver usb
    [ 14.759822] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    [ 14.759859] musb-hdrc: MHDRC RTL version 2.0
    [ 14.759871] musb-hdrc: setup fifo_mode 4
    [ 14.759900] musb-hdrc: 28/31 max ep, 16384/16384 memory
    [ 14.777197] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
    [ 14.777270] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
    [ 14.791204] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [ 14.791239] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 14.791254] usb usb1: Product: MUSB HDRC host driver
    [ 14.791268] usb usb1: Manufacturer: Linux 4.1.6-g52c4aa7 musb-hcd
    [ 14.791280] usb usb1: SerialNumber: musb-hdrc.1.auto
    [ 14.795778] hub 1-0:1.0: USB hub found
    [ 14.797433] hub 1-0:1.0: 1 port detected
    [ 14.839062] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    [ 14.839096] musb-hdrc: MHDRC RTL version 2.0
    [ 14.839107] musb-hdrc: setup fifo_mode 4
    [ 14.839130] musb-hdrc: 28/31 max ep, 16384/16384 memory
    [ 14.839301] musb-hdrc musb-hdrc.2.auto: MUSB HDRC host driver
    [ 14.839348] musb-hdrc musb-hdrc.2.auto: new USB bus registered, assigned bus number 2
    [ 14.871106] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    [ 14.871142] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 14.871156] usb usb2: Product: MUSB HDRC host driver
    [ 14.871170] usb usb2: Manufacturer: Linux 4.1.6-g52c4aa7 musb-hcd
    [ 14.871183] usb usb2: SerialNumber: musb-hdrc.2.auto
    [ 14.876279] hub 2-0:1.0: USB hub found
    [ 14.876400] hub 2-0:1.0: 1 port detected
    [ 14.900900] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [ 14.989960] cfg80211: Calling CRDA to update world regulatory domain
    [ 15.414146] wl18xx_driver wl18xx.0.auto: Direct firmware load for ti-connectivity/wl1271-nvs.bin failed with error -2
    [ 15.414181] wl18xx_driver wl18xx.0.auto: Falling back to user helper
    [ 15.521550] cfg80211: World regulatory domain updated:
    [ 15.521594] cfg80211: DFS Master region: unset
    [ 15.521607] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
    [ 15.521627] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
    [ 15.521641] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
    [ 15.521654] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
    [ 15.521671] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
    [ 15.521686] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
    [ 15.521700] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
    [ 15.521713] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
    [ 15.521725] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
    [ 15.646650] cryptodev: driver 1.6 loaded.
    [ 15.705906] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
    [ 15.859036] random: nonblocking pool is initialized
    [ 15.891328] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
    [ 15.959525] wlcore: loaded
    [ 18.355584] net eth0: initializing cpsw version 1.12 (0)
    [ 18.358312] libphy: PHY 4a101000.mdio:00 not found
    [ 18.358329] net eth0: phy 4a101000.mdio:00 not found on slave 0
    [ 27.941094] net eth1: initializing cpsw version 1.12 (0)
    [ 27.945370] net eth1: phy found : id is : 0x7c0f1
    [ 29.445031] NET: Registered protocol family 10
    [ 29.452018] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [ 29.454938] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [ 29.808518] reset_interupt_driver init
    [ 29.808574] reset_interupt_driver: assigned major: 246
    [ 29.808585] create node with mknod /dev/reset_interupt_driver c 246 0
    [ 29.808595] GPIO_TEST: The button is mapped to IRQ: 120
    [ 29.808682] GPIO_TEST: The interrupt request result is: 0
    [ 29.845335] usbcore: registered new interface driver cdc_acm
    [ 29.845369] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    [ 29.926182] gpio_lf_driver init
    [ 29.926233] gpio_lf_driver: assigned major: 245
    [ 29.926244] create node with mknod /dev/gpio_lf_driver c 245 0
    [ 30.024578] bq27x00-battery 0-0055: support ver. 1.2.0 enabled
    [ 30.024782] sc_pcom1.1_fuel_gauge fuel_gauge@55000000: Fuel gauge driver has probed!!
    [ 30.030559] power_supply bq27421-0: driver failed to report `voltage_now' property: -121
    [ 30.043670] bq27x00-battery 0-0055: Gas Gauge Reset
    [ 30.048743] power_supply bq27421-0: driver failed to report `voltage_now' property: -121
    [ 30.049655] power_supply bq27421-0: driver failed to report `voltage_now' property: -121
    [ 30.050777] power_supply bq27421-0: driver failed to report `voltage_now' property: -121
    [ 30.060453] gpio-504 (reset_fg_i2c_mux): gpiod_request: status -16
    [ 30.060482] export_store: status -16
    [ 30.071145] gpio-510 (battery_1_enable): gpiod_request: status -16
    [ 30.071173] export_store: status -16
    [ 31.021153] cpsw 4a100000.ethernet eth1: Link is Up - 100Mbps/Full - flow control off
    [ 31.021411] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
    [ 60.400187] usb 2-1: new high-speed USB device number 2 using musb-hdrc
    root@am335x-evm:~#


    Thanks Oded
  • Hi Oded,

    Looks like "uim" is not running.

    (1) Can you please run it ("/usr/bin/uim -f /sys/devices/platform/kim")?
    (2) Can you please check the entries in "/sys/devices/platform/kim/" - do you see "install", "dev_name", "baud_rate", "flow_cntl" ?
    (3) Can you also copy the bts file to "/lib/firmware/ti-connectivity" as well

    Regards,
    Gigi Joseph.
  • Hi Gigi,

    1. it looks like uim start to work but not work ok

    root@am335x-evm:~# /usr/bin/uim -f /sys/devices/platform/kim/
    uim:@ main
    uim:install = /sys/devices/platform/kim//install
    uim:dev_name = /sys/devices/platform/kim//dev_name
    uim:baud_rate = /sys/devices/platform/kim//baud_rate
    uim:flow_cntrl = /sys/devices/platform/kim//flow_cntrl
    uim:begin polling...

    2.

    root@am335x-evm:~# cd /sys/devices/platform/kim/
    root@am335x-evm:/sys/devices/platform/kim# ls -la
    drwxr-xr-x    3 root     root             0 Nov 28 18:07 .
    drwxr-xr-x   28 root     root             0 Nov 28 18:07 ..
    -r--r--r--    1 root     root          4096 Nov 28 18:08 baud_rate
    -r--r--r--    1 root     root          4096 Nov 28 18:08 dev_name
    lrwxrwxrwx    1 root     root             0 Nov 28 18:08 driver -> ../../../bus/platform/drivers/kim
    -rw-r--r--    1 root     root          4096 Nov 28 18:08 driver_override
    -r--r--r--    1 root     root          4096 Nov 28 18:08 flow_cntrl
    -r--r--r--    1 root     root          4096 Nov 28 18:08 install
    -r--r--r--    1 root     root          4096 Nov 28 18:08 modalias
    lrwxrwxrwx    1 root     root             0 Nov 28 18:08 of_node -> ../../../firmware/devicetree/base/kim
    drwxr-xr-x    2 root     root             0 Nov 28 18:08 power
    lrwxrwxrwx    1 root     root             0 Nov 28 18:07 subsystem -> ../../../bus/platform
    -rw-r--r--    1 root     root          4096 Nov 28 18:07 uevent
    root@am335x-evm:/sys/devices/platform/kim# cat install
    0
    root@am335x-evm:/sys/devices/platform/kim# cat baud_rate
    3000000
    root@am335x-evm:/sys/devices/platform/kim# cat dev_name
    /dev/ttyS1
    root@am335x-evm:/sys/devices/platform/kim# cat flow_cntrl
    1
    root@am335x-evm:/sys/devices/platform/kim#

    3.

    root@am335x-evm:/sys/devices/platform/kim# cd /lib/firmware/ti-connectivity/
    root@am335x-evm:/lib/firmware/ti-connectivity# ls -la
    drwxr-xr-x    2 root     root          4096 Oct  7  2015 .
    drwxr-xr-x    3 root     root          4096 Oct  7  2015 ..
    -rwxr-xr-x    1 root     root          1229 Oct  7  2015 wl18xx-conf.bin
    -rwxr-xr-x    1 root     root        739244 Oct  7  2015 wl18xx-fw-4.bin
    root@am335x-evm:/lib/firmware/ti-connectivity#

    What file do you want me to add to /lib/firmware/ti-connectivity/ directory? the am335x-evmsk.dtb file?

    Thanks Oded

  • Hi Oded,

    The TIInit_XX.X.XX.bts. Usually it's in "/lib/firmware/"
    The uim logs look okay to me.

    Regards,
    Gigi Joseph.
  • Hi Gigi,

    Now I placed The TIInit_XX.X.XX.bts. files in "/lib/firmware/" and when I operate OpenStack() function from LinuxSPPLE.c file ,
    I received this errors:

    BSC_Initialize Failed: -3.
    Unable to open the stack.

    This is error is changed from -14 that happened before I moved the TIInit_XX.X.XX.bts to "/lib/firmware/ directory.

    What else can cause to that error?

    Thanks Oded
  • Hi Oded,

    Is that the only prints you get?
    The TIInit_XX.X.XX.bts should be placed in "/lib/firmware/ti-connectivity/" folder.

    The -3 error corresponds to: "BTPS_ERROR_STACK_INITIALIZATION_ERROR" - Please see: e2e.ti.com/.../1340522 - this might be related to the system clock.

    Regards,
    Gigi Joseph.
  • Hi Gigi,

    After RTC update it now works OK !
    But now sfter boot process, I have no WIFI enable. when I doing ifconfig -a I can't see wlan0. is it about DTS decleration?
    I attach my am335x-evmsk.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;
    };

    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;
    };


    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>;
    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 = "HE910_SHTDOWN";
    gpios = <&gpio0 21 GPIO_ACTIVE_HIGH>;
    default-state = "off";

    };

    led@2 {
    label = "HE910_ONOFF";
    gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>;
    default-state = "on";

    };

    led@3 {
    label = "LCD_ENABLE";
    gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>;
    default-state = "on";
    };
    led@4 {
    label = "CS_SPI1";
    gpios = <&gpio3 4 GPIO_ACTIVE_HIGH>;
    default-state = "off";
    };

    led@5 {
    label = "CODEC_RESET";
    gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
    default-state = "on";
    };


    led@6 {
    label = "LED_RGB_GREEN";
    gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
    default-state = "on";
    };
    led@7 {
    label = "LED_RGB_RED";
    gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
    default-state = "on";
    };
    led@8 {
    label = "LED_RGB_BLUE";
    gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
    default-state = "on";
    };

    led@9 {
    label = "SDN_RFID1";
    gpios = <&gpio2 20 GPIO_ACTIVE_HIGH>;
    default-state = "on";
    };
    led@10 {
    label = "SDN_RFID0";
    gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>;
    default-state = "on";
    };

    led@11 {
    label = "CS_SPI0";
    gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>;
    default-state = "on";
    };

    led@12 {
    label = "FINGER_WAKE";
    gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
    default-state = "on";
    };

    led@13 {
    label = "CLOCK_24MHZ";
    gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
    default-state = "off";
    };

    led@14 {
    label = "CLOCK_32MHZ";
    gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
    default-state = "off";
    };

    };

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

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

    switch@2 {
    label = "button2";
    debounce-interval = <0>;
    linux,code = <0x101>;
    gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>;
    };
    switch@3 {
    label = "button3";
    debounce-interval = <0>;
    linux,code = <0x102>;
    gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;
    };
    switch@4 {
    label = "button4";
    debounce-interval = <0>;
    linux,code = <0x103>;
    gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
    };
    switch@5 {
    label = "button5";
    debounce-interval = <0>;
    linux,code = <0x104>;
    gpios = <&gpio2 4 GPIO_ACTIVE_HIGH>;
    };
    switch@6 {
    label = "rf_irq_1";
    debounce-interval = <0>;
    linux,code = <0x105>;
    gpios = <&gpio3 19 GPIO_ACTIVE_HIGH>;
    };
    switch@7 {
    label = "rf_irq_2";
    debounce-interval = <0>;
    //linux,input-type = <0>;
    linux,code = <0x106>;
    gpios = <&gpio3 18 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/ttyS1";
    flow_cntrl = <1>;
    baud_rate = <3000000>;
    };

    btwilink {
    compatible = "btwilink";
    };


    fuel_gauge@55000000 {
    compatible = "sc,pcom1.1-fuel_gauge,alpha";
    #address-cells = <0x1>;
    #size-cells = <0x0>;
    design_capacity = <0x1f40> ;
    design_energy = <0x73a0> ;
    terminate_voltage = <0xcb2> ;
    taper_rate = <0x91> ;
    number_of_batteries = <0x02> ;
    mux_exist = <0x1> ;
    };

    };


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


    ddr3_vtt_toggle: ddr3_vtt_toggle {
    pinctrl-single,pins = <
    0x164 (PIN_OUTPUT | MUX_MODE7) /* ecap0_in_pwm0_out.gpio0_7 */
    >;
    };

    lcd_pins_default: lcd_pins_default {
    pinctrl-single,pins = <
    0x20 (PIN_OUTPUT | MUX_MODE1) /* gpmc_ad8.lcd_data23 */
    0x24 (PIN_OUTPUT | MUX_MODE1) /* gpmc_ad9.lcd_data22 */
    0x28 (PIN_OUTPUT | MUX_MODE1) /* gpmc_ad10.lcd_data21 */
    0x2c (PIN_OUTPUT | MUX_MODE1) /* gpmc_ad11.lcd_data20 */
    0x30 (PIN_OUTPUT | MUX_MODE1) /* gpmc_ad12.lcd_data19 */
    0x34 (PIN_OUTPUT | MUX_MODE1) /* gpmc_ad13.lcd_data18 */
    0x38 (PIN_OUTPUT | MUX_MODE1) /* gpmc_ad14.lcd_data17 */
    0x3c (PIN_OUTPUT | MUX_MODE1) /* gpmc_ad15.lcd_data16 */
    0xa0 (PIN_OUTPUT | MUX_MODE0) /* lcd_data0.lcd_data0 */
    0xa4 (PIN_OUTPUT | MUX_MODE0) /* lcd_data1.lcd_data1 */
    0xa8 (PIN_OUTPUT | MUX_MODE0) /* lcd_data2.lcd_data2 */
    0xac (PIN_OUTPUT | MUX_MODE0) /* lcd_data3.lcd_data3 */
    0xb0 (PIN_OUTPUT | MUX_MODE0) /* lcd_data4.lcd_data4 */
    0xb4 (PIN_OUTPUT | MUX_MODE0) /* lcd_data5.lcd_data5 */
    0xb8 (PIN_OUTPUT | MUX_MODE0) /* lcd_data6.lcd_data6 */
    0xbc (PIN_OUTPUT | MUX_MODE0) /* lcd_data7.lcd_data7 */
    0xc0 (PIN_OUTPUT | MUX_MODE0) /* lcd_data8.lcd_data8 */
    0xc4 (PIN_OUTPUT | MUX_MODE0) /* lcd_data9.lcd_data9 */
    0xc8 (PIN_OUTPUT | MUX_MODE0) /* lcd_data10.lcd_data10 */
    0xcc (PIN_OUTPUT | MUX_MODE0) /* lcd_data11.lcd_data11 */
    0xd0 (PIN_OUTPUT | MUX_MODE0) /* lcd_data12.lcd_data12 */
    0xd4 (PIN_OUTPUT | MUX_MODE0) /* lcd_data13.lcd_data13 */
    0xd8 (PIN_OUTPUT | MUX_MODE0) /* lcd_data14.lcd_data14 */
    0xdc (PIN_OUTPUT | MUX_MODE0) /* lcd_data15.lcd_data15 */
    0xe0 (PIN_OUTPUT | MUX_MODE0) /* lcd_vsync.lcd_vsync */
    0xe4 (PIN_OUTPUT | MUX_MODE0) /* lcd_hsync.lcd_hsync */
    0xe8 (PIN_OUTPUT | MUX_MODE0) /* lcd_pclk.lcd_pclk */
    0xec (PIN_OUTPUT | MUX_MODE0) /* lcd_ac_bias_en.lcd_ac_bias_en */
    >;
    };

    lcd_pins_sleep: lcd_pins_sleep {
    pinctrl-single,pins = <
    0x20 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad8.lcd_data23 */
    0x24 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad9.lcd_data22 */
    0x28 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad10.lcd_data21 */
    0x2c (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad11.lcd_data20 */
    0x30 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad12.lcd_data19 */
    0x34 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad13.lcd_data18 */
    0x38 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad14.lcd_data17 */
    0x3c (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad15.lcd_data16 */
    0xa0 (PULL_DISABLE | MUX_MODE7) /* lcd_data0.lcd_data0 */
    0xa4 (PULL_DISABLE | MUX_MODE7) /* lcd_data1.lcd_data1 */
    0xa8 (PULL_DISABLE | MUX_MODE7) /* lcd_data2.lcd_data2 */
    0xac (PULL_DISABLE | MUX_MODE7) /* lcd_data3.lcd_data3 */
    0xb0 (PULL_DISABLE | MUX_MODE7) /* lcd_data4.lcd_data4 */
    0xb4 (PULL_DISABLE | MUX_MODE7) /* lcd_data5.lcd_data5 */
    0xb8 (PULL_DISABLE | MUX_MODE7) /* lcd_data6.lcd_data6 */
    0xbc (PULL_DISABLE | MUX_MODE7) /* lcd_data7.lcd_data7 */
    0xc0 (PULL_DISABLE | MUX_MODE7) /* lcd_data8.lcd_data8 */
    0xc4 (PULL_DISABLE | MUX_MODE7) /* lcd_data9.lcd_data9 */
    0xc8 (PULL_DISABLE | MUX_MODE7) /* lcd_data10.lcd_data10 */
    0xcc (PULL_DISABLE | MUX_MODE7) /* lcd_data11.lcd_data11 */
    0xd0 (PULL_DISABLE | MUX_MODE7) /* lcd_data12.lcd_data12 */
    0xd4 (PULL_DISABLE | MUX_MODE7) /* lcd_data13.lcd_data13 */
    0xd8 (PULL_DISABLE | MUX_MODE7) /* lcd_data14.lcd_data14 */
    0xdc (PULL_DISABLE | MUX_MODE7) /* lcd_data15.lcd_data15 */
    0xe0 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* lcd_vsync.lcd_vsync */
    0xe4 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* lcd_hsync.lcd_hsync */
    0xe8 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* lcd_pclk.lcd_pclk */
    0xec (PIN_INPUT_PULLDOWN | MUX_MODE7) /* lcd_ac_bias_en.lcd_ac_bias_en */
    >;
    };


    user_leds_default: user_leds_default {
    pinctrl-single,pins = <
    0x1b0 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) // (A15) xdma_event_intr0.gpio0[19]
    0x1b4 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) // (D14) xdma_event_intr0.gpio0[20]
    0x124 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) // (K16) gmii1_txd1.gpio0[21]
    0x128 ( PIN_INPUT_PULLUP | MUX_MODE7 ) // (K17) gmii1_txd0.gpio0[28]
    0x1ac ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) // (A14) mcasp0_ahclkx.gpio3[21]
    0x118 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) // (J17) gmii1_txen.gpio3[4]
    0x11c ( PIN_INPUT_PULLUP | MUX_MODE7 ) // (J18) gmii1_txd3.gpio0[16]
    0x14 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) // (V8) gpmc_ad5.gpio1[5]
    0x18 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) // (R9) gpmc_ad6.gpio1[6]
    0x1c ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) // (T9) gpmc_ad7.gpio1[7]
    0x13c ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) // (L15) gmii1_rxd1.gpio2[20]
    0x140 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) // (M16) gmii1_rxd0.gpio2[21]
    0x15c ( PIN_INPUT_PULLUP | MUX_MODE7 ) // (A16) spi0_cs0.gpio0[5]
    0x16c ( PIN_INPUT_PULLUP | MUX_MODE7 ) // (E17) uart0_rtsn.gpio1[9]
    >;
    };

    user_leds_sleep: user_leds_sleep {
    pinctrl-single,pins = <
    0x1b0 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) // (A15) xdma_event_intr0.gpio0[19]
    0x1b4 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) // (D14) xdma_event_intr0.gpio0[20]
    0x124 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) // (K16) gmii1_txd1.gpio0[21]
    0x128 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) // (K17) gmii1_txd0.gpio0[28]
    0x1ac ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) // (A14) mcasp0_ahclkx.gpio3[21]
    0x118 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) // (J16) gmii1_txen.gpio3[4]
    0x11c ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) // (J18) gmii1_txd3.gpio0[16]
    0x14 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) // (V8) gpmc_ad5.gpio1[5]
    0x18 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) // (R9) gpmc_ad6.gpio1[6]
    0x1c ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) // (T9) gpmc_ad7.gpio1[7]
    0x13c ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) // (L15) gmii1_rxd1.gpio2[20]
    0x140 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) // (M16) gmii1_rxd0.gpio2[21]
    0x15c ( PIN_INPUT_PULLUP | MUX_MODE7 ) // (A16) spi0_cs0.gpio0[5]
    0x16c ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) // (E17) uart0_rtsn.gpio1[9]
    >;
    };

    gpio_keys_s0: gpio_keys_s0 {
    pinctrl-single,pins = <
    0x94 (PIN_INPUT_PULLDOWN | MUX_MODE7) // gpmc_oen_ren.gpio2_3
    0x90 (PIN_INPUT_PULLDOWN | MUX_MODE7) // gpmc_advn_ale.gpio2_2
    0x9c (PIN_INPUT_PULLDOWN | MUX_MODE7) // gpmc_ben0_cle.gpio2_5
    0x10 ( PIN_INPUT_PULLUP | MUX_MODE7 ) // (U8) gpmc_ad4.gpio1[4]
    0x98 ( PIN_INPUT_PULLUP | MUX_MODE7 ) // (U6) gpmc_wen.gpio2[4]
    0x1a0 ( PIN_INPUT_PULLUP | MUX_MODE7 ) // (B12) mcasp0_aclkr.gpio3[18]
    0x1a4 ( PIN_INPUT_PULLUP | MUX_MODE7 ) // (C13) mcasp0_fsr.gpio3[19]
    >;
    };


    gpio1_pins_default: gpio1_pins_default {
    pinctrl-single,pins = <
    0x168 ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (E18) uart0_ctsn.gpio1[8] */

    >;
    };


    gpio1_pins_sleep: gpio1_pins_sleep {
    pinctrl-single,pins = <
    0x168 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (E18) uart0_ctsn.gpio1[8] */
    >;
    };


    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 */
    >;
    };


    ecap1_pins_default: ecap1_pins_default {
    pinctrl-single,pins = <
    0x160 ( PIN_INPUT_PULLUP | MUX_MODE2 ) // (C15) spi0_cs1.gpio0[6]
    >;
    };


    ecap1_pins_sleep: ecap1_pins_sleep {
    pinctrl-single,pins = <
    0x160 (PIN_INPUT | MUX_MODE7) // (C15) spi0_cs1.gpio0[6]
    >;
    };


    ecap2_pins_default: ecap2_pins_default {
    pinctrl-single,pins = <
    0x19c ( PIN_INPUT_PULLUP | MUX_MODE4 ) // (c12) mcasp0_ahclkr.ecap2_in_pwm2_out MODE4 gpio3[17]
    >;
    };


    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_MODE2 ) // (U18) gpmc_be1n.gmii2_col
    0x70 ( PIN_INPUT_PULLDOWN | MUX_MODE2 ) // (T17) gpmc_wait0.gmii2_crs
    0x74 ( PIN_INPUT_PULLDOWN | MUX_MODE2 ) // (U17) gpmc_wpn.gmii2_rxer
    0x40 ( PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) // (R13) gpmc_a0.gmii2_txen
    0x44 ( PIN_INPUT_PULLDOWN | MUX_MODE2 ) // (V14) gpmc_a1.gmii2_rxdv
    0x58 ( PIN_INPUT_PULLDOWN | MUX_MODE2 ) // (U15) gpmc_a6.gmii2_txclk
    0x5c ( PIN_INPUT_PULLDOWN | MUX_MODE2 ) // (T15) gpmc_a7.gmii2_rxclk
    0x54 ( PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) // (V15) gpmc_a5.gmii2_txd0
    0x50 ( PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) // (R14) gpmc_a4.gmii2_txd1
    0x4c ( PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) // (T14) gpmc_a3.gmii2_txd2
    0x48 ( PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) // (U14) gpmc_a2.gmii2_txd3
    0x6c ( PIN_INPUT_PULLDOWN | MUX_MODE2 ) // (V17) gpmc_a11.gmii2_rxd0
    0x68 ( PIN_INPUT_PULLDOWN | MUX_MODE2 ) // (T16) gpmc_a10.gmii2_rxd1
    0x64 ( PIN_INPUT_PULLDOWN | MUX_MODE2 ) // (U16) gpmc_a9.gmii2_rxd2
    0x60 ( PIN_INPUT_PULLDOWN | MUX_MODE2 ) // (V16) gpmc_a8.gmii2_rxd3

    >;
    };

    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) // (M17) mdio_data.mdio_data
    0x14c (PIN_OUTPUT_PULLUP | MUX_MODE0) // (M18) 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)
    >;
    };


    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_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)
    >;
    };

    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)
    >;
    };

    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 */
    >;
    };

    spi0_pins_default: spi0_pins_default {
    pinctrl-single,pins = <
    0x150 ( PIN_INPUT_PULLUP | MUX_MODE0 ) /* (A17) spi0_sclk.spi0_sclk */
    0x154 ( PIN_INPUT_PULLUP | MUX_MODE0 ) /* (B17) spi0_d0.spi0_d0 */
    0x158 ( PIN_INPUT_PULLUP | MUX_MODE0 ) /* (B16) spi0_d1.spi0_d1 */
    >;
    };


    spi1_pins_default: spi1_pins_default {
    pinctrl-single,pins = <
    0x190 ( PIN_INPUT_PULLUP | MUX_MODE3 ) /* (A13) mcasp0_aclkx.spi1_sclk */
    0x194 ( PIN_INPUT_PULLUP | MUX_MODE3 ) /* (B13) mcasp0_fsx.spi1_d0 */
    0x198 ( PIN_INPUT_PULLUP | MUX_MODE3 ) /* (D12) mcasp0_axr0.spi1_d1 */
    >;
    };


    wl12xx_gpio: pinmux_wl12xx_gpio {
    pinctrl-single,pins = <
    0x7c (PIN_OUTPUT_PULLUP | MUX_MODE7) // gpmc_csn0.gpio1_29
    0x114 ( PIN_INPUT | MUX_MODE7 ) // (J16) gmii1_txen.gpio3[3] WL_IRQ
    0x120 ( PIN_OUTPUT_PULLUP | MUX_MODE7 )// gpmc_ad12.gpio1_12 BT_EN
    >;
    };

    /* 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_PULLUP | MUX_MODE7 )// gpmc_ad12.gpio1_12 BT_EN

    >;
    };


    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

    >;
    };

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



    uart1_pins_sleep: pinmux_uart1_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
    >;
    };

    /*usb1_pins: usb1_pins {
    pinctrl-single,pins = <
    0x21c (PIN_OUTPUT | MUX_MODE0) // usb0_drvvbus.usb0_drvvbus
    >;
    };*/


    };


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

    status = "okay";
    };


    &uart1 {
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&uart1_pins_default>;
    pinctrl-1 = <&uart1_pins_sleep>;

    status = "okay";
    };


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

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

    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>;
    };

    extgpio0: pcf8574@20 {
    compatible = "nxp,pcf8574";
    reg = <0x20>;
    gpio-controller;
    #gpio-cells = <2>;
    reset_fg_i2c_mux{
    gpio-hog;
    gpios = <0 0>;
    output-high;
    };

    battery_1_enable{
    gpio-hog;
    gpios = <6 0>;
    output-high;
    };
    };

    extgpio1: pcf8574@21 {
    compatible = "nxp,pcf8574";
    reg = <0x21>;
    gpio-controller;
    #gpio-cells = <2>;
    };

    extgpio2: pcf8574@22 {
    compatible = "nxp,pcf8574";
    reg = <0x22>;
    gpio-controller;
    #gpio-cells = <2>;
    };

    extgpio3: tca9554@70 {
    compatible = "ti,tca9554";
    reg = <0x70>;
    gpio-controller;
    #gpio-cells = <2>;
    };

    s35390a: s35390a@30 {
    compatible = "s35390a";
    reg = <0x30>;
    status = "okay";
    };
    };



    &usb {
    status = "okay";
    };

    &usb_ctrl_mod {
    status = "okay";
    };

    &usb0_phy {
    status = "okay";
    };

    &usb1_phy {
    status = "okay";
    };

    &usb0 {
    status = "okay";
    };

    &usb1 {
    status = "okay";
    dr_mode = "host";
    };


    &cppi41dma {
    status = "okay";
    };


    &epwmss1{
    status = "okay";
    ecap1: ecap@48302100 {
    compatible = "ti,am33xx-ecap";
    #pwm-cells = <3>;
    reg = <0x48302100 0x80>;
    interrupts = <31>;
    interrupt-names = "ecap1";
    ti,hwmods = "ecap1";
    status = "okay";
    pinctrl-names = "default", "sleep";

    pinctrl-0 = <&ecap1_pins_default>;
    pinctrl-1 = <&ecap1_pins_sleep>;
    };

    };


    &epwmss2{
    status = "okay";
    ecap2: ecap@48304100 {
    compatible = "ti,am33xx-ecap";
    #pwm-cells = <3>;
    reg = <0x48304100 0x80>;
    interrupts = <47>;
    interrupt-names = "ecap2";
    ti,hwmods = "ecap2";
    status = "okay";
    pinctrl-names = "default", "sleep";

    pinctrl-0 = <&ecap2_pins_default>;
    pinctrl-1 = <&ecap2_pins_sleep>;
    };
    };


    #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>;
    status = "okay";
    };


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

    &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>;
    };



    &sham {
    status = "okay";
    };

    &aes {
    status = "okay";
    };

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

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


    &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>;
    };


    &mmc2 {
    /* these are on the crossbar and are outlined in the
    xbar-event-map element */
    dmas = <&edma 12
    &edma 13>;
    dma-names = "tx", "rx";
    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@2 {
    compatible = "ti,wl1835";
    reg = <2>;
    interrupt-parent = <&gpio3>;
    interrupts = <3 IRQ_TYPE_LEVEL_HIGH>;
    };
    };


    &mcasp1 {
    pinctrl-names = "default";
    pinctrl-0 = <&mcasp1_pins>;

    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>;

    };
    adc {

    ti,adc-channels = <4 5 6 7>;

    };
    };


    &lcdc {
    status = "okay";
    };


    &spi0 {
    compatible = "ti,omap4-mcspi";
    #address-cells = <1>;
    #size-cells = <0>;
    reg = <0x48030000 0x400>;
    interrupts = <65>;
    ti,spi-num-cs = <2>;
    ti,pindir-d0-out-d1-in;
    pinctrl-names = "default";
    pinctrl-0 = <&spi0_pins_default>;
    ti,hwmods = "spi0";
    clocks = <&dpll_per_m2_div4_ck>;
    clock-names = "fck";
    clock-frequency = <1000000>;
    dmas = <&edma 16
    &edma 17
    &edma 18
    &edma 19>;
    dma-names = "tx0", "rx0", "tx1", "rx1";
    status = "okay";
    spidev:spidev@0{
    compatible = "spidev";
    reg = <0>;
    spi-max-frequency = <10000000>;
    };
    };


    &spi1 {
    compatible = "ti,omap4-mcspi";
    #address-cells = <1>;
    #size-cells = <0>;
    reg = <0x481a0000 0x400>;
    interrupts = <125>;
    ti,spi-num-cs = <2>;
    ti,pindir-d0-out-d1-in;
    pinctrl-names = "default";
    pinctrl-0 = <&spi1_pins_default>;
    ti,hwmods = "spi1";
    clocks = <&dpll_per_m2_div4_ck>;
    clock-names = "fck";
    clock-frequency = <1000000>;
    dmas = <&edma 42
    &edma 43
    &edma 44
    &edma 45>;
    dma-names = "tx0", "rx0", "tx1", "rx1";
    status = "okay";
    spidev1:spidev@1{
    compatible = "spidev";
    reg = <1>;
    spi-max-frequency = <10000000>;
    };
    };

    Is DTS file declered OK accord BLE and WIFI ?

    Thanks Oded
  • Hi Gigi,

    After update RTC , BLE now work OK!
    But now I have no WIFI enable. when I doing ifconfig -a after boot process, there is no wlan0.
    attach is my am335x-evmsk.dts file and I want to ask if BLE WIFI declared ok?

    /*
    * 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;
    };

    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;
    };


    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>;
    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 = "HE910_SHTDOWN";
    gpios = <&gpio0 21 GPIO_ACTIVE_HIGH>;
    default-state = "off";

    };

    led@2 {
    label = "HE910_ONOFF";
    gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>;
    default-state = "on";

    };

    led@3 {
    label = "LCD_ENABLE";
    gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>;
    default-state = "on";
    };
    led@4 {
    label = "CS_SPI1";
    gpios = <&gpio3 4 GPIO_ACTIVE_HIGH>;
    default-state = "off";
    };

    led@5 {
    label = "CODEC_RESET";
    gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
    default-state = "on";
    };


    led@6 {
    label = "LED_RGB_GREEN";
    gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
    default-state = "on";
    };
    led@7 {
    label = "LED_RGB_RED";
    gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
    default-state = "on";
    };
    led@8 {
    label = "LED_RGB_BLUE";
    gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
    default-state = "on";
    };

    led@9 {
    label = "SDN_RFID1";
    gpios = <&gpio2 20 GPIO_ACTIVE_HIGH>;
    default-state = "on";
    };
    led@10 {
    label = "SDN_RFID0";
    gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>;
    default-state = "on";
    };

    led@11 {
    label = "CS_SPI0";
    gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>;
    default-state = "on";
    };

    led@12 {
    label = "FINGER_WAKE";
    gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
    default-state = "on";
    };

    led@13 {
    label = "CLOCK_24MHZ";
    gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
    default-state = "off";
    };

    led@14 {
    label = "CLOCK_32MHZ";
    gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
    default-state = "off";
    };

    };

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

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

    switch@2 {
    label = "button2";
    debounce-interval = <0>;
    linux,code = <0x101>;
    gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>;
    };
    switch@3 {
    label = "button3";
    debounce-interval = <0>;
    linux,code = <0x102>;
    gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;
    };
    switch@4 {
    label = "button4";
    debounce-interval = <0>;
    linux,code = <0x103>;
    gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
    };
    switch@5 {
    label = "button5";
    debounce-interval = <0>;
    linux,code = <0x104>;
    gpios = <&gpio2 4 GPIO_ACTIVE_HIGH>;
    };
    switch@6 {
    label = "rf_irq_1";
    debounce-interval = <0>;
    linux,code = <0x105>;
    gpios = <&gpio3 19 GPIO_ACTIVE_HIGH>;
    };
    switch@7 {
    label = "rf_irq_2";
    debounce-interval = <0>;
    //linux,input-type = <0>;
    linux,code = <0x106>;
    gpios = <&gpio3 18 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/ttyS1";
    flow_cntrl = <1>;
    baud_rate = <3000000>;
    };

    btwilink {
    compatible = "btwilink";
    };


    fuel_gauge@55000000 {
    compatible = "sc,pcom1.1-fuel_gauge,alpha";
    #address-cells = <0x1>;
    #size-cells = <0x0>;
    design_capacity = <0x1f40> ;
    design_energy = <0x73a0> ;
    terminate_voltage = <0xcb2> ;
    taper_rate = <0x91> ;
    number_of_batteries = <0x02> ;
    mux_exist = <0x1> ;
    };

    };


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


    ddr3_vtt_toggle: ddr3_vtt_toggle {
    pinctrl-single,pins = <
    0x164 (PIN_OUTPUT | MUX_MODE7) /* ecap0_in_pwm0_out.gpio0_7 */
    >;
    };

    lcd_pins_default: lcd_pins_default {
    pinctrl-single,pins = <
    0x20 (PIN_OUTPUT | MUX_MODE1) /* gpmc_ad8.lcd_data23 */
    0x24 (PIN_OUTPUT | MUX_MODE1) /* gpmc_ad9.lcd_data22 */
    0x28 (PIN_OUTPUT | MUX_MODE1) /* gpmc_ad10.lcd_data21 */
    0x2c (PIN_OUTPUT | MUX_MODE1) /* gpmc_ad11.lcd_data20 */
    0x30 (PIN_OUTPUT | MUX_MODE1) /* gpmc_ad12.lcd_data19 */
    0x34 (PIN_OUTPUT | MUX_MODE1) /* gpmc_ad13.lcd_data18 */
    0x38 (PIN_OUTPUT | MUX_MODE1) /* gpmc_ad14.lcd_data17 */
    0x3c (PIN_OUTPUT | MUX_MODE1) /* gpmc_ad15.lcd_data16 */
    0xa0 (PIN_OUTPUT | MUX_MODE0) /* lcd_data0.lcd_data0 */
    0xa4 (PIN_OUTPUT | MUX_MODE0) /* lcd_data1.lcd_data1 */
    0xa8 (PIN_OUTPUT | MUX_MODE0) /* lcd_data2.lcd_data2 */
    0xac (PIN_OUTPUT | MUX_MODE0) /* lcd_data3.lcd_data3 */
    0xb0 (PIN_OUTPUT | MUX_MODE0) /* lcd_data4.lcd_data4 */
    0xb4 (PIN_OUTPUT | MUX_MODE0) /* lcd_data5.lcd_data5 */
    0xb8 (PIN_OUTPUT | MUX_MODE0) /* lcd_data6.lcd_data6 */
    0xbc (PIN_OUTPUT | MUX_MODE0) /* lcd_data7.lcd_data7 */
    0xc0 (PIN_OUTPUT | MUX_MODE0) /* lcd_data8.lcd_data8 */
    0xc4 (PIN_OUTPUT | MUX_MODE0) /* lcd_data9.lcd_data9 */
    0xc8 (PIN_OUTPUT | MUX_MODE0) /* lcd_data10.lcd_data10 */
    0xcc (PIN_OUTPUT | MUX_MODE0) /* lcd_data11.lcd_data11 */
    0xd0 (PIN_OUTPUT | MUX_MODE0) /* lcd_data12.lcd_data12 */
    0xd4 (PIN_OUTPUT | MUX_MODE0) /* lcd_data13.lcd_data13 */
    0xd8 (PIN_OUTPUT | MUX_MODE0) /* lcd_data14.lcd_data14 */
    0xdc (PIN_OUTPUT | MUX_MODE0) /* lcd_data15.lcd_data15 */
    0xe0 (PIN_OUTPUT | MUX_MODE0) /* lcd_vsync.lcd_vsync */
    0xe4 (PIN_OUTPUT | MUX_MODE0) /* lcd_hsync.lcd_hsync */
    0xe8 (PIN_OUTPUT | MUX_MODE0) /* lcd_pclk.lcd_pclk */
    0xec (PIN_OUTPUT | MUX_MODE0) /* lcd_ac_bias_en.lcd_ac_bias_en */
    >;
    };

    lcd_pins_sleep: lcd_pins_sleep {
    pinctrl-single,pins = <
    0x20 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad8.lcd_data23 */
    0x24 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad9.lcd_data22 */
    0x28 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad10.lcd_data21 */
    0x2c (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad11.lcd_data20 */
    0x30 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad12.lcd_data19 */
    0x34 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad13.lcd_data18 */
    0x38 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad14.lcd_data17 */
    0x3c (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad15.lcd_data16 */
    0xa0 (PULL_DISABLE | MUX_MODE7) /* lcd_data0.lcd_data0 */
    0xa4 (PULL_DISABLE | MUX_MODE7) /* lcd_data1.lcd_data1 */
    0xa8 (PULL_DISABLE | MUX_MODE7) /* lcd_data2.lcd_data2 */
    0xac (PULL_DISABLE | MUX_MODE7) /* lcd_data3.lcd_data3 */
    0xb0 (PULL_DISABLE | MUX_MODE7) /* lcd_data4.lcd_data4 */
    0xb4 (PULL_DISABLE | MUX_MODE7) /* lcd_data5.lcd_data5 */
    0xb8 (PULL_DISABLE | MUX_MODE7) /* lcd_data6.lcd_data6 */
    0xbc (PULL_DISABLE | MUX_MODE7) /* lcd_data7.lcd_data7 */
    0xc0 (PULL_DISABLE | MUX_MODE7) /* lcd_data8.lcd_data8 */
    0xc4 (PULL_DISABLE | MUX_MODE7) /* lcd_data9.lcd_data9 */
    0xc8 (PULL_DISABLE | MUX_MODE7) /* lcd_data10.lcd_data10 */
    0xcc (PULL_DISABLE | MUX_MODE7) /* lcd_data11.lcd_data11 */
    0xd0 (PULL_DISABLE | MUX_MODE7) /* lcd_data12.lcd_data12 */
    0xd4 (PULL_DISABLE | MUX_MODE7) /* lcd_data13.lcd_data13 */
    0xd8 (PULL_DISABLE | MUX_MODE7) /* lcd_data14.lcd_data14 */
    0xdc (PULL_DISABLE | MUX_MODE7) /* lcd_data15.lcd_data15 */
    0xe0 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* lcd_vsync.lcd_vsync */
    0xe4 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* lcd_hsync.lcd_hsync */
    0xe8 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* lcd_pclk.lcd_pclk */
    0xec (PIN_INPUT_PULLDOWN | MUX_MODE7) /* lcd_ac_bias_en.lcd_ac_bias_en */
    >;
    };


    user_leds_default: user_leds_default {
    pinctrl-single,pins = <
    0x1b0 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) // (A15) xdma_event_intr0.gpio0[19]
    0x1b4 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) // (D14) xdma_event_intr0.gpio0[20]
    0x124 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) // (K16) gmii1_txd1.gpio0[21]
    0x128 ( PIN_INPUT_PULLUP | MUX_MODE7 ) // (K17) gmii1_txd0.gpio0[28]
    0x1ac ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) // (A14) mcasp0_ahclkx.gpio3[21]
    0x118 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) // (J17) gmii1_txen.gpio3[4]
    0x11c ( PIN_INPUT_PULLUP | MUX_MODE7 ) // (J18) gmii1_txd3.gpio0[16]
    0x14 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) // (V8) gpmc_ad5.gpio1[5]
    0x18 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) // (R9) gpmc_ad6.gpio1[6]
    0x1c ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) // (T9) gpmc_ad7.gpio1[7]
    0x13c ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) // (L15) gmii1_rxd1.gpio2[20]
    0x140 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) // (M16) gmii1_rxd0.gpio2[21]
    0x15c ( PIN_INPUT_PULLUP | MUX_MODE7 ) // (A16) spi0_cs0.gpio0[5]
    0x16c ( PIN_INPUT_PULLUP | MUX_MODE7 ) // (E17) uart0_rtsn.gpio1[9]
    >;
    };

    user_leds_sleep: user_leds_sleep {
    pinctrl-single,pins = <
    0x1b0 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) // (A15) xdma_event_intr0.gpio0[19]
    0x1b4 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) // (D14) xdma_event_intr0.gpio0[20]
    0x124 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) // (K16) gmii1_txd1.gpio0[21]
    0x128 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) // (K17) gmii1_txd0.gpio0[28]
    0x1ac ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) // (A14) mcasp0_ahclkx.gpio3[21]
    0x118 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) // (J16) gmii1_txen.gpio3[4]
    0x11c ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) // (J18) gmii1_txd3.gpio0[16]
    0x14 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) // (V8) gpmc_ad5.gpio1[5]
    0x18 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) // (R9) gpmc_ad6.gpio1[6]
    0x1c ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) // (T9) gpmc_ad7.gpio1[7]
    0x13c ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) // (L15) gmii1_rxd1.gpio2[20]
    0x140 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) // (M16) gmii1_rxd0.gpio2[21]
    0x15c ( PIN_INPUT_PULLUP | MUX_MODE7 ) // (A16) spi0_cs0.gpio0[5]
    0x16c ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) // (E17) uart0_rtsn.gpio1[9]
    >;
    };

    gpio_keys_s0: gpio_keys_s0 {
    pinctrl-single,pins = <
    0x94 (PIN_INPUT_PULLDOWN | MUX_MODE7) // gpmc_oen_ren.gpio2_3
    0x90 (PIN_INPUT_PULLDOWN | MUX_MODE7) // gpmc_advn_ale.gpio2_2
    0x9c (PIN_INPUT_PULLDOWN | MUX_MODE7) // gpmc_ben0_cle.gpio2_5
    0x10 ( PIN_INPUT_PULLUP | MUX_MODE7 ) // (U8) gpmc_ad4.gpio1[4]
    0x98 ( PIN_INPUT_PULLUP | MUX_MODE7 ) // (U6) gpmc_wen.gpio2[4]
    0x1a0 ( PIN_INPUT_PULLUP | MUX_MODE7 ) // (B12) mcasp0_aclkr.gpio3[18]
    0x1a4 ( PIN_INPUT_PULLUP | MUX_MODE7 ) // (C13) mcasp0_fsr.gpio3[19]
    >;
    };


    gpio1_pins_default: gpio1_pins_default {
    pinctrl-single,pins = <
    0x168 ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (E18) uart0_ctsn.gpio1[8] */

    >;
    };


    gpio1_pins_sleep: gpio1_pins_sleep {
    pinctrl-single,pins = <
    0x168 ( PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (E18) uart0_ctsn.gpio1[8] */
    >;
    };


    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 */
    >;
    };


    ecap1_pins_default: ecap1_pins_default {
    pinctrl-single,pins = <
    0x160 ( PIN_INPUT_PULLUP | MUX_MODE2 ) // (C15) spi0_cs1.gpio0[6]
    >;
    };


    ecap1_pins_sleep: ecap1_pins_sleep {
    pinctrl-single,pins = <
    0x160 (PIN_INPUT | MUX_MODE7) // (C15) spi0_cs1.gpio0[6]
    >;
    };


    ecap2_pins_default: ecap2_pins_default {
    pinctrl-single,pins = <
    0x19c ( PIN_INPUT_PULLUP | MUX_MODE4 ) // (c12) mcasp0_ahclkr.ecap2_in_pwm2_out MODE4 gpio3[17]
    >;
    };


    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_MODE2 ) // (U18) gpmc_be1n.gmii2_col
    0x70 ( PIN_INPUT_PULLDOWN | MUX_MODE2 ) // (T17) gpmc_wait0.gmii2_crs
    0x74 ( PIN_INPUT_PULLDOWN | MUX_MODE2 ) // (U17) gpmc_wpn.gmii2_rxer
    0x40 ( PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) // (R13) gpmc_a0.gmii2_txen
    0x44 ( PIN_INPUT_PULLDOWN | MUX_MODE2 ) // (V14) gpmc_a1.gmii2_rxdv
    0x58 ( PIN_INPUT_PULLDOWN | MUX_MODE2 ) // (U15) gpmc_a6.gmii2_txclk
    0x5c ( PIN_INPUT_PULLDOWN | MUX_MODE2 ) // (T15) gpmc_a7.gmii2_rxclk
    0x54 ( PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) // (V15) gpmc_a5.gmii2_txd0
    0x50 ( PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) // (R14) gpmc_a4.gmii2_txd1
    0x4c ( PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) // (T14) gpmc_a3.gmii2_txd2
    0x48 ( PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) // (U14) gpmc_a2.gmii2_txd3
    0x6c ( PIN_INPUT_PULLDOWN | MUX_MODE2 ) // (V17) gpmc_a11.gmii2_rxd0
    0x68 ( PIN_INPUT_PULLDOWN | MUX_MODE2 ) // (T16) gpmc_a10.gmii2_rxd1
    0x64 ( PIN_INPUT_PULLDOWN | MUX_MODE2 ) // (U16) gpmc_a9.gmii2_rxd2
    0x60 ( PIN_INPUT_PULLDOWN | MUX_MODE2 ) // (V16) gpmc_a8.gmii2_rxd3

    >;
    };

    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) // (M17) mdio_data.mdio_data
    0x14c (PIN_OUTPUT_PULLUP | MUX_MODE0) // (M18) 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)
    >;
    };


    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_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)
    >;
    };

    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)
    >;
    };

    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 */
    >;
    };

    spi0_pins_default: spi0_pins_default {
    pinctrl-single,pins = <
    0x150 ( PIN_INPUT_PULLUP | MUX_MODE0 ) /* (A17) spi0_sclk.spi0_sclk */
    0x154 ( PIN_INPUT_PULLUP | MUX_MODE0 ) /* (B17) spi0_d0.spi0_d0 */
    0x158 ( PIN_INPUT_PULLUP | MUX_MODE0 ) /* (B16) spi0_d1.spi0_d1 */
    >;
    };


    spi1_pins_default: spi1_pins_default {
    pinctrl-single,pins = <
    0x190 ( PIN_INPUT_PULLUP | MUX_MODE3 ) /* (A13) mcasp0_aclkx.spi1_sclk */
    0x194 ( PIN_INPUT_PULLUP | MUX_MODE3 ) /* (B13) mcasp0_fsx.spi1_d0 */
    0x198 ( PIN_INPUT_PULLUP | MUX_MODE3 ) /* (D12) mcasp0_axr0.spi1_d1 */
    >;
    };


    wl12xx_gpio: pinmux_wl12xx_gpio {
    pinctrl-single,pins = <
    0x7c (PIN_OUTPUT_PULLUP | MUX_MODE7) // gpmc_csn0.gpio1_29
    0x114 ( PIN_INPUT | MUX_MODE7 ) // (J16) gmii1_txen.gpio3[3] WL_IRQ
    0x120 ( PIN_OUTPUT_PULLUP | MUX_MODE7 )// gpmc_ad12.gpio1_12 BT_EN
    >;
    };

    /* 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_PULLUP | MUX_MODE7 )// gpmc_ad12.gpio1_12 BT_EN

    >;
    };


    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

    >;
    };

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



    uart1_pins_sleep: pinmux_uart1_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
    >;
    };

    /*usb1_pins: usb1_pins {
    pinctrl-single,pins = <
    0x21c (PIN_OUTPUT | MUX_MODE0) // usb0_drvvbus.usb0_drvvbus
    >;
    };*/


    };


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

    status = "okay";
    };


    &uart1 {
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&uart1_pins_default>;
    pinctrl-1 = <&uart1_pins_sleep>;

    status = "okay";
    };


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

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

    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>;
    };

    extgpio0: pcf8574@20 {
    compatible = "nxp,pcf8574";
    reg = <0x20>;
    gpio-controller;
    #gpio-cells = <2>;
    reset_fg_i2c_mux{
    gpio-hog;
    gpios = <0 0>;
    output-high;
    };

    battery_1_enable{
    gpio-hog;
    gpios = <6 0>;
    output-high;
    };
    };

    extgpio1: pcf8574@21 {
    compatible = "nxp,pcf8574";
    reg = <0x21>;
    gpio-controller;
    #gpio-cells = <2>;
    };

    extgpio2: pcf8574@22 {
    compatible = "nxp,pcf8574";
    reg = <0x22>;
    gpio-controller;
    #gpio-cells = <2>;
    };

    extgpio3: tca9554@70 {
    compatible = "ti,tca9554";
    reg = <0x70>;
    gpio-controller;
    #gpio-cells = <2>;
    };

    s35390a: s35390a@30 {
    compatible = "s35390a";
    reg = <0x30>;
    status = "okay";
    };
    };



    &usb {
    status = "okay";
    };

    &usb_ctrl_mod {
    status = "okay";
    };

    &usb0_phy {
    status = "okay";
    };

    &usb1_phy {
    status = "okay";
    };

    &usb0 {
    status = "okay";
    };

    &usb1 {
    status = "okay";
    dr_mode = "host";
    };


    &cppi41dma {
    status = "okay";
    };


    &epwmss1{
    status = "okay";
    ecap1: ecap@48302100 {
    compatible = "ti,am33xx-ecap";
    #pwm-cells = <3>;
    reg = <0x48302100 0x80>;
    interrupts = <31>;
    interrupt-names = "ecap1";
    ti,hwmods = "ecap1";
    status = "okay";
    pinctrl-names = "default", "sleep";

    pinctrl-0 = <&ecap1_pins_default>;
    pinctrl-1 = <&ecap1_pins_sleep>;
    };

    };


    &epwmss2{
    status = "okay";
    ecap2: ecap@48304100 {
    compatible = "ti,am33xx-ecap";
    #pwm-cells = <3>;
    reg = <0x48304100 0x80>;
    interrupts = <47>;
    interrupt-names = "ecap2";
    ti,hwmods = "ecap2";
    status = "okay";
    pinctrl-names = "default", "sleep";

    pinctrl-0 = <&ecap2_pins_default>;
    pinctrl-1 = <&ecap2_pins_sleep>;
    };
    };


    #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>;
    status = "okay";
    };


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

    &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>;
    };



    &sham {
    status = "okay";
    };

    &aes {
    status = "okay";
    };

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

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


    &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>;
    };


    &mmc2 {
    /* these are on the crossbar and are outlined in the
    xbar-event-map element */
    dmas = <&edma 12
    &edma 13>;
    dma-names = "tx", "rx";
    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@2 {
    compatible = "ti,wl1835";
    reg = <2>;
    interrupt-parent = <&gpio3>;
    interrupts = <3 IRQ_TYPE_LEVEL_HIGH>;
    };
    };


    &mcasp1 {
    pinctrl-names = "default";
    pinctrl-0 = <&mcasp1_pins>;

    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>;

    };
    adc {

    ti,adc-channels = <4 5 6 7>;

    };
    };


    &lcdc {
    status = "okay";
    };


    &spi0 {
    compatible = "ti,omap4-mcspi";
    #address-cells = <1>;
    #size-cells = <0>;
    reg = <0x48030000 0x400>;
    interrupts = <65>;
    ti,spi-num-cs = <2>;
    ti,pindir-d0-out-d1-in;
    pinctrl-names = "default";
    pinctrl-0 = <&spi0_pins_default>;
    ti,hwmods = "spi0";
    clocks = <&dpll_per_m2_div4_ck>;
    clock-names = "fck";
    clock-frequency = <1000000>;
    dmas = <&edma 16
    &edma 17
    &edma 18
    &edma 19>;
    dma-names = "tx0", "rx0", "tx1", "rx1";
    status = "okay";
    spidev:spidev@0{
    compatible = "spidev";
    reg = <0>;
    spi-max-frequency = <10000000>;
    };
    };


    &spi1 {
    compatible = "ti,omap4-mcspi";
    #address-cells = <1>;
    #size-cells = <0>;
    reg = <0x481a0000 0x400>;
    interrupts = <125>;
    ti,spi-num-cs = <2>;
    ti,pindir-d0-out-d1-in;
    pinctrl-names = "default";
    pinctrl-0 = <&spi1_pins_default>;
    ti,hwmods = "spi1";
    clocks = <&dpll_per_m2_div4_ck>;
    clock-names = "fck";
    clock-frequency = <1000000>;
    dmas = <&edma 42
    &edma 43
    &edma 44
    &edma 45>;
    dma-names = "tx0", "rx0", "tx1", "rx1";
    status = "okay";
    spidev1:spidev@1{
    compatible = "spidev";
    reg = <1>;
    spi-max-frequency = <10000000>;
    };
    };


    Thanks Oded
  • Hi Oded,

    Sorry, I'm a little confused.
    You told earlier that wlan was working and BT was not working.

    So now after adding BT changes, WLAN stopped working? And if I'm right, you did not have to modify the dts for BT.

    For the WLAN dts changes, please refer to: processors.wiki.ti.com/.../WL18xx_Platform_Integration_Guide

    Regards,
    Gigi Joseph.
  • Hi Gigi,
    It's was my mistake...everything working well !!
    Thanks Oded.
  • Hi Oded,

    Thanks for the update, I will mark this as closed.

    Regards,
    Gigi Joseph.