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.

AM437x Display Shows *ERROR* gfx: errors: 00000040

Hi Team,

We are using a custom board based on AM437x-sk design & using processor-sdk-02.00.02.11

We integrated 320*240 display to the custom board & got the following errors continuously.

[drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040

[drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040

[drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040

[drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040

 

The above source of error is from drivers/gpu/drm/omapdrm/omap_plane.c file where

error_irq handler registration done in omap_plane_init module.

 

I want to know whether the error is due to any noise disturbance in SOC or

due to wrong interfacing in the software?

 

I have attached dts file and complete bootlog for your reference.

Thanks & Regards.

Arun Nehru A.V.

5280.bootlog.txt
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.1.18-gbbe8cfc (root@arun) (gcc version 4.9.3 20150413 (prerelease) (Linaro GCC 4.9-2015.05) ) #58 PREEMPT Sat Aug 27 10:34:48 IST 2016
[    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: TI AM437x SK EVM
[    0.000000] cma: Reserved 24 MiB at 0xbe800000
[    0.000000] Memory policy: Data cache writeback
[    0.000000] On node 0 totalpages: 262144
[    0.000000] free_area_init_node: node 0, pgdat c0924598, node_mem_map eeef9000
[    0.000000]   Normal zone: 1710 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 194560 pages, LIFO batch:31
[    0.000000]   HighMem zone: 67584 pages, LIFO batch:15
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] AM437x ES1.2 (sgx 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: 260434
[    0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=00000000-02 rw rootfstype=ext4 rootwait
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 1004128K/1048576K available (6391K kernel code, 257K rwdata, 2408K rodata, 276K init, 235K bss, 19872K reserved, 24576K cma-reserved, 245760K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc08a005c   (8801 kB)
[    0.000000]       .init : 0xc08a1000 - 0xc08e6000   ( 276 kB)
[    0.000000]       .data : 0xc08e6000 - 0xc09265c0   ( 258 kB)
[    0.000000]        .bss : 0xc0929000 - 0xc0963d48   ( 236 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] L2C: platform modifies aux control register: 0x0e030000 -> 0x3e430000
[    0.000000] L2C: DT/platform modifies aux control register: 0x0e030000 -> 0x3e430000
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] OMAP L2C310: ROM does not support power control setting
[    0.000000] L2C-310 ID prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating disabled, standby mode disabled
[    0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB
[    0.000000] L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x7e430000
[    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
[    0.000062] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000109] clocksource timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000132] OMAP clocksource: timer1 at 24000000 Hz
[    0.002555] Console: colour dummy device 80x30
[    0.002691] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[    0.002702] This ensures that you still see kernel messages. Please
[    0.002707] update your kernel commandline.
[    0.002793] Calibrating delay loop... 1993.93 BogoMIPS (lpj=9969664)
[    0.110605] pid_max: default: 32768 minimum: 301
[    0.111096] Security Framework initialized
[    0.111289] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.111314] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.114726] Initializing cgroup subsys blkio
[    0.114859] Initializing cgroup subsys memory
[    0.115138] Initializing cgroup subsys devices
[    0.115188] Initializing cgroup subsys freezer
[    0.115245] Initializing cgroup subsys perf_event
[    0.115369] CPU: Testing write buffer coherency: ok
[    0.117740] Setting up static identity map for 0x80008200 - 0x80008270
[    0.126306] devtmpfs: initialized
[    0.150427] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.236293] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.247133] pinctrl core: initialized pinctrl subsystem
[    0.253411] NET: Registered protocol family 16
[    0.257550] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.290683] cpuidle: using governor ladder
[    0.320609] cpuidle: using governor menu
[    0.336416] gpiochip_add: registered GPIOs 0 to 31 on device: gpio
[    0.337192] OMAP GPIO hardware version 0.1
[    0.340970] gpiochip_add: registered GPIOs 32 to 63 on device: gpio
[    0.343314] gpiochip_add: registered GPIOs 64 to 95 on device: gpio
[    0.345286] gpiochip_add: registered GPIOs 96 to 127 on device: gpio
[    0.367359] No ATAGs?
[    0.367544] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.367580] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.424736] edma 49000000.edma: TI EDMA DMA engine driver
[    0.427744] of_get_named_gpiod_flags: parsed 'gpio' property of node '/fixedregulator-mmcwl[0]' - status (0)
[    0.436752] vgaarb: loaded
[    0.438752] SCSI subsystem initialized
[    0.441529] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/i2c0_pins, deferring probe
[    0.441739] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/i2c1_pins, deferring probe
[    0.442144] media: Linux media interface: v0.10
[    0.442322] Linux video capture interface: v2.00
[    0.442456] pps_core: LinuxPPS API ver. 1 registered
[    0.442466] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.442525] PTP clock support registered
[    0.445314] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    0.446926] Advanced Linux Sound Architecture Driver Initialized.
[    0.449695] Switched to clocksource timer1
[    0.475917] NET: Registered protocol family 2
[    0.479112] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.479363] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[    0.479570] TCP: Hash tables configured (established 8192 bind 8192)
[    0.480680] UDP hash table entries: 512 (order: 1, 8192 bytes)
[    0.480756] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
[    0.481698] NET: Registered protocol family 1
[    0.483800] RPC: Registered named UNIX socket transport module.
[    0.483845] RPC: Registered udp transport module.
[    0.483852] RPC: Registered tcp transport module.
[    0.483860] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.483996] PCI: CLS 0 bytes, default 64
[    0.492955] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.493446] audit: initializing netlink subsys (disabled)
[    0.493825] audit: type=2000 audit(0.480:1): initialized
[    0.508541] VFS: Disk quotas dquot_6.6.0
[    0.509350] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.515586] NFS: Registering the id_resolver key type
[    0.515936] Key type id_resolver registered
[    0.515950] Key type id_legacy registered
[    0.516189] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.523177] NET: Registered protocol family 38
[    0.523520] bounce: pool size: 64 pages
[    0.523578] io scheduler noop registered
[    0.523595] io scheduler deadline registered
[    0.523877] io scheduler cfq registered (default)
[    0.532880] pinctrl-single 44e10800.pinmux: 199 pins at pa f9e10800 size 796
[    0.542360] pwm-backlight backlight: GPIO lookup for consumer enable
[    0.542443] pwm-backlight backlight: using device tree for GPIO lookup
[    0.542480] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/backlight[0]'
[    0.542496] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/backlight[0]'
[    0.542505] pwm-backlight backlight: using lookup tables for GPIO lookup
[    0.542525] pwm-backlight backlight: lookup for GPIO enable failed
[    0.542603] backlight supply power not found, using dummy regulator
[    0.548349] 4832a000.dss supply vdda_video not found, using dummy regulator
[    0.549091] OMAP DSS rev 2.0
[    0.551572] omapdss_dss 4832a000.dss: bound 4832a400.dispc (ops dispc_component_ops)
[    0.555385] panel-dpi display: GPIO lookup for consumer enable
[    0.555437] panel-dpi display: using device tree for GPIO lookup
[    0.555475] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/display[0]'
[    0.555491] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/display[0]'
[    0.555499] panel-dpi display: using lookup tables for GPIO lookup
[    0.555519] panel-dpi display: lookup for GPIO enable failed
[    0.555603] *************** Analogics: Inside  panel_dpi_probe_of *************** 
[    0.558255] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[    0.562957] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
[    0.571674] omap8250 44e09000.serial: No clock speed specified: using default: 48000000
[    0.571767] omap8250 44e09000.serial: GPIO lookup for consumer enable
[    0.571786] omap8250 44e09000.serial: using device tree for GPIO lookup
[    0.571821] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/ocp/serial@44e09000[0]'
[    0.571831] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/ocp/serial@44e09000[0]'
[    0.571841] omap8250 44e09000.serial: using lookup tables for GPIO lookup
[    0.571856] omap8250 44e09000.serial: lookup for GPIO enable failed
[    0.573990] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
[    1.283529] console [ttyS0] enabled
[    1.289337] omap8250 48022000.serial: No clock speed specified: using default: 48000000
[    1.297757] omap8250 48022000.serial: GPIO lookup for consumer enable
[    1.297770] omap8250 48022000.serial: using device tree for GPIO lookup
[    1.297800] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/ocp/serial@48022000[0]'
[    1.297809] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/ocp/serial@48022000[0]'
[    1.297819] omap8250 48022000.serial: using lookup tables for GPIO lookup
[    1.297831] omap8250 48022000.serial: lookup for GPIO enable failed
[    1.299528] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 31, base_baud = 3000000) is a 8250
[    1.312789] [drm] Initialized drm 1.1.0 20060810
[    1.358677] brd: module loaded
[    1.381172] loop: module loaded
[    1.395039] mtdoops: mtd device (mtddev=name/number) must be supplied
[    1.470000] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[    1.476264] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
[    1.486559] libphy: 4a101000.mdio: probed
[    1.491259] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720
[    1.504076] cpsw 4a100000.ethernet: Random MACID = ae:3a:83:c6:6a:e6
[    1.519232] mousedev: PS/2 mouse device common for all mice
[    1.528053] input: ti-tsc as /devices/platform/44000000.ocp/44e0d000.tscadc/TI-am335x-tsc/input/input0
[    1.539434] i2c /dev entries driver
[    1.548500] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd
[    1.548557] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
[    1.548878] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@48060000[0]' - status (0)
[    1.549365] omap_hsmmc 48060000.mmc: Got CD GPIO
[    1.554479] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp
[    1.554499] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
[    1.554523] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@48060000[0]'
[    1.554536] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@48060000[0]'
[    1.554546] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup
[    1.554564] omap_hsmmc 48060000.mmc: lookup for GPIO wp failed
[    1.581914] omap_hsmmc 47810000.mmc: GPIO lookup for consumer cd
[    1.581981] omap_hsmmc 47810000.mmc: using device tree for GPIO lookup
[    1.582015] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@47810000[0]'
[    1.582031] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@47810000[0]'
[    1.582041] omap_hsmmc 47810000.mmc: using lookup tables for GPIO lookup
[    1.582058] omap_hsmmc 47810000.mmc: lookup for GPIO cd failed
[    1.582078] omap_hsmmc 47810000.mmc: GPIO lookup for consumer wp
[    1.582085] omap_hsmmc 47810000.mmc: using device tree for GPIO lookup
[    1.582091] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@47810000[0]'
[    1.582098] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@47810000[0]'
[    1.582107] omap_hsmmc 47810000.mmc: using lookup tables for GPIO lookup
[    1.582113] omap_hsmmc 47810000.mmc: lookup for GPIO wp failed
[    1.583157] /ocp/mmc@47810000: could not get #dma-cells for /ocp/l4_wkup@44c00000/prcm@1f0000/clocks/mux_synctimer32k_ck
[    1.594873] omap_hsmmc 47810000.mmc: unable to obtain RX DMA engine channel 0
[    1.631432] ledtrig-cpu: registered to indicate activity on CPUs
[    1.641457]  remoteproc0: wkup_m3 is available
[    1.646083]  remoteproc0: Note: remoteproc is still under development and considered experimental.
[    1.655471]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[    1.684195] oprofile: no performance counters
[    1.689220] oprofile: using timer interrupt.
[    1.695427] Initializing XFRM netlink socket
[    1.700515] NET: Registered protocol family 17
[    1.705319] NET: Registered protocol family 15
[    1.710568] Key type dns_resolver registered
[    1.715944] omap_voltage_late_init: Voltage driver support not added
[    1.724869] cpu cpu0: of_pm_voltdm_notifier_register: Failed to get cpu0 regulator/voltdm: -517
[    1.733986] cpu cpu0: cpu0 clock notifier not ready, retry
[    1.741259] ThumbEE CPU extension supported.
[    1.745740] Registering SWP/SWPB emulation handler
[    1.765298] omapdrm omapdrm.0: DMM not available, disable DMM support
[    1.776223] ********* Analogics ******* gfx
[    1.776223] : type=1**********
[    1.785180] ********* Analogics ******* vid1
[    1.785180] : type=0**********
[    1.793184] ********* Analogics ******* vid2
[    1.793184] : type=0**********
[    1.800961] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.807668] [drm] No driver support for vblank timestamp query.
[    1.861263] Console: switching to colour frame buffer device 40x30
[    1.883289] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
[    1.889282] omapdrm omapdrm.0: registered panic notifier
[    1.919782] [drm] Initialized omapdrm 1.0.0 20110917 on minor 0
[    1.988565] omap_i2c 44e0b000.i2c: bus 0 rev0.12 at 100 kHz
[    2.002986] omap_i2c 4802a000.i2c: bus 1 rev0.12 at 400 kHz
[    2.016027] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd
[    2.016101] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
[    2.016417] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@48060000[0]' - status (0)
[    2.016821] omap_hsmmc 48060000.mmc: Got CD GPIO
[    2.022141]  remoteproc0: powering up wkup_m3
[    2.026807]  remoteproc0: Booting fw image am335x-pm-firmware.elf, size 219803
[    2.034304] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp
[    2.034324] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
[    2.034354] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@48060000[0]'
[    2.034366] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@48060000[0]'
[    2.034372] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup
[    2.034395] omap_hsmmc 48060000.mmc: lookup for GPIO wp failed
[    2.038693]  remoteproc0: remote processor wkup_m3 is now up
[    2.038754] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x191
[    2.074011] cpu cpu0: of_pm_voltdm_notifier_register: Fail calculating voltage latency[950000<->1325000]:-22
[    2.091034] cpu cpu0: of_pm_voltdm_notifier_register: Fail calculating voltage latency[950000<->1325000]:-22
[    2.106842] hctosys: unable to open rtc device (rtc0)
[    2.137341] vmmcwl_fixed: disabling
[    2.142517] ALSA device list:
[    2.145651]   No soundcards found.
[    2.153908] Waiting for root device PARTUUID=00000000-02...
[    2.180024] mmc0: host does not support reading read-only switch, assuming write-enable
[    2.191864] mmc0: new high speed SDHC card at address aaaa
[    2.201264] mmcblk0: mmc0:aaaa SS08G 7.40 GiB 
[    2.210978]  mmcblk0: p1 p2 p3
[    2.297014] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    2.306334] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    2.320767] devtmpfs: mounted
[    2.327449] Freeing unused kernel memory: 276K (c08a1000 - c08e6000)
[    2.662247] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
[    2.715022] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[    2.721991] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[    3.277143] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[    3.284250] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[    3.290746] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[    4.362412] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[    4.369110] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[    4.375750] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[    4.665892] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[    4.672948] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[    6.859605] random: nonblocking pool is initialized
[    8.027600] omap_plane_error_irq: 5279 callbacks suppressed
[    8.033594] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[    8.040494] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[    8.367770] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[    8.374840] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[    8.381362] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[    8.459263] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[    8.466300] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[    9.072379] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[    9.079075] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[    9.104204] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   11.198697] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[   11.866705] EXT3-fs (mmcblk0p3): error: couldn't mount because of unsupported optional features (240)
[   11.884000] EXT2-fs (mmcblk0p3): error: couldn't mount because of unsupported optional features (240)
[   11.917113] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
>[   13.544886] udev[347]: starting version 167
[   13.552241] omap_plane_error_irq: 7785 callbacks suppressed
[   13.558088] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   13.564821] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   13.597739] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   13.604889] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   14.219331] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   14.226425] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   14.250075] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   14.257228] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   14.266295] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   14.273098] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   16.927375] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[   17.116069] ov2659 1-0030: GPIO lookup for consumer pwrdn
[   17.116169] ov2659 1-0030: using device tree for GPIO lookup
[   17.116208] of_get_named_gpiod_flags: can't parse 'pwrdn-gpios' property of node '/ocp/i2c@4802a000/ov2659@30[0]'
[   17.116230] of_get_named_gpiod_flags: can't parse 'pwrdn-gpio' property of node '/ocp/i2c@4802a000/ov2659@30[0]'
[   17.116240] ov2659 1-0030: using lookup tables for GPIO lookup
[   17.116256] ov2659 1-0030: lookup for GPIO pwrdn failed
[   17.152560] omap_rtc 44e3e000.rtc: already running
[   17.326755] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
[   18.120565] omap_i2c 4802a000.i2c: timeout waiting for bus ready
[   18.126988] ov2659 1-0030: Sensor soft reset failed
[   18.295507] of_get_named_gpiod_flags: can't parse 'gpio-reset' property of node '/ocp/i2c@4802a000/tlv320aic3106@1b[0]'
[   18.317021] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
[   19.350364] omap_i2c 4802a000.i2c: timeout waiting for bus ready
[   19.356774] lis3lv02d: unknown sensor type 0x92
[   19.471237] lis3lv02d_i2c: probe of 1-0018 failed with error -22
[   19.507684] omap_plane_error_irq: 13527 callbacks suppressed
[   19.513677] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   19.520609] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   20.119688] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   20.126875] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   20.659953] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   20.667088] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   20.702395] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   20.709088] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   20.715767] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   20.874804] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   20.905802] omap-aes 53501000.aes: OMAP AES hw accel rev: 0.1
[   21.317183] omap-des 53701000.des: OMAP DES hw accel rev: 0.33
[   21.619476] omap-sham 53100000.sham: hw accel on OMAP rev 0.0
[   21.668938] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@0[0]' - status (0)
[   21.953820] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@1[0]' - status (0)
[   21.955067] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@2[0]' - status (0)
[   21.955737] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@3[0]' - status (0)
[   22.346399] PM: bootloader does not support rtc-only!
[   22.734101] of_get_named_gpiod_flags: can't parse 'simple-audio-card,hp-det-gpio' property of node '/sound[0]'
[   22.734195] of_get_named_gpiod_flags: can't parse 'simple-audio-card,mic-det-gpio' property of node '/sound[0]'
[   22.926260] asoc-simple-card sound: tlv320aic3x-hifi <-> 4803c000.mcasp mapping ok
[   23.038452] [drm] Initialized pvr 1.14.3699939 20110701 on minor 1
[   25.094441] omap_plane_error_irq: 9505 callbacks suppressed
[   25.100395] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   25.107156] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   25.848724] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   25.855892] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   25.951948] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   25.958748] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   25.966210] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   26.003950] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   26.011017] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   26.017451] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   30.131496] omap_plane_error_irq: 6992 callbacks suppressed
[   30.137474] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   30.144198] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   30.169713] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   30.176845] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   30.183964] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   31.342581] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   31.349400] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   31.356006] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   31.375025] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   31.381985] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   33.696457] m25p80 spi32766.0: unrecognized JEDEC id bytes: 00,  0,  0
[   35.396866] omap_plane_error_irq: 4614 callbacks suppressed
[   35.402854] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   35.409820] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   35.423621] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   35.430416] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   35.452205] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   35.458883] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   35.546236] usbcore: registered new interface driver usbfs
[   35.567126] usbcore: registered new interface driver hub
[   35.584736] usbcore: registered new device driver usb
[   35.629891] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   35.637066] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   35.649396] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   35.656368] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   35.746687] dwc3 48390000.usb: otg: primary host xhci-hcd.0.auto registered
[   35.754705] dwc3 48390000.usb: otg: shared host xhci-hcd.0.auto registered
[   35.761884] dwc3 48390000.usb: otg: can't start till gadget registers
[   35.769215] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[   35.775105] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
[   35.790645] xhci-hcd xhci-hcd.1.auto: hcc params 0x0238f06d hci version 0x100 quirks 0x00210010
[   35.800127] xhci-hcd xhci-hcd.1.auto: irq 229, io mem 0x483d0000
[   35.807071] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[   35.814592] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   35.822254] usb usb1: Product: xHCI Host Controller
[   35.827201] usb usb1: Manufacturer: Linux 4.1.18-gbbe8cfc xhci-hcd
[   35.833505] usb usb1: SerialNumber: xhci-hcd.1.auto
[   35.854651] hub 1-0:1.0: USB hub found
[   35.859032] hub 1-0:1.0: 1 port detected
[   35.865876] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[   35.871951] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
[   35.880143] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[   35.888660] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[   35.900182] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   35.907616] usb usb2: Product: xHCI Host Controller
[   35.912709] usb usb2: Manufacturer: Linux 4.1.18-gbbe8cfc xhci-hcd
[   35.918950] usb usb2: SerialNumber: xhci-hcd.1.auto
[   35.936142] hub 2-0:1.0: USB hub found
[   35.941010] hub 2-0:1.0: 1 port detected
[   36.469415] udc 48390000.usb: registering UDC driver [g_ether]
[   36.543233] using random self ethernet address
[   36.547989] using random host ethernet address
[   36.574985] usb0: HOST MAC 5a:31:a5:5c:80:4f
[   36.589674] usb0: MAC 8e:b7:59:83:ca:66
[   36.595068] using random self ethernet address
[   36.599865] using random host ethernet address
[   36.604532] g_ether gadget: adding config #2 'RNDIS'/bf24a910
[   36.604589] rndis_register: configNr = 0
[   36.604607] g_ether gadget: adding 'rndis'/ee09c600 to config 'RNDIS'/bf24a910
[   36.604809] rndis_set_param_medium: 0 0
[   36.604825] g_ether gadget: RNDIS: dual speed IN/ep1in OUT/ep1out NOTIFY/ep2in
[   36.604841] g_ether gadget: cfg 2/bf24a910 speeds: high full
[   36.604850] g_ether gadget:   interface 0 = rndis/ee09c600
[   36.604856] g_ether gadget:   interface 1 = rndis/ee09c600
[   36.604892] g_ether gadget: adding config #1 'CDC Ethernet (ECM)'/bf24a864
[   36.604948] g_ether gadget: adding 'cdc_ethernet'/ee09c540 to config 'CDC Ethernet (ECM)'/bf24a864
[   36.605000] g_ether gadget: CDC Ethernet: dual speed IN/ep1in OUT/ep1out NOTIFY/ep2in
[   36.605015] g_ether gadget: cfg 1/bf24a864 speeds: high full
[   36.605021] g_ether gadget:   interface 0 = cdc_ethernet/ee09c540
[   36.605027] g_ether gadget:   interface 1 = cdc_ethernet/ee09c540
[   36.605062] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
[   36.612116] g_ether gadget: g_ether ready
[   36.616269] dwc3 48390000.usb: otg: gadget gadget registered
[   36.700392] usb0: eth_open
[   36.729423] usb0: stop stats: rx/tx 0/0, errs 0/0
[   36.789139] usb0: eth_open
[   40.736563] omap_plane_error_irq: 3327 callbacks suppressed
[   40.742540] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   40.749373] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   40.818803] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   40.825893] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   41.145754] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   41.152842] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   41.168743] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   41.175737] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   41.182565] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   41.190185] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   41.294077] NET: Registered protocol family 10
[   41.305860] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
[   44.324314] usb0: stop stats: rx/tx 0/0, errs 0/0
[   44.455127] usb0: eth_open
[   44.456333] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
[   46.615794] omap_plane_error_irq: 5431 callbacks suppressed
[   46.621690] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   46.628516] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[   46.780760] net eth0: initializing cpsw version 1.15 (0)
[   46.788419] net eth0: phy found : id is : 0x7c0f1
[   46.801407] libphy: PHY 4a101000.mdio:01 not found
[   46.806446] net eth0: phy 4a101000.mdio:01 not found on slave 1
[   46.855200] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[  110.679867] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[  110.687002] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[  110.693521] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[  111.024047] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[  111.031063] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[  114.039135] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[  114.046216] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[  114.052733] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[  114.059581] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
[  114.066121] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040

