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 Thinks Resolved

AM335x MMC CD does not send interrupt

Intellectual 740 points

Replies: 10

Views: 3934

Hi,

I work on Sitara am335x-evmsk base on ti-processor-sdk-linux-am335x-evm-02.00.00.00 os.

 the problem is that 48060000.mmc cd is not send an interrupt when the sd card are get out and in to cd base.

here is how mmc1 define in the DTS:

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

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

the result of "cat /proc/interrupts" is:

root@am335x-evm:~# cat /proc/interrupts
            CPU0
 16:       5148      INTC  68 Level     gp_timer
 19:          1      INTC  78 Level     wkup_m3_txev
 20:       3333      INTC  12 Level     edma
 22:         26      INTC  14 Level     edma_error
 61:          0  4804c000.gpio   4 Edge      button4
 91:          0  481ac000.gpio   1 Edge      48060000.mmc cd
 92:          0  481ac000.gpio   2 Edge      button2
 93:          0  481ac000.gpio   3 Edge      button1
 94:          0  481ac000.gpio   4 Edge      button5
 95:          0  481ac000.gpio   5 Edge      button3
126:          0  481ae000.gpio   3 Level     wl18xx
141:        491  481ae000.gpio  18 Edge      rf_irq_2
142:       1050  481ae000.gpio  19 Edge      rf_irq_1
155:         30      INTC  72 Level     44e09000.serial
156:       3678      INTC  73 Level     48022000.serial
157:       2540      INTC  70 Level     44e0b000.i2c
158:      10134      INTC  64 Level     mmc0
159:        274      INTC  28 Level     mmc1
161:          0      INTC  77 Level     wkup_m3
167:          0      INTC  75 Level     rtc1
168:          0      INTC  76 Level     rtc1
172:        434      INTC  41 Level     4a100000.ethernet
173:         29      INTC  42 Level     4a100000.ethernet
183:       1250      INTC  36 Level     tilcdc
184:         64      INTC  16 Level     TI-am335x-tsc, TI-am335x-adc
185:          0      INTC 109 Level     53100000.sham
187:          0      INTC  82 Level     4803c000.mcasp_tx

188:          0      INTC  83 Level     4803c000.mcasp_rx

189:          4      INTC 111 Level     48310000.rng
192:          1      INTC  18 Level     musb-hdrc.1.auto
193:         95      INTC  19 Level     musb-hdrc.2.auto
194:        149      INTC  17 Level     47400000.dma-controller
Err:          0
root@am335x-evm:~#

the result of "cat /sys/kernel/debug/gpio" is:

root@am335x-evm:~# cat /sys/kernel/debug/gpio
GPIOs 0-31, platform/44e07000.gpio, gpio:
 gpio-5   (?                   ) out hi
 gpio-7   (vtt                 ) out hi
 gpio-16  (?                   ) out hi
 gpio-19  (?                   ) out hi
 gpio-20  (?                   ) out hi
 gpio-21  (?                   ) out lo
 gpio-28  (?                   ) out hi

GPIOs 32-63, platform/4804c000.gpio, gpio:
 gpio-36  (button4             ) in  hi IRQ
 gpio-37  (?                   ) out lo
 gpio-38  (?                   ) out lo
 gpio-39  (?                   ) out lo
 gpio-40  (sysfs               ) in  lo
 gpio-41  (?                   ) out hi
 gpio-44  (kim                 ) out hi
 gpio-61  (wlan-en-regulator   ) out lo

GPIOs 64-95, platform/481ac000.gpio, gpio:
 gpio-64  (GPIO_LF_MOD         ) out lo
 gpio-65  (cd                  ) in  lo IRQ
 gpio-66  (button2             ) in  lo IRQ
 gpio-67  (button1             ) in  lo IRQ
 gpio-68  (button5             ) in  hi IRQ
 gpio-69  (button3             ) in  lo IRQ
 gpio-84  (?                   ) out lo
 gpio-85  (?                   ) out lo

GPIOs 96-127, platform/481ae000.gpio, gpio:
 gpio-100 (?                   ) out hi
 gpio-114 (rf_irq_2            ) in  lo IRQ
 gpio-115 (rf_irq_1            ) in  hi IRQ
 gpio-116 (phy_reset           ) out hi
 gpio-117 (?                   ) out lo

GPIOs 480-487, i2c/0-0070, tca9554, can sleep:

GPIOs 488-495, i2c/0-0022, pcf8574, can sleep:
 gpio-490 (sysfs               ) out lo
 gpio-491 (sysfs               ) in  hi
 gpio-492 (sysfs               ) in  hi
 gpio-493 (sysfs               ) in  hi
 gpio-494 (sysfs               ) in  lo
 gpio-495 (sysfs               ) in  hi

GPIOs 496-503, i2c/0-0021, pcf8574, can sleep:
 gpio-496 (sysfs               ) in  lo
 gpio-497 (sysfs               ) in  hi
 gpio-498 (sysfs               ) in  lo
 gpio-499 (sysfs               ) in  lo
 gpio-500 (sysfs               ) in  lo
 gpio-501 (sysfs               ) in  hi
 gpio-502 (sysfs               ) in  hi
 gpio-503 (sysfs               ) in  hi

GPIOs 504-511, i2c/0-0020, pcf8574, can sleep:
 gpio-504 (reset_fg_i2c_mux    ) out hi
 gpio-505 (sysfs               ) out lo
 gpio-506 (sysfs               ) out lo
 gpio-507 (sysfs               ) out lo
 gpio-508 (sysfs               ) out lo
 gpio-509 (sysfs               ) out lo
 gpio-510 (sysfs               ) out hi
 gpio-511 (sysfs               ) out lo
root@am335x-evm:~#

What can be the problem that mmc cd not send interrupt?

