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.

AM3354: LCD error

Part Number: AM3354

we are using process-sdk-linux-am335x-06.00.00.07,how to solve the above problem

  • Hi user4927006,

    Do you use AM335x TI board or custom board?

    Can you put your boot up log in txt file and attach this file here?

    Regards,
    Pavel

  • Hi Pavel Botev,

    We are using custom board

    root@am335x-evm:/usr/share/qt5/examples/touch/fingerpaint# dmesg
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.19.38-g4dae378bbe (root@ubuntu) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #1 PREEMPT Wed Aug 28 14:51:22 CST 2019
    [    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] OF: fdt: Machine model: TI AM335x EVM-SK
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] cma: Reserved 48 MiB at 0x8d000000
    [    0.000000] On node 0 totalpages: 65536
    [    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 (sgx neon)
    [    0.000000] random: get_random_bytes called from start_kernel+0xa4/0x434 with crng_init=0
    [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
    [    0.000000] pcpu-alloc: [0] 0 
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64960
    [    0.000000] Kernel command line: console=ttyS0,115200n8 root=/dev/nfs nfsroot=192.168.1.130:/home/ygw/arago-tisdk-NFS ip=192.168.1.241:192.168.1.130:192.168.1.1:255.255.255.0::eth0:off
    [    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: 197348K/262144K available (8192K kernel code, 296K rwdata, 2616K rodata, 1024K init, 252K bss, 15644K reserved, 49152K cma-reserved, 0K highmem)
    [    0.000000] Virtual kernel memory layout:
                       vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                       fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                       vmalloc : 0xd0800000 - 0xff800000   ( 752 MB)
                       lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
                       pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
                       modules : 0xbf000000 - 0xbfe00000   (  14 MB)
                         .text : 0x(ptrval) - 0x(ptrval)   (9184 kB)
                         .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
                         .data : 0x(ptrval) - 0x(ptrval)   ( 297 kB)
                          .bss : 0x(ptrval) - 0x(ptrval)   ( 253 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000]  Tasks RCU enabled.
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [    0.000000] IRQ: Found an INTC at 0x(ptrval) (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.000047] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [    0.000062] OMAP clocksource: timer1 at 24000000 Hz
    [    0.000290] timer_probe: no matching timers found
    [    0.000533] Console: colour dummy device 80x30
    [    0.000625] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
    [    0.118768] pid_max: default: 32768 minimum: 301
    [    0.119043] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.119064] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.120148] CPU: Testing write buffer coherency: ok
    [    0.120235] CPU0: Spectre v2: using BPIALL workaround
    [    0.121371] Setting up static identity map for 0x80100000 - 0x80100060
    [    0.121578] rcu: Hierarchical SRCU implementation.
    [    0.122055] EFI services will not be available.
    [    0.123987] devtmpfs: initialized
    [    0.134880] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.135397] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.135429] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.140317] pinctrl core: initialized pinctrl subsystem
    [    0.141303] DMI not present or invalid.
    [    0.141863] NET: Registered protocol family 16
    [    0.144978] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.170779] l4_wkup_cm:clk:0010:0: failed to disable
    [    0.226046] cpuidle: using governor ladder
    [    0.226096] cpuidle: using governor menu
    [    0.232936] gpio gpiochip0: (gpio-0-31): added GPIO chardev (254:0)
    [    0.233071] gpiochip_setup_dev: registered GPIOs 0 to 31 on device: gpiochip0 (gpio-0-31)
    [    0.233131] OMAP GPIO hardware version 0.1
    [    0.234189] gpio gpiochip1: (gpio-32-63): added GPIO chardev (254:1)
    [    0.234298] gpiochip_setup_dev: registered GPIOs 32 to 63 on device: gpiochip1 (gpio-32-63)
    [    0.235294] gpio gpiochip2: (gpio-64-95): added GPIO chardev (254:2)
    [    0.235399] gpiochip_setup_dev: registered GPIOs 64 to 95 on device: gpiochip2 (gpio-64-95)
    [    0.236351] gpio gpiochip3: (gpio-96-127): added GPIO chardev (254:3)
    [    0.236467] gpiochip_setup_dev: registered GPIOs 96 to 127 on device: gpiochip3 (gpio-96-127)
    [    0.245609] No ATAGs?
    [    0.245633] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.264596] edma 49000000.edma: TI EDMA DMA engine driver
    [    0.268428] media: Linux media interface: v0.10
    [    0.268502] videodev: Linux video capture interface: v2.00
    [    0.268627] pps_core: LinuxPPS API ver. 1 registered
    [    0.268640] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.268673] PTP clock support registered
    [    0.268955] EDAC MC: Ver: 3.0.0
    [    0.270123] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.270593] Advanced Linux Sound Architecture Driver Initialized.
    [    0.272224] clocksource: Switched to clocksource timer1
    [    0.284118] NET: Registered protocol family 2
    [    0.285209] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
    [    0.285256] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.285295] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.285333] TCP: Hash tables configured (established 2048 bind 2048)
    [    0.285466] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.285494] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.285697] NET: Registered protocol family 1
    [    0.286495] RPC: Registered named UNIX socket transport module.
    [    0.286513] RPC: Registered udp transport module.
    [    0.286523] RPC: Registered tcp transport module.
    [    0.286532] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.286553] PCI: CLS 0 bytes, default 64
    [    0.287682] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [    0.289433] Initialise system trusted keyrings
    [    0.289865] workingset: timestamp_bits=14 max_order=16 bucket_order=2
    [    0.296668] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.297685] NFS: Registering the id_resolver key type
    [    0.297743] Key type id_resolver registered
    [    0.297753] Key type id_legacy registered
    [    0.297813] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.298460] pstore: using deflate compression
    [    0.300908] Key type asymmetric registered
    [    0.300932] Asymmetric key parser 'x509' registered
    [    0.301020] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.301037] io scheduler noop registered
    [    0.301048] io scheduler deadline registered
    [    0.301390] io scheduler cfq registered (default)
    [    0.301407] io scheduler mq-deadline registered
    [    0.301419] io scheduler kyber registered
    [    0.303874] pinctrl-single 44e10800.pinmux: 142 pins, size 568
    [    0.374591] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.379939] console [ttyS0] disabled
    [    0.380064] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
    [    0.991199] console [ttyS0] enabled
    [    0.996308] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 31, base_baud = 3000000) is a 8250
    [    1.007702] omap_rng 48310000.rng: Random Number Generator ver. 20
    [    1.015829] tilcdc-panel panel: GPIO lookup for consumer enable
    [    1.015842] tilcdc-panel panel: using device tree for GPIO lookup
    [    1.015874] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/panel[0]'
    [    1.015894] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/panel[0]'
    [    1.015907] tilcdc-panel panel: using lookup tables for GPIO lookup
    [    1.015918] tilcdc-panel panel: No GPIO consumer enable found
    [    1.016259] OF: graph: no port node found in /ocp/lcdc@4830e000
    [    1.022707] OF: graph: no port node found in /ocp/lcdc@4830e000
    [    1.029283] OF: graph: no port node found in /ocp/lcdc@4830e000
    [    1.035366] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    1.042014] [drm] No driver support for vblank timestamp query.
    [    1.098601] Console: switching to colour frame buffer device 160x50
    [    1.121117] tilcdc 4830e000.lcdc: fb0: DRM emulated frame buffer device
    [    1.128591] [drm] Initialized tilcdc 1.0.0 20121205 for 4830e000.lcdc on minor 0
    [    1.152612] brd: module loaded
    [    1.165345] loop: module loaded
    [    1.171765] mdio_bus fixed-0: GPIO lookup for consumer reset
    [    1.171780] mdio_bus fixed-0: using lookup tables for GPIO lookup
    [    1.171790] mdio_bus fixed-0: No GPIO consumer reset found
    [    1.171824] libphy: Fixed MDIO Bus: probed
    [    1.193845] mdio_bus 4a101000.mdio: GPIO lookup for consumer reset
    [    1.193861] mdio_bus 4a101000.mdio: using device tree for GPIO lookup
    [    1.193895] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/ethernet@4a100000/mdio@4a101000[0]'
    [    1.193916] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/ethernet@4a100000/mdio@4a101000[0]'
    [    1.193929] mdio_bus 4a101000.mdio: using lookup tables for GPIO lookup
    [    1.193940] mdio_bus 4a101000.mdio: No GPIO consumer reset found
    [    1.252295] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [    1.260010] davinci_mdio 4a101000.mdio: detected phy mask fffffffd
    [    1.267790] libphy: 4a101000.mdio: probed
    [    1.271846] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver NS DP83848C 10/100 Mbps PHY
    [    1.283062] cpsw 4a100000.ethernet: No slave[1] phy_id, phy-handle, or fixed-link property
    [    1.291457] cpsw 4a100000.ethernet: Detected MACID = 58:7a:62:ae:be:21
    [    1.298332] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
    [    1.304827] cpsw 4a100000.ethernet: ALE Table size 1024
    [    1.310126] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    [    1.319284] i2c /dev entries driver
    [    1.325982] cpuidle: enable-method property 'ti,am3352' found operations
    [    1.333448] sdhci: Secure Digital Host Controller Interface driver
    [    1.339665] sdhci: Copyright(c) Pierre Ossman
    [    1.344749] sdhci-pltfm: SDHCI platform and OF driver helper
    [    1.351266] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.361730] NET: Registered protocol family 10
    [    1.368205] Segment Routing with IPv6
    [    1.372028] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    1.379313] NET: Registered protocol family 17
    [    1.384380] Key type dns_resolver registered
    [    1.388955] omap_voltage_late_init: Voltage driver support not added
    [    1.396624] Loading compiled-in X.509 certificates
    [    1.414383] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [    1.419586] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [    1.425931] gpiochip_find_base: found new base at 510
    [    1.426341] gpio gpiochip4: (omap-gpmc): added GPIO chardev (254:4)
    [    1.426470] gpiochip_setup_dev: registered GPIOs 510 to 511 on device: gpiochip4 (omap-gpmc)
    [    1.427832] omap2-nand 8000000.nand: GPIO lookup for consumer rb
    [    1.427850] omap2-nand 8000000.nand: using device tree for GPIO lookup
    [    1.427905] of_get_named_gpiod_flags: parsed 'rb-gpios' property of node '/ocp/gpmc@50000000/nand@0,0[0]' - status (0)
    [    1.428162] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
    [    1.434769] nand: Micron MT29F2G08ABAEAWP
    [    1.438807] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
    [    1.446556] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
    [    1.452089] 10 fixed-partitions partitions found on MTD device omap2-nand.0
    [    1.459127] Creating 10 MTD partitions on "omap2-nand.0":
    [    1.464602] 0x000000000000-0x000000020000 : "NAND.SPL"
    [    1.471270] 0x000000020000-0x000000040000 : "NAND.SPL.backup1"
    [    1.478517] 0x000000040000-0x000000060000 : "NAND.SPL.backup2"
    [    1.485633] 0x000000060000-0x000000080000 : "NAND.SPL.backup3"
    [    1.492753] 0x000000080000-0x0000000c0000 : "NAND.u-boot-spl-os"
    [    1.500038] 0x0000000c0000-0x0000001c0000 : "NAND.u-boot"
    [    1.507154] 0x0000001c0000-0x0000001e0000 : "NAND.u-boot-env"
    [    1.514214] 0x0000001e0000-0x000000200000 : "NAND.u-boot-env.backup1"
    [    1.521855] 0x000000200000-0x000000a00000 : "NAND.kernel"
    [    1.532420] 0x000000a00000-0x000010000000 : "NAND.file-system"
    [    1.687976] random: fast init done
    [    1.700606] tps65217 0-0024: TPS65217 ID 0xe version 1.2
    [    1.706359] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    1.715018] ilitek_log_level_value = 0.
    [    1.718938] of_get_named_gpiod_flags: parsed 'ilitek,reset-gpio' property of node '/ocp/i2c@4819c000/ilitek@41[0]' - status (0)
    [    1.718967] of_get_named_gpiod_flags: parsed 'ilitek,irq-gpio' property of node '/ocp/i2c@4819c000/ilitek@41[0]' - status (0)
    [    1.967994] protocol version: 3.0.12  ilitek_data->ptl.ver = 0x30003
    [    1.980186] protocol version: 3.0.12  ilitek_data->ptl.ver = 0x30003
    [    1.992517] MCU KERNEL version:17.37.13.0.1
    [    2.002855] firmware version:6.0.0.0.255.255.255.255
    [    2.013959] screen_min_x: 0, screen_min_y: 0 screen_max_x: 16383, screen_max_y: 9599
    [    2.028040] tp_min_x: 0, tp_max_x: 16384, tp_min_y: 0, tp_max_y: 9600, ch_x: 39, ch_y: 25, max_tp: 10, key_count: 0
    [    2.038859] input: ilitek_ts as /devices/platform/ocp/4819c000.i2c/i2c-2/2-0041/input/input0
    [    2.048635] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz
    [    2.055210] hctosys: unable to open rtc device (rtc0)
    [    2.075072] net eth0: initializing cpsw version 1.12 (0)
    [    2.183099] NS DP83848C 10/100 Mbps PHY 4a101000.mdio:01: attached PHY driver [NS DP83848C 10/100 Mbps PHY] (mii_bus:phy_addr=4a101000.mdio:01, irq=POLL)
    [    2.197249] libphy: PHY  not found
    [    2.200780] net eth0: phy "" not found on slave 1, err -19
    [    2.211555] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [    5.363304] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [    5.392343] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [    5.422515] IP-Config: Complete:
    [    5.425808]      device=eth0, hwaddr=58:7a:62:ae:be:21, ipaddr=192.168.1.241, mask=255.255.255.0, gw=192.168.1.1
    [    5.436321]      host=192.168.1.241, domain=, nis-domain=(none)
    [    5.442404]      bootserver=192.168.1.130, rootserver=192.168.1.130, rootpath=
    [    5.450706] ALSA device list:
    [    5.454099]   No soundcards found.
    [    5.523663] VFS: Mounted root (nfs filesystem) readonly on device 0:15.
    [    5.531529] devtmpfs: mounted
    [    5.538681] Freeing unused kernel memory: 1024K
    [    5.544294] Run /sbin/init as init process
    [    6.337494] systemd[1]: System time before build time, advancing clock.
    [    6.450419] systemd[1]: systemd 239 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid)
    [    6.473351] systemd[1]: Detected architecture arm.
    [    6.538695] systemd[1]: Set hostname to <am335x-evm>.
    [    7.801312] systemd[1]: File /lib/systemd/system/systemd-journald.service:36 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
    [    7.819031] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
    [    8.172782] systemd[1]: /lib/systemd/system/gadget-init.service:15: Unknown lvalue 'ExecStopPre' in section 'Service'
    [    9.532169] random: systemd: uninitialized urandom read (16 bytes read)
    [    9.543022] systemd[1]: Listening on Journal Socket (/dev/log).
    [    9.573375] random: systemd: uninitialized urandom read (16 bytes read)
    [    9.581242] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [    9.622727] random: systemd: uninitialized urandom read (16 bytes read)
    [    9.633851] systemd[1]: Listening on udev Control Socket.
    [    9.793157] systemd[1]: Listening on Process Core Dump Socket.
    [   10.589283] cryptodev: loading out-of-tree module taints kernel.
    [   10.607374] cryptodev: driver 1.9 loaded.
    [   10.618979] random: crng init done
    [   10.622437] random: 7 urandom warning(s) missed due to ratelimiting
    [   10.738597] usbcore: registered new interface driver usbfs
    [   10.749977] usbcore: registered new interface driver hub
    [   10.766009] usbcore: registered new device driver usb
    [   10.838327] usbcore: registered new interface driver ftdi_sio
    [   10.877948] usbserial: USB Serial support registered for FTDI USB Serial Device
    [   12.034751] systemd-journald[71]: Received request to flush runtime journal from PID 1
    [   16.377176] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [   16.408982] omap_rtc 44e3e000.rtc: char device (253:0)
    [   16.409032] omap_rtc 44e3e000.rtc: registered as rtc0
    [   19.245145] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [   19.412104] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [   19.534780] omap-aes 53500000.aes: will run requests pump with realtime priority
    [   19.754822] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
    [   19.891650] [drm] Initialized pvr 1.17.4948957 20110701 for 56000000.sgx on minor 1
    [   20.002995] PM: Cannot get wkup_m3_ipc handle
    [   20.054309] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
    [   20.061456] PM: Cannot get wkup_m3_ipc handle
    [   22.758412] remoteproc remoteproc0: wkup_m3 is available
    [   22.840937] PM: Cannot get wkup_m3_ipc handle
    [   22.845928] remoteproc remoteproc0: powering up wkup_m3
    [   23.172622] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 242896
    [   23.181091] remoteproc remoteproc0: remote processor wkup_m3 is now up
    [   23.181117] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
    [   33.995045] PM: bootloader does not support rtc-only!
    [   34.071559] am335x-phy-driver 47401300.usb-phy: GPIO lookup for consumer reset
    [   34.071581] am335x-phy-driver 47401300.usb-phy: using device tree for GPIO lookup
    [   34.071627] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [   34.071649] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [   34.071664] am335x-phy-driver 47401300.usb-phy: using lookup tables for GPIO lookup
    [   34.071675] am335x-phy-driver 47401300.usb-phy: No GPIO consumer reset found
    [   34.071687] am335x-phy-driver 47401300.usb-phy: GPIO lookup for consumer vbus-detect
    [   34.071695] am335x-phy-driver 47401300.usb-phy: using device tree for GPIO lookup
    [   34.071715] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpios' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [   34.071735] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpio' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [   34.071746] am335x-phy-driver 47401300.usb-phy: using lookup tables for GPIO lookup
    [   34.071755] am335x-phy-driver 47401300.usb-phy: No GPIO consumer vbus-detect found
    [   34.071895] am335x-phy-driver 47401300.usb-phy: 47401300.usb-phy supply vcc not found, using dummy regulator
    [   34.212743] am335x-phy-driver 47401300.usb-phy: Linked as a consumer to regulator.0
    [   34.297255] am335x-phy-driver 47401b00.usb-phy: GPIO lookup for consumer reset
    [   34.297277] am335x-phy-driver 47401b00.usb-phy: using device tree for GPIO lookup
    [   34.297318] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
    [   34.297339] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
    [   34.297354] am335x-phy-driver 47401b00.usb-phy: using lookup tables for GPIO lookup
    [   34.297365] am335x-phy-driver 47401b00.usb-phy: No GPIO consumer reset found
    [   34.297378] am335x-phy-driver 47401b00.usb-phy: GPIO lookup for consumer vbus-detect
    [   34.297386] am335x-phy-driver 47401b00.usb-phy: using device tree for GPIO lookup
    [   34.297406] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpios' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
    [   34.297426] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpio' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
    [   34.297436] am335x-phy-driver 47401b00.usb-phy: using lookup tables for GPIO lookup
    [   34.297445] am335x-phy-driver 47401b00.usb-phy: No GPIO consumer vbus-detect found
    [   34.297587] am335x-phy-driver 47401b00.usb-phy: 47401b00.usb-phy supply vcc not found, using dummy regulator
    [   34.365249] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    [   34.370658] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
    [   34.445614] am335x-phy-driver 47401b00.usb-phy: Linked as a consumer to regulator.0
    [   34.534382] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
    [   34.631064] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   34.709672] usb usb1: Product: MUSB HDRC host driver
    [   34.746439] usb usb1: Manufacturer: Linux 4.19.38-g4dae378bbe musb-hcd
    [   34.792448] usb usb1: SerialNumber: musb-hdrc.0
    [   34.829755] hub 1-0:1.0: USB hub found
    [   34.851679] hub 1-0:1.0: 1 port detected
    [   34.931523] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    [   35.007078] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
    [   35.082978] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
    [   35.091317] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   35.183633] usb usb2: Product: MUSB HDRC host driver
    [   35.188657] usb usb2: Manufacturer: Linux 4.19.38-g4dae378bbe musb-hcd
    [   35.225356] usb usb2: SerialNumber: musb-hdrc.1
    [   35.245889] hub 2-0:1.0: USB hub found
    [   35.250261] hub 2-0:1.0: 1 port detected
    [   35.712499] usb 2-1: new high-speed USB device number 2 using musb-hdrc
    [   35.902981] usb 2-1: New USB device found, idVendor=0424, idProduct=2512, bcdDevice= b.b3
    [   35.913883] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [   35.933217] hub 2-1:1.0: USB hub found
    [   35.939618] hub 2-1:1.0: 2 ports detected
    [   55.379123] PVR_K: UM DDK-(4948957) and KM DDK-(4948957) match. [ OK ]
    [   56.405440] gpio gpiochip3: Persistence not supported for GPIO 21
    [   57.228744] NET: Registered protocol family 15
    [   59.267070] Initializing XFRM netlink socket
    [   62.541197] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000020): FIFO underflow
    [   62.557263] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000004): Sync lost
    [   62.564146] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000004): Sync lost
    [   62.832591] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000020): FIFO underflow
    [   62.839830] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000104): Sync lost
    [   74.405285] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000020): FIFO underflow
    [   74.418007] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000004): Sync lost
    [   74.424886] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000004): Sync lost
    [   74.477823] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000020): FIFO underflow
    [   74.485218] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000104): Sync lost
    [   74.575160] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000020): FIFO underflow
    [   74.582514] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000104): Sync lost
    [   74.653828] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000020): FIFO underflow
    [   74.662048] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000004): Sync lost
    [   74.668931] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000004): Sync lost
    [   74.810286] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000020): FIFO underflow
    [   74.824758] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000004): Sync lost
    [   74.831533] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000004): Sync lost
    [   74.865441] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000020): FIFO underflow
    [   74.873557] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000004): Sync lost
    [   74.880322] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000004): Sync lost
    [   97.863030] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000020): FIFO underflow
    [   97.879201] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000004): Sync lost
    [   97.886098] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000004): Sync lost
    [  130.387708] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000020): FIFO underflow
    [  130.396966] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000004): Sync lost
    [  130.403811] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000004): Sync lost
    [  221.695429] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000020): FIFO underflow
    [  221.703649] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000004): Sync lost
    [  221.710413] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000004): Sync lost
    [  221.721033] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000020): FIFO underflow
    [  221.729233] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000020): FIFO underflow
    [  221.736557] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000104): Sync lost
    root@am335x-evm:/usr/share/qt5/examples/touch/fingerpaint# 

    and the dts is based on am335x-evmsk.dts

    /*
     * 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
     * http://www.ti.com/tool/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";
    
    	memory@80000000 {
    		device_type = "memory";
    		reg = <0x80000000 0x10000000>; /* 256 MB */
    	};
    
    	chosen {
    		stdout-path = &uart0;
    	};
    
    	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>;
    			invert-pxl-clk  = <1>;
    		};
    		display-timings {
    			1280x800 {
    				clock-frequency = <70000000>;
    				hactive = <1280>;
    				vactive = <800>;
    				hfront-porch = <64>;
    				hback-porch = <5>;
    				hsync-len = <1>;
    				vback-porch = <2>;
    				vfront-porch = <40>;
    				vsync-len = <1>;
    			};
    		};
    	};
    };
    
    &am33xx_pinmux {
    	pinctrl-names = "default";
    
    	lcd_pins_default: lcd_pins_default {
    		pinctrl-single,pins = <
    			AM33XX_IOPAD(0x8a0, PIN_OUTPUT | MUX_MODE0)	/* lcd_data0.lcd_data0 */
    			AM33XX_IOPAD(0x8a4, PIN_OUTPUT | MUX_MODE0)	/* lcd_data1.lcd_data1 */
    			AM33XX_IOPAD(0x8a8, PIN_OUTPUT | MUX_MODE0)	/* lcd_data2.lcd_data2 */
    			AM33XX_IOPAD(0x8ac, PIN_OUTPUT | MUX_MODE0)	/* lcd_data3.lcd_data3 */
    			AM33XX_IOPAD(0x8b0, PIN_OUTPUT | MUX_MODE0)	/* lcd_data4.lcd_data4 */
    			AM33XX_IOPAD(0x8b4, PIN_OUTPUT | MUX_MODE0)	/* lcd_data5.lcd_data5 */
    			AM33XX_IOPAD(0x8b8, PIN_OUTPUT | MUX_MODE0)	/* lcd_data6.lcd_data6 */
    			AM33XX_IOPAD(0x8bc, PIN_OUTPUT | MUX_MODE0)	/* lcd_data7.lcd_data7 */
    			AM33XX_IOPAD(0x8c0, PIN_OUTPUT | MUX_MODE0)	/* lcd_data8.lcd_data8 */
    			AM33XX_IOPAD(0x8c4, PIN_OUTPUT | MUX_MODE0)	/* lcd_data9.lcd_data9 */
    			AM33XX_IOPAD(0x8c8, PIN_OUTPUT | MUX_MODE0)	/* lcd_data10.lcd_data10 */
    			AM33XX_IOPAD(0x8cc, PIN_OUTPUT | MUX_MODE0)	/* lcd_data11.lcd_data11 */
    			AM33XX_IOPAD(0x8d0, PIN_OUTPUT | MUX_MODE0)	/* lcd_data12.lcd_data12 */
    			AM33XX_IOPAD(0x8d4, PIN_OUTPUT | MUX_MODE0)	/* lcd_data13.lcd_data13 */
    			AM33XX_IOPAD(0x8d8, PIN_OUTPUT | MUX_MODE0)	/* lcd_data14.lcd_data14 */
    			AM33XX_IOPAD(0x8dc, PIN_OUTPUT | MUX_MODE0)	/* lcd_data15.lcd_data15 */
    			AM33XX_IOPAD(0x8e0, PIN_OUTPUT | MUX_MODE0)	/* lcd_vsync.lcd_vsync */
    			AM33XX_IOPAD(0x8e4, PIN_OUTPUT | MUX_MODE0)	/* lcd_hsync.lcd_hsync */
    			AM33XX_IOPAD(0x8e8, PIN_OUTPUT | MUX_MODE0)	/* lcd_pclk.lcd_pclk */
    			AM33XX_IOPAD(0x8ec, PIN_OUTPUT | MUX_MODE0)	/* lcd_ac_bias_en.lcd_ac_bias_en */
    		>;
    	};
    
    	lcd_pins_sleep: lcd_pins_sleep {
    		pinctrl-single,pins = <
    			AM33XX_IOPAD(0x8a0, PULL_DISABLE | MUX_MODE7)	/* lcd_data0.lcd_data0 */
    			AM33XX_IOPAD(0x8a4, PULL_DISABLE | MUX_MODE7)	/* lcd_data1.lcd_data1 */
    			AM33XX_IOPAD(0x8a8, PULL_DISABLE | MUX_MODE7)	/* lcd_data2.lcd_data2 */
    			AM33XX_IOPAD(0x8ac, PULL_DISABLE | MUX_MODE7)	/* lcd_data3.lcd_data3 */
    			AM33XX_IOPAD(0x8b0, PULL_DISABLE | MUX_MODE7)	/* lcd_data4.lcd_data4 */
    			AM33XX_IOPAD(0x8b4, PULL_DISABLE | MUX_MODE7)	/* lcd_data5.lcd_data5 */
    			AM33XX_IOPAD(0x8b8, PULL_DISABLE | MUX_MODE7)	/* lcd_data6.lcd_data6 */
    			AM33XX_IOPAD(0x8bc, PULL_DISABLE | MUX_MODE7)	/* lcd_data7.lcd_data7 */
    			AM33XX_IOPAD(0x8c0, PULL_DISABLE | MUX_MODE7)	/* lcd_data8.lcd_data8 */
    			AM33XX_IOPAD(0x8c4, PULL_DISABLE | MUX_MODE7)	/* lcd_data9.lcd_data9 */
    			AM33XX_IOPAD(0x8c8, PULL_DISABLE | MUX_MODE7)	/* lcd_data10.lcd_data10 */
    			AM33XX_IOPAD(0x8cc, PULL_DISABLE | MUX_MODE7)	/* lcd_data11.lcd_data11 */
    			AM33XX_IOPAD(0x8d0, PULL_DISABLE | MUX_MODE7)	/* lcd_data12.lcd_data12 */
    			AM33XX_IOPAD(0x8d4, PULL_DISABLE | MUX_MODE7)	/* lcd_data13.lcd_data13 */
    			AM33XX_IOPAD(0x8d8, PULL_DISABLE | MUX_MODE7)	/* lcd_data14.lcd_data14 */
    			AM33XX_IOPAD(0x8dc, PULL_DISABLE | MUX_MODE7)	/* lcd_data15.lcd_data15 */
    			AM33XX_IOPAD(0x8e0, PIN_INPUT_PULLDOWN | MUX_MODE7)	/* lcd_vsync.lcd_vsync */
    			AM33XX_IOPAD(0x8e4, PIN_INPUT_PULLDOWN | MUX_MODE7)	/* lcd_hsync.lcd_hsync */
    			AM33XX_IOPAD(0x8e8, PIN_INPUT_PULLDOWN | MUX_MODE7)	/* lcd_pclk.lcd_pclk */
    			AM33XX_IOPAD(0x8ec, PIN_INPUT_PULLDOWN | MUX_MODE7)	/* lcd_ac_bias_en.lcd_ac_bias_en */
    		>;
    	};
    
    
    	i2c0_pins: pinmux_i2c0_pins {
    		pinctrl-single,pins = <
    			AM33XX_IOPAD(0x988, PIN_INPUT_PULLUP | MUX_MODE0)	/* i2c0_sda.i2c0_sda */
    			AM33XX_IOPAD(0x98c, PIN_INPUT_PULLUP | MUX_MODE0)	/* i2c0_scl.i2c0_scl */
    		>;
    	};
    	i2c2_pins: pinmux_i2c2_pins {
    		pinctrl-single,pins = <
    			AM33XX_IOPAD(0x978, PIN_INPUT_PULLUP | MUX_MODE3)	/* uart1_ctsn */
    			AM33XX_IOPAD(0x97c, PIN_INPUT_PULLUP | MUX_MODE3)	/* uart1_rtsn */
    		>;
    	};
    
    	uart0_pins: pinmux_uart0_pins {
    		pinctrl-single,pins = <
    			AM33XX_IOPAD(0x970, PIN_INPUT_PULLUP | MUX_MODE0)	/* uart0_rxd.uart0_rxd */
    			AM33XX_IOPAD(0x974, PIN_OUTPUT_PULLDOWN | MUX_MODE0)	/* uart0_txd.uart0_txd */
    		>;
    	};
    
    	uart1_pins: pinmux_uart1_pins {
    		pinctrl-single,pins = <
    			AM33XX_IOPAD(0x980, PIN_INPUT_PULLUP | MUX_MODE0)	/* uart1_rxd.uart1_rxd */
    			AM33XX_IOPAD(0x984, PIN_OUTPUT_PULLDOWN | MUX_MODE0)	/* uart1_txd.uart1_txd */
    		>;
    	};
    
    	nandflash_pins_s0: nandflash_pins_s0 {
    		pinctrl-single,pins = <
    			AM33XX_IOPAD(0x800, PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_ad0.gpmc_ad0 */
    			AM33XX_IOPAD(0x804, PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_ad1.gpmc_ad1 */
    			AM33XX_IOPAD(0x808, PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_ad2.gpmc_ad2 */
    			AM33XX_IOPAD(0x80c, PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_ad3.gpmc_ad3 */
    			AM33XX_IOPAD(0x810, PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_ad4.gpmc_ad4 */
    			AM33XX_IOPAD(0x814, PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_ad5.gpmc_ad5 */
    			AM33XX_IOPAD(0x818, PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_ad6.gpmc_ad6 */
    			AM33XX_IOPAD(0x81c, PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_ad7.gpmc_ad7 */
    			AM33XX_IOPAD(0x870, PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_wait0.gpmc_wait0 */
    			AM33XX_IOPAD(0x874, PIN_OUTPUT_PULLUP | MUX_MODE0)	/* gpmc_wpn.gpio0_30 */
    			AM33XX_IOPAD(0x87c, PIN_OUTPUT_PULLDOWN | MUX_MODE0)	/* gpmc_csn0.gpmc_csn0  */
    			AM33XX_IOPAD(0x890, PIN_OUTPUT_PULLDOWN | MUX_MODE0)	/* gpmc_advn_ale.gpmc_advn_ale */
    			AM33XX_IOPAD(0x894, PIN_OUTPUT_PULLDOWN | MUX_MODE0)	/* gpmc_oen_ren.gpmc_oen_ren */
    			AM33XX_IOPAD(0x898, PIN_OUTPUT_PULLDOWN | MUX_MODE0)	/* gpmc_wen.gpmc_wen */
    			AM33XX_IOPAD(0x89c, PIN_OUTPUT_PULLDOWN | MUX_MODE0)	/* gpmc_be0n_cle.gpmc_be0n_cle */
    		>;
    
    	};
    
    	cpsw_default: cpsw_default {
    		pinctrl-single,pins = <
    			/* Slave 1 */
    			AM33XX_IOPAD(0x90C, PIN_INPUT_PULLDOWN | MUX_MODE1)	
    			AM33XX_IOPAD(0x910, PIN_INPUT_PULLDOWN | MUX_MODE1)	
    			AM33XX_IOPAD(0x914, PIN_OUTPUT | MUX_MODE1)	
    			AM33XX_IOPAD(0x924, PIN_OUTPUT | MUX_MODE1)	
    			AM33XX_IOPAD(0x928, PIN_OUTPUT | MUX_MODE1)	
    			AM33XX_IOPAD(0x93C, PIN_INPUT_PULLDOWN | MUX_MODE1)	
    			AM33XX_IOPAD(0x940, PIN_INPUT_PULLDOWN | MUX_MODE1)	
    			AM33XX_IOPAD(0x944, PIN_INPUT_PULLDOWN | MUX_MODE0)		
    		>;
    	};
    
    	cpsw_sleep: cpsw_sleep {
    		pinctrl-single,pins = <
    			/* Slave 1 reset value */
    			AM33XX_IOPAD(0x90C, PIN_INPUT_PULLDOWN | MUX_MODE7)
    			AM33XX_IOPAD(0x910, PIN_INPUT_PULLDOWN | MUX_MODE7)
    			AM33XX_IOPAD(0x914, PIN_INPUT_PULLDOWN | MUX_MODE7)
    			AM33XX_IOPAD(0x924, PIN_INPUT_PULLDOWN | MUX_MODE7)
    			AM33XX_IOPAD(0x928, PIN_INPUT_PULLDOWN | MUX_MODE7)
    			AM33XX_IOPAD(0x93C, PIN_INPUT_PULLDOWN | MUX_MODE7)
    			AM33XX_IOPAD(0x940, PIN_INPUT_PULLDOWN | MUX_MODE7)
    			AM33XX_IOPAD(0x944, PIN_INPUT_PULLDOWN | MUX_MODE7)
    
    		>;
    	};
    
    	davinci_mdio_default: davinci_mdio_default {
    		pinctrl-single,pins = <
    			/* MDIO */
    			AM33XX_IOPAD(0x948, PIN_INPUT_PULLUP | MUX_MODE0)	/* mdio_data.mdio_data */
    			AM33XX_IOPAD(0x94c, PIN_OUTPUT_PULLUP | MUX_MODE0)	/* mdio_clk.mdio_clk */
    		>;
    	};
    
    	davinci_mdio_sleep: davinci_mdio_sleep {
    		pinctrl-single,pins = <
    			/* MDIO reset value */
    			AM33XX_IOPAD(0x948, PIN_INPUT_PULLDOWN | MUX_MODE7)
    			AM33XX_IOPAD(0x94c, PIN_INPUT_PULLDOWN | MUX_MODE7)
    		>;
    	};
    };
    
    &uart0 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&uart0_pins>;
    
    	status = "okay";
    };
    
    &uart1 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&uart1_pins>;
    
    	status = "okay";
    };
    
    &i2c0 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&i2c0_pins>;
    
    	status = "okay";
    	clock-frequency = <400000>;
    
    	tps: tps@24 {
    		reg = <0x24>;
    	};
    };
    
    &i2c2 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&i2c2_pins>;
    
    	status = "okay";
    
    	ilitek@41 {
    		compatible = "tchip,ilitek";
    		reg = <0x41>;
    		interrupt-parent = <&gpio0>;
    		interrupts = <17 0x0>;
    		ilitek,irq-gpio = <&gpio0 17 0x0>;
    		ilitek,reset-gpio = <&gpio0 16 0x0>;
    	};
    };
    
    &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";
    };
    
    &wkup_m3_ipc {
    	ti,needs-vtt-toggle;
    	ti,vtt-gpio-pin = <7>;
    	ti,scale-data-fw = "am335x-evm-scale-data.bin";
    };
    
    &gpmc {
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&nandflash_pins_s0>;
    	ranges = <0 0 0x08000000 0x1000000>;	/* CS0: 16MB for NAND */
    	nand@0,0 {
    		compatible = "ti,omap2-nand";
    		reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
    		interrupt-parent = <&gpmc>;
    		interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
    			     <1 IRQ_TYPE_NONE>;	/* termcount */
    		rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */
    		ti,nand-xfer-type = "prefetch-dma";
    		ti,nand-ecc-opt = "bch8";
    		ti,elm-id = <&elm>;
    		nand-bus-width = <8>;
    		gpmc,device-width = <1>;
    		gpmc,sync-clk-ps = <0>;
    		gpmc,cs-on-ns = <0>;
    		gpmc,cs-rd-off-ns = <44>;
    		gpmc,cs-wr-off-ns = <44>;
    		gpmc,adv-on-ns = <6>;
    		gpmc,adv-rd-off-ns = <34>;
    		gpmc,adv-wr-off-ns = <44>;
    		gpmc,we-on-ns = <0>;
    		gpmc,we-off-ns = <40>;
    		gpmc,oe-on-ns = <0>;
    		gpmc,oe-off-ns = <54>;
    		gpmc,access-ns = <64>;
    		gpmc,rd-cycle-ns = <82>;
    		gpmc,wr-cycle-ns = <82>;
    		gpmc,bus-turnaround-ns = <0>;
    		gpmc,cycle2cycle-delay-ns = <0>;
    		gpmc,clk-activation-ns = <0>;
    		gpmc,wr-access-ns = <40>;
    		gpmc,wr-data-mux-bus-ns = <0>;
    		/* MTD partition table */
    		/* All SPL-* partitions are sized to minimal length
    		 * which can be independently programmable. For
    		 * NAND flash this is equal to size of erase-block */
    		#address-cells = <1>;
    		#size-cells = <1>;
    		partition@0 {
    			label = "NAND.SPL";
    			reg = <0x00000000 0x000020000>;
    		};
    		partition@1 {
    			label = "NAND.SPL.backup1";
    			reg = <0x00020000 0x00020000>;
    		};
    		partition@2 {
    			label = "NAND.SPL.backup2";
    			reg = <0x00040000 0x00020000>;
    		};
    		partition@3 {
    			label = "NAND.SPL.backup3";
    			reg = <0x00060000 0x00020000>;
    		};
    		partition@4 {
    			label = "NAND.u-boot-spl-os";
    			reg = <0x00080000 0x00040000>;
    		};
    		partition@5 {
    			label = "NAND.u-boot";
    			reg = <0x000C0000 0x00100000>;
    		};
    		partition@6 {
    			label = "NAND.u-boot-env";
    			reg = <0x001C0000 0x00020000>;
    		};
    		partition@7 {
    			label = "NAND.u-boot-env.backup1";
    			reg = <0x001E0000 0x00020000>;
    		};
    		partition@8 {
    			label = "NAND.kernel";
    			reg = <0x00200000 0x00800000>;
    		};
    		partition@9 {
    			label = "NAND.file-system";
    			reg = <0x00A00000 0x0F600000>;
    		};
    	};
    };
    
    
    &elm {
    	status = "okay";  /*nand flash校验*/
    };
    
    
    #include "tps65217.dtsi"
    
    &tps {
    	/*
    	 * Configure pmic to enter OFF-state instead of SLEEP-state ("RTC-only
    	 * mode") at poweroff.  Most BeagleBone versions do not support RTC-only
    	 * mode and risk hardware damage if this mode is entered.
    	 *
    	 * For details, see linux-omap mailing list May 2015 thread
    	 *	[PATCH] ARM: dts: am335x-bone* enable pmic-shutdown-controller
    	 * In particular, messages:
    	 *	http://www.spinics.net/lists/linux-omap/msg118585.html
    	 *	http://www.spinics.net/lists/linux-omap/msg118615.html
    	 *
    	 * You can override this later with
    	 *	&tps {  /delete-property/ ti,pmic-shutdown-controller;  }
    	 * if you want to use RTC-only mode and made sure you are not affected
    	 * by the hardware problems. (Tip: double-check by performing a current
    	 * measurement after shutdown: it should be less than 1 mA.)
    	 */
    
    
    	ti,pmic-shutdown-controller;
    
    
    	regulators {
    		dcdc1_reg: regulator@0 {
    			regulator-name = "vdds_dpr";
    			regulator-always-on;
    		};
    
    		dcdc2_reg: regulator@1 {
    			/* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
    			regulator-name = "vdd_mpu";
    			regulator-min-microvolt = <925000>;
    			regulator-max-microvolt = <1351500>;
    			regulator-boot-on;
    			regulator-always-on;
    		};
    
    		dcdc3_reg: regulator@2 {
    			/* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
    			regulator-name = "vdd_core";
    			regulator-min-microvolt = <925000>;
    			regulator-max-microvolt = <1150000>;
    			regulator-boot-on;
    			regulator-always-on;
    		};
    
    		ldo1_reg: regulator@3 {
    			regulator-name = "vio,vrtc,vdds";
    			regulator-always-on;
    		};
    
    		ldo2_reg: regulator@4 {
    			regulator-name = "vdd_3v3aux";
    			regulator-always-on;
    		};
    
    		ldo3_reg: regulator@5 {
    			regulator-name = "vdd_1v8";
    			regulator-always-on;
    		};
    
    		ldo4_reg: regulator@6 {
    			regulator-name = "vdd_3v3a";
    			regulator-always-on;
    		};
    	};
    };
    
    &mac {
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&cpsw_default>;
    	pinctrl-1 = <&cpsw_sleep>;
    	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>, <1>;
    	phy-mode = "rmii";
    };
    
    &phy_sel{
    	rmii-clock-ext;
    };
    
    &lcdc {
    	status = "okay";
    };
    
    &sgx {
    	status = "okay";
    };
    
    

  • Hi user4927006,

    You might need more LCDC memory bandwidth. Please refer to the below e2e threads for details:

    Regards,
    Pavel

  • Hi,Pavel Botev

    I tried

    #define EMIF_OCP_CONFIG_BEAGLEBONE_BLACK 0x00141414

    #define EMIF_OCP_CONFIG_AM335X_EVM 0x003d3d3d

    but did not resolve my issue.

    My DDR3 is cutom,please let me know how to get a correct .ocp_config value

  • Hello,

    For settings AM335x EMIF optimal values, please refer to the below pointers:

    Regards,
    Pavel