8814.am437x-sk-evm.txt
/*
 * Copyright (C) 2014 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.
 */

/* AM437x SK EVM */

/dts-v1/;

#include "am4372.dtsi"
#include <dt-bindings/pinctrl/am43xx.h>
#include <dt-bindings/pwm/pwm.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/interrupt-controller/irq.h>

/ {
	model = "TI AM437x SK EVM";
	compatible = "ti,am437x-sk-evm","ti,am4372","ti,am43";

	aliases {
		display0 = &lcd0;
	};

	backlight {
		compatible = "pwm-backlight";
		/* default values commented by arun analogics */
		/* pwms = <&ecap0 0 50000 PWM_POLARITY_INVERTED>; */
		pwms = <&ecap0 0 50000 0>;
		brightness-levels = <0 51 53 56 62 75 101 152 255>;
		default-brightness-level = <8>;
	};

	sound {
		compatible = "simple-audio-card";
		simple-audio-card,name = "AM437x-SK-EVM";
		simple-audio-card,widgets =
			"Headphone", "Headphone Jack";
		simple-audio-card,routing =
			"Headphone Jack",	"HPLOUT",
			"Headphone Jack",	"HPROUT";
		simple-audio-card,format = "dsp_b";
		simple-audio-card,bitclock-master = <&sound_master>;
		simple-audio-card,frame-master = <&sound_master>;
		simple-audio-card,bitclock-inversion;

		simple-audio-card,cpu {
			sound-dai = <&mcasp1>;
		};

		sound_master: simple-audio-card,codec {
			sound-dai = <&tlv320aic3106>;
			system-clock-frequency = <24000000>;
		};
	};
/*default keypad commented by arun analogics */
/*
	matrix_keypad: matrix_keypad@0 {
		compatible = "gpio-matrix-keypad";

		pinctrl-names = "default";
		/* pinctrl-0 = <&matrix_keypad_pins>; 

		debounce-delay-ms = <5>;
		col-scan-delay-us = <5>;

		row-gpios = <&gpio5 5 GPIO_ACTIVE_HIGH		/* Bank5, pin5 
				&gpio5 6 GPIO_ACTIVE_HIGH>;	/* Bank5, pin6 

		col-gpios = <&gpio5 13 GPIO_ACTIVE_HIGH		/* Bank5, pin13 
				&gpio5 4 GPIO_ACTIVE_HIGH>;	/* Bank5, pin4 

		linux,keymap = <
				MATRIX_KEY(0, 0, KEY_DOWN)
				MATRIX_KEY(0, 1, KEY_RIGHT)
				MATRIX_KEY(1, 0, KEY_LEFT)
				MATRIX_KEY(1, 1, KEY_UP)
			>;
	};
*/
	leds {
		compatible = "gpio-leds";

		pinctrl-names = "default";
	/*	pinctrl-0 = <&leds_pins>; */

		led@0 {
			label = "am437x-sk:red:heartbeat";
			gpios = <&gpio5 0 GPIO_ACTIVE_HIGH>;	/* Bank 5, pin 0 */
			linux,default-trigger = "heartbeat";
			default-state = "off";
		};

		led@1 {
			label = "am437x-sk:green:mmc1";
			gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>;	/* Bank 5, pin 1 */
			linux,default-trigger = "mmc0";
			default-state = "off";
		};

		led@2 {
			label = "am437x-sk:blue:cpu0";
			gpios = <&gpio5 2 GPIO_ACTIVE_HIGH>;	/* Bank 5, pin 2 */
			linux,default-trigger = "cpu0";
			default-state = "off";
		};

		led@3 {
			label = "am437x-sk:blue:usr3";
			gpios = <&gpio5 3 GPIO_ACTIVE_HIGH>;	/* Bank 5, pin 3 */
			default-state = "off";
		};
	};
/*Defualt display values commented by analogics */
/*
	lcd0: display {
		compatible = "newhaven,nhd-4.3-480272ef-atxl", "panel-dpi";
		label = "lcd";

		pinctrl-names = "default";
		pinctrl-0 = <&lcd_pins>;

		enable-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;

		panel-timing {
			clock-frequency = <9000000>;
			hactive = <480>;
			vactive = <272>;
			hfront-porch = <2>;
			hback-porch = <2>;
			hsync-len = <41>;
			vfront-porch = <2>;
			vback-porch = <2>;
			vsync-len = <10>;
			hsync-active = <0>;
			vsync-active = <0>;
			de-active = <1>;
			pixelclk-active = <1>;
		};

		port {
			lcd_in: endpoint {
				remote-endpoint = <&dpi_out>;
			};
		};
	};
*/

/* new display values added by arun analogics */

	lcd0: display {
		compatible = "Analogics,SKAT035GT-09-TP", "panel-dpi";
		label = "lcd";
/*
		pinctrl-names = "default";
		pinctrl-0 = <&lcd_pins>;

		enable-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;*/

		panel-timing {
			clock-frequency = <6500000>;
			hactive = <320>;
			vactive = <240>;
			hfront-porch = <18>;
			hback-porch = <65>;
			hsync-len = <1>;
			vfront-porch = <4>;
			vback-porch = <15>;
			vsync-len = <2>;
			hsync-active = <0>;
			vsync-active = <0>;
			de-active = <0>;
			pixelclk-active = <1>; 
		};

		port {
			lcd_in: endpoint {
				remote-endpoint = <&dpi_out>;
			};
		};
	};

	vmmcwl_fixed: fixedregulator-mmcwl {
		compatible = "regulator-fixed";
		regulator-name = "vmmcwl_fixed";
		regulator-min-microvolt = <1800000>;
		regulator-max-microvolt = <1800000>;
		gpio = <&gpio4 8 GPIO_ACTIVE_HIGH>;
		enable-active-high;
	};
};