Thanks Oded

  • Is this a Starter Kit or custom board? You have defined GPIO0_6 as CD in the pinmux and GPIO2_1 in the MMC1 section.

     

    Best Regards
    Biser
  • In reply to Biser Gatchev-XID:

    Hi Biser,
    this is Sitara am335x-evmsk . the correct gpio for that sd card is GPIO2_1 . the source dts base on GPIO0_6, so I change it in
    MMC1 section. do I have to change it also in the pimux? to change 0x160 to what?
    Thanks Oded
  • In reply to Oded Almog:

    If you're using AM335x Starter Kit, then as Biser suggested, you need to change mmc1 section in the dts to:

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

    };

    Best Regards, 
    Yordan

     


     Please make sure you read the forum guidelines first.

  • In reply to Yordan Kovachev:

    Hi Yordan,
    We are using AM335x Starter Kit but our hardware engineers changed cd-gpios to gpio2 [1], so I defined it like this:

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

    and in the pinmux :

    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 */
    0x8c (PIN_INPUT | MUX_MODE7) /* spi0_cs1.gpio0_6 */
    >;
    };


    But it not working, since no interrupt was send when I input and output sd card.

    What can be the problem?

    Thanks Oded.
  • In reply to Oded Almog:

    Then mux the appropriate gpio2_1 in &mmc1_pins_default. As of now you are muxing gpio0_6:
    0x8c (PIN_INPUT | MUX_MODE7) /* spi0_cs1.gpio0_6 */
    and expect an event on gpio2_1...

    Best Regards,
    Yordan

     


     Please make sure you read the forum guidelines first.

  • In reply to Yordan Kovachev:

    Hi Yordan,
    I did it and the results are same: in"cat /proc/interrupts" there is no interrupt value in:

    91: 0 481ac000.gpio 1 Edge 48060000.mmc cd

    What else can cause this problem?

    Thanks Oded
  • In reply to Oded Almog:

    Can you please provide the bootlog/dmesg of your board? Maybe there is something that happens & mmc pins are not initialized properly...

    Best Regards,
    Yordan

     


     Please make sure you read the forum guidelines first.

  • In reply to Yordan Kovachev:

    Hi Yordan,
    Here is bootlog/dmesg :

    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 Thu May 26 20:14:12 IDT 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.000020] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [ 0.000049] clocksource timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [ 0.000063] OMAP clocksource: timer1 at 24000000 Hz
    [ 0.000294] Console: colour dummy device 80x30
    [ 0.000324] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [ 0.000333] This ensures that you still see kernel messages. Please
    [ 0.000340] update your kernel commandline.
    [ 0.000363] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
    [ 0.118765] pid_max: default: 32768 minimum: 301
    [ 0.118892] Security Framework initialized
    [ 0.118959] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.118974] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.119849] Initializing cgroup subsys blkio
    [ 0.119878] Initializing cgroup subsys memory
    [ 0.119931] Initializing cgroup subsys devices
    [ 0.119951] Initializing cgroup subsys freezer
    [ 0.119969] Initializing cgroup subsys perf_event
    [ 0.120002] CPU: Testing write buffer coherency: ok
    [ 0.120470] Setting up static identity map for 0x80008200 - 0x80008270
    [ 0.122492] devtmpfs: initialized
    [ 0.138631] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [ 0.152451] omap_hwmod: tptc0 using broken dt data from edma
    [ 0.152626] omap_hwmod: tptc1 using broken dt data from edma
    [ 0.152776] omap_hwmod: tptc2 using broken dt data from edma
    [ 0.157899] omap_hwmod: debugss: _wait_target_disable failed
    [ 0.214565] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [ 0.217294] pinctrl core: initialized pinctrl subsystem
    [ 0.219083] NET: Registered protocol family 16
    [ 0.221949] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.248769] cpuidle: using governor ladder
    [ 0.278754] cpuidle: using governor menu
    [ 0.283194] gpiochip_add: registered GPIOs 0 to 31 on device: gpio
    [ 0.283403] OMAP GPIO hardware version 0.1
    [ 0.284322] gpiochip_add: registered GPIOs 32 to 63 on device: gpio
    [ 0.285140] gpiochip_add: registered GPIOs 64 to 95 on device: gpio
    [ 0.285904] gpiochip_add: registered GPIOs 96 to 127 on device: gpio
    [ 0.298175] No ATAGs?
    [ 0.298216] hw-breakpoint: debug architecture 0x4 unsupported.
    [ 0.340135] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
    [ 0.340836] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator@0[0]'
    [ 0.341215] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator@1[0]'
    [ 0.341542] 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.341671] of_get_named_gpiod_flags: parsed 'gpio' property of node '/fixedregulator@3[0]' - status (0)
    [ 0.345793] vgaarb: loaded
    [ 0.346442] SCSI subsystem initialized
    [ 0.347119] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
    [ 0.347366] pps_core: LinuxPPS API ver. 1 registered
    [ 0.347377] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 0.347421] PTP clock support registered
    [ 0.348508] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [ 0.348957] Advanced Linux Sound Architecture Driver Initialized.
    [ 0.350049] Switched to clocksource timer1
    [ 0.363982] NET: Registered protocol family 2
    [ 0.365053] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.365100] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.365138] TCP: Hash tables configured (established 2048 bind 2048)
    [ 0.365243] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.365271] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.365483] NET: Registered protocol family 1
    [ 0.365971] RPC: Registered named UNIX socket transport module.
    [ 0.365990] RPC: Registered udp transport module.
    [ 0.365999] RPC: Registered tcp transport module.
    [ 0.366008] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.366038] PCI: CLS 0 bytes, default 64
    [ 0.367146] CPU PMU: Failed to parse /pmu/interrupt-affinity[0]
    [ 0.367208] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [ 0.369929] futex hash table entries: 256 (order: -1, 3072 bytes)
    [ 0.370223] audit: initializing netlink subsys (disabled)
    [ 0.370327] audit: type=2000 audit(0.370:1): initialized
    [ 0.380432] VFS: Disk quotas dquot_6.6.0
    [ 0.380741] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [ 0.383462] NFS: Registering the id_resolver key type
    [ 0.383557] Key type id_resolver registered
    [ 0.383569] Key type id_legacy registered
    [ 0.383665] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
    [ 0.386961] NET: Registered protocol family 38
    [ 0.387058] io scheduler noop registered
    [ 0.387079] io scheduler deadline registered
    [ 0.387152] io scheduler cfq registered (default)
    [ 0.388689] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [ 0.393000] pwm-backlight backlight: GPIO lookup for consumer enable
    [ 0.393029] pwm-backlight backlight: using device tree for GPIO lookup
    [ 0.393049] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/backlight[0]'
    [ 0.393063] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/backlight[0]'
    [ 0.393077] pwm-backlight backlight: using lookup tables for GPIO lookup
    [ 0.393091] pwm-backlight backlight: lookup for GPIO enable failed
    [ 0.393117] backlight supply power not found, using dummy regulator
    [ 0.394977] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
    [ 0.396378] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [ 0.400764] omap8250 44e09000.serial: GPIO lookup for consumer enable
    [ 0.400791] omap8250 44e09000.serial: using device tree for GPIO lookup
    [ 0.400810] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/ocp/serial@44e09000[0]'
    [ 0.400825] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/ocp/serial@44e09000[0]'
    [ 0.400838] omap8250 44e09000.serial: using lookup tables for GPIO lookup
    [ 0.400852] omap8250 44e09000.serial: lookup for GPIO enable failed
    [ 0.401412] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 155, base_baud = 3000000) is a 8250
    [ 0.401979] pinctrl-single 44e10800.pinmux: pin 44e10978.0 already requested by 44e10800.pinmux; cannot claim for 48022000.serial
    [ 0.402002] pinctrl-single 44e10800.pinmux: pin-94 (48022000.serial) status -22
    [ 0.402020] pinctrl-single 44e10800.pinmux: could not request pin 94 (44e10978.0) from group pinmux_uart1_pins_default on device pinctrl-single
    [ 0.402034] omap8250 48022000.serial: Error applying setting, reverse things back
    [ 0.402142] omap8250 48022000.serial: GPIO lookup for consumer enable
    [ 0.402156] omap8250 48022000.serial: using device tree for GPIO lookup
    [ 0.402173] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/ocp/serial@48022000[0]'
    [ 0.402187] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/ocp/serial@48022000[0]'
    [ 0.402200] omap8250 48022000.serial: using lookup tables for GPIO lookup
    [ 0.402213] omap8250 48022000.serial: lookup for GPIO enable failed
    [ 0.402650] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 156, base_baud = 3000000) is a 8250
    [ 0.404072] [drm] Initialized drm 1.1.0 20060810
    [ 0.404687] panel panel: GPIO lookup for consumer enable
    [ 0.404706] panel panel: using device tree for GPIO lookup
    [ 0.404724] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/panel[0]'
    [ 0.404737] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/panel[0]'
    [ 0.404749] panel panel: using lookup tables for GPIO lookuproot@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 Thu May 26 20:14:12 IDT 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.000020] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [ 0.000049] clocksource timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [ 0.000063] OMAP clocksource: timer1 at 24000000 Hz
    [ 0.000294] Console: colour dummy device 80x30
    [ 0.000324] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [ 0.000333] This ensures that you still see kernel messages. Please
    [ 0.000340] update your kernel commandline.
    [ 0.000363] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
    [ 0.118765] pid_max: default: 32768 minimum: 301
    [ 0.118892] Security Framework initialized
    [ 0.118959] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.118974] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.119849] Initializing cgroup subsys blkio
    [ 0.119878] Initializing cgroup subsys memory
    [ 0.119931] Initializing cgroup subsys devices
    [ 0.119951] Initializing cgroup subsys freezer
    [ 0.119969] Initializing cgroup subsys perf_event
    [ 0.120002] CPU: Testing write buffer coherency: ok
    [ 0.120470] Setting up static identity map for 0x80008200 - 0x80008270
    [ 0.122492] devtmpfs: initialized
    [ 0.138631] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [ 0.152451] omap_hwmod: tptc0 using broken dt data from edma
    [ 0.152626] omap_hwmod: tptc1 using broken dt data from edma
    [ 0.152776] omap_hwmod: tptc2 using broken dt data from edma
    [ 0.157899] omap_hwmod: debugss: _wait_target_disable failed
    [ 0.214565] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [ 0.217294] pinctrl core: initialized pinctrl subsystem
    [ 0.219083] NET: Registered protocol family 16
    [ 0.221949] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.248769] cpuidle: using governor ladder
    [ 0.278754] cpuidle: using governor menu
    [ 0.283194] gpiochip_add: registered GPIOs 0 to 31 on device: gpio
    [ 0.283403] OMAP GPIO hardware version 0.1
    [ 0.284322] gpiochip_add: registered GPIOs 32 to 63 on device: gpio
    [ 0.285140] gpiochip_add: registered GPIOs 64 to 95 on device: gpio
    [ 0.285904] gpiochip_add: registered GPIOs 96 to 127 on device: gpio
    [ 0.298175] No ATAGs?
    [ 0.298216] hw-breakpoint: debug architecture 0x4 unsupported.
    [ 0.340135] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
    [ 0.340836] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator@0[0]'
    [ 0.341215] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator@1[0]'
    [ 0.341542] 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.341671] of_get_named_gpiod_flags: parsed 'gpio' property of node '/fixedregulator@3[0]' - status (0)
    [ 0.345793] vgaarb: loaded
    [ 0.346442] SCSI subsystem initialized
    [ 0.347119] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
    [ 0.347366] pps_core: LinuxPPS API ver. 1 registered
    [ 0.347377] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 0.347421] PTP clock support registered
    [ 0.348508] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [ 0.348957] Advanced Linux Sound Architecture Driver Initialized.
    [ 0.350049] Switched to clocksource timer1
    [ 0.363982] NET: Registered protocol family 2
    [ 0.365053] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.365100] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.365138] TCP: Hash tables configured (established 2048 bind 2048)
    [ 0.365243] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.365271] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.365483] NET: Registered protocol family 1
    [ 0.365971] RPC: Registered named UNIX socket transport module.
    [ 0.365990] RPC: Registered udp transport module.
    [ 0.365999] RPC: Registered tcp transport module.
    [ 0.366008] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.366038] PCI: CLS 0 bytes, default 64
    [ 0.367146] CPU PMU: Failed to parse /pmu/interrupt-affinity[0]
    [ 0.367208] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [ 0.369929] futex hash table entries: 256 (order: -1, 3072 bytes)
    [ 0.370223] audit: initializing netlink subsys (disabled)
    [ 0.370327] audit: type=2000 audit(0.370:1): initialized
    [ 0.380432] VFS: Disk quotas dquot_6.6.0
    [ 0.380741] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [ 0.383462] NFS: Registering the id_resolver key type
    [ 0.383557] Key type id_resolver registered
    [ 0.383569] Key type id_legacy registered
    [ 0.383665] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
    [ 0.386961] NET: Registered protocol family 38
    [ 0.387058] io scheduler noop registered
    [ 0.387079] io scheduler deadline registered
    [ 0.387152] io scheduler cfq registered (default)
    [ 0.388689] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [ 0.393000] pwm-backlight backlight: GPIO lookup for consumer enable
    [ 0.393029] pwm-backlight backlight: using device tree for GPIO lookup
    [ 0.393049] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/backlight[0]'
    [ 0.393063] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/backlight[0]'
    [ 0.393077] pwm-backlight backlight: using lookup tables for GPIO lookup
    [ 0.393091] pwm-backlight backlight: lookup for GPIO enable failed
    [ 0.393117] backlight supply power not found, using dummy regulator
    [ 0.394977] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
    [ 0.396378] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [ 0.400764] omap8250 44e09000.serial: GPIO lookup for consumer enable
    [ 0.400791] omap8250 44e09000.serial: using device tree for GPIO lookup
    [ 0.400810] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/ocp/serial@44e09000[0]'
    [ 0.400825] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/ocp/serial@44e09000[0]'
    [ 0.400838] omap8250 44e09000.serial: using lookup tables for GPIO lookup
    [ 0.400852] omap8250 44e09000.serial: lookup for GPIO enable failed
    [ 0.401412] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 155, base_baud = 3000000) is a 8250
    [ 0.401979] pinctrl-single 44e10800.pinmux: pin 44e10978.0 already requested by 44e10800.pinmux; cannot claim for 48022000.serial
    [ 0.402002] pinctrl-single 44e10800.pinmux: pin-94 (48022000.serial) status -22
    [ 0.402020] pinctrl-single 44e10800.pinmux: could not request pin 94 (44e10978.0) from group pinmux_uart1_pins_default on device pinctrl-single
    [ 0.402034] omap8250 48022000.serial: Error applying setting, reverse things back
    [ 0.402142] omap8250 48022000.serial: GPIO lookup for consumer enable
    [ 0.402156] omap8250 48022000.serial: using device tree for GPIO lookup
    [ 0.402173] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/ocp/serial@48022000[0]'
    [ 0.402187] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/ocp/serial@48022000[0]'
    [ 0.402200] omap8250 48022000.serial: using lookup tables for GPIO lookup
    [ 0.402213] omap8250 48022000.serial: lookup for GPIO enable failed
    [ 0.402650] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 156, base_baud = 3000000) is a 8250
    [ 0.404072] [drm] Initialized drm 1.1.0 20060810
    [ 0.404687] panel panel: GPIO lookup for consumer enable
    [ 0.404706] panel panel: using device tree for GPIO lookup
    [ 0.404724] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/panel[0]'
    [ 0.404737] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/panel[0]'
    [ 0.404749] panel panel: using lookup tables for GPIO lookup
    [ 0.404762] panel panel: lookup for GPIO enable failed
    [ 0.406355] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [ 0.406372] [drm] No driver support for vblank timestamp query.
    [ 0.453088] Console: switching to colour frame buffer device 60x34
    [ 0.455391] tilcdc 4830e000.lcdc: fb0: frame buffer device
    [ 0.455405] tilcdc 4830e000.lcdc: registered panic notifier
    [ 0.480094] [drm] Initialized tilcdc 1.0.0 20121205 on minor 0
    [ 0.493766] brd: module loaded
    [ 0.500390] loop: module loaded
    [ 0.500788] (hci_tty): inside hci_tty_init
    [ 0.501080] (hci_tty): allocated 250, 0
    [ 0.502179] mtdoops: mtd device (mtddev=name/number) must be supplied
    [ 0.507766] PPP generic driver version 2.4.2
    [ 0.509004] mousedev: PS/2 mouse device common for all mice
    [ 0.509109] i2c /dev entries driver
    [ 0.510304] pinctrl-single 44e10800.pinmux: pin 44e109a0.0 already requested by 44e10800.pinmux; cannot claim for 48060000.mmc
    [ 0.510333] pinctrl-single 44e10800.pinmux: pin-104 (48060000.mmc) status -22
    [ 0.510352] pinctrl-single 44e10800.pinmux: could not request pin 104 (44e109a0.0) from group pinmux_mmc1_pins on device pinctrl-single
    [ 0.510370] omap_hsmmc 48060000.mmc: Error applying setting, reverse things back
    [ 0.510566] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd
    [ 0.510582] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [ 0.510623] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@48060000[0]' - status (0)
    [ 0.510715] omap_hsmmc 48060000.mmc: Got CD GPIO
    [ 0.510733] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp
    [ 0.510745] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [ 0.510760] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@48060000[0]'
    [ 0.510774] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@48060000[0]'
    [ 0.510787] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup
    [ 0.510801] omap_hsmmc 48060000.mmc: lookup for GPIO wp failed
    [ 0.540365] pinctrl-single 44e10800.pinmux: pin 44e10880.0 already requested by 44e10800.pinmux; cannot claim for 481d8000.mmc
    [ 0.540393] pinctrl-single 44e10800.pinmux: pin-32 (481d8000.mmc) status -22
    [ 0.540410] pinctrl-single 44e10800.pinmux: could not request pin 32 (44e10880.0) from group pinmux_mmc2_pins on device pinctrl-single
    [ 0.540424] omap_hsmmc 481d8000.mmc: Error applying setting, reverse things back
    [ 0.540567] omap_hsmmc 481d8000.mmc: GPIO lookup for consumer cd
    [ 0.540582] omap_hsmmc 481d8000.mmc: using device tree for GPIO lookup
    [ 0.540599] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@481d8000[0]'
    [ 0.540613] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@481d8000[0]'
    [ 0.540625] omap_hsmmc 481d8000.mmc: using lookup tables for GPIO lookup
    [ 0.540639] omap_hsmmc 481d8000.mmc: lookup for GPIO cd failed
    [ 0.540654] omap_hsmmc 481d8000.mmc: GPIO lookup for consumer wp
    [ 0.540665] omap_hsmmc 481d8000.mmc: using device tree for GPIO lookup
    [ 0.540678] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@481d8000[0]'
    [ 0.540690] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@481d8000[0]'
    [ 0.540703] omap_hsmmc 481d8000.mmc: using lookup tables for GPIO lookup
    [ 0.540714] omap_hsmmc 481d8000.mmc: lookup for GPIO wp failed
    [ 0.570558] ledtrig-cpu: registered to indicate activity on CPUs
    [ 0.570976] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [ 0.572781] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [ 0.574814] remoteproc0: wkup_m3 is available
    [ 0.574837] remoteproc0: Note: remoteproc is still under development and considered experimental.
    [ 0.574849] remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [ 0.575961] remoteproc0: Direct firmware load for am335x-pm-firmware.elf failed with error -2
    [ 0.575982] remoteproc0: Falling back to user helper
    [ 0.578657] oprofile: using arm/armv7
    [ 0.579130] Initializing XFRM netlink socket
    [ 0.579203] NET: Registered protocol family 17
    [ 0.579271] NET: Registered protocol family 15
    [ 0.579427] Key type dns_resolver registered
    [ 0.579869] omap_voltage_late_init: Voltage driver support not added
    [ 0.580641] ThumbEE CPU extension supported.
    [ 0.580688] Registering SWP/SWPB emulation handler
    [ 0.583755] pinctrl-single 44e10800.pinmux: pin 44e1087c.0 already requested by 44e10800.pinmux; cannot claim for fixedregulator@2
    [ 0.583789] pinctrl-single 44e10800.pinmux: pin-31 (fixedregulator@2) status -22
    [ 0.583808] pinctrl-single 44e10800.pinmux: could not request pin 31 (44e1087c.0) from group pinmux_wl12xx_gpio on device pinctrl-single
    [ 0.583823] reg-fixed-voltage fixedregulator@2: Error applying setting, reverse things back
    [ 0.583956] of_get_named_gpiod_flags: parsed 'gpio' property of node '/fixedregulator@2[0]' - status (0)
    [ 0.600677] tps65910 0-002d: No interrupt support, no core IRQ
    [ 0.653431] gpiochip_find_base: found new base at 504
    [ 0.653743] GPIO line 504 (reset_fg_i2c_mux) hogged as output/high
    [ 0.653922] gpiochip_add: registered GPIOs 504 to 511 on device: pcf8574
    [ 0.653943] pcf857x 0-0020: probed
    [ 0.654413] gpiochip_find_base: found new base at 496
    [ 0.654580] gpiochip_add: registered GPIOs 496 to 503 on device: pcf8574
    [ 0.654597] pcf857x 0-0021: probed
    [ 0.655050] gpiochip_find_base: found new base at 488
    [ 0.655223] gpiochip_add: registered GPIOs 488 to 495 on device: pcf8574
    [ 0.655238] pcf857x 0-0022: probed
    [ 0.655692] gpiochip_find_base: found new base at 480
    [ 0.655852] gpiochip_add: registered GPIOs 480 to 487 on device: tca9554
    [ 0.655867] pcf857x 0-0070: probed
    [ 0.660259] rtc-s35390a 0-0030: rtc core: registered rtc-s35390a as rtc0
    [ 0.660313] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 100 kHz
    [ 0.661717] pinctrl-single 44e10800.pinmux: pin 44e109a0.0 already requested by 44e10800.pinmux; cannot claim for 48060000.mmc
    [ 0.661750] pinctrl-single 44e10800.pinmux: pin-104 (48060000.mmc) status -22
    [ 0.661769] pinctrl-single 44e10800.pinmux: could not request pin 104 (44e109a0.0) from group pinmux_mmc1_pins on device pinctrl-single
    [ 0.661787] omap_hsmmc 48060000.mmc: Error applying setting, reverse things back
    [ 0.661966] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd
    [ 0.661981] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [ 0.662019] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@48060000[0]' - status (0)
    [ 0.662102] omap_hsmmc 48060000.mmc: Got CD GPIO
    [ 0.662120] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp
    [ 0.662132] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [ 0.662146] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@48060000[0]'
    [ 0.662160] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@48060000[0]'
    [ 0.662173] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup
    [ 0.662186] omap_hsmmc 48060000.mmc: lookup for GPIO wp failed
    [ 0.662668] vmmc: supplied by vbat
    [ 0.701022] pinctrl-single 44e10800.pinmux: pin 44e10880.0 already requested by 44e10800.pinmux; cannot claim for 481d8000.mmc
    [ 0.701052] pinctrl-single 44e10800.pinmux: pin-32 (481d8000.mmc) status -22
    [ 0.701070] pinctrl-single 44e10800.pinmux: could not request pin 32 (44e10880.0) from group pinmux_mmc2_pins on device pinctrl-single
    [ 0.701085] omap_hsmmc 481d8000.mmc: Error applying setting, reverse things back
    [ 0.701260] omap_hsmmc 481d8000.mmc: GPIO lookup for consumer cd
    [ 0.701276] omap_hsmmc 481d8000.mmc: using device tree for GPIO lookup
    [ 0.701294] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@481d8000[0]'
    [ 0.701308] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@481d8000[0]'
    [ 0.701321] omap_hsmmc 481d8000.mmc: using lookup tables for GPIO lookup
    [ 0.701334] omap_hsmmc 481d8000.mmc: lookup for GPIO cd failed
    [ 0.701351] omap_hsmmc 481d8000.mmc: GPIO lookup for consumer wp
    [ 0.701362] omap_hsmmc 481d8000.mmc: using device tree for GPIO lookup
    [ 0.701375] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@481d8000[0]'
    [ 0.701388] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@481d8000[0]'
    [ 0.701400] omap_hsmmc 481d8000.mmc: using lookup tables for GPIO lookup
    [ 0.701412] omap_hsmmc 481d8000.mmc: lookup for GPIO wp failed
    [ 0.779755] mmc0: host does not support reading read-only switch, assuming write-enable
    [ 0.783610] mmc0: new high speed SDHC card at address aaaa
    [ 0.784194] mmcblk0: mmc0:aaaa SU08G 7.40 GiB
    [ 0.789339] mmcblk0: p1 p2
    [ 0.840397] omap_hsmmc 481d8000.mmc: card claims to support voltages below defined range
    [ 0.851214] mmc1: queuing unknown CIS tuple 0x91 (3 bytes)
    [ 0.852027] mmc1: new high speed SDIO card at address 0001
    [ 0.880103] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [ 0.880122] davinci_mdio 4a101000.mdio: detected phy mask fffffffd
    [ 0.881083] libphy: 4a101000.mdio: probed
    [ 0.881112] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver SMSC LAN8710/LAN8720
    [ 0.882048] cpsw 4a100000.ethernet: Detected MACID = 68:c9:0b:24:a0:e0
    [ 0.883197] cpsw 4a100000.ethernet: cpsw: Detected MACID = 68:c9:0b:24:a0:e2
    [ 0.885055] rtc-s35390a 0-0030: setting system clock to 2016-06-01 08:58:25 UTC (1464771505)
    [ 0.890299] wlan-en-regulator: disabling
    [ 0.890335] lis3_reg: disabling
    [ 0.890475] ALSA device list:
    [ 0.890484] No soundcards found.
    [ 0.890661] Warning: unable to open an initial console.
    [ 0.911261] EXT4-fs (mmcblk0p2): warning: mounting fs with errors, running e2fsck is recommended
    [ 0.916920] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [ 0.917018] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [ 0.925042] devtmpfs: mounted
    [ 0.925652] Freeing unused kernel memory: 264K (c083e000 - c0880000)
    [ 1.823815] udevd[99]: starting version 182
    [ 2.156980] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_buttons@0/switch@1[0]' - status (0)
    [ 2.157038] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_buttons@0/switch@2[0]' - status (0)
    [ 2.157068] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_buttons@0/switch@3[0]' - status (0)
    [ 2.157098] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_buttons@0/switch@4[0]' - status (0)
    [ 2.157127] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_buttons@0/switch@5[0]' - status (0)
    [ 2.157157] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_buttons@0/switch@6[0]' - status (0)
    [ 2.157185] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_buttons@0/switch@7[0]' - status (0)
    [ 2.157924] input: gpio_buttons@0 as /devices/platform/gpio_buttons@0/input/input0
    [ 2.223678] vdd_mpu: supplied by vbat
    [ 2.248386] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@1[0]' - status (0)
    [ 2.248700] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@2[0]' - status (0)
    [ 2.248908] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@3[0]' - status (0)
    [ 2.249091] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@4[0]' - status (0)
    [ 2.249264] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@5[0]' - status (0)
    [ 2.249445] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@6[0]' - status (0)
    [ 2.249629] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@7[0]' - status (0)
    [ 2.249803] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@8[0]' - status (0)
    [ 2.249979] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@9[0]' - status (0)
    [ 2.276563] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@10[0]' - status (0)
    [ 2.276859] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@11[0]' - status (0)
    [ 2.277053] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@12[0]' - status (0)
    [ 2.277234] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@13[0]' - status (0)
    [ 2.277420] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@14[0]' - status (0)
    [ 2.389812] input: ti-tsc as /devices/platform/ocp/44e0d000.tscadc/TI-am335x-tsc/input/input1
    [ 2.453777] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [ 2.456370] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc1
    [ 2.469565] of_get_named_gpiod_flags: can't parse 'gpio-reset' property of node '/ocp/i2c@44e0b000/tlv320aic3106@1b[0]'
    [ 2.469744] vaux2: supplied by vbat
    [ 2.551343] am335x-phy-driver 47401300.usb-phy: GPIO lookup for consumer reset
    [ 2.551378] am335x-phy-driver 47401300.usb-phy: using device tree for GPIO lookup
    [ 2.551400] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [ 2.551415] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [ 2.551429] am335x-phy-driver 47401300.usb-phy: using lookup tables for GPIO lookup
    [ 2.551444] am335x-phy-driver 47401300.usb-phy: lookup for GPIO reset failed
    [ 2.551461] am335x-phy-driver 47401300.usb-phy: GPIO lookup for consumer vbus-detect
    [ 2.551473] am335x-phy-driver 47401300.usb-phy: using device tree for GPIO lookup
    [ 2.551486] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpios' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [ 2.551500] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpio' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [ 2.551513] am335x-phy-driver 47401300.usb-phy: using lookup tables for GPIO lookup
    [ 2.551525] am335x-phy-driver 47401300.usb-phy: lookup for GPIO vbus-detect failed
    [ 2.551613] 47401300.usb-phy supply vcc not found, using dummy regulator
    [ 2.571249] lis3lv02d: 16 bits lis331dlh sensor found
    [ 2.601145] am335x-phy-driver 47401b00.usb-phy: GPIO lookup for consumer reset
    [ 2.601182] am335x-phy-driver 47401b00.usb-phy: using device tree for GPIO lookup
    [ 2.601204] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
    [ 2.601218] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
    [ 2.601233] am335x-phy-driver 47401b00.usb-phy: using lookup tables for GPIO lookup
    [ 2.601248] am335x-phy-driver 47401b00.usb-phy: lookup for GPIO reset failed
    [ 2.601264] am335x-phy-driver 47401b00.usb-phy: GPIO lookup for consumer vbus-detect
    [ 2.601276] am335x-phy-driver 47401b00.usb-phy: using device tree for GPIO lookup
    [ 2.601289] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpios' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
    [ 2.601303] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpio' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
    [ 2.601315] am335x-phy-driver 47401b00.usb-phy: using lookup tables for GPIO lookup
    [ 2.601329] am335x-phy-driver 47401b00.usb-phy: lookup for GPIO vbus-detect failed
    [ 2.601417] 47401b00.usb-phy supply vcc not found, using dummy regulator
    [ 2.660720] input: ST LIS3LV02DL Accelerometer as /devices/platform/lis3lv02d/input/input2
    [ 3.271823] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [ 4.106498] PM: bootloader does not support rtc-only!
    [ 4.170570] remoteproc0: powering up wkup_m3
    [ 4.171866] remoteproc0: Booting fw image am335x-pm-firmware.elf, size 219803
    [ 4.172175] remoteproc0: remote processor wkup_m3 is now up
    [ 4.172211] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x191
    [ 4.331719] davinci_evm sound: tlv320aic3x-hifi <-> 4803c000.mcasp mapping ok
    [ 6.591082] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [ 6.814598] usbcore: registered new interface driver usbfs
    [ 6.814727] usbcore: registered new interface driver hub
    [ 6.824277] usbcore: registered new device driver usb
    [ 6.952984] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    [ 6.953019] musb-hdrc: MHDRC RTL version 2.0
    [ 6.953032] musb-hdrc: setup fifo_mode 4
    [ 6.953060] musb-hdrc: 28/31 max ep, 16384/16384 memory
    [ 6.953257] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
    [ 6.953309] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
    [ 6.959789] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [ 6.959825] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 6.959839] usb usb1: Product: MUSB HDRC host driver
    [ 6.959852] usb usb1: Manufacturer: Linux 4.1.6-g52c4aa7 musb-hcd
    [ 6.959865] usb usb1: SerialNumber: musb-hdrc.1.auto
    [ 6.979405] hub 1-0:1.0: USB hub found
    [ 6.979530] hub 1-0:1.0: 1 port detected
    [ 7.028669] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    [ 7.028703] musb-hdrc: MHDRC RTL version 2.0
    [ 7.028714] musb-hdrc: setup fifo_mode 4
    [ 7.028740] musb-hdrc: 28/31 max ep, 16384/16384 memory
    [ 7.028939] musb-hdrc musb-hdrc.2.auto: MUSB HDRC host driver
    [ 7.028989] musb-hdrc musb-hdrc.2.auto: new USB bus registered, assigned bus number 2
    [ 7.061484] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    [ 7.061519] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 7.061534] usb usb2: Product: MUSB HDRC host driver
    [ 7.061547] usb usb2: Manufacturer: Linux 4.1.6-g52c4aa7 musb-hcd
    [ 7.061560] usb usb2: SerialNumber: musb-hdrc.2.auto
    [ 7.067621] hub 2-0:1.0: USB hub found
    [ 7.067715] hub 2-0:1.0: 1 port detected
    [ 7.165499] cfg80211: Calling CRDA to update world regulatory domain
    [ 7.443554] wl18xx_driver wl18xx.0.auto: Direct firmware load for ti-connectivity/wl1271-nvs.bin failed with error -2
    [ 7.443589] wl18xx_driver wl18xx.0.auto: Falling back to user helper
    [ 7.470273] usb 2-1: new high-speed USB device number 2 using musb-hdrc
    [ 7.565950] cfg80211: World regulatory domain updated:
    [ 7.565992] cfg80211: DFS Master region: unset
    [ 7.566005] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
    [ 7.566025] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
    [ 7.566038] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
    [ 7.566051] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
    [ 7.566067] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
    [ 7.566083] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
    [ 7.566097] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
    [ 7.566109] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
    [ 7.566122] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
    [ 7.621119] usb 2-1: New USB device found, idVendor=1bc7, idProduct=0021
    [ 7.621152] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [ 7.621166] usb 2-1: Product: 6 CDC-ACM
    [ 7.621178] usb 2-1: Manufacturer: Telit
    [ 7.621191] usb 2-1: SerialNumber: 357164042754880
    [ 7.871206] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
    [ 7.926385] wlcore: loaded
    [ 7.993621] cryptodev: driver 1.6 loaded.
    [ 8.075911] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
    [ 8.228819] random: nonblocking pool is initialized
    [ 8.868853] EXT4-fs error (device mmcblk0p2): ext4_mb_generate_buddy:757: group 23, block bitmap and bg descriptor inconsistent: 31830 vs 31828 free clusters
    [ 8.897417] JBD2: Spotted dirty metadata buffer (dev = mmcblk0p2, blocknr = 0). There's a risk of filesystem corruption in case of system crash.
    [ 9.710311] net eth1: initializing cpsw version 1.12 (0)
    [ 9.713779] net eth1: phy found : id is : 0x7c0f1
    [ 11.193747] NET: Registered protocol family 10
    [ 11.199526] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [ 11.596794] GPIO_TEST: The button is mapped to IRQ: 91
    [ 11.596839] genirq: Flags mismatch irq 91. 00000004 (reset_interupt_irq_handler) vs. 00002003 (48060000.mmc cd)
    [ 11.596849] GPIO_TEST: Error
    [ 11.674941] cdc_acm 2-1:1.0: ttyACM0: USB ACM device
    [ 11.683545] cdc_acm 2-1:1.2: ttyACM1: USB ACM device
    [ 11.697739] cdc_acm 2-1:1.4: ttyACM2: USB ACM device
    [ 11.705605] cdc_acm 2-1:1.6: ttyACM3: USB ACM device
    [ 11.716512] cdc_acm 2-1:1.8: ttyACM4: USB ACM device
    [ 11.728203] cdc_acm 2-1:1.10: ttyACM5: USB ACM device
    [ 11.738006] usbcore: registered new interface driver cdc_acm
    [ 11.738040] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    [ 11.823178] gpio_lf_driver init
    [ 11.823229] gpio_lf_driver: assigned major: 246
    [ 11.823239] create node with mknod /dev/gpio_lf_driver c 246 0
    [ 11.934246] bq27x00-battery 0-0055: support ver. 1.2.0 enabled
    [ 11.934444] sc_pcom1.1_fuel_gauge fuel_gauge@55000000: Fuel gauge driver has probed!!
    [ 11.940582] power_supply bq27421-0: driver failed to report `voltage_now' property: -121
    [ 11.953819] bq27x00-battery 0-0055: Gas Gauge Reset
    [ 11.957613] power_supply bq27421-0: driver failed to report `voltage_now' property: -121
    [ 11.958534] power_supply bq27421-0: driver failed to report `voltage_now' property: -121
    [ 11.959339] power_supply bq27421-0: driver failed to report `voltage_now' property: -121
    [ 11.968453] gpio-504 (reset_fg_i2c_mux): gpiod_request: status -16
    [ 11.968481] export_store: status -16
    [ 13.871080] cpsw 4a100000.ethernet eth1: Link is Up - 100Mbps/Full - flow control off
    [ 13.871224] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
    root@am335x-evm:~#

    [ 0.404762] panel panel: lookup for GPIO enable failed
    [ 0.406355] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [ 0.406372] [drm] No driver support for vblank timestamp query.
    [ 0.453088] Console: switching to colour frame buffer device 60x34
    [ 0.455391] tilcdc 4830e000.lcdc: fb0: frame buffer device
    [ 0.455405] tilcdc 4830e000.lcdc: registered panic notifier
    [ 0.480094] [drm] Initialized tilcdc 1.0.0 20121205 on minor 0
    [ 0.493766] brd: module loaded
    [ 0.500390] loop: module loaded
    [ 0.500788] (hci_tty): inside hci_tty_init
    [ 0.501080] (hci_tty): allocated 250, 0
    [ 0.502179] mtdoops: mtd device (mtddev=name/number) must be supplied
    [ 0.507766] PPP generic driver version 2.4.2
    [ 0.509004] mousedev: PS/2 mouse device common for all mice
    [ 0.509109] i2c /dev entries driver
    [ 0.510304] pinctrl-single 44e10800.pinmux: pin 44e109a0.0 already requested by 44e10800.pinmux; cannot claim for 48060000.mmc
    [ 0.510333] pinctrl-single 44e10800.pinmux: pin-104 (48060000.mmc) status -22
    [ 0.510352] pinctrl-single 44e10800.pinmux: could not request pin 104 (44e109a0.0) from group pinmux_mmc1_pins on device pinctrl-single
    [ 0.510370] omap_hsmmc 48060000.mmc: Error applying setting, reverse things back
    [ 0.510566] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd
    [ 0.510582] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [ 0.510623] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@48060000[0]' - status (0)
    [ 0.510715] omap_hsmmc 48060000.mmc: Got CD GPIO
    [ 0.510733] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp
    [ 0.510745] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [ 0.510760] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@48060000[0]'
    [ 0.510774] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@48060000[0]'
    [ 0.510787] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup
    [ 0.510801] omap_hsmmc 48060000.mmc: lookup for GPIO wp failed
    [ 0.540365] pinctrl-single 44e10800.pinmux: pin 44e10880.0 already requested by 44e10800.pinmux; cannot claim for 481d8000.mmc
    [ 0.540393] pinctrl-single 44e10800.pinmux: pin-32 (481d8000.mmc) status -22
    [ 0.540410] pinctrl-single 44e10800.pinmux: could not request pin 32 (44e10880.0) from group pinmux_mmc2_pins on device pinctrl-single
    [ 0.540424] omap_hsmmc 481d8000.mmc: Error applying setting, reverse things back
    [ 0.540567] omap_hsmmc 481d8000.mmc: GPIO lookup for consumer cd
    [ 0.540582] omap_hsmmc 481d8000.mmc: using device tree for GPIO lookup
    [ 0.540599] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@481d8000[0]'
    [ 0.540613] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@481d8000[0]'
    [ 0.540625] omap_hsmmc 481d8000.mmc: using lookup tables for GPIO lookup
    [ 0.540639] omap_hsmmc 481d8000.mmc: lookup for GPIO cd failed
    [ 0.540654] omap_hsmmc 481d8000.mmc: GPIO lookup for consumer wp
    [ 0.540665] omap_hsmmc 481d8000.mmc: using device tree for GPIO lookup
    [ 0.540678] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@481d8000[0]'
    [ 0.540690] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@481d8000[0]'
    [ 0.540703] omap_hsmmc 481d8000.mmc: using lookup tables for GPIO lookup
    [ 0.540714] omap_hsmmc 481d8000.mmc: lookup for GPIO wp failed
    [ 0.570558] ledtrig-cpu: registered to indicate activity on CPUs
    [ 0.570976] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [ 0.572781] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [ 0.574814] remoteproc0: wkup_m3 is available
    [ 0.574837] remoteproc0: Note: remoteproc is still under development and considered experimental.
    [ 0.574849] remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [ 0.575961] remoteproc0: Direct firmware load for am335x-pm-firmware.elf failed with error -2
    [ 0.575982] remoteproc0: Falling back to user helper
    [ 0.578657] oprofile: using arm/armv7
    [ 0.579130] Initializing XFRM netlink socket
    [ 0.579203] NET: Registered protocol family 17
    [ 0.579271] NET: Registered protocol family 15
    [ 0.579427] Key type dns_resolver registered
    [ 0.579869] omap_voltage_late_init: Voltage driver support not added
    [ 0.580641] ThumbEE CPU extension supported.
    [ 0.580688] Registering SWP/SWPB emulation handler
    [ 0.583755] pinctrl-single 44e10800.pinmux: pin 44e1087c.0 already requested by 44e10800.pinmux; cannot claim for fixedregulator@2
    [ 0.583789] pinctrl-single 44e10800.pinmux: pin-31 (fixedregulator@2) status -22
    [ 0.583808] pinctrl-single 44e10800.pinmux: could not request pin 31 (44e1087c.0) from group pinmux_wl12xx_gpio on device pinctrl-single
    [ 0.583823] reg-fixed-voltage fixedregulator@2: Error applying setting, reverse things back
    [ 0.583956] of_get_named_gpiod_flags: parsed 'gpio' property of node '/fixedregulator@2[0]' - status (0)
    [ 0.600677] tps65910 0-002d: No interrupt support, no core IRQ
    [ 0.653431] gpiochip_find_base: found new base at 504
    [ 0.653743] GPIO line 504 (reset_fg_i2c_mux) hogged as output/high
    [ 0.653922] gpiochip_add: registered GPIOs 504 to 511 on device: pcf8574
    [ 0.653943] pcf857x 0-0020: probed
    [ 0.654413] gpiochip_find_base: found new base at 496
    [ 0.654580] gpiochip_add: registered GPIOs 496 to 503 on device: pcf8574
    [ 0.654597] pcf857x 0-0021: probed
    [ 0.655050] gpiochip_find_base: found new base at 488
    [ 0.655223] gpiochip_add: registered GPIOs 488 to 495 on device: pcf8574
    [ 0.655238] pcf857x 0-0022: probed
    [ 0.655692] gpiochip_find_base: found new base at 480
    [ 0.655852] gpiochip_add: registered GPIOs 480 to 487 on device: tca9554
    [ 0.655867] pcf857x 0-0070: probed
    [ 0.660259] rtc-s35390a 0-0030: rtc core: registered rtc-s35390a as rtc0
    [ 0.660313] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 100 kHz
    [ 0.661717] pinctrl-single 44e10800.pinmux: pin 44e109a0.0 already requested by 44e10800.pinmux; cannot claim for 48060000.mmc
    [ 0.661750] pinctrl-single 44e10800.pinmux: pin-104 (48060000.mmc) status -22
    [ 0.661769] pinctrl-single 44e10800.pinmux: could not request pin 104 (44e109a0.0) from group pinmux_mmc1_pins on device pinctrl-single
    [ 0.661787] omap_hsmmc 48060000.mmc: Error applying setting, reverse things back
    [ 0.661966] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd
    [ 0.661981] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [ 0.662019] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@48060000[0]' - status (0)
    [ 0.662102] omap_hsmmc 48060000.mmc: Got CD GPIO
    [ 0.662120] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp
    [ 0.662132] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [ 0.662146] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@48060000[0]'
    [ 0.662160] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@48060000[0]'
    [ 0.662173] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup
    [ 0.662186] omap_hsmmc 48060000.mmc: lookup for GPIO wp failed
    [ 0.662668] vmmc: supplied by vbat
    [ 0.701022] pinctrl-single 44e10800.pinmux: pin 44e10880.0 already requested by 44e10800.pinmux; cannot claim for 481d8000.mmc
    [ 0.701052] pinctrl-single 44e10800.pinmux: pin-32 (481d8000.mmc) status -22
    [ 0.701070] pinctrl-single 44e10800.pinmux: could not request pin 32 (44e10880.0) from group pinmux_mmc2_pins on device pinctrl-single
    [ 0.701085] omap_hsmmc 481d8000.mmc: Error applying setting, reverse things back
    [ 0.701260] omap_hsmmc 481d8000.mmc: GPIO lookup for consumer cd
    [ 0.701276] omap_hsmmc 481d8000.mmc: using device tree for GPIO lookup
    [ 0.701294] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@481d8000[0]'
    [ 0.701308] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@481d8000[0]'
    [ 0.701321] omap_hsmmc 481d8000.mmc: using lookup tables for GPIO lookup
    [ 0.701334] omap_hsmmc 481d8000.mmc: lookup for GPIO cd failed
    [ 0.701351] omap_hsmmc 481d8000.mmc: GPIO lookup for consumer wp
    [ 0.701362] omap_hsmmc 481d8000.mmc: using device tree for GPIO lookup
    [ 0.701375] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@481d8000[0]'
    [ 0.701388] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@481d8000[0]'
    [ 0.701400] omap_hsmmc 481d8000.mmc: using lookup tables for GPIO lookup
    [ 0.701412] omap_hsmmc 481d8000.mmc: lookup for GPIO wp failed
    [ 0.779755] mmc0: host does not support reading read-only switch, assuming write-enable
    [ 0.783610] mmc0: new high speed SDHC card at address aaaa
    [ 0.784194] mmcblk0: mmc0:aaaa SU08G 7.40 GiB
    [ 0.789339] mmcblk0: p1 p2
    [ 0.840397] omap_hsmmc 481d8000.mmc: card claims to support voltages below defined range
    [ 0.851214] mmc1: queuing unknown CIS tuple 0x91 (3 bytes)
    [ 0.852027] mmc1: new high speed SDIO card at address 0001
    [ 0.880103] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [ 0.880122] davinci_mdio 4a101000.mdio: detected phy mask fffffffd
    [ 0.881083] libphy: 4a101000.mdio: probed
    [ 0.881112] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver SMSC LAN8710/LAN8720
    [ 0.882048] cpsw 4a100000.ethernet: Detected MACID = 68:c9:0b:24:a0:e0
    [ 0.883197] cpsw 4a100000.ethernet: cpsw: Detected MACID = 68:c9:0b:24:a0:e2
    [ 0.885055] rtc-s35390a 0-0030: setting system clock to 2016-06-01 08:58:25 UTC (1464771505)
    [ 0.890299] wlan-en-regulator: disabling
    [ 0.890335] lis3_reg: disabling
    [ 0.890475] ALSA device list:
    [ 0.890484] No soundcards found.
    [ 0.890661] Warning: unable to open an initial console.
    [ 0.911261] EXT4-fs (mmcblk0p2): warning: mounting fs with errors, running e2fsck is recommended
    [ 0.916920] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [ 0.917018] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [ 0.925042] devtmpfs: mounted
    [ 0.925652] Freeing unused kernel memory: 264K (c083e000 - c0880000)
    [ 1.823815] udevd[99]: starting version 182
    [ 2.156980] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_buttons@0/switch@1[0]' - status (0)
    [ 2.157038] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_buttons@0/switch@2[0]' - status (0)
    [ 2.157068] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_buttons@0/switch@3[0]' - status (0)
    [ 2.157098] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_buttons@0/switch@4[0]' - status (0)
    [ 2.157127] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_buttons@0/switch@5[0]' - status (0)
    [ 2.157157] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_buttons@0/switch@6[0]' - status (0)
    [ 2.157185] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_buttons@0/switch@7[0]' - status (0)
    [ 2.157924] input: gpio_buttons@0 as /devices/platform/gpio_buttons@0/input/input0
    [ 2.223678] vdd_mpu: supplied by vbat
    [ 2.248386] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@1[0]' - status (0)
    [ 2.248700] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@2[0]' - status (0)
    [ 2.248908] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@3[0]' - status (0)
    [ 2.249091] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@4[0]' - status (0)
    [ 2.249264] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@5[0]' - status (0)
    [ 2.249445] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@6[0]' - status (0)
    [ 2.249629] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@7[0]' - status (0)
    [ 2.249803] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@8[0]' - status (0)
    [ 2.249979] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@9[0]' - status (0)
    [ 2.276563] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@10[0]' - status (0)
    [ 2.276859] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@11[0]' - status (0)
    [ 2.277053] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@12[0]' - status (0)
    [ 2.277234] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@13[0]' - status (0)
    [ 2.277420] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@14[0]' - status (0)
    [ 2.389812] input: ti-tsc as /devices/platform/ocp/44e0d000.tscadc/TI-am335x-tsc/input/input1
    [ 2.453777] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [ 2.456370] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc1
    [ 2.469565] of_get_named_gpiod_flags: can't parse 'gpio-reset' property of node '/ocp/i2c@44e0b000/tlv320aic3106@1b[0]'
    [ 2.469744] vaux2: supplied by vbat
    [ 2.551343] am335x-phy-driver 47401300.usb-phy: GPIO lookup for consumer reset
    [ 2.551378] am335x-phy-driver 47401300.usb-phy: using device tree for GPIO lookup
    [ 2.551400] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [ 2.551415] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [ 2.551429] am335x-phy-driver 47401300.usb-phy: using lookup tables for GPIO lookup
    [ 2.551444] am335x-phy-driver 47401300.usb-phy: lookup for GPIO reset failed
    [ 2.551461] am335x-phy-driver 47401300.usb-phy: GPIO lookup for consumer vbus-detect
    [ 2.551473] am335x-phy-driver 47401300.usb-phy: using device tree for GPIO lookup
    [ 2.551486] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpios' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [ 2.551500] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpio' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [ 2.551513] am335x-phy-driver 47401300.usb-phy: using lookup tables for GPIO lookup
    [ 2.551525] am335x-phy-driver 47401300.usb-phy: lookup for GPIO vbus-detect failed
    [ 2.551613] 47401300.usb-phy supply vcc not found, using dummy regulator
    [ 2.571249] lis3lv02d: 16 bits lis331dlh sensor found
    [ 2.601145] am335x-phy-driver 47401b00.usb-phy: GPIO lookup for consumer reset
    [ 2.601182] am335x-phy-driver 47401b00.usb-phy: using device tree for GPIO lookup
    [ 2.601204] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
    [ 2.601218] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
    [ 2.601233] am335x-phy-driver 47401b00.usb-phy: using lookup tables for GPIO lookup
    [ 2.601248] am335x-phy-driver 47401b00.usb-phy: lookup for GPIO reset failed
    [ 2.601264] am335x-phy-driver 47401b00.usb-phy: GPIO lookup for consumer vbus-detect
    [ 2.601276] am335x-phy-driver 47401b00.usb-phy: using device tree for GPIO lookup
    [ 2.601289] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpios' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
    [ 2.601303] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpio' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
    [ 2.601315] am335x-phy-driver 47401b00.usb-phy: using lookup tables for GPIO lookup
    [ 2.601329] am335x-phy-driver 47401b00.usb-phy: lookup for GPIO vbus-detect failed
    [ 2.601417] 47401b00.usb-phy supply vcc not found, using dummy regulator
    [ 2.660720] input: ST LIS3LV02DL Accelerometer as /devices/platform/lis3lv02d/input/input2
    [ 3.271823] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [ 4.106498] PM: bootloader does not support rtc-only!
    [ 4.170570] remoteproc0: powering up wkup_m3
    [ 4.171866] remoteproc0: Booting fw image am335x-pm-firmware.elf, size 219803
    [ 4.172175] remoteproc0: remote processor wkup_m3 is now up
    [ 4.172211] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x191
    [ 4.331719] davinci_evm sound: tlv320aic3x-hifi <-> 4803c000.mcasp mapping ok
    [ 6.591082] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [ 6.814598] usbcore: registered new interface driver usbfs
    [ 6.814727] usbcore: registered new interface driver hub
    [ 6.824277] usbcore: registered new device driver usb
    [ 6.952984] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    [ 6.953019] musb-hdrc: MHDRC RTL version 2.0
    [ 6.953032] musb-hdrc: setup fifo_mode 4
    [ 6.953060] musb-hdrc: 28/31 max ep, 16384/16384 memory
    [ 6.953257] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
    [ 6.953309] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
    [ 6.959789] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [ 6.959825] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 6.959839] usb usb1: Product: MUSB HDRC host driver
    [ 6.959852] usb usb1: Manufacturer: Linux 4.1.6-g52c4aa7 musb-hcd
    [ 6.959865] usb usb1: SerialNumber: musb-hdrc.1.auto
    [ 6.979405] hub 1-0:1.0: USB hub found
    [ 6.979530] hub 1-0:1.0: 1 port detected
    [ 7.028669] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    [ 7.028703] musb-hdrc: MHDRC RTL version 2.0
    [ 7.028714] musb-hdrc: setup fifo_mode 4
    [ 7.028740] musb-hdrc: 28/31 max ep, 16384/16384 memory
    [ 7.028939] musb-hdrc musb-hdrc.2.auto: MUSB HDRC host driver
    [ 7.028989] musb-hdrc musb-hdrc.2.auto: new USB bus registered, assigned bus number 2
    [ 7.061484] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    [ 7.061519] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 7.061534] usb usb2: Product: MUSB HDRC host driver
    [ 7.061547] usb usb2: Manufacturer: Linux 4.1.6-g52c4aa7 musb-hcd
    [ 7.061560] usb usb2: SerialNumber: musb-hdrc.2.auto
    [ 7.067621] hub 2-0:1.0: USB hub found
    [ 7.067715] hub 2-0:1.0: 1 port detected
    [ 7.165499] cfg80211: Calling CRDA to update world regulatory domain
    [ 7.443554] wl18xx_driver wl18xx.0.auto: Direct firmware load for ti-connectivity/wl1271-nvs.bin failed with error -2
    [ 7.443589] wl18xx_driver wl18xx.0.auto: Falling back to user helper
    [ 7.470273] usb 2-1: new high-speed USB device number 2 using musb-hdrc
    [ 7.565950] cfg80211: World regulatory domain updated:
    [ 7.565992] cfg80211: DFS Master region: unset
    [ 7.566005] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
    [ 7.566025] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
    [ 7.566038] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
    [ 7.566051] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
    [ 7.566067] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
    [ 7.566083] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
    [ 7.566097] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
    [ 7.566109] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
    [ 7.566122] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
    [ 7.621119] usb 2-1: New USB device found, idVendor=1bc7, idProduct=0021
    [ 7.621152] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [ 7.621166] usb 2-1: Product: 6 CDC-ACM
    [ 7.621178] usb 2-1: Manufacturer: Telit
    [ 7.621191] usb 2-1: SerialNumber: 357164042754880
    [ 7.871206] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
    [ 7.926385] wlcore: loaded
    [ 7.993621] cryptodev: driver 1.6 loaded.
    [ 8.075911] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
    [ 8.228819] random: nonblocking pool is initialized
    [ 8.868853] EXT4-fs error (device mmcblk0p2): ext4_mb_generate_buddy:757: group 23, block bitmap and bg descriptor inconsistent: 31830 vs 31828 free clusters
    [ 8.897417] JBD2: Spotted dirty metadata buffer (dev = mmcblk0p2, blocknr = 0). There's a risk of filesystem corruption in case of system crash.
    [ 9.710311] net eth1: initializing cpsw version 1.12 (0)
    [ 9.713779] net eth1: phy found : id is : 0x7c0f1
    [ 11.193747] NET: Registered protocol family 10
    [ 11.199526] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [ 11.596794] GPIO_TEST: The button is mapped to IRQ: 91
    [ 11.596839] genirq: Flags mismatch irq 91. 00000004 (reset_interupt_irq_handler) vs. 00002003 (48060000.mmc cd)
    [ 11.596849] GPIO_TEST: Error
    [ 11.674941] cdc_acm 2-1:1.0: ttyACM0: USB ACM device
    [ 11.683545] cdc_acm 2-1:1.2: ttyACM1: USB ACM device
    [ 11.697739] cdc_acm 2-1:1.4: ttyACM2: USB ACM device
    [ 11.705605] cdc_acm 2-1:1.6: ttyACM3: USB ACM device
    [ 11.716512] cdc_acm 2-1:1.8: ttyACM4: USB ACM device
    [ 11.728203] cdc_acm 2-1:1.10: ttyACM5: USB ACM device
    [ 11.738006] usbcore: registered new interface driver cdc_acm
    [ 11.738040] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    [ 11.823178] gpio_lf_driver init
    [ 11.823229] gpio_lf_driver: assigned major: 246
    [ 11.823239] create node with mknod /dev/gpio_lf_driver c 246 0
    [ 11.934246] bq27x00-battery 0-0055: support ver. 1.2.0 enabled
    [ 11.934444] sc_pcom1.1_fuel_gauge fuel_gauge@55000000: Fuel gauge driver has probed!!
    [ 11.940582] power_supply bq27421-0: driver failed to report `voltage_now' property: -121
    [ 11.953819] bq27x00-battery 0-0055: Gas Gauge Reset
    [ 11.957613] power_supply bq27421-0: driver failed to report `voltage_now' property: -121
    [ 11.958534] power_supply bq27421-0: driver failed to report `voltage_now' property: -121
    [ 11.959339] power_supply bq27421-0: driver failed to report `voltage_now' property: -121
    [ 11.968453] gpio-504 (reset_fg_i2c_mux): gpiod_request: status -16
    [ 11.968481] export_store: status -16
    [ 13.871080] cpsw 4a100000.ethernet eth1: Link is Up - 100Mbps/Full - flow control off
    [ 13.871224] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
    root@am335x-evm:~#


    Thanks Oded
  • In reply to Yordan Kovachev:

    Hi Yordan,
    Is there a problem in bootlog/dmesg?

    Thanks Oded
  • In reply to Oded Almog:

    Well, there are quite a lot of drivers that use GPIO:
    pwm-backlight
    mmc
    vbus-detect-gpios in usb-phy
    etc..

    Have you verified that you DON'T duplicate gpio2 1 in your dts?

    Best Regards,
    Yordan

     


     Please make sure you read the forum guidelines first.

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.