&am43xx_pinmux {
/* matrix pinmux commented by arun analogics */
/*
	matrix_keypad_pins: matrix_keypad_pins {
		pinctrl-single,pins = <
			0x24c (PIN_OUTPUT | MUX_MODE7)	// gpio5_13.gpio5_13 
			0x250 (PIN_OUTPUT | MUX_MODE7)	// spi4_sclk.gpio5_4 
			0x254 (PIN_INPUT | MUX_MODE7)	// spi4_d0.gpio5_5 
			0x258 (PIN_INPUT | MUX_MODE7)	// spi4_d1.gpio5_5 
		>;
	};
*/

/*
	leds_pins: leds_pins {
		pinctrl-single,pins = <
			0x228 (PIN_OUTPUT | MUX_MODE7)	// uart3_rxd.gpio5_2 
			0x22c (PIN_OUTPUT | MUX_MODE7)	// uart3_txd.gpio5_3 
			0x230 (PIN_OUTPUT | MUX_MODE7)	// uart3_ctsn.gpio5_0 
			0x234 (PIN_OUTPUT | MUX_MODE7)	// uart3_rtsn.gpio5_1 
		>;
	};
*/
	i2c0_pins: i2c0_pins {
		pinctrl-single,pins = <
			0x188 (PIN_INPUT | SLEWCTRL_FAST | MUX_MODE0)  /* i2c0_sda.i2c0_sda */
			0x18c (PIN_INPUT | SLEWCTRL_FAST | MUX_MODE0)  /* i2c0_scl.i2c0_scl */
		>;
	};
/*
	i2c1_pins: i2c1_pins {
		pinctrl-single,pins = <
			0x15c (PIN_INPUT | SLEWCTRL_FAST | MUX_MODE2)  // spi0_cs0.i2c1_scl 
			0x158 (PIN_INPUT | SLEWCTRL_FAST | MUX_MODE2)  //  spi0_d1.i2c1_sda  
		>;
	};
*/
/* i2c1 pinmux added by analogics */
	i2c1_pins: i2c1_pins {
		pinctrl-single,pins = <
			0x16c (PIN_INPUT | SLEWCTRL_FAST | MUX_MODE2)  /* spi0_cs0.i2c1_scl  */
			0x168 (PIN_INPUT | SLEWCTRL_FAST | MUX_MODE2)  /*  spi0_d1.i2c1_sda  */
		>;
	};
/*
	mmc1_pins: pinmux_mmc1_pins {
		pinctrl-single,pins = <
			0x0f0 (PIN_INPUT | MUX_MODE0) /* mmc0_dat3.mmc0_dat3 
			0x0f4 (PIN_INPUT | MUX_MODE0) /* mmc0_dat2.mmc0_dat2 
			0x0f8 (PIN_INPUT | MUX_MODE0) /* mmc0_dat1.mmc0_dat1 
			0x0fc (PIN_INPUT | MUX_MODE0) /* mmc0_dat0.mmc0_dat0 
			0x100 (PIN_INPUT | MUX_MODE0) /* mmc0_clk.mmc0_clk 
			0x104 (PIN_INPUT | MUX_MODE0) /* mmc0_cmd.mmc0_cmd 
			0x160 (PIN_INPUT | MUX_MODE7) /* spi0_cs1.gpio0_6 
		>;
	};
*/

/* MMC1 pinmux added by analogics*/

	mmc1_pins: pinmux_mmc1_pins {
		pinctrl-single,pins = <
		0x80 ( PIN_INPUT | MUX_MODE2 ) /* (B9) gpmc_csn1.mmc1_clk */
                0x84 ( PIN_OUTPUT | MUX_MODE2 ) /* (F10) gpmc_csn2.mmc1_cmd */
                0x20 ( PIN_INPUT | MUX_MODE2 ) /* (B10) gpmc_ad8.mmc1_dat0 */
                0x24 ( PIN_INPUT | MUX_MODE2 ) /* (A10) gpmc_ad9.mmc1_dat1 */
                0x28 ( PIN_INPUT | MUX_MODE2 ) /* (F11) gpmc_ad10.mmc1_dat2 */
                0x2c ( PIN_INPUT | MUX_MODE2 ) /* (D11) gpmc_ad11.mmc1_dat3 */
                0x30 ( PIN_INPUT | MUX_MODE2 ) /* (E11) gpmc_ad12.mmc1_dat4 */
                0x34 ( PIN_INPUT | MUX_MODE2 ) /* (C11) gpmc_ad13.mmc1_dat5 */
                0x38 ( PIN_INPUT | MUX_MODE2 ) /* (B11) gpmc_ad14.mmc1_dat6 */
                0x3c ( PIN_INPUT | MUX_MODE2 ) /* (A11) gpmc_ad15.mmc1_dat7 */
		>;
	};

	ecap0_pins: backlight_pins {
		pinctrl-single,pins = <
			0x164 (PIN_OUTPUT | MUX_MODE0) /* eCAP0_in_PWM0_out.eCAP0_in_PWM0_out */
		>;
	};

/* default pinmux commented by analogics */
/*
	edt_ft5306_ts_pins: edt_ft5306_ts_pins {
		pinctrl-single,pins = <
			0x74 (PIN_INPUT | MUX_MODE7)	// gpmc_wpn.gpio0_31 
			0x78 (PIN_OUTPUT | MUX_MODE7)	// gpmc_be1n.gpio1_28 
		>;
	};
*/
	vpfe0_pins_default: vpfe0_pins_default {
		pinctrl-single,pins = <
			0x1b0 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_hd mode 0*/
			0x1b4 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_vd mode 0*/
			0x1b8 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_field mode 0*/
			0x1bc (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_wen mode 0*/
			0x1c0 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_pclk mode 0*/
			0x1c4 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_data8 mode 0*/
			0x1c8 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_data9 mode 0*/
			0x208 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_data0 mode 0*/
			0x20c (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_data1 mode 0*/
			0x210 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_data2 mode 0*/
			0x214 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_data3 mode 0*/
			0x218 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_data4 mode 0*/
			0x21c (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_data5 mode 0*/
			0x220 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_data6 mode 0*/
			0x224 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_data7 mode 0*/
		>;
	};

	vpfe0_pins_sleep: vpfe0_pins_sleep {
		pinctrl-single,pins = <
			0x1b0 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)
			0x1b4 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)
			0x1b8 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)
			0x1bc (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)
			0x1c0 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)
			0x1c4 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)
			0x1c8 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)
			0x208 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)
			0x20c (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)
			0x210 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)
			0x214 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)
			0x218 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)
			0x21c (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)
			0x220 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)
			0x224 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)
		>;
	};

	clkout1_pin: pinmux_clkout1_pin {
		pinctrl-single,pins = <
			0x270 (PIN_OUTPUT_PULLDOWN | MUX_MODE3)	/* XDMA_EVENT_INTR0/CLKOUT1 */
		>;
	};

/* default pinmux commented by analogics */
/*
	cpsw_default: cpsw_default {
		pinctrl-single,pins = <
			// Slave 1 
			0x12c (PIN_OUTPUT | MUX_MODE2)	/* mii1_txclk.rmii1_tclk 
			0x114 (PIN_OUTPUT | MUX_MODE2)	/* mii1_txen.rgmii1_tctl 
			0x128 (PIN_OUTPUT | MUX_MODE2)	/* mii1_txd0.rgmii1_td0 
			0x124 (PIN_OUTPUT | MUX_MODE2)	/* mii1_txd1.rgmii1_td1 
			0x120 (PIN_OUTPUT | MUX_MODE2)	/* mii1_txd0.rgmii1_td2 
			0x11c (PIN_OUTPUT | MUX_MODE2)	/* mii1_txd1.rgmii1_td3 
			0x130 (PIN_INPUT | MUX_MODE2)	/* mii1_rxclk.rmii1_rclk 
			0x118 (PIN_INPUT | MUX_MODE2)	/* mii1_rxdv.rgmii1_rctl 
			0x140 (PIN_INPUT | MUX_MODE2)	/* mii1_rxd0.rgmii1_rd0 
			0x13c (PIN_INPUT | MUX_MODE2)	/* mii1_rxd1.rgmii1_rd1 
			0x138 (PIN_INPUT | MUX_MODE2)	/* mii1_rxd0.rgmii1_rd2 
			0x134 (PIN_INPUT | MUX_MODE2)	/* mii1_rxd1.rgmii1_rd3 

			// Slave 2 
			0x58 (PIN_OUTPUT | MUX_MODE2)	/* gpmc_a6.rgmii2_tclk 
			0x40 (PIN_OUTPUT | MUX_MODE2)	/* gpmc_a0.rgmii2_tctl 
			0x54 (PIN_OUTPUT | MUX_MODE2)	/* gpmc_a5.rgmii2_td0 
			0x50 (PIN_OUTPUT | MUX_MODE2)	/* gpmc_a4.rgmii2_td1 
			0x4c (PIN_OUTPUT | MUX_MODE2)	/* gpmc_a3.rgmii2_td2 
			0x48 (PIN_OUTPUT | MUX_MODE2)	/* gpmc_a2.rgmii2_td3 
			0x5c (PIN_INPUT | MUX_MODE2)	/* gpmc_a7.rgmii2_rclk 
			0x44 (PIN_INPUT | MUX_MODE2)	/* gpmc_a1.rgmii2_rtcl 
			0x6c (PIN_INPUT | MUX_MODE2)	/* gpmc_a11.rgmii2_rd0 
			0x68 (PIN_INPUT | MUX_MODE2)	/* gpmc_a10.rgmii2_rd1 
			0x64 (PIN_INPUT | MUX_MODE2)	/* gpmc_a9.rgmii2_rd2 
			0x60 (PIN_INPUT | MUX_MODE2)	/* gpmc_a8.rgmii2_rd3 
		>;
	};

	cpsw_sleep: cpsw_sleep {
		pinctrl-single,pins = <
			// Slave 1 reset value 
			0x12c (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x114 (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x128 (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x124 (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x120 (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x11c (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x130 (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x118 (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x140 (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x13c (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x138 (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x134 (PIN_INPUT_PULLDOWN | MUX_MODE7)

			// Slave 2 reset value 
			0x58 (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x40 (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x54 (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x50 (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x4c (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x48 (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x5c (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x44 (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x6c (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x68 (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x64 (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x60 (PIN_INPUT_PULLDOWN | MUX_MODE7)
		>;
	};
*/

/* cpsw pinmux added by analogics */	
	cpsw_default: cpsw_pins_default {
        pinctrl-single,pins = <
                0x10c ( PIN_INPUT_PULLUP | MUX_MODE1 ) /* (B14) mii1_crs.rmii1_crs_dv */
                0x110 ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (B13) mii1_rx_er.rmii1_rxer */
                0x114 ( PIN_OUTPUT | MUX_MODE1 ) /* (A13) mii1_tx_en.rmii1_txen */
                0x128 ( PIN_OUTPUT | MUX_MODE1 ) /* (B15) mii1_txd0.rmii1_txd0 */
                0x124 ( PIN_OUTPUT | MUX_MODE1 ) /* (A14) mii1_txd1.rmii1_txd1 */
                0x140 ( PIN_INPUT_PULLUP | MUX_MODE1 ) /* (F17) mii1_rxd0.rmii1_rxd0 */
                0x13c ( PIN_INPUT_PULLUP | MUX_MODE1 ) /* (B16) mii1_rxd1.rmii1_rxd1 */
                0x144 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (A16) rmii1_ref_clk.rmii1_refclk */
        >;
};

	cpsw_sleep: cpsw_pins_sleep {
        pinctrl-single,pins = <
                0x10c  /* (B14) mii1_crs.rmii1_crs_dv */
                0x110  /* (B13) mii1_rx_er.rmii1_rxer */
                0x114  /* (A13) mii1_tx_en.rmii1_txen */
                0x128  /* (B15) mii1_txd0.rmii1_txd0 */
                0x124  /* (A14) mii1_txd1.rmii1_txd1 */
                0x140  /* (F17) mii1_rxd0.rmii1_rxd0 */
                0x13c  /* (B16) mii1_rxd1.rmii1_rxd1 */
                0x144  /* (A16) rmii1_ref_clk.rmii1_refclk */
        >;
};
		
	davinci_mdio_default: davinci_mdio_default {
		pinctrl-single,pins = <
			/* MDIO */
			0x148 (PIN_INPUT | SLEWCTRL_FAST | MUX_MODE0)	/* mdio_data.mdio_data */
			0x14c (PIN_OUTPUT | MUX_MODE0)			/* mdio_clk.mdio_clk */
		>;
	};

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

/* default pinmux commented by analogics  */
/*
	dss_pins: dss_pins {
		pinctrl-single,pins = <
			0x020 (PIN_OUTPUT | MUX_MODE1)	/* gpmc ad 8 -> DSS DATA 23 
			0x024 (PIN_OUTPUT | MUX_MODE1)
			0x028 (PIN_OUTPUT | MUX_MODE1)
			0x02c (PIN_OUTPUT | MUX_MODE1)
			0x030 (PIN_OUTPUT | MUX_MODE1)
			0x034 (PIN_OUTPUT | MUX_MODE1)
			0x038 (PIN_OUTPUT | MUX_MODE1)
			0x03c (PIN_OUTPUT | MUX_MODE1)	/* gpmc ad 15 -> DSS DATA 16 
			0x0a0 (PIN_OUTPUT | MUX_MODE0)	/* DSS DATA 0 
			0x0a4 (PIN_OUTPUT | MUX_MODE0)
			0x0a8 (PIN_OUTPUT | MUX_MODE0)
			0x0ac (PIN_OUTPUT | MUX_MODE0)
			0x0b0 (PIN_OUTPUT | MUX_MODE0)
			0x0b4 (PIN_OUTPUT | MUX_MODE0)
			0x0b8 (PIN_OUTPUT | MUX_MODE0)
			0x0bc (PIN_OUTPUT | MUX_MODE0)
			0x0c0 (PIN_OUTPUT | MUX_MODE0)
			0x0c4 (PIN_OUTPUT | MUX_MODE0)
			0x0c8 (PIN_OUTPUT | MUX_MODE0)
			0x0cc (PIN_OUTPUT | MUX_MODE0)
			0x0d0 (PIN_OUTPUT | MUX_MODE0)
			0x0d4 (PIN_OUTPUT | MUX_MODE0)
			0x0d8 (PIN_OUTPUT | MUX_MODE0)
			0x0dc (PIN_OUTPUT | MUX_MODE0)	/* DSS DATA 15 
			0x0e0 (PIN_OUTPUT | MUX_MODE0)	/* DSS VSYNC 
			0x0e4 (PIN_OUTPUT | MUX_MODE0)	/* DSS HSYNC 
			0x0e8 (PIN_OUTPUT | MUX_MODE0)	/* DSS PCLK 
			0x0ec (PIN_OUTPUT | MUX_MODE0)	/* DSS AC BIAS EN 

		>;
	};
*/

/* display pinmux added by analogics */
	dss_pins: dss_pins_default {
        pinctrl-single,pins = <
                0xe0 ( PIN_OUTPUT | MUX_MODE0 ) /* (B23) dss_vsync.dss_vsync */
                0xe4 ( PIN_OUTPUT | MUX_MODE0 ) /* (A23) dss_hsync.dss_hsync */
                0xe8 ( PIN_OUTPUT | MUX_MODE0 ) /* (A22) dss_pclk.dss_pclk */
                0xec ( PIN_OUTPUT | MUX_MODE0 ) /* (A24) dss_ac_bias_en.dss_ac_bias_en */
                0xa0 ( PIN_OUTPUT | MUX_MODE0 ) /* (B22) dss_data0.dss_data0 */
                0xa4 ( PIN_OUTPUT | MUX_MODE0 ) /* (A21) dss_data1.dss_data1 */
                0xa8 ( PIN_OUTPUT | MUX_MODE0 ) /* (B21) dss_data2.dss_data2 */
                0xac ( PIN_OUTPUT | MUX_MODE0 ) /* (C21) dss_data3.dss_data3 */
                0xb0 ( PIN_OUTPUT | MUX_MODE0 ) /* (A20) dss_data4.dss_data4 */
                0xb4 ( PIN_OUTPUT | MUX_MODE0 ) /* (B20) dss_data5.dss_data5 */
                0xb8 ( PIN_OUTPUT | MUX_MODE0 ) /* (C20) dss_data6.dss_data6 */
                0xbc ( PIN_OUTPUT | MUX_MODE0 ) /* (E19) dss_data7.dss_data7 */
                0xc0 ( PIN_OUTPUT | MUX_MODE0 ) /* (A19) dss_data8.dss_data8 */
                0xc4 ( PIN_OUTPUT | MUX_MODE0 ) /* (B19) dss_data9.dss_data9 */
                0xc8 ( PIN_OUTPUT | MUX_MODE0 ) /* (A18) dss_data10.dss_data10 */
                0xcc ( PIN_OUTPUT | MUX_MODE0 ) /* (B18) dss_data11.dss_data11 */
                0xd0 ( PIN_OUTPUT | MUX_MODE0 ) /* (C19) dss_data12.dss_data12 */
                0xd4 ( PIN_OUTPUT | MUX_MODE0 ) /* (D19) dss_data13.dss_data13 */
                0xd8 ( PIN_OUTPUT | MUX_MODE0 ) /* (C17) dss_data14.dss_data14 */
                0xdc ( PIN_OUTPUT | MUX_MODE0 ) /* (D17) dss_data15.dss_data15 */
		0x274 ( PIN_INPUT | MUX_MODE7 ) /* (C24) xdma_event_intr1.gpio0[20] Display Reset Pin */
        >;
};

	dss_pins_sleep: dss_pins_sleep {
        pinctrl-single,pins = <
                0xe0 ( PIN_OUTPUT | MUX_MODE0 ) /* (B23) dss_vsync.dss_vsync */
                0xe4 ( PIN_OUTPUT | MUX_MODE0 ) /* (A23) dss_hsync.dss_hsync */
                0xe8 ( PIN_OUTPUT | MUX_MODE0 ) /* (A22) dss_pclk.dss_pclk */
                0xec ( PIN_OUTPUT | MUX_MODE0 ) /* (A24) dss_ac_bias_en.dss_ac_bias_en */
                0xa0 ( PIN_OUTPUT | MUX_MODE0 ) /* (B22) dss_data0.dss_data0 */
                0xa4 ( PIN_OUTPUT | MUX_MODE0 ) /* (A21) dss_data1.dss_data1 */
                0xa8 ( PIN_OUTPUT | MUX_MODE0 ) /* (B21) dss_data2.dss_data2 */
                0xac ( PIN_OUTPUT | MUX_MODE0 ) /* (C21) dss_data3.dss_data3 */
                0xb0 ( PIN_OUTPUT | MUX_MODE0 ) /* (A20) dss_data4.dss_data4 */
                0xb4 ( PIN_OUTPUT | MUX_MODE0 ) /* (B20) dss_data5.dss_data5 */
                0xb8 ( PIN_OUTPUT | MUX_MODE0 ) /* (C20) dss_data6.dss_data6 */
                0xbc ( PIN_OUTPUT | MUX_MODE0 ) /* (E19) dss_data7.dss_data7 */
                0xc0 ( PIN_OUTPUT | MUX_MODE0 ) /* (A19) dss_data8.dss_data8 */
                0xc4 ( PIN_OUTPUT | MUX_MODE0 ) /* (B19) dss_data9.dss_data9 */
                0xc8 ( PIN_OUTPUT | MUX_MODE0 ) /* (A18) dss_data10.dss_data10 */
                0xcc ( PIN_OUTPUT | MUX_MODE0 ) /* (B18) dss_data11.dss_data11 */
                0xd0 ( PIN_OUTPUT | MUX_MODE0 ) /* (C19) dss_data12.dss_data12 */
                0xd4 ( PIN_OUTPUT | MUX_MODE0 ) /* (D19) dss_data13.dss_data13 */
                0xd8 ( PIN_OUTPUT | MUX_MODE0 ) /* (C17) dss_data14.dss_data14 */
                0xdc ( PIN_OUTPUT | MUX_MODE0 ) /* (D17) dss_data15.dss_data15 */
		0x274 ( PIN_INPUT | MUX_MODE7 ) /* (C24) xdma_event_intr1.gpio0[20] Display Reset Pin */
        >;
};
/* default pinmux commented by analogics */
/*
	qspi_pins: qspi_pins {
		pinctrl-single,pins = <
			0x7c (PIN_OUTPUT | MUX_MODE3)	/* gpmc_csn0.qspi_csn 
			0x88 (PIN_OUTPUT | MUX_MODE2)	/* gpmc_csn3.qspi_clk 
			0x90 (PIN_INPUT | MUX_MODE3)	/* gpmc_advn_ale.qspi_d0 
			0x94 (PIN_INPUT | MUX_MODE3)	/* gpmc_oen_ren.qspi_d1 
			0x98 (PIN_INPUT | MUX_MODE3)	/* gpmc_wen.qspi_d2 
			0x9c (PIN_INPUT | MUX_MODE3)	/* gpmc_be0n_cle.qspi_d3 
		>;
	};
*/


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

/* mcasp1 added by analogics */
	mcasp1_pins: mcasp_1_pins_default {
        pinctrl-single,pins = <
                0x1a0 ( PIN_INPUT | MUX_MODE3 ) /* (L23) mcasp0_aclkr.mcasp1_aclkx */
                0x1a4 ( PIN_INPUT | MUX_MODE3 ) /* (K23) mcasp0_fsr.mcasp1_fsx */
                0x1a8 ( PIN_INPUT | MUX_MODE3 ) /* (M25) mcasp0_axr1.mcasp1_axr0 */
                0x1ac ( PIN_INPUT | MUX_MODE3 ) /* (L24) mcasp0_ahclkx.mcasp1_axr1 */
        >;
};

	lcd_pins: lcd_pins {
		pinctrl-single,pins = <
			0x1c (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpcm_ad7.gpio1_7 */
		>;
	};

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

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

	mmc3_pins_default: pinmux_mmc3_pins_default {
		pinctrl-single,pins = <
			0x1f0 (PIN_INPUT_PULLUP | MUX_MODE3) /* (AD21) cam1_data2.mmc2_clk */
			0x1f4 (PIN_INPUT_PULLUP | MUX_MODE3) /* (AE22) cam1_data3.mmc2_cmd */
			0x1f8 (PIN_INPUT_PULLUP | MUX_MODE3) /* (AD22) cam1_data4.mmc2_dat0 */
			0x1fc (PIN_INPUT_PULLUP | MUX_MODE3) /* (AE23) cam1_data5.mmc2_dat1 */
			0x200 (PIN_INPUT_PULLUP | MUX_MODE3) /* (AD23) cam1_data6.mmc2_dat2 */
			0x204 (PIN_INPUT_PULLUP | MUX_MODE3) /* (AE24) cam1_data7.mmc2_dat3 */
		>;
	};

	mmc3_pins_sleep: pinmux_mmc3_pins_sleep {
		pinctrl-single,pins = <
			0x1f0 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* (AD21) cam1_data2.mmc2_clk */
			0x1f4 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* (AE22) cam1_data3.mmc2_cmd */
			0x1f8 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* (AD22) cam1_data4.mmc2_dat0 */
			0x1fc (PIN_INPUT_PULLDOWN | MUX_MODE7) /* (AE23) cam1_data5.mmc2_dat1 */
			0x200 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* (AD23) cam1_data6.mmc2_dat2 */
			0x204 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* (AE24) cam1_data7.mmc2_dat3 */
		>;
	};

	wlan_pins_default: pinmux_wlan_pins_default {
		pinctrl-single,pins = <
			0x1d0 (PIN_OUTPUT_PULLDOWN | MUX_MODE7)		/* cam1_data8.gpio4_8 WL_EN */
			0x1e4 (PIN_INPUT | WAKEUP_ENABLE | MUX_MODE7)	/* cam1_wen.gpio4_13 WL_IRQ */
		>;
	};

	wlan_pins_sleep: pinmux_wlan_pins_sleep {
		pinctrl-single,pins = <
			0x1d0 (PIN_OUTPUT_PULLDOWN | MUX_MODE7)		/* cam1_data8.gpio4_8 WL_EN */
			0x1e4 (PIN_INPUT | WAKEUP_ENABLE | MUX_MODE7)	/* cam1_wen.gpio4_13 WL_IRQ */
		>;
	};

	uart1_bt_pins_default: pinmux_uart1_bt_pins_default {
		pinctrl-single,pins = <
			0x180 (PIN_INPUT | MUX_MODE0)		/* uart1_rxd.uart1_rxd */
			0x184 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart1_txd.uart1_txd */
			0x178 (PIN_INPUT_PULLUP | MUX_MODE0)	/* uart1_ctsn.uart1_ctsn */
			0x17c (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart1_rtsn.uart1_rtsn */
			0x1cc (PIN_OUTPUT_PULLDOWN | MUX_MODE7)	/* cam1_data9.gpiop BT_EN */
		>;
	};

	uart1_bt_pins_sleep: pinmux_uart1_bt_pins_sleep {
		pinctrl-single,pins = <
			0x180 (PIN_OUTPUT_PULLDOWN | MUX_MODE7)	/* uart1_rxd.uart1_rxd */
			0x184 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* uart1_txd.uart1_txd */
			0x178 (PIN_OUTPUT_PULLDOWN | MUX_MODE7)	/* uart1_ctsn.uart1_ctsn */
			0x17c (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* uart1_rtsn.uart1_rtsn */
			0x1cc (PIN_OUTPUT_PULLUP | MUX_MODE7)	/* cam1_data9.gpio4_7 BT_EN */
		>;
	};
};

&i2c0 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&i2c0_pins>;
	clock-frequency = <100000>;

	tps@24 {
		compatible = "ti,tps65218";
		reg = <0x24>;
		interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
		interrupt-controller;
		#interrupt-cells = <2>;

		dcdc1: regulator-dcdc1 {
			compatible = "ti,tps65218-dcdc1";
			/* VDD_CORE limits min of OPP50 and max of OPP100 */
			regulator-name = "vdd_core";
			regulator-min-microvolt = <912000>;
			regulator-max-microvolt = <1144000>;
			regulator-boot-on;
			regulator-always-on;
		};

		dcdc2: regulator-dcdc2 {
			compatible = "ti,tps65218-dcdc2";
			/* VDD_MPU limits min of OPP50 and max of OPP_NITRO */
			regulator-name = "vdd_mpu";
			regulator-min-microvolt = <912000>;
			regulator-max-microvolt = <1378000>;
			regulator-boot-on;
			regulator-always-on;
		};

		dcdc3: regulator-dcdc3 {
			compatible = "ti,tps65218-dcdc3";
			regulator-name = "vdds_ddr";
			regulator-min-microvolt = <1500000>;
			regulator-max-microvolt = <1500000>;
			regulator-boot-on;
			regulator-always-on;
			regulator-state-mem {
				regulator-on-in-suspend;
			};
			regulator-state-disk {
				regulator-off-in-suspend;
			};
		};

		dcdc4: regulator-dcdc4 {
			compatible = "ti,tps65218-dcdc4";
			regulator-name = "v3_3d";
			regulator-min-microvolt = <3300000>;
			regulator-max-microvolt = <3300000>;
			regulator-boot-on;
			regulator-always-on;
		};

		dcdc5: regulator-dcdc5 {
			compatible = "ti,tps65218-dcdc5";
			regulator-name = "v1_0bat";
			regulator-min-microvolt = <1000000>;
			regulator-max-microvolt = <1000000>;
			regulator-boot-on;
			regulator-always-on;
			regulator-state-mem {
				regulator-on-in-suspend;
			};
		};

		dcdc6: regulator-dcdc6 {
			compatible = "ti,tps65218-dcdc6";
			regulator-name = "v1_8bat";
			regulator-min-microvolt = <1800000>;
			regulator-max-microvolt = <1800000>;
			regulator-boot-on;
			regulator-always-on;
			regulator-state-mem {
				regulator-on-in-suspend;
			};
		};

		ldo1: regulator-ldo1 {
			compatible = "ti,tps65218-ldo1";
			regulator-name = "v1_8d";
			regulator-min-microvolt = <1800000>;
			regulator-max-microvolt = <1800000>;
			regulator-boot-on;
			regulator-always-on;
		};

/*Power Button Disabled by analogics */
	/*	power-button {
			compatible = "ti,tps65218-pwrbutton";
			status = "okay";
			interrupts = <3 IRQ_TYPE_EDGE_BOTH>;
		};*/
	};

	at24@50 {
		compatible = "at24,24c256";
		pagesize = <64>;
		reg = <0x50>;
	};
};

&i2c1 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&i2c1_pins>;
	clock-frequency = <400000>;

	ov2659@30 {
		compatible = "ovti,ov2659";
		reg = <0x30>;
		pinctrl-names = "default";
		pinctrl-0 = <&clkout1_pin>;

		clocks = <&clkout1_mux_ck>;
		clock-names = "xvclk";
		assigned-clocks = <&clkout1_mux_ck>;
		assigned-clock-parents = <&clkout1_osc_div_ck>;

		port {
			ov2659_1: endpoint {
				remote-endpoint = <&vpfe0_ep>;
				link-frequencies = /bits/ 64 <70000000>;
			};
		};
	};
/*
	edt-ft5306@38 {
		status = "okay";
		compatible = "edt,edt-ft5306", "edt,edt-ft5x06";
		pinctrl-names = "default";
		/*pinctrl-0 = <&edt_ft5306_ts_pins>; 

		reg = <0x38>;
		interrupt-parent = <&gpio0>;
		interrupts = <31 0>;

		reset-gpios = <&gpio1 28 GPIO_ACTIVE_LOW>;

		touchscreen-size-x = <480>;
		touchscreen-size-y = <272>;
	};
*/
	tlv320aic3106: tlv320aic3106@1b {
		#sound-dai-cells = <0>;
		compatible = "ti,tlv320aic3106";
		reg = <0x1b>;
		status = "okay";

		/* Regulators */
		AVDD-supply = <&dcdc4>;
		IOVDD-supply = <&dcdc4>;
		DRVDD-supply = <&dcdc4>;
		DVDD-supply = <&ldo1>;
	};

	lis331dlh@18 {
		compatible = "st,lis331dlh";
		reg = <0x18>;
		status = "okay";

		Vdd-supply = <&dcdc4>;
		Vdd_IO-supply = <&dcdc4>;
		interrupts-extended = <&gpio1 6 0>, <&gpio2 1 0>;
	};
};

&epwmss0 {
	status = "okay";
};

&ecap0 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&ecap0_pins>;
};

&gpio0 {
	status = "okay";
};

&gpio1 {
	status = "okay";
};

&gpio4 {
	status = "okay";
};

&gpio5 {
	status = "okay";
};

&mmc1 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&mmc1_pins>;

	vmmc-supply = <&dcdc4>;
	bus-width = <4>;
	cd-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
};

&uart1 {
	status = "okay";
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&uart1_bt_pins_default>;
	pinctrl-1 = <&uart1_bt_pins_sleep>;
};

&mmc3 {
	status = "okay";
	/* these are on the crossbar and are outlined in the
	   xbar-event-map element */
	dmas = <&edma 30
		&edma 31>;
	dma-names = "tx", "rx";
	vmmc-supply = <&vmmcwl_fixed>;
	bus-width = <4>;
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&mmc3_pins_default>;
	pinctrl-1 = <&mmc3_pins_sleep>;
	cap-power-off-card;
	keep-power-in-suspend;
	ti,non-removable;

	#address-cells = <1>;
	#size-cells = <0>;
	wlcore: wlcore@0 {
		compatible = "ti,wl1835";
		pinctrl-names = "default", "sleep";
		pinctrl-0 = <&wlan_pins_default>;
		pinctrl-1 = <&wlan_pins_sleep>;
		reg = <2>;
		interrupt-parent = <&gpio4>;
		interrupts = <13 IRQ_TYPE_LEVEL_HIGH>;
	};
};

&edma {
	ti,edma-xbar-event-map = /bits/ 16 <1 30
					    2 31>;
};

&usb2_phy1 {
	status = "okay";
};

&usb1 {
	dr_mode = "otg";
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&usb1_pins>;
};

&usb2_phy2 {
	status = "okay";
};

&usb2 {
	dr_mode = "host";
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&usb2_pins>;
};

&qspi {
	status = "okay";
	pinctrl-names = "default";
	/*pinctrl-0 = <&qspi_pins>; */

	spi-max-frequency = <48000000>;
	m25p80@0 {
		compatible = "mx66l51235l";
		spi-max-frequency = <48000000>;
		reg = <0>;
		spi-cpol;
		spi-cpha;
		spi-tx-bus-width = <1>;
		spi-rx-bus-width = <4>;
		#address-cells = <1>;
		#size-cells = <1>;

		/* MTD partition table.
		 * The ROM checks the first 512KiB
		 * for a valid file to boot(XIP).
		 */
		partition@0 {
			label = "QSPI.U_BOOT";
			reg = <0x00000000 0x000080000>;
		};
		partition@1 {
			label = "QSPI.U_BOOT.backup";
			reg = <0x00080000 0x00080000>;
		};
		partition@2 {
			label = "QSPI.U-BOOT-SPL_OS";
			reg = <0x00100000 0x00010000>;
		};
		partition@3 {
			label = "QSPI.U_BOOT_ENV";
			reg = <0x00110000 0x00010000>;
		};
		partition@4 {
			label = "QSPI.U-BOOT-ENV.backup";
			reg = <0x00120000 0x00010000>;
		};
		partition@5 {
			label = "QSPI.KERNEL";
			reg = <0x00130000 0x0800000>;
		};
		partition@6 {
			label = "QSPI.FILESYSTEM";
			reg = <0x00930000 0x36D0000>;
		};
	};
};

&mac {
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&cpsw_default>;
	pinctrl-1 = <&cpsw_sleep>;
	/* dual emac commented by analogics  */
	/*dual_emac = <1>; */
	status = "okay";
};

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

&cpsw_emac0 {
/*	phy_id = <&davinci_mdio>, <4>;  */
	phy_id = <&davinci_mdio>, <0>; 
/* rgmii mode commented by analogics */
	/*phy-mode = "rgmii"; */
	phy-mode = "rmii";
	dual_emac_res_vlan = <1>;
};

&cpsw_emac1 {
/*	phy_id = <&davinci_mdio>, <5>; */
	phy_id = <&davinci_mdio>, <1>;
/* rgmii mode commented by analogics */
	/* phy-mode = "rgmii"; */
	phy-mode = "rmii";
	dual_emac_res_vlan = <2>;
};

&elm {
	status = "okay";
};

&mcasp1 {
	#sound-dai-cells = <0>;
	pinctrl-names = "default";
	pinctrl-0 = <&mcasp1_pins>;

	status = "okay";

	op-mode = <0>;
	tdm-slots = <2>;
	serial-dir = <
		0 0 1 2
	>;

	tx-num-evt = <1>;
	rx-num-evt = <1>;
};

&dss {
	status = "okay";

	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&dss_pins>;
	pinctrl-1 = <&dss_pins_sleep>;

	port {
		dpi_out: endpoint@0 {
			remote-endpoint = <&lcd_in>;
	/*		 data-lines = <24>; */
			data-lines = <16>; 
		};
	};
};

/* touchscreen & ADC values added by arun analogics */
&tscadc {
        status = "okay";
        tsc {
                ti,wires = <4>;
                ti,x-plate-resistance = <200>;
                ti,coordinate-readouts = <5>;
                ti,wire-config = <0x00 0x11 0x22 0x33>;   
            /*    ti,wire-config = <0x00 0x13 0x21 0x32>;  */
		ti,x-axis = <0 240 1>;
		ti,y-axis = <0 320 1>;
		ti,charge-delay = <0x400>;
        };

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


&rtc {
	status = "okay";
	ext-clk-src;
};

&wdt {
	status = "okay";
};

&cpu {
	cpu0-supply = <&dcdc2>;
};

&vpfe0 {
	status = "okay";
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&vpfe0_pins_default>;
	pinctrl-1 = <&vpfe0_pins_sleep>;

	/* Camera port */
	port {
		vpfe0_ep: endpoint {
			remote-endpoint = <&ov2659_1>;
			ti,am437x-vpfe-interface = <0>;
			bus-width = <8>;
			hsync-active = <0>;
			vsync-active = <0>;
		};
	};
};

&wkup_m3_ipc {
	ti,scale-data-fw = "am43x-evm-scale-data.bin";
};


&sgx {
	status = "okay";
};

  • Hi,

    I will ask the software team to look at this.
  • Hi Arun,

    Why do you define lcd0 two times in your dts? First you have:
    lcd0: display {
    compatible = "newhaven,nhd-4.3-480272ef-atxl", "panel-dpi";
    Then you use another lcd0 node:
    lcd0: display {
    compatible = "Analogics,SKAT035GT-09-TP", "panel-dpi";
    using the same dpi driver & same lcd0... I don't think this is correct.

    Best Regards,
    Yordan
  • Hi Yordan,

    Thanks for your response.

    Actually the first LCD declaration is commented one, only the second declaration is correct.

    I removed the unwanted things & i have attached the dts file for your reference.

    Thanks & Regards,

    Arun

    1033.am437x-sk-evm.txt
    /*
     * Copyright (C) 2014 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.
     */
    
    /* AM437x SK EVM */
    
    /dts-v1/;
    
    #include "am4372.dtsi"
    #include <dt-bindings/pinctrl/am43xx.h>
    #include <dt-bindings/pwm/pwm.h>
    #include <dt-bindings/gpio/gpio.h>
    #include <dt-bindings/input/input.h>
    #include <dt-bindings/interrupt-controller/irq.h>
    
    / {
    	model = "TI AM437x SK EVM";
    	compatible = "ti,am437x-sk-evm","ti,am4372","ti,am43";
    
    	aliases {
    		display0 = &lcd0;
    	};
    
    	backlight {
    		compatible = "pwm-backlight";
    		/* default values commented by arun analogics */
    		/* pwms = <&ecap0 0 50000 PWM_POLARITY_INVERTED>; */
    		pwms = <&ecap0 0 50000 0>;
    		brightness-levels = <0 51 53 56 62 75 101 152 255>;
    		default-brightness-level = <8>;
    	};
    
    	sound {
    		compatible = "simple-audio-card";
    		simple-audio-card,name = "AM437x-SK-EVM";
    		simple-audio-card,widgets =
    			"Headphone", "Headphone Jack";
    		simple-audio-card,routing =
    			"Headphone Jack",	"HPLOUT",
    			"Headphone Jack",	"HPROUT";
    		simple-audio-card,format = "dsp_b";
    		simple-audio-card,bitclock-master = <&sound_master>;
    		simple-audio-card,frame-master = <&sound_master>;
    		simple-audio-card,bitclock-inversion;
    
    		simple-audio-card,cpu {
    			sound-dai = <&mcasp1>;
    		};
    
    		sound_master: simple-audio-card,codec {
    			sound-dai = <&tlv320aic3106>;
    			system-clock-frequency = <24000000>;
    		};
    	};
    
    
    /* new display values added by arun analogics */
    
    	lcd0: display {
    		compatible ="panel-dpi";
    		label = "lcd";
    
    		panel-timing {
    			clock-frequency = <6500000>;
    			hactive = <320>;
    			vactive = <240>;
    			hfront-porch = <18>;
    			hback-porch = <65>;
    			hsync-len = <1>;
    			vfront-porch = <4>;
    			vback-porch = <15>;
    			vsync-len = <2>;
    			hsync-active = <0>;
    			vsync-active = <0>;
    			de-active = <0>;
    			pixelclk-active = <1>; 
    		};
    
    		port {
    			lcd_in: endpoint {
    				remote-endpoint = <&dpi_out>;
    			};
    		};
    	};
    
    	vmmcwl_fixed: fixedregulator-mmcwl {
    		compatible = "regulator-fixed";
    		regulator-name = "vmmcwl_fixed";
    		regulator-min-microvolt = <1800000>;
    		regulator-max-microvolt = <1800000>;
    		gpio = <&gpio4 8 GPIO_ACTIVE_HIGH>;
    		enable-active-high;
    	};
    };
    
    &am43xx_pinmux {
    
    	i2c0_pins: i2c0_pins {
    		pinctrl-single,pins = <
    			0x188 (PIN_INPUT | SLEWCTRL_FAST | MUX_MODE0)  /* i2c0_sda.i2c0_sda */
    			0x18c (PIN_INPUT | SLEWCTRL_FAST | MUX_MODE0)  /* i2c0_scl.i2c0_scl */
    		>;
    	};
    
    /* i2c1 pinmux added by analogics */
    	i2c1_pins: i2c1_pins {
    		pinctrl-single,pins = <
    			0x16c (PIN_INPUT | SLEWCTRL_FAST | MUX_MODE2)  /* spi0_cs0.i2c1_scl  */
    			0x168 (PIN_INPUT | SLEWCTRL_FAST | MUX_MODE2)  /*  spi0_d1.i2c1_sda  */
    		>;
    	};
    /*
    	mmc1_pins: pinmux_mmc1_pins {
    		pinctrl-single,pins = <
    			0x0f0 (PIN_INPUT | MUX_MODE0) /* mmc0_dat3.mmc0_dat3 
    			0x0f4 (PIN_INPUT | MUX_MODE0) /* mmc0_dat2.mmc0_dat2 
    			0x0f8 (PIN_INPUT | MUX_MODE0) /* mmc0_dat1.mmc0_dat1 
    			0x0fc (PIN_INPUT | MUX_MODE0) /* mmc0_dat0.mmc0_dat0 
    			0x100 (PIN_INPUT | MUX_MODE0) /* mmc0_clk.mmc0_clk 
    			0x104 (PIN_INPUT | MUX_MODE0) /* mmc0_cmd.mmc0_cmd 
    			0x160 (PIN_INPUT | MUX_MODE7) /* spi0_cs1.gpio0_6 
    		>;
    	};
    */
    
    /* MMC1 pinmux added by analogics*/
    
    	mmc1_pins: pinmux_mmc1_pins {
    		pinctrl-single,pins = <
    		0x80 ( PIN_INPUT | MUX_MODE2 ) /* (B9) gpmc_csn1.mmc1_clk */
                    0x84 ( PIN_OUTPUT | MUX_MODE2 ) /* (F10) gpmc_csn2.mmc1_cmd */
                    0x20 ( PIN_INPUT | MUX_MODE2 ) /* (B10) gpmc_ad8.mmc1_dat0 */
                    0x24 ( PIN_INPUT | MUX_MODE2 ) /* (A10) gpmc_ad9.mmc1_dat1 */
                    0x28 ( PIN_INPUT | MUX_MODE2 ) /* (F11) gpmc_ad10.mmc1_dat2 */
                    0x2c ( PIN_INPUT | MUX_MODE2 ) /* (D11) gpmc_ad11.mmc1_dat3 */
                    0x30 ( PIN_INPUT | MUX_MODE2 ) /* (E11) gpmc_ad12.mmc1_dat4 */
                    0x34 ( PIN_INPUT | MUX_MODE2 ) /* (C11) gpmc_ad13.mmc1_dat5 */
                    0x38 ( PIN_INPUT | MUX_MODE2 ) /* (B11) gpmc_ad14.mmc1_dat6 */
                    0x3c ( PIN_INPUT | MUX_MODE2 ) /* (A11) gpmc_ad15.mmc1_dat7 */
    		>;
    	};
    
    	ecap0_pins: backlight_pins {
    		pinctrl-single,pins = <
    			0x164 (PIN_OUTPUT | MUX_MODE0) /* eCAP0_in_PWM0_out.eCAP0_in_PWM0_out */
    		>;
    	};
    
    	vpfe0_pins_default: vpfe0_pins_default {
    		pinctrl-single,pins = <
    			0x1b0 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_hd mode 0*/
    			0x1b4 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_vd mode 0*/
    			0x1b8 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_field mode 0*/
    			0x1bc (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_wen mode 0*/
    			0x1c0 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_pclk mode 0*/
    			0x1c4 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_data8 mode 0*/
    			0x1c8 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_data9 mode 0*/
    			0x208 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_data0 mode 0*/
    			0x20c (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_data1 mode 0*/
    			0x210 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_data2 mode 0*/
    			0x214 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_data3 mode 0*/
    			0x218 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_data4 mode 0*/
    			0x21c (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_data5 mode 0*/
    			0x220 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_data6 mode 0*/
    			0x224 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_data7 mode 0*/
    		>;
    	};
    
    	vpfe0_pins_sleep: vpfe0_pins_sleep {
    		pinctrl-single,pins = <
    			0x1b0 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)
    			0x1b4 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)
    			0x1b8 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)
    			0x1bc (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)
    			0x1c0 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)
    			0x1c4 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)
    			0x1c8 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)
    			0x208 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)
    			0x20c (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)
    			0x210 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)
    			0x214 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)
    			0x218 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)
    			0x21c (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)
    			0x220 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)
    			0x224 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)
    		>;
    	};
    
    	clkout1_pin: pinmux_clkout1_pin {
    		pinctrl-single,pins = <
    			0x270 (PIN_OUTPUT_PULLDOWN | MUX_MODE3)	/* XDMA_EVENT_INTR0/CLKOUT1 */
    		>;
    	};
    
    /* cpsw pinmux added by analogics */	
    	cpsw_default: cpsw_pins_default {
            pinctrl-single,pins = <
                    0x10c ( PIN_INPUT_PULLUP | MUX_MODE1 ) /* (B14) mii1_crs.rmii1_crs_dv */
                    0x110 ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (B13) mii1_rx_er.rmii1_rxer */
                    0x114 ( PIN_OUTPUT | MUX_MODE1 ) /* (A13) mii1_tx_en.rmii1_txen */
                    0x128 ( PIN_OUTPUT | MUX_MODE1 ) /* (B15) mii1_txd0.rmii1_txd0 */
                    0x124 ( PIN_OUTPUT | MUX_MODE1 ) /* (A14) mii1_txd1.rmii1_txd1 */
                    0x140 ( PIN_INPUT_PULLUP | MUX_MODE1 ) /* (F17) mii1_rxd0.rmii1_rxd0 */
                    0x13c ( PIN_INPUT_PULLUP | MUX_MODE1 ) /* (B16) mii1_rxd1.rmii1_rxd1 */
                    0x144 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (A16) rmii1_ref_clk.rmii1_refclk */
            >;
    };
    
    	cpsw_sleep: cpsw_pins_sleep {
            pinctrl-single,pins = <
                    0x10c  /* (B14) mii1_crs.rmii1_crs_dv */
                    0x110  /* (B13) mii1_rx_er.rmii1_rxer */
                    0x114  /* (A13) mii1_tx_en.rmii1_txen */
                    0x128  /* (B15) mii1_txd0.rmii1_txd0 */
                    0x124  /* (A14) mii1_txd1.rmii1_txd1 */
                    0x140  /* (F17) mii1_rxd0.rmii1_rxd0 */
                    0x13c  /* (B16) mii1_rxd1.rmii1_rxd1 */
                    0x144  /* (A16) rmii1_ref_clk.rmii1_refclk */
            >;
    };
    		
    	davinci_mdio_default: davinci_mdio_default {
    		pinctrl-single,pins = <
    			/* MDIO */
    			0x148 (PIN_INPUT | SLEWCTRL_FAST | MUX_MODE0)	/* mdio_data.mdio_data */
    			0x14c (PIN_OUTPUT | MUX_MODE0)			/* mdio_clk.mdio_clk */
    		>;
    	};
    
    	davinci_mdio_sleep: davinci_mdio_sleep {
    		pinctrl-single,pins = <
    			/* MDIO reset value */
    			0x148 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x14c (PIN_INPUT_PULLDOWN | MUX_MODE7)
    		>;
    	};
    
    
    /* display pinmux added by analogics */
    	dss_pins: dss_pins_default {
            pinctrl-single,pins = <
                    0xe0 ( PIN_OUTPUT | MUX_MODE0 ) /* (B23) dss_vsync.dss_vsync */
                    0xe4 ( PIN_OUTPUT | MUX_MODE0 ) /* (A23) dss_hsync.dss_hsync */
                    0xe8 ( PIN_OUTPUT | MUX_MODE0 ) /* (A22) dss_pclk.dss_pclk */
                    0xec ( PIN_OUTPUT | MUX_MODE0 ) /* (A24) dss_ac_bias_en.dss_ac_bias_en */
                    0xa0 ( PIN_OUTPUT | MUX_MODE0 ) /* (B22) dss_data0.dss_data0 */
                    0xa4 ( PIN_OUTPUT | MUX_MODE0 ) /* (A21) dss_data1.dss_data1 */
                    0xa8 ( PIN_OUTPUT | MUX_MODE0 ) /* (B21) dss_data2.dss_data2 */
                    0xac ( PIN_OUTPUT | MUX_MODE0 ) /* (C21) dss_data3.dss_data3 */
                    0xb0 ( PIN_OUTPUT | MUX_MODE0 ) /* (A20) dss_data4.dss_data4 */
                    0xb4 ( PIN_OUTPUT | MUX_MODE0 ) /* (B20) dss_data5.dss_data5 */
                    0xb8 ( PIN_OUTPUT | MUX_MODE0 ) /* (C20) dss_data6.dss_data6 */
                    0xbc ( PIN_OUTPUT | MUX_MODE0 ) /* (E19) dss_data7.dss_data7 */
                    0xc0 ( PIN_OUTPUT | MUX_MODE0 ) /* (A19) dss_data8.dss_data8 */
                    0xc4 ( PIN_OUTPUT | MUX_MODE0 ) /* (B19) dss_data9.dss_data9 */
                    0xc8 ( PIN_OUTPUT | MUX_MODE0 ) /* (A18) dss_data10.dss_data10 */
                    0xcc ( PIN_OUTPUT | MUX_MODE0 ) /* (B18) dss_data11.dss_data11 */
                    0xd0 ( PIN_OUTPUT | MUX_MODE0 ) /* (C19) dss_data12.dss_data12 */
                    0xd4 ( PIN_OUTPUT | MUX_MODE0 ) /* (D19) dss_data13.dss_data13 */
                    0xd8 ( PIN_OUTPUT | MUX_MODE0 ) /* (C17) dss_data14.dss_data14 */
                    0xdc ( PIN_OUTPUT | MUX_MODE0 ) /* (D17) dss_data15.dss_data15 */
    		0x274 ( PIN_INPUT | MUX_MODE7 ) /* (C24) xdma_event_intr1.gpio0[20] Display Reset Pin */
            >;
    };
    
    	dss_pins_sleep: dss_pins_sleep {
            pinctrl-single,pins = <
                    0xe0 ( PIN_OUTPUT | MUX_MODE0 ) /* (B23) dss_vsync.dss_vsync */
                    0xe4 ( PIN_OUTPUT | MUX_MODE0 ) /* (A23) dss_hsync.dss_hsync */
                    0xe8 ( PIN_OUTPUT | MUX_MODE0 ) /* (A22) dss_pclk.dss_pclk */
                    0xec ( PIN_OUTPUT | MUX_MODE0 ) /* (A24) dss_ac_bias_en.dss_ac_bias_en */
                    0xa0 ( PIN_OUTPUT | MUX_MODE0 ) /* (B22) dss_data0.dss_data0 */
                    0xa4 ( PIN_OUTPUT | MUX_MODE0 ) /* (A21) dss_data1.dss_data1 */
                    0xa8 ( PIN_OUTPUT | MUX_MODE0 ) /* (B21) dss_data2.dss_data2 */
                    0xac ( PIN_OUTPUT | MUX_MODE0 ) /* (C21) dss_data3.dss_data3 */
                    0xb0 ( PIN_OUTPUT | MUX_MODE0 ) /* (A20) dss_data4.dss_data4 */
                    0xb4 ( PIN_OUTPUT | MUX_MODE0 ) /* (B20) dss_data5.dss_data5 */
                    0xb8 ( PIN_OUTPUT | MUX_MODE0 ) /* (C20) dss_data6.dss_data6 */
                    0xbc ( PIN_OUTPUT | MUX_MODE0 ) /* (E19) dss_data7.dss_data7 */
                    0xc0 ( PIN_OUTPUT | MUX_MODE0 ) /* (A19) dss_data8.dss_data8 */
                    0xc4 ( PIN_OUTPUT | MUX_MODE0 ) /* (B19) dss_data9.dss_data9 */
                    0xc8 ( PIN_OUTPUT | MUX_MODE0 ) /* (A18) dss_data10.dss_data10 */
                    0xcc ( PIN_OUTPUT | MUX_MODE0 ) /* (B18) dss_data11.dss_data11 */
                    0xd0 ( PIN_OUTPUT | MUX_MODE0 ) /* (C19) dss_data12.dss_data12 */
                    0xd4 ( PIN_OUTPUT | MUX_MODE0 ) /* (D19) dss_data13.dss_data13 */
                    0xd8 ( PIN_OUTPUT | MUX_MODE0 ) /* (C17) dss_data14.dss_data14 */
                    0xdc ( PIN_OUTPUT | MUX_MODE0 ) /* (D17) dss_data15.dss_data15 */
    		0x274 ( PIN_INPUT | MUX_MODE7 ) /* (C24) xdma_event_intr1.gpio0[20] Display Reset Pin */
            >;
    };
    
    
    /* mcasp1 added by analogics */
    	mcasp1_pins: mcasp_1_pins_default {
            pinctrl-single,pins = <
                    0x1a0 ( PIN_INPUT | MUX_MODE3 ) /* (L23) mcasp0_aclkr.mcasp1_aclkx */
                    0x1a4 ( PIN_INPUT | MUX_MODE3 ) /* (K23) mcasp0_fsr.mcasp1_fsx */
                    0x1a8 ( PIN_INPUT | MUX_MODE3 ) /* (M25) mcasp0_axr1.mcasp1_axr0 */
                    0x1ac ( PIN_INPUT | MUX_MODE3 ) /* (L24) mcasp0_ahclkx.mcasp1_axr1 */
            >;
    };
    
    	usb1_pins: usb1_pins {
    		pinctrl-single,pins = <
    			0x2c0 (PIN_OUTPUT | MUX_MODE0) /* usb0_drvvbus.usb0_drvvbus */
    		>;
    	};
    
    	usb2_pins: usb2_pins {
    		pinctrl-single,pins = <
    			0x2c4 (PIN_OUTPUT | MUX_MODE0) /* usb0_drvvbus.usb0_drvvbus */
    		>;
    	};
    
    	mmc3_pins_default: pinmux_mmc3_pins_default {
    		pinctrl-single,pins = <
    			0x1f0 (PIN_INPUT_PULLUP | MUX_MODE3) /* (AD21) cam1_data2.mmc2_clk */
    			0x1f4 (PIN_INPUT_PULLUP | MUX_MODE3) /* (AE22) cam1_data3.mmc2_cmd */
    			0x1f8 (PIN_INPUT_PULLUP | MUX_MODE3) /* (AD22) cam1_data4.mmc2_dat0 */
    			0x1fc (PIN_INPUT_PULLUP | MUX_MODE3) /* (AE23) cam1_data5.mmc2_dat1 */
    			0x200 (PIN_INPUT_PULLUP | MUX_MODE3) /* (AD23) cam1_data6.mmc2_dat2 */
    			0x204 (PIN_INPUT_PULLUP | MUX_MODE3) /* (AE24) cam1_data7.mmc2_dat3 */
    		>;
    	};
    
    	mmc3_pins_sleep: pinmux_mmc3_pins_sleep {
    		pinctrl-single,pins = <
    			0x1f0 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* (AD21) cam1_data2.mmc2_clk */
    			0x1f4 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* (AE22) cam1_data3.mmc2_cmd */
    			0x1f8 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* (AD22) cam1_data4.mmc2_dat0 */
    			0x1fc (PIN_INPUT_PULLDOWN | MUX_MODE7) /* (AE23) cam1_data5.mmc2_dat1 */
    			0x200 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* (AD23) cam1_data6.mmc2_dat2 */
    			0x204 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* (AE24) cam1_data7.mmc2_dat3 */
    		>;
    	};
    
    	wlan_pins_default: pinmux_wlan_pins_default {
    		pinctrl-single,pins = <
    			0x1d0 (PIN_OUTPUT_PULLDOWN | MUX_MODE7)		/* cam1_data8.gpio4_8 WL_EN */
    			0x1e4 (PIN_INPUT | WAKEUP_ENABLE | MUX_MODE7)	/* cam1_wen.gpio4_13 WL_IRQ */
    		>;
    	};
    
    	wlan_pins_sleep: pinmux_wlan_pins_sleep {
    		pinctrl-single,pins = <
    			0x1d0 (PIN_OUTPUT_PULLDOWN | MUX_MODE7)		/* cam1_data8.gpio4_8 WL_EN */
    			0x1e4 (PIN_INPUT | WAKEUP_ENABLE | MUX_MODE7)	/* cam1_wen.gpio4_13 WL_IRQ */
    		>;
    	};
    
    	uart1_bt_pins_default: pinmux_uart1_bt_pins_default {
    		pinctrl-single,pins = <
    			0x180 (PIN_INPUT | MUX_MODE0)		/* uart1_rxd.uart1_rxd */
    			0x184 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart1_txd.uart1_txd */
    			0x178 (PIN_INPUT_PULLUP | MUX_MODE0)	/* uart1_ctsn.uart1_ctsn */
    			0x17c (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart1_rtsn.uart1_rtsn */
    			0x1cc (PIN_OUTPUT_PULLDOWN | MUX_MODE7)	/* cam1_data9.gpiop BT_EN */
    		>;
    	};
    
    	uart1_bt_pins_sleep: pinmux_uart1_bt_pins_sleep {
    		pinctrl-single,pins = <
    			0x180 (PIN_OUTPUT_PULLDOWN | MUX_MODE7)	/* uart1_rxd.uart1_rxd */
    			0x184 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* uart1_txd.uart1_txd */
    			0x178 (PIN_OUTPUT_PULLDOWN | MUX_MODE7)	/* uart1_ctsn.uart1_ctsn */
    			0x17c (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* uart1_rtsn.uart1_rtsn */
    			0x1cc (PIN_OUTPUT_PULLUP | MUX_MODE7)	/* cam1_data9.gpio4_7 BT_EN */
    		>;
    	};
    };
    
    &i2c0 {
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&i2c0_pins>;
    	clock-frequency = <100000>;
    
    	tps@24 {
    		compatible = "ti,tps65218";
    		reg = <0x24>;
    		interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
    		interrupt-controller;
    		#interrupt-cells = <2>;
    
    		dcdc1: regulator-dcdc1 {
    			compatible = "ti,tps65218-dcdc1";
    			/* VDD_CORE limits min of OPP50 and max of OPP100 */
    			regulator-name = "vdd_core";
    			regulator-min-microvolt = <912000>;
    			regulator-max-microvolt = <1144000>;
    			regulator-boot-on;
    			regulator-always-on;
    		};
    
    		dcdc2: regulator-dcdc2 {
    			compatible = "ti,tps65218-dcdc2";
    			/* VDD_MPU limits min of OPP50 and max of OPP_NITRO */
    			regulator-name = "vdd_mpu";
    			regulator-min-microvolt = <912000>;
    			regulator-max-microvolt = <1378000>;
    			regulator-boot-on;
    			regulator-always-on;
    		};
    
    		dcdc3: regulator-dcdc3 {
    			compatible = "ti,tps65218-dcdc3";
    			regulator-name = "vdds_ddr";
    			regulator-min-microvolt = <1500000>;
    			regulator-max-microvolt = <1500000>;
    			regulator-boot-on;
    			regulator-always-on;
    			regulator-state-mem {
    				regulator-on-in-suspend;
    			};
    			regulator-state-disk {
    				regulator-off-in-suspend;
    			};
    		};
    
    		dcdc4: regulator-dcdc4 {
    			compatible = "ti,tps65218-dcdc4";
    			regulator-name = "v3_3d";
    			regulator-min-microvolt = <3300000>;
    			regulator-max-microvolt = <3300000>;
    			regulator-boot-on;
    			regulator-always-on;
    		};
    
    		dcdc5: regulator-dcdc5 {
    			compatible = "ti,tps65218-dcdc5";
    			regulator-name = "v1_0bat";
    			regulator-min-microvolt = <1000000>;
    			regulator-max-microvolt = <1000000>;
    			regulator-boot-on;
    			regulator-always-on;
    			regulator-state-mem {
    				regulator-on-in-suspend;
    			};
    		};
    
    		dcdc6: regulator-dcdc6 {
    			compatible = "ti,tps65218-dcdc6";
    			regulator-name = "v1_8bat";
    			regulator-min-microvolt = <1800000>;
    			regulator-max-microvolt = <1800000>;
    			regulator-boot-on;
    			regulator-always-on;
    			regulator-state-mem {
    				regulator-on-in-suspend;
    			};
    		};
    
    		ldo1: regulator-ldo1 {
    			compatible = "ti,tps65218-ldo1";
    			regulator-name = "v1_8d";
    			regulator-min-microvolt = <1800000>;
    			regulator-max-microvolt = <1800000>;
    			regulator-boot-on;
    			regulator-always-on;
    		};
    
    /*Power Button Disabled by analogics */
    	/*	power-button {
    			compatible = "ti,tps65218-pwrbutton";
    			status = "okay";
    			interrupts = <3 IRQ_TYPE_EDGE_BOTH>;
    		};*/
    	};
    
    	at24@50 {
    		compatible = "at24,24c256";
    		pagesize = <64>;
    		reg = <0x50>;
    	};
    };
    
    &i2c1 {
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&i2c1_pins>;
    	clock-frequency = <400000>;
    
    	ov2659@30 {
    		compatible = "ovti,ov2659";
    		reg = <0x30>;
    		pinctrl-names = "default";
    		pinctrl-0 = <&clkout1_pin>;
    
    		clocks = <&clkout1_mux_ck>;
    		clock-names = "xvclk";
    		assigned-clocks = <&clkout1_mux_ck>;
    		assigned-clock-parents = <&clkout1_osc_div_ck>;
    
    		port {
    			ov2659_1: endpoint {
    				remote-endpoint = <&vpfe0_ep>;
    				link-frequencies = /bits/ 64 <70000000>;
    			};
    		};
    	};
    
    	tlv320aic3106: tlv320aic3106@1b {
    		#sound-dai-cells = <0>;
    		compatible = "ti,tlv320aic3106";
    		reg = <0x1b>;
    		status = "okay";
    
    		/* Regulators */
    		AVDD-supply = <&dcdc4>;
    		IOVDD-supply = <&dcdc4>;
    		DRVDD-supply = <&dcdc4>;
    		DVDD-supply = <&ldo1>;
    	};
    
    	lis331dlh@18 {
    		compatible = "st,lis331dlh";
    		reg = <0x18>;
    		status = "okay";
    
    		Vdd-supply = <&dcdc4>;
    		Vdd_IO-supply = <&dcdc4>;
    		interrupts-extended = <&gpio1 6 0>, <&gpio2 1 0>;
    	};
    };
    
    &epwmss0 {
    	status = "okay";
    };
    
    &ecap0 {
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&ecap0_pins>;
    };
    
    &gpio0 {
    	status = "okay";
    };
    
    &gpio1 {
    	status = "okay";
    };
    
    &gpio4 {
    	status = "okay";
    };
    
    &gpio5 {
    	status = "okay";
    };
    
    &mmc1 {
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&mmc1_pins>;
    
    	vmmc-supply = <&dcdc4>;
    	bus-width = <4>;
    	cd-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
    };
    
    &uart1 {
    	status = "okay";
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&uart1_bt_pins_default>;
    	pinctrl-1 = <&uart1_bt_pins_sleep>;
    };
    
    &mmc3 {
    	status = "okay";
    	/* these are on the crossbar and are outlined in the
    	   xbar-event-map element */
    	dmas = <&edma 30
    		&edma 31>;
    	dma-names = "tx", "rx";
    	vmmc-supply = <&vmmcwl_fixed>;
    	bus-width = <4>;
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&mmc3_pins_default>;
    	pinctrl-1 = <&mmc3_pins_sleep>;
    	cap-power-off-card;
    	keep-power-in-suspend;
    	ti,non-removable;
    
    	#address-cells = <1>;
    	#size-cells = <0>;
    	wlcore: wlcore@0 {
    		compatible = "ti,wl1835";
    		pinctrl-names = "default", "sleep";
    		pinctrl-0 = <&wlan_pins_default>;
    		pinctrl-1 = <&wlan_pins_sleep>;
    		reg = <2>;
    		interrupt-parent = <&gpio4>;
    		interrupts = <13 IRQ_TYPE_LEVEL_HIGH>;
    	};
    };
    
    &edma {
    	ti,edma-xbar-event-map = /bits/ 16 <1 30
    					    2 31>;
    };
    
    &usb2_phy1 {
    	status = "okay";
    };
    
    &usb1 {
    	dr_mode = "otg";
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&usb1_pins>;
    };
    
    &usb2_phy2 {
    	status = "okay";
    };
    
    &usb2 {
    	dr_mode = "host";
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&usb2_pins>;
    };
    
    &qspi {
    	status = "okay";
    	pinctrl-names = "default";
    	/*pinctrl-0 = <&qspi_pins>; */
    
    	spi-max-frequency = <48000000>;
    	m25p80@0 {
    		compatible = "mx66l51235l";
    		spi-max-frequency = <48000000>;
    		reg = <0>;
    		spi-cpol;
    		spi-cpha;
    		spi-tx-bus-width = <1>;
    		spi-rx-bus-width = <4>;
    		#address-cells = <1>;
    		#size-cells = <1>;
    
    		/* MTD partition table.
    		 * The ROM checks the first 512KiB
    		 * for a valid file to boot(XIP).
    		 */
    		partition@0 {
    			label = "QSPI.U_BOOT";
    			reg = <0x00000000 0x000080000>;
    		};
    		partition@1 {
    			label = "QSPI.U_BOOT.backup";
    			reg = <0x00080000 0x00080000>;
    		};
    		partition@2 {
    			label = "QSPI.U-BOOT-SPL_OS";
    			reg = <0x00100000 0x00010000>;
    		};
    		partition@3 {
    			label = "QSPI.U_BOOT_ENV";
    			reg = <0x00110000 0x00010000>;
    		};
    		partition@4 {
    			label = "QSPI.U-BOOT-ENV.backup";
    			reg = <0x00120000 0x00010000>;
    		};
    		partition@5 {
    			label = "QSPI.KERNEL";
    			reg = <0x00130000 0x0800000>;
    		};
    		partition@6 {
    			label = "QSPI.FILESYSTEM";
    			reg = <0x00930000 0x36D0000>;
    		};
    	};
    };
    
    &mac {
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&cpsw_default>;
    	pinctrl-1 = <&cpsw_sleep>;
    	/* dual emac commented by analogics  */
    	/*dual_emac = <1>; */
    	status = "okay";
    };
    
    &davinci_mdio {
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&davinci_mdio_default>;
    	pinctrl-1 = <&davinci_mdio_sleep>;
    	status = "okay";
    };
    
    &cpsw_emac0 {
    /*	phy_id = <&davinci_mdio>, <4>;  */
    	phy_id = <&davinci_mdio>, <0>; 
    /* rgmii mode commented by analogics */
    	/*phy-mode = "rgmii"; */
    	phy-mode = "rmii";
    	dual_emac_res_vlan = <1>;
    };
    
    &cpsw_emac1 {
    /*	phy_id = <&davinci_mdio>, <5>; */
    	phy_id = <&davinci_mdio>, <1>;
    /* rgmii mode commented by analogics */
    	/* phy-mode = "rgmii"; */
    	phy-mode = "rmii";
    	dual_emac_res_vlan = <2>;
    };
    
    &elm {
    	status = "okay";
    };
    
    &mcasp1 {
    	#sound-dai-cells = <0>;
    	pinctrl-names = "default";
    	pinctrl-0 = <&mcasp1_pins>;
    
    	status = "okay";
    
    	op-mode = <0>;
    	tdm-slots = <2>;
    	serial-dir = <
    		0 0 1 2
    	>;
    
    	tx-num-evt = <1>;
    	rx-num-evt = <1>;
    };
    
    &dss {
    	status = "okay";
    
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&dss_pins>;
    	pinctrl-1 = <&dss_pins_sleep>;
    
    	port {
    		dpi_out: endpoint@0 {
    			remote-endpoint = <&lcd_in>;
    	/*		 data-lines = <24>; */
    			data-lines = <16>; 
    		};
    	};
    };
    
    /* touchscreen & ADC values added by arun analogics */
    &tscadc {
            status = "okay";
            tsc {
                    ti,wires = <4>;
                    ti,x-plate-resistance = <200>;
                    ti,coordinate-readouts = <5>;
                    ti,wire-config = <0x00 0x11 0x22 0x33>;   
                /*    ti,wire-config = <0x00 0x13 0x21 0x32>;  */
    		ti,x-axis = <0 240 1>;
    		ti,y-axis = <0 320 1>;
    		ti,charge-delay = <0x400>;
            };
    
            adc {
                    ti,adc-channels = <4 5 6 7>;
            };
    };
    
    
    &rtc {
    	status = "okay";
    	ext-clk-src;
    };
    
    &wdt {
    	status = "okay";
    };
    
    &cpu {
    	cpu0-supply = <&dcdc2>;
    };
    
    &vpfe0 {
    	status = "okay";
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&vpfe0_pins_default>;
    	pinctrl-1 = <&vpfe0_pins_sleep>;
    
    	/* Camera port */
    	port {
    		vpfe0_ep: endpoint {
    			remote-endpoint = <&ov2659_1>;
    			ti,am437x-vpfe-interface = <0>;
    			bus-width = <8>;
    			hsync-active = <0>;
    			vsync-active = <0>;
    		};
    	};
    };
    
    &wkup_m3_ipc {
    	ti,scale-data-fw = "am43x-evm-scale-data.bin";
    };
    
    
    &sgx {
    	status = "okay";
    };
    
    

  • Were you able to fix this error? If so, how did you do it.
  •  I'm able to fix this issue. The root cause for this issue was improper DDR PLL clock configuration of my custom board in u-boot.