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.

How to enable MMC3 interface?

Other Parts Discussed in Thread: DRA746

Our processor is DRA746(with PMIC TPS-659039), with 3.02.00.03 SDK version

We connect MMC3 interface (only connect cmd, clk, 4 data pins) with micro-SD card at our custom board. Since there is no &mmc3 node at dra7-evm.dts, so we add it(but the content almost the same as &mmc1, except pin define)

Now, the system can't detect micro-SD card after boot up. The log show below messages:

omap_hsmmc 480ad000.mmc: vmmc_aux set voltage failed
omap_hsmmc 480ad000.mmc: failed to switch 1.8v

The full boot log info => 

U-Boot SPL 2016.05-g35dae4d-dirty (May 11 2018 - 18:44:12)
DRA752-GP ES2.0
ti_i2c_eeprom_init failed 1
Bypassing DPLL failed 4a008180

MII 0 power strap setting(Pull low COL,CRS
MII 0 power strap setting(Pull low COL,CRS
U-Boot SPL 2016.05-g35dae4d-dirty (May 11 2018 - 18:44:12)
DRA752-GP ES2.0
@SD max clock = 10000000@
!!!!!!!@SD max clock = 10000000@
MMC Device 1 not found
*** Warning - No MMC card found, using default environment

Trying to boot from MMC1
MMC Device 1 not found
*** Warning - No MMC card found, using default environment

reading u-boot.img
reading u-boot.img
reading u-boot.img
reading u-boot.img


U-Boot 2016.05-g35dae4d-dirty (May 11 2018 - 18:44:12 +0800)

CPU  : DRA752-GP ES2.0
Model: TI DRA742
Board: DRA74x EVM REV
DRAM:  3 GiB
NAND:  0 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1, OMAP SD/MMC: 2
@eMMC max clock = 26000000@
*** Warning - bad CRC, using default environment

Warning: fastboot.board_rev: unknown board revision
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
ERROR: cannot find partition: 'userdata'

at arch/arm/cpu/armv7/omap-common/utils.c:195/mmc_get_part_size()
Warning: fastboot.userdata_size: unable to calc
SCSI:  Target spinup took 0 ms.
AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst
scanning bus for devices...
  Device 0: (0:0) Vendor: ATA Prod.: 8GB SATA Flash D Rev: SFPS
            Type: Hard Disk
            Capacity: 7641.2 MB = 7.4 GB (15649200 x 512)
Found 1 device(s).
Net:
Warning: ethernet@48484000 using MAC address from ROM
eth0: ethernet@48484000
Hit any key to stop autoboot:  0
load MAN2020_original.dtb
load MAN2020_3g
switch to partitions #0, OK
mmc0 is current device
@SD max clock = 10000000@
!!!!!!!@SD max clock = 10000000@
SD/MMC found on device 0
reading boot.scr
** Unable to read file boot.scr **
reading uEnv.txt
222 bytes read in 3 ms (72.3 KiB/s)
Loaded env from uEnv.txt
Importing environment from mmc0 ...
@SD max clock = 10000000@
!!!!!!!@SD max clock = 10000000@
switch to partitions #0, OK
mmc0 is current device
@SD max clock = 10000000@
!!!!!!!@SD max clock = 10000000@
SD/MMC found on device 0
3636216 bytes read in 781 ms (4.4 MiB/s)
111458 bytes read in 77 ms (1.4 MiB/s)
Booting from mmc0 ...
Kernel image @ 0x82000000 [ 0x000000 - 0x377bf8 ]
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Device Tree to 8ffe1000, end 8ffff361 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.45-g29f1bae-dirty (hsuyz@hsuyz-VirtualBox) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #44 SMP PREEMPT Fri May 11 18:44:48 CST 2018
[    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] Machine model: TI DRA742
[    0.000000] cma: Reserved 64 MiB at 0x00000000fb000000
[    0.000000] Forcing write-allocate cache policy for SMP
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] DRA752 ES2.0
[    0.000000] PERCPU: Embedded 11 pages/cpu @ec076000 s14848 r8192 d22016 u45056
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 780096
[    0.000000] Kernel command line: console=ttyO3,115200n8 elevator=noop root=/dev/mmcblk0p2 rw rootwait earlyprintk fixrtc omapdrm.num_crtc=2 consoleblank=0 cma=64M rootfstype=ext4 snd.slots_reserved=1,1
[    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: 3022672K/3127296K available (6635K kernel code, 364K rwdata, 2472K rodata, 336K init, 302K bss, 39088K reserved, 65536K cma-reserved, 2275328K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc08ed09c   (9109 kB)
[    0.000000]       .init : 0xc08ee000 - 0xc0942000   ( 336 kB)
[    0.000000]       .data : 0xc0942000 - 0xc099d1d0   ( 365 kB)
[    0.000000]        .bss : 0xc099f000 - 0xc09eaa78   ( 303 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] ti_dt_clocks_register: failed to lookup clock node gmac_gmii_ref_clk_div
[    0.000000] OMAP clockevent source: timer1 at 31475 Hz
[    0.000000] Architected cp15 timer(s) running at 5.90MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x15c70fb29, max_idle_ns: 440795202138 ns
[    0.000005] sched_clock: 56 bits at 5MHz, resolution 169ns, wraps every 4398046511093ns
[    0.000015] Switching to timer-based delay loop, resolution 169ns
[    0.000370] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
[    0.000379] OMAP clocksource: 32k_counter at 32768 Hz
[    0.000836] Console: colour dummy device 80x30
[    0.000853] WARNING: Your 'console=ttyO3' has been replaced by 'ttyS3'
[    0.000860] This ensures that you still see kernel messages. Please
[    0.000866] update your kernel commandline.
[    0.000880] Calibrating delay loop (skipped), value calculated using timer frequency.. 11.80 BogoMIPS (lpj=59016)
[    0.000892] pid_max: default: 32768 minimum: 301
[    0.000983] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000993] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001528] Initializing cgroup subsys io
[    0.001546] Initializing cgroup subsys memory
[    0.001570] Initializing cgroup subsys devices
[    0.001582] Initializing cgroup subsys freezer
[    0.001593] Initializing cgroup subsys perf_event
[    0.001604] Initializing cgroup subsys pids
[    0.001631] CPU: Testing write buffer coherency: ok
[    0.001832] /cpus/cpu@0 missing clock-frequency property
[    0.001849] /cpus/cpu@1 missing clock-frequency property
[    0.001859] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.001894] Setting up static identity map for 0x800082c0 - 0x80008320
[    0.080174] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.080233] Brought up 2 CPUs
[    0.080246] SMP: Total of 2 processors activated (23.60 BogoMIPS).
[    0.080252] CPU: All CPU(s) started in HYP mode.
[    0.080258] CPU: Virtualization extensions available.
[    0.080628] devtmpfs: initialized
[    0.110119] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
[    0.111120] omap_hwmod: l3_main_2 using broken dt data from ocp
[    0.305908] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.307433] pinctrl core: initialized pinctrl subsystem
[    0.308258] NET: Registered protocol family 16
[    0.309220] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.330225] cpuidle: using governor ladder
[    0.360250] cpuidle: using governor menu
[    0.368529] OMAP GPIO hardware version 0.1
[    0.372613] GPIO line 161 (radio_rst) hogged as output/low
[    0.374949] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
[    0.391748] omap-gpmc 50000000.gpmc: GPMC revision 6.0
[    0.391761] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
[    0.400344] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.400354] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.401154] OMAP DMA hardware revision 0.0
[    0.441565] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
[    0.442708] edma 43300000.edma: memcpy is disabled
[    0.447527] edma 43300000.edma: TI EDMA DMA engine driver
[    0.454392] palmas 0-0058: IRQ missing: skipping irq request
[    0.471222] palmas 0-0058: Muxing GPIO a, PWM 0, LED 0
[    0.471341] @@@@1
[    0.471551] @@@@3
[    0.471559] @@@@4
[    0.471568] @@@@5
[    0.471922] @@@@6
[    0.472085] @@@@7
[    0.480771] @@@@8
[    0.542886] @@@@9(0)
[    0.542904] @@@@2
[    0.542935] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
[    0.543350] omap_i2c 48072000.i2c: bus 1 rev0.12 at 400 kHz
[    0.543715] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
[    0.544072] omap_i2c 4807a000.i2c: bus 3 rev0.12 at 400 kHz
[    0.544434] omap_i2c 4807c000.i2c: bus 4 rev0.12 at 400 kHz
[    0.544623] media: Linux media interface: v0.10
[    0.544677] Linux video capture interface: v2.00
[    0.544720] pps_core: LinuxPPS API ver. 1 registered
[    0.544727] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.544750] PTP clock support registered
[    0.544796] EDAC MC: Ver: 3.0.0
[    0.545559] Advanced Linux Sound Architecture Driver Initialized.
[    0.546425] clocksource: Switched to clocksource arch_sys_counter
[    0.557073] NET: Registered protocol family 2
[    0.557572] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.557636] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.557761] TCP: Hash tables configured (established 8192 bind 8192)
[    0.557809] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.557840] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.558044] NET: Registered protocol family 1
[    0.558304] RPC: Registered named UNIX socket transport module.
[    0.558313] RPC: Registered udp transport module.
[    0.558320] RPC: Registered tcp transport module.
[    0.558326] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.559354] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
[    0.561981] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.569676] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.570315] NFS: Registering the id_resolver key type
[    0.570348] Key type id_resolver registered
[    0.570356] Key type id_legacy registered
[    0.570408] ntfs: driver 2.1.32 [Flags: R/O].
[    0.572337] bounce: pool size: 64 pages
[    0.572495] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    0.572511] io scheduler noop registered (default)
[    0.572522] io scheduler deadline registered
[    0.572555] io scheduler cfq registered
[    0.577831] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
[    0.640761] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
[    0.644153] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 299, base_baud = 3000000) is a 8250
[    0.645031] 4806c000.serial: ttyS1 at MMIO 0x4806c000 (irq = 300, base_baud = 3000000) is a 8250
[    0.645895] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 301, base_baud = 3000000) is a 8250
[    0.646775] console [ttyS3] disabled
[    0.646819] 4806e000.serial: ttyS3 at MMIO 0x4806e000 (irq = 302, base_baud = 3000000) is a 8250
[    1.448059] console [ttyS3] enabled
[    1.452414] 48066000.serial: ttyS4 at MMIO 0x48066000 (irq = 303, base_baud = 3000000) is a 8250
[    1.462076] 48422000.serial: ttyS7 at MMIO 0x48422000 (irq = 304, base_baud = 3000000) is a 8250
[    1.471739] 48424000.serial: ttyS8 at MMIO 0x48424000 (irq = 305, base_baud = 3000000) is a 8250
[    1.481395] 4ae2b000.serial: ttyS9 at MMIO 0x4ae2b000 (irq = 306, base_baud = 3000000) is a 8250
[    1.491456] [drm] Initialized drm 1.1.0 20060810
[    1.503227] loop: module loaded
[    1.507241] nand: No NAND device found
[    1.511012] omap2-nand 8000000.nand: scan failed, may be bus-width mismatch
[    1.523462] m25p80 spi32766.0: s25fl256s1 (32768 Kbytes)
[    1.528887] 7 ofpart partitions found on MTD device spi32766.0
[    1.534748] Creating 7 MTD partitions on "spi32766.0":
[    1.539928] 0x000000000000-0x000000040000 : "QSPI.MLO"
[    1.545981] 0x000000040000-0x000000140000 : "QSPI.u-boot"
[    1.552287] 0x000000140000-0x0000001c0000 : "QSPI.DRA7-evm.dtb"
[    1.559113] 0x0000001c0000-0x0000001d0000 : "QSPI.u-boot-env"
[    1.565739] 0x0000001d0000-0x0000001e0000 : "QSPI.u-boot-env.backup1"
[    1.573096] 0x0000001e0000-0x0000009e0000 : "QSPI.uImage"
[    1.579408] 0x0000009e0000-0x000002000000 : "QSPI.IPU-exe"
[    1.586790] libphy: Fixed MDIO Bus: probed
[    1.591458] CAN device driver interface
[    1.595683] pinctrl-single 4a003400.pinmux: pin 4a003818.0 already requested by 4a003400.pinmux; cannot claim for 4ae3c000.can
[    1.607149] pinctrl-single 4a003400.pinmux: pin-262 (4ae3c000.can) status -22
[    1.614322] pinctrl-single 4a003400.pinmux: could not request pin 262 (4a003818.0) from group dcan1_pins_sleep  on device pinctrl-single
[    1.626651] c_can_platform 4ae3c000.can: Error applying setting, reverse things back
[    1.635073] c_can_platform 4ae3c000.can: c_can_platform device registered (regs=fce3c000, irq=357)
[    1.686459] davinci_mdio 48485000.mdio: davinci mdio revision 1.6
[    1.692583] davinci_mdio 48485000.mdio: detected phy mask 0
[    1.796429] davinci_mdio 48485000.mdio: timed out waiting for user access
[    1.896427] davinci_mdio 48485000.mdio: timed out waiting for idle
[    1.902654] davinci_mdio: probe of 48485000.mdio failed with error -5
[    1.909768] cpsw 48484000.ethernet: Detected MACID = f0:45:da:8b:6a:62
[    1.916442] cpsw 48484000.ethernet: cpts: overflow check period 800
[    1.923382] cpsw 48484000.ethernet: cpsw: Detected MACID = f0:45:da:8b:6a:63
[    1.932028] mousedev: PS/2 mouse device common for all mice
[    1.938282] i2c /dev entries driver
[    1.943256] vpe 489d0000.vpe: loading firmware vpdma-1b8.bin
[    1.953642] omap_hsmmc 4809c000.mmc: Got CD GPIO
[    1.966610] vpe 489d0000.vpe: Device registered as /dev/video0
[    2.006974] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
[    2.013362] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
[    2.036659] evm_3v3_sw: supplied by sysen1
[    2.077918] ldo1: Restricting voltage, 3300000-1800000uV
[    2.083260] omap_hsmmc 480ad000.mmc: vmmc_aux set voltage failed
[    2.096437] omap_hsmmc 480ad000.mmc: failed to switch 1.8v
[    2.167200] ledtrig-cpu: registered to indicate activity on CPUs
[    2.177406] hwspinlock_user gatemp: requested 10 hwspinlocks
[    2.183775]
[    2.183775] [spidrv_init]
[    2.187906] spidrv_init called
[    2.190979]
[    2.190979] [mcaspdrv_init]
[    2.195270] mcaspdrv_init called
[    2.199588] davinci-mcasp 48460000.mcasp: DAI is shared
[    2.204862]
[    2.204862] [McASP1][mcasp->base][FA460000]
[    2.210658] davinci-mcasp 48464000.mcasp: DAI is shared
[    2.215923]
[    2.215923] [McASP2][mcasp->base][FA464000]
[    2.215923]
[    2.223208] davinci-mcasp 48468000.mcasp: DAI is shared
[    2.228484]
[    2.228484] [McASP3][mcasp->base][FA468000]
[    2.228484]
[    2.236752] NET: Registered protocol family 10
[    2.252086] sit: IPv6 over IPv4 tunneling driver
[    2.257281] NET: Registered protocol family 17
[    2.261761] can: controller area network core (rev 20120528 abi 9)
[    2.268082] NET: Registered protocol family 29
[    2.272564] can: raw protocol (rev 20120528)
[    2.277063] Key type dns_resolver registered
[    2.281502] omap_voltage_late_init: Voltage driver support not added
[    2.288507] Power Management for TI OMAP4+ devices.
[    2.293648] Registering SWP/SWPB emulation handler
[    2.301176] dmm 4e000000.dmm: initialized all PAT entries
[    2.317714] hctosys: unable to open rtc device (rtc0)
[    2.334891] aic_dvdd: disabling
[    2.338074] vmmcwl_fixed: disabling
[    2.341771] ldousb: disabling
[    2.345246] ALSA device list:
[    2.348255]   No soundcards found.
[    2.352461] Waiting for root device /dev/mmcblk0p2...
[    2.363516] mmc0: host does not support reading read-only switch, assuming write-enable
[    2.373576] @SD max clock = 10000000@
[    2.377375] mmc0: new high speed SDHC card at address 59b4
[    2.383359] mmcblk0: mmc0:59b4 SD    14.7 GiB
[    2.389615]  mmcblk0: p1 p2
[    2.430226] mmc1: MAN_BKOPS_EN bit is not set
[    2.435572] @eMMC max clock = 25000000@
[    2.439608] mmc1: new MMC card at address 0001
[    2.454516] mmcblk1: mmc1:0001 MMC04G 3.57 GiB
[    2.469341] mmcblk1boot0: mmc1:0001 MMC04G partition 1 8.00 MiB
[    2.485520] mmcblk1boot1: mmc1:0001 MMC04G partition 2 8.00 MiB
[    2.493505]  mmcblk1: p1 p2
[    2.655411] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    2.663588] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    2.670993] devtmpfs: mounted
[    2.674178] Freeing unused kernel memory: 336K (c08ee000 - c0942000)
[    2.680576] This architecture does not have kernel memory protection.
[    3.669902] systemd[1]: System time before build time, advancing clock.
[    3.828334] random: systemd: uninitialized urandom read (16 bytes read, 12 bits of entropy available)
[    3.845058] random: systemd: uninitialized urandom read (16 bytes read, 12 bits of entropy available)
[    3.856853] systemd[1]: systemd 229 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT +GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
[    3.875372] systemd[1]: Detected architecture arm.

Welcome to Arago 2016.12!

[    3.908046] systemd[1]: Set hostname to <dra7xx-evm>.
[    4.078450] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 13 bits of entropy available)
[    4.126026] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 13 bits of entropy available)
[    4.136245] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 13 bits of entropy available)
[    4.167281] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 14 bits of entropy available)
[    4.188882] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 14 bits of entropy available)
[    4.485088] random: systemd: uninitialized urandom read (16 bytes read, 17 bits of entropy available)
[    4.494632] random: systemd: uninitialized urandom read (16 bytes read, 17 bits of entropy available)
[    4.504609] random: systemd: uninitialized urandom read (16 bytes read, 17 bits of entropy available)
[    4.652676] systemd[1]: Configuration file /etc/systemd/system/multi-user.target.wants/MAN2020.service is marked executable. Please remove executable permission bits. Proceeding anyway.
[    4.669309] systemd[1]: Configuration file /etc/systemd/system/multi-user.target.wants/MAN2020.service is marked world-writable. Please remove world writability permission bits. Proceeding anyway.
[    4.689344] systemd[1]: gplv3-notice.service: Service lacks both ExecStart= and ExecStop= setting. Refusing.
[    4.859687] systemd[1]: gplv3-notice.service: Cannot add dependency job, ignoring: Unit gplv3-notice.service is not loaded properly: Invalid argument.
[    4.874157] systemd[1]: sysinit.target: Found ordering cycle on sysinit.target/start
[    4.881976] systemd[1]: sysinit.target: Found dependency on alignment.service/start
[    4.889695] systemd[1]: sysinit.target: Found dependency on basic.target/start
[    4.896995] systemd[1]: sysinit.target: Found dependency on sysinit.target/start
[    4.904431] systemd[1]: sysinit.target: Breaking ordering cycle by deleting job alignment.service/start
[    4.913892] systemd[1]: alignment.service: Job alignment.service/start deleted to break ordering cycle starting with sysinit.target/start
[ SKIP ] Ordering cycle found, skipping alignment.service
[    4.949419] systemd[1]: Listening on Network Service Netlink Socket.
[  OK  ] Listening on Network Service Netlink Socket.
[    4.976729] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[    5.008125] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[    5.036623] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[    5.056594] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[    5.086710] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[    5.116766] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[    5.210742] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[    5.236658] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    5.266648] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[    5.287290] systemd[1]: Created slice System Slice.
[  OK  ] Created slice System Slice.
[    5.316631] systemd[1]: Reached target Slices.
[  OK  ] Reached target Slices.
[    5.336761] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[    5.366589] systemd[1]: Reached target Paths.
[  OK  ] Reached target Paths.
[    5.386711] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[    5.436902] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[    5.536692] systemd[1]: Mounting Temporary Directory...
         Mounting Temporary Directory...
[    5.559054] systemd[1]: Starting Setup Virtual Console...
         Starting Setup Virtual Console...
[    5.589146] systemd[1]: Mounting Debug File System...
         Mounting Debug File System...
[    5.686883] systemd[1]: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
[    5.719139] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[    5.749237] systemd[1]: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems...
[    5.779459] systemd[1]: Starting Create list of required static device nodes for the current kernel...
[    5.793305] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
         Starting Create list of required st... nodes for the current kernel...
[    5.827469] systemd[1]: Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[    5.891674] systemd[1]: Mounted POSIX Message Queue File System.
[  OK  ] Mounted POSIX Message Queue File System.
[    5.916696] systemd[1]: Mounted Debug File System.
[  OK  ] Mounted Debug File System.
[    5.936647] systemd[1]: Mounted Temporary Directory.
[  OK  ] Mounted Temporary Directory.
[    5.956905] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[  OK  ] Started Setup Virtual Console.
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Started Create list of required sta...ce nodes for the current kernel.
         Starting Create Static Device Nodes in /dev...
         Starting udev Coldplug all Devices...
         Starting Apply Kernel Variables...
         Starting Flush Journal to Persistent Storage...
[  OK  ] Started Apply Kernel Variables.
[    6.745733] systemd-journald[91]: Received request to flush runtime journal from PID 1
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /media/ram...
         Mounting /var/volatile...
         Starting udev Kernel Device Manager...
[  OK  ] Mounted /var/volatile.
[  OK  ] Mounted /media/ram.
[  OK  ] Reached target Local File Systems.
         Starting Create Volatile Files and Directories...
         Starting Load/Save Random Seed...
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Create Volatile Files and Directories.
[  OK  ] Started udev Kernel Device Manager.
         Starting Update UTMP about System Boot/Shutdown...
         Starting Network Time Synchronization...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Reached target System Time Synchronized.
         Starting Synchronize System and HW clocks...
[  OK  ] Found device /dev/ttyS3.
[    7.970645] omap_rng 48090000.rng: OMAP Random Number Generator ver. 20
[FAILED] Failed to start Synchronize System and HW clocks.
See 'systemctl status sync-clocks.service' for details.
[  OK  ] Reached target System Initialization.
[    8.090329] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
[  OK  ] Listening on dropbear.socket.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[    8.127777] alg: skcipher: setkey failed on test 5 for ecb-des-omap: flags=100
[  OK  ] Listening on RPCbind Server Activation Socket.
[  OK  ] Listening on D-Bus System Message Bus Socket.[    8.171633] alg: skcipher-ddst: setkey failed on test 5 for ecb-des-omap: flags=100

[  OK  ] Reached target Sockets.
[    8.206616] alg: skcipher-ddst: setkey failed on test 5 for ecb-des-omap: flags=100
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Reached target Basic System.
[    8.288734] omap_rtc 48838000.rtc: rtc core: registered 48838000.rtc as rtc0
         Starting Permit User Sessions...
         Starting Avahi mDNS/DNS-SD Stack...
[  OK  ] Started System Logging Service.
[  OK  ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
         Starting Login Service...
[    8.567102] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
         Starting uim-sysfs.service...
[  OK  ] Started Kernel Logging Service.
         Starting hw-id.service...
[    8.638314] SCSI subsystem initialized
[  OK  ] Started D-Bus System Message Bus.
[    8.687901] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
[    9.765544] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
[    9.890105] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
[    9.919024] [drm] Initialized pvr 1.14.3699939 20110701 on minor 0
[    9.962194] ahci 4a140000.sata: SSS flag set, parallel bus scan disabled
[    9.994561] ahci 4a140000.sata: Enable 32-bit DMA instead of 64-bit.
[   10.047468] ahci 4a140000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
[   10.149719] ahci 4a140000.sata: flags: 64bit ncq sntf stag pm led clo only pmp pio slum part ccc apst
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[   10.211770] NET: Registered protocol family 15
[   10.219142] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[   10.231330] scsi host0: ahci
[   10.234633] ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a1410ff] port 0x100 irq 339
         Starting Network Service...
         Starting Telephony service...
[  OK  ] Started Start helloworld.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started hw-id.service.


[INFO] VERSION: B0.3.0.0021
[SYS ] paring option: token=3, option=(null)
[INFO] R3 init, iface=/dev/ttyS7
[INFO] R2 init
[INFO] watchdog init
[INFO] CLIENT ready
[   10.650784] Initializing XFRM netlink socket
[  OK  ] Started Network Service.
[   10.667476] net eth1: initializing cpsw version 1.15 (0)
[   10.674158] net eth0: initialized cpsw ale version 1.4
[   10.701525] net eth0: ALE Table size 1024
[   10.728603] libphy: PHY 48485000.mdio:03 not found
[   10.733428] net eth1: phy "48485000.mdio:03" not found on slave 1, err -19
[   10.826465] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   10.876931] ata1.00: ATA-10: 8GB SATA Flash Drive, SFPS925A, max UDMA/133
[   10.902708] net eth0: initializing cpsw version 1.15 (0)
[   10.909812] ata1.00: 15649200 sectors, multi 16: LBA48 NCQ (depth 31/32)
[   10.942494] libphy: PHY 48485000.mdio:00 not found
[   10.953549] ata1.00: configured for UDMA/133
[   10.970545] net eth0: phy "48485000.mdio:00" not found on slave 0, err -19
[   11.022062] scsi 0:0:0:0: Direct-Access     ATA      8GB SATA Flash D 925A PQ: 0 ANSI: 5
[   11.106385] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[   11.185118] EXT4-fs (mmcblk1p2): recovery complete
[   11.191752] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
[   11.274776] Bluetooth: Core ver 2.21
[   11.298384] NET: Registered protocol family 31
[   11.302860] Bluetooth: HCI device and connection manager initialized
[   11.357961] Bluetooth: HCI socket layer initialized
[   11.362879] Bluetooth: L2CAP socket layer initialized
[   11.416499] Bluetooth: SCO socket layer initialized
[   11.614092] sd 0:0:0:0: [sda] 15649200 512-byte logical blocks: (8.01 GB/7.46 GiB)
[   11.625089] sd 0:0:0:0: [sda] Write Protect is off
[   11.636603] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   11.661387]  sda: sda1
[   11.669449] sd 0:0:0:0: [sda] Attached SCSI disk
[   11.738997] @@USB2PHY_TERMINATION_CONTROL=0x220004
[  OK  ] Started uim-sysfs.service.
[   12.279972] @@USB2PHY_TERMINATION_CONTROL=0x220004
[   12.318552] EXT4-fs (sda1): recovery complete
[   12.322946] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[  OK  ] Started Telephony service.
         Starting rc.pvr.service...
[  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[  OK  ] Reached target Network.
         Starting Network Name Resolution...
         Starting Lightning Fast Webserver With Light System Requirements...
[  OK  ] Started Serial Getty on ttyS3.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started Login Service.
[   12.991419] usbcore: registered new interface driver usbfs
[   13.008486] usbcore: registered new interface driver hub
[   13.026580] usbcore: registered new device driver usb
[  OK  ] Started Lightning Fast Webserver With Light System Requirements.
[   13.229069] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[   13.234609] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[   13.258303] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x00210010
[   13.273908] xhci-hcd xhci-hcd.0.auto: irq 431, io mem 0x48890000
[   13.289989] hub 1-0:1.0: USB hub found
[   13.294038] hub 1-0:1.0: 1 port detected
[   13.304434] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[  OK  ] Started Network Name Resolution.
[   13.316481] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[   13.336818] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[   13.358316] hub 2-0:1.0: USB hub found
[   13.365825] hub 2-0:1.0: 1 port detected
[   13.378434] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[   13.383966] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
[   13.416779] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x00210010
[   13.426028] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ]
[   13.437009] xhci-hcd xhci-hcd.1.auto: irq 432, io mem 0x488d0000
[   13.455777] hub 3-0:1.0: USB hub found
[   13.466555] hub 3-0:1.0: 1 port detected
[   13.473465] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[   13.486495] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
[   13.506621] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[   13.528786] hub 4-0:1.0: USB hub found
[   13.532593] hub 4-0:1.0: 1 port detected
[  OK  ] Started rc.pvr.service.
         Starting weston.service...
[  OK  ] Started weston.service.
         Starting telnetd.service...
         Starting tiipclad-daemon.service...
[  OK  ] Started telnetd.service.
[  OK  ] Started tiipclad-daemon.service.
         Starting thttpd.service...
[  OK  ] Started thttpd.service.
         Starting rng-tools.service...
[  OK  ] Started rng-tools.service.
[   14.240457] random: nonblocking pool is initialized
         Starting gdbserverproxy.service...
[  OK  ] Started gdbserverproxy.service.
         Starting matrix-gui-2.0.service...
[  OK  ] Started matrix-gui-2.0.service.
         Starting thermal-zone-init.service...
[  OK  ] Started thermal-zone-init.service.
[  OK  ] Reached target Multi-User System.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Started Update UTMP about System Runlevel Changes.
 _____                    _____           _         _
|  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
|     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
|__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
              |___|                    |___|

Arago Project http://arago-project.org dra7xx-evm ttyS3

Arago 2016.12 dra7xx-evm ttyS3

dra7xx-evm login: root (automatic login)

root@dra7xx-evm:~#
   

Our dts file => 

/*
 * Copyright (C) 2016 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.
 */

#include "dra7-evm.dts"

/ {
	memory {
		device_type = "memory";
		reg = <0x0 0x80000000 0x0 0x80000000>; /* 2 GB */
	};

	leds {
		status = "disabled";
	};

	gpio_keys {
		status = "disabled";
	};
	jamr3_sound{
		status = "disabled";
	};
	
	primary_sound{
		status = "disabled";
	};

};

&evm_3v3_sd {
		gpio = <>;
};

&snd0 {
	status = "disabled";
};

&hdmi0 {
	status = "disabled";
};

&tpd12s015 {
	status = "disabled";
};

&pcf_lcd {
	status = "disabled";
};

&pcf_gpio_21 {
	status = "disabled";
};

&lcd_fpd {
	status = "disabled";
};

&extcon_usb1 {
	//fake gpio
	id-gpios = <&gpio3 24 GPIO_ACTIVE_HIGH>;
};

&extcon_usb2 {
	//fake gpio
	id-gpios = <&gpio3 25 GPIO_ACTIVE_HIGH>;
};

&usb1 {
   dr_mode = "host";
};

&tlv320aic3106 {
	status = "disabled";
};

&pcf_hdmi {
	status = "disabled";
};

&i2c_p3_exp {
	ov10633@37 {
		status = "disabled";
	};
};

&tvp_5158 {
	status = "disabled";
};

&disp_ser {
	status = "disabled";
};

&pcie1_rc {
	status = "disabled";
};

&elm {
	status = "okay";
};

#if 1
&gpmc {
	status = "okay";
	ranges = <0 0 0x08000000 0x01000000>;	/* minimum GPMC partition = 16MB */
	nand@0,0 {
		compatible = "ti,omap2-nand";
		reg = <0 0 4>;		/* device IO registers */
		interrupt-parent = <&gpmc>;
		interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
			     <1 IRQ_TYPE_NONE>; /* termcount */
		rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 pin */
		ti,nand-ecc-opt = "bch8";
		ti,elm-id = <&elm>;
		nand-bus-width = <16>;
		gpmc,device-width = <2>;
		gpmc,sync-clk-ps = <0>;
		gpmc,cs-on-ns = <0>;
		gpmc,cs-rd-off-ns = <80>;
		gpmc,cs-wr-off-ns = <80>;
		gpmc,adv-on-ns = <0>;
		gpmc,adv-rd-off-ns = <60>;
		gpmc,adv-wr-off-ns = <60>;
		gpmc,we-on-ns = <10>;
		gpmc,we-off-ns = <50>;
		gpmc,oe-on-ns = <4>;
		gpmc,oe-off-ns = <40>;
		gpmc,access-ns = <40>;
		gpmc,wr-access-ns = <80>;
		gpmc,rd-cycle-ns = <80>;
		gpmc,wr-cycle-ns = <80>;
		gpmc,bus-turnaround-ns = <0>;
		gpmc,cycle2cycle-delay-ns = <0>;
		gpmc,clk-activation-ns = <0>;
		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.device.0";
			reg = <0x00000000 0x10000000>;  /*256 MB*/
		};

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

	};
};
#endif


&qspi {
	status = "okay";

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

		/* MTD partition table.
		 * The ROM checks the first four physical blocks
		 * for a valid file to boot and the flash here is
		 * 64KiB block size.
		 */
		partition@0 {
			label = "QSPI.MLO";
			reg = <0x00000000 0x000040000>;
		};
		partition@1 {
			label = "QSPI.u-boot";
			reg = <0x00040000 0x00100000>;
		};
		partition@2 {
			label = "QSPI.DRA7-evm.dtb";
			reg = <0x00140000 0x00080000>;
		};
		partition@3 {
			label = "QSPI.u-boot-env";
			reg = <0x001c0000 0x00010000>;
		};
		partition@4 {
			label = "QSPI.u-boot-env.backup1";
			reg = <0x001d0000 0x0010000>;
		};
		partition@5 {
			label = "QSPI.uImage";
			reg = <0x001e0000 0x0800000>;
		};
		partition@6 {
			label = "QSPI.IPU-exe";
			reg = <0x009e0000 0x01620000>;
		};
	};
};

&mailbox5 {
	status = "disabled";
};

&mailbox6 {
	status = "disabled";
};

&mmu0_dsp1 {
	status = "disabled";
};

&mmu1_dsp1 {
	status = "disabled";
};

&mmu0_dsp2 {
	status = "disabled";
};

&mmu1_dsp2 {
	status = "disabled";
};

&mmu_ipu1 {
	status = "disabled";
};

&mmu_ipu2 {
	status = "disabled";
};

&ipu2 {
	status = "disabled";
};

&ipu1 {
	status = "disabled";
};

&dsp1 {
	status = "disabled";
};

&dsp2 {
	status = "disabled";
};

&dss {
	status = "disabled";
};

&hdmi {
	status = "disabled";
};

&vip1 {
	status = "disabled";
};

&video_in {
	status = "disabled";
};


&reserved_mem {
	status = "disabled";
};


&pcf_jamr3_21 {
	status = "disabled";
};

&tlv320aic3106a {
	status = "disabled";
};

&tlv320aic3106b {
	status = "disabled";
};

&tlv320aic3106c {
	status = "disabled";
};

&mcasp7 {
	status = "disabled";
};

&mcasp8 {
	status = "disabled";
};

&mcasp2 {
	status = "okay";
};

&mcasp3 {
	status = "okay";
};
&mcasp6 {
	status = "disabled";
};

&ipu2_cma_pool {
	status = "disabled";
};

&dsp1_cma_pool {
	status = "disabled";
};

&ipu1_cma_pool {
	status = "disabled";
};

&dsp2_cma_pool {
	status = "disabled";
};

&cmem_radio {
	status = "disabled";
};

&dsp1_sr0 {
	status = "disabled";
};

&uart4 {
	status = "okay";
};

&uart8 {
	status = "okay";
};

&uart5 {
	status = "okay";
};

&uart9 {
	status = "okay";
};

&uart10 {
	status = "okay";
};

&mmc4 {
	status = "disabled";
};

&i2c1 {
	status = "okay";
	clock-frequency = <400000>;
};

&i2c2 {
	status = "okay";
	clock-frequency = <400000>;
};

&i2c3 {
	status = "okay";
	clock-frequency = <400000>;
};

&i2c4 {
	status = "okay";
	clock-frequency = <400000>;
};

&i2c5 {
	status = "okay";
	clock-frequency = <400000>;
};

&mcspi1 {
	status = "okay";
			
	spidev@0 {
                spi-max-frequency = <24000000>;
                reg = <0>;
               compatible = "rohm,dh2228fv";
               /*compatible = "linux,spidev";*/
           	};
};

&mcspi2 {
	status = "okay";
	
	spidev@1 {
	spi-max-frequency = <24000000>;
	reg = <0>;
	compatible = "rohm,dh2228fv";
               };
};

&mcspi3 {
	status = "okay";
	spidev@2 {
		spi-max-frequency = <24000000>;
		reg = <0>;
		compatible = "rohm,dh2228fv";
               };
};

&mcspi4 {
	status = "okay";
	spidev@3 {
		spi-max-frequency = <24000000>;
		reg = <0>;
		compatible = "rohm,dh2228fv";
               };
};


&mcasp1 {
	#sound-dai-cells = <0>;

	assigned-clocks = <&mcasp1_ahclkx_mux>;
	assigned-clock-parents = <&atl_clkin1_ck>;

	status = "okay";

	op-mode = <0>;          // MCASP_IIS_MODE //
	tdm-slots = <2>;
	// 4 serializer //
	serial-dir = <  // 0: INACTIVE, 1: TX, 2: RX //
		0 0 1 2
	>;
	tx-num-evt = <32>;
	rx-num-evt = <32>;
};

&mcasp2 {
	#sound-dai-cells = <0>;

	assigned-clocks = <&mcasp2_ahclkx_mux>;
	assigned-clock-parents = <&atl_clkin1_ck>;

	status = "okay";

	op-mode = <0>;          // MCASP_IIS_MODE //
	tdm-slots = <2>;
	// 4 serializer //
	serial-dir = <  // 0: INACTIVE, 1: TX, 2: RX //
		0 0 1 2
	>;
	tx-num-evt = <32>;
	rx-num-evt = <32>;
};

&mcasp3 {
	#sound-dai-cells = <0>;

	assigned-clocks = <&mcasp3_ahclkx_mux>;
	assigned-clock-parents = <&atl_clkin1_ck>;

	status = "okay";

	op-mode = <0>;          // MCASP_IIS_MODE //
	tdm-slots = <2>;
	// 4 serializer //
	serial-dir = <  // 0: INACTIVE, 1: TX, 2: RX //
		0 0 1 2
	>;
	tx-num-evt = <32>;
	rx-num-evt = <32>;
};

&atl {
	assigned-clock-parents = <&sys_clkin1>, <&dpll_abe_m2_ck>;
};

&mac {
	status = "okay";
	dual_emac;
	ti,no-idle;
};

&cpsw_emac0 {
	phy_id = <&davinci_mdio>, <0>;
	phy-mode = "rmii";
	dual_emac_res_vlan = <1>;
};

#if 0
&cpsw_emac1 {
	phy_id = <&davinci_mdio>, <2>;
	phy-mode = "mii";
	dual_emac_res_vlan = <2>;
};
#endif

&oppdm_mpu {
	status = "disabled";
};

&epwmss0 {
	status = "okay";
};
#if 0
&ehrpwm0 {
	status = "okay";
};
#endif
&ecap0 {
	status = "okay";
};

&epwmss1 {
	status = "okay";
};
#if 0
&ehrpwm1 {
	status = "okay";
};
#endif
&ecap1 {
	status = "okay";
};

&epwmss2 {
	status = "okay";
};
#if 0
&ehrpwm2 {
	status = "okay";
};
#endif
&ecap2 {
	status = "okay";
};

&dra7_pmx_core {
	pinctrl-names = "default";
	pinctrl-0 = <&man2020_pins>;
	man2020_pins: man2020_pins {
		pinctrl-single,pins = <

			0x3B0 (MUX_MODE0 | PIN_INPUT_PULLUP)	/* spi1_cs0.spi1_cs0 */
			0x3B4 (MUX_MODE0 | PIN_INPUT_PULLUP)	/* spi1_cs1.spi1_cs1 */
			0x3A4 (MUX_MODE0 | PIN_INPUT_PULLDOWN)	/* spi1_sclk.spi1_sclk */
			0x3AC (MUX_MODE0 | PIN_INPUT_PULLDOWN)	/* spi1_d0.spi1_d0 */
			0x3A8 (MUX_MODE0 | PIN_INPUT_PULLDOWN)	/* spi1_d1.spi1_d1 */
			0x3C8 (MUX_MODE0 | PIN_INPUT_PULLDOWN)	/* spi2_d0.spi2_d0 */
			0x3C4 (MUX_MODE0 | PIN_INPUT_PULLDOWN)	/* spi2_d1.spi2_d1 */
			0x3CC (MUX_MODE0 | PIN_INPUT_PULLUP)	/* spi2_cs0.spi2_cs0 */
			0x3C0 (MUX_MODE0 | PIN_INPUT_PULLDOWN)	/* spi2_sclk.spi2_sclk */
			0x264 (MUX_MODE7 | PIN_INPUT_PULLDOWN)	/* rgmii0_txd0.spi4_cs0 */
			0x260 (MUX_MODE7 | PIN_INPUT_PULLDOWN)	/* rgmii0_txd1.spi4_d0 */
			0x25C (MUX_MODE7 | PIN_INPUT_PULLDOWN)	/* rgmii0_txd2.spi4_d1 */
			0x258 (MUX_MODE7 | PIN_INPUT_PULLDOWN)	/* RGMII0_TXD3.spi4_sclk */

			
			0x40C (MUX_MODE0 | PIN_INPUT_PULLUP)	/* i2c2_scl.i2c2_scl */
			0x408 (MUX_MODE0 | PIN_INPUT_PULLUP)	/* i2c2_sda.i2c2_sda */
			0x378 (MUX_MODE2 | PIN_INPUT_PULLUP)	/* gpio6_11.i2c3_scl */
			0x374 (MUX_MODE2 | PIN_INPUT_PULLUP) 	/* gpio6_10.i2c3_sda */
			0x2AC (MUX_MODE10 | PIN_INPUT_PULLUP) 	/* mcasp1_aclkr.i2c4_sda */
			0x2B0 (MUX_MODE10 | PIN_INPUT_PULLUP)	/* mcasp1_fsr.i2c4_scl */
			0x2B4 (MUX_MODE10 | PIN_INPUT | SLEWCONTROL) 	/* mcasp1_axr0.i2c5_sda */
			0x2B8 (MUX_MODE10 | PIN_INPUT | SLEWCONTROL) 	/* mcasp1_axr1.i2c5_scl */

			
			0x314 (MUX_MODE14 | PIN_INPUT_PULLDOWN)	/* mcasp2_axr4.gpio1_4 */
			0x3D4 (MUX_MODE14 | PIN_INPUT_PULLUP | SLEWCONTROL)	/* dcan1_rx.gpio1_15 */
			0x06C (MUX_MODE14 | PIN_INPUT_PULLDOWN)	/* gpmc_a11.gpio2_1 */
			0x070 (MUX_MODE14 | PIN_INPUT_PULLDOWN) /* GPMC_A12.gpio2_2 */
			0x0C0 (MUX_MODE14 | PIN_INPUT_PULLDOWN)	/* gpmc_clk.gpio2_22 */
			0x0D4 (MUX_MODE14 | PIN_INPUT_PULLDOWN) /* gpmc_ben1.gpio2_27 */
			0x31C (MUX_MODE14 | PIN_INPUT_PULLDOWN)	/* mcasp2_axr6.gpio2_29 */
			0x154 (MUX_MODE14 | PIN_INPUT_PULLDOWN) /* vin2a_clk0.gpio3_28 */
			0x2E8 (MUX_MODE14 | PIN_INPUT_PULLDOWN)	/* mcasp1_axr13.gpio6_4 */
			0x288 (MUX_MODE0 | PIN_INPUT_PULLDOWN)	/* gpio6_14.gpio6_14 */
			0x418 (MUX_MODE14 | PIN_INPUT_PULLDOWN)	/* Wakeup0.gpio1_0 */
			0x41C (MUX_MODE14 | PIN_INPUT_PULLDOWN)	/* WAKEUP1.gpio1_1 */
			0x320 (MUX_MODE14 | PIN_INPUT_PULLDOWN)	/* mcasp2_axr7.gpio1_5 */
			0x2E0 (MUX_MODE14 | PIN_INPUT_PULLDOWN)	/* mcasp1_axr11.gpio4_17 */
			0x2E4 (MUX_MODE14 | PIN_INPUT_PULLDOWN)	/* mcasp1_axr12.gpio4_18 */
			0x2CC (MUX_MODE14 | PIN_INPUT_PULLDOWN)	/* mcasp1_axr6.gpio5_8 */
			0x2D0 (MUX_MODE14 | PIN_INPUT_PULLDOWN)	/* mcasp1_axr7.gpio5_9 */
			0x2D4 (MUX_MODE14 | PIN_INPUT_PULLDOWN)	/* mcasp1_axr8.gpio5_10 */
			0x2D8 (MUX_MODE14 | PIN_INPUT_PULLDOWN)	/* mcasp1_axr9.gpio5_11 */
			0x2DC (MUX_MODE14 | PIN_INPUT_PULLDOWN)	/* mcasp1_axr10.gpio5_12 */
			0x23C (MUX_MODE14 | PIN_INPUT_PULLDOWN)	/* mdio_mclk.gpio5_15 */
			0x240 (MUX_MODE14 | PIN_INPUT_PULLDOWN)	/* mdio_d.gpio5_16 */
			0x24C (MUX_MODE14 | PIN_INPUT_PULLDOWN) /* uart3_txd.gpio5_19 */
			0x274 (MUX_MODE14 | PIN_INPUT_PULLDOWN)	/* rgmii0_rxd2.gpio5_29 */
			0x278 (MUX_MODE14 | PIN_INPUT_PULLDOWN)	/* rgmii0_rxd1.gpio5_30 */
			0x27C (MUX_MODE14 | PIN_INPUT_PULLDOWN)	/* rgmii0_rxd0.gpio5_31 */
			0x2EC (MUX_MODE14 | PIN_INPUT_PULLDOWN)	/* mcasp1_axr14.gpio6_5 */
			0x2F0 (MUX_MODE14 | PIN_INPUT_PULLDOWN)	/* mcasp1_axr15.gpio6_6 */
			0x318 (MUX_MODE14 | PIN_INPUT_PULLDOWN | MUX_VIRTUAL_MODE12)	/* mcasp2_axr5.gpio6_7 */
			0x30C (MUX_MODE14 | PIN_INPUT_PULLDOWN)	/* mcasp2_axr2.gpio6_8 */
			0x284 (MUX_MODE14 | PIN_INPUT_PULLDOWN) /* usb2_drvvbus.gpio6_13 */
			0x28C (MUX_MODE0 | PIN_INPUT_PULLDOWN)	/* gpio6_15.gpio6_15 */
			0x290 (MUX_MODE0 | PIN_INPUT_PULLDOWN)	/* gpio6_16.gpio6_16 */
			0x298 (MUX_MODE14 | PIN_INPUT_PULLDOWN)	/* xref_clk1.gpio6_18 */
			0x29C (MUX_MODE14 | PIN_INPUT_PULLDOWN)	/* xref_clk2.gpio6_19 */
			0x2A0 (MUX_MODE14 | PIN_INPUT_PULLDOWN)	/* xref_clk3.gpio6_20 */
			0x3E8 (MUX_MODE14 | PIN_INPUT_PULLDOWN)	/* uart1_ctsn.gpio7_24 */
			0x3EC (MUX_MODE14 | PIN_INPUT_PULLDOWN)	/* uart1_rtsn.gpio7_25 */
			0x3F0 (MUX_MODE14 | PIN_INPUT_PULLDOWN)	/* uart2_rxd.gpio7_26 */
			0x3F4 (MUX_MODE14 | PIN_INPUT_PULLDOWN)	/* uart2_txd.gpio7_27 */

			0x3E4 (MUX_MODE0 | PIN_INPUT_PULLUP | SLEWCONTROL)	/* uart1_txd.uart1_txd */
			0x3E0 (MUX_MODE0 | PIN_INPUT_PULLUP | SLEWCONTROL)	/* uart1_rxd.uart1_rxd */
			0x3F8 (MUX_MODE2 | PIN_INPUT_PULLUP) 	/* uart2_ctsn.uart3_rxd */
			0x3FC (MUX_MODE1 | PIN_INPUT_PULLUP) 	/* uart2_rtsn.uart3_txd */
			0x33C (MUX_MODE4 | PIN_INPUT_SLEW) 	/* mcasp4_axr0.uart4_rxd */
			0x340 (MUX_MODE4 | PIN_INPUT_SLEW) 	/* mcasp4_axr1.uart4_txd */
			0x32C (MUX_MODE4 | PIN_INPUT_PULLUP)	/* mcasp3_axr0.uart5_rxd */
			0x330 (MUX_MODE4 | PIN_INPUT_PULLUP)	/* mcasp3_axr1.uart5_txd */
			0x334 (MUX_MODE3 | PIN_INPUT_PULLUP)	/* mcasp4_aclkx.uart8_rxd */
			0x338 (MUX_MODE3 | PIN_INPUT_PULLUP)	/* mcasp4_fsx.uart8_txd */
			0x344 (MUX_MODE3 | PIN_INPUT_PULLUP)	/* mcasp5_aclkx.uart9_rxd */
			0x348 (MUX_MODE3 | PIN_INPUT_PULLUP)	/* mcasp5_fsx.uart9_txd */
			0x394 (MUX_MODE2 | PIN_INPUT_PULLUP) 	/* mmc3_dat4.uart10_rxd */
			0x398 (MUX_MODE2 | PIN_INPUT_PULLUP) 	/* MMC3_DAT5.uart10_txd */
			0x39C (MUX_MODE2 | PIN_INPUT_PULLUP) 	/* MMC3_DAT6.uart10_ctsn */
			0x3A0 (MUX_MODE2 | PIN_INPUT_PULLUP) 	/* MMC3_DAT7.uart10_rtsn */
		

			0x2BC (MUX_MODE0 | PIN_INPUT_SLEW)	/* mcasp1_axr2.mcasp1_axr2 */
			0x2C0 (MUX_MODE0 | PIN_INPUT_SLEW)	/* mcasp1_axr3.mcasp1_axr3 */
			0x2C4 (MUX_MODE0 | PIN_INPUT_SLEW)	/* mcasp1_axr4.mcasp1_axr4 */
			0x2C8 (MUX_MODE0 | PIN_INPUT_SLEW)	/* mcasp1_axr5.mcasp1_axr5 */
			0x2A4 (MUX_MODE0 | PIN_INPUT_PULLDOWN)	/* mcasp1_aclkx.mcasp1_aclkx */
			0x2A8 (MUX_MODE0 | PIN_INPUT_SLEW)	/* mcasp1_fsx.mcasp1_fsx */
			0x2F8 (MUX_MODE0 | PIN_INPUT_SLEW | MUX_VIRTUAL_MODE9)	/* mcasp2_fsx.mcasp2_fsx */
			0x2F4 (MUX_MODE0 | PIN_INPUT_PULLDOWN | MUX_VIRTUAL_MODE9)	/* mcasp2_aclkx.mcasp2_aclkx */
			0x304 (MUX_MODE0 | PIN_INPUT_PULLDOWN | MUX_VIRTUAL_MODE12)	/* mcasp2_axr0.mcasp2_axr0 */
			0x308 (MUX_MODE0 | PIN_INPUT_PULLDOWN | MUX_VIRTUAL_MODE12)	/* mcasp2_axr1.mcasp2_axr1 */
			0x310 (MUX_MODE1 | PIN_INPUT_SLEW | MUX_VIRTUAL_MODE9)	/* mcasp2_axr3.mcasp3_axr3 */
			0x324 (MUX_MODE0 | PIN_INPUT_PULLDOWN)	/* mcasp3_aclkx.mcasp3_aclkx */
			0x328 (MUX_MODE0 | PIN_INPUT_SLEW)	/* mcasp3_fsx.mcasp3_fsx */
	
			0x158 MUX_MODE4 /* vin2a_de0.VOUT2_DE */
			0x1C4 MUX_MODE4 /* vin2a_d23.VOUT2_D0 */
			0x1C0 MUX_MODE4	/* VIN2A_D22.VOUT2_D1 */
			0x1BC MUX_MODE4	/* VIN2A_D21.vout2_d2 */
			0x1B8 MUX_MODE4	/* VIN2A_D20.vout2_d3 */
			0x1B4 MUX_MODE4 /* vin2a_d19.VOUT2_D4 */
			0x1B0 MUX_MODE4	/* VIN2A_D18.VOUT2_D5 */
			0x1AC MUX_MODE4 /* vin2a_d17.VOUT2_D6 */
			0x1A8 MUX_MODE4	/* VIN2A_D16.vout2_d7 */
			0x1A4 MUX_MODE4	/* VIN2A_D15.vout2_d8 */
			0x1A0 MUX_MODE4	/* VIN2A_D14.VOUT2_D9 */
			0x19C MUX_MODE4 /* vin2a_d13.VOUT2_D10 */
			0x198 MUX_MODE4 /* vin2a_d12.VOUT2_D11 */
			0x194 MUX_MODE4	/* VIN2A_D11.VOUT2_D12 */
			0x190 MUX_MODE4	/* VIN2A_D10.VOUT2_D13 */
			0x18C MUX_MODE4 /* vin2a_d9.VOUT2_D14 */
			0x188 MUX_MODE4 /* vin2a_d8.VOUT2_D15 */
			0x184 MUX_MODE4	/* VIN2A_D7.VOUT2_D16 */
			0x180 MUX_MODE4 /* VIN2A_D6.vout2_d17 */
			0x17C MUX_MODE4 /* vin2a_d5.VOUT2_D18 */
			0x178 MUX_MODE4 /* vin2a_d4.VOUT2_D19 */
			0x174 MUX_MODE4 /* VIN2A_D3.vout2_d20 */
			0x170 MUX_MODE4 /* VIN2A_D2.vout2_d21 */
			0x16C MUX_MODE4 /* vin2a_d1.VOUT2_D22 */
			0x168 MUX_MODE4 /* vin2a_d0.VOUT2_D23 */
			0x160 MUX_MODE4 /* VIN2A_HSYNC0.vout2_hsync */
			0x164 MUX_MODE4 /* vin2a_vsync0.VOUT2_VSYNC */
			0x15C MUX_MODE4	/* VIN2A_FLD0.VOUT2_CLK */

			0x000 MUX_MODE3	/* gpmc_ad0.VOUT3_D0 */
			0x004 MUX_MODE3	/* gpmc_ad1.VOUT3_D1 */
			0x008 MUX_MODE3	/* gpmc_ad2.VOUT3_D2 */
			0x00C MUX_MODE3	/* GPMC_AD3.vout3_d3 */
			0x010 MUX_MODE3	/* gpmc_ad4.VOUT3_D4 */
			0x014 MUX_MODE3	/* gpmc_ad5.VOUT3_D5 */
			0x018 MUX_MODE3 /* GPMC_AD6.vout3_d6 */	
			0x01C MUX_MODE3	/* GPMC_AD7.vout3_d7 */
			0x020 MUX_MODE3	/* GPMC_AD8.vout3_d8 */
			0x024 MUX_MODE3	/* GPMC_AD9.vout3_d9 */
			0x028 MUX_MODE3 /* GPMC_AD10.vout3_d10 */
			0x02C MUX_MODE3	/* GPMC_AD11.vout3_d11 */
			0x030 MUX_MODE3	/* gpmc_ad12.VOUT3_D12 */
			0x034 MUX_MODE3	/* gpmc_ad13.VOUT3_D13 */
			0x038 MUX_MODE3	/* gpmc_ad14.VOUT3_D14 */
			0x03C MUX_MODE3	/* gpmc_ad15.vout3_d15 */
			0x050 MUX_MODE3	/* GPMC_A4.VOUT3_D20 */
			0x054 MUX_MODE3	/* GPMC_A5.VOUT3_D21 */
			0x044 MUX_MODE3	/* GPMC_A1.VOUT3_D17 */
			0x048 MUX_MODE3	/* gpmc_a2.VOUT3_D18 */
			0x04C MUX_MODE3	/* GPMC_A3.vout3_d19 */
			0x040 MUX_MODE3	/* GPMC_A0.VOUT3_D16 */
			0x058 MUX_MODE3	/* GPMC_A6.VOUT3_D22 */
			0x05C MUX_MODE3	/* GPMC_A7.VOUT3_D23 */
			0x060 MUX_MODE3	/* GPMC_A7.VOUT3_HSYNC */
			0x064 MUX_MODE3 /* GPMC_A9.vout3_vsync */
			0x0BC MUX_MODE3 /* GPMC_CS3.vout3_clk */

			0x21C MUX_MODE4	/* VOUT1_D16.VIN3A_D0 */
			0x228 MUX_MODE4	/* VOU1_D19.VIN3A_D3 */
			0x238 MUX_MODE4	/* VOU1_D23.VIN3A_D7 */
			0x220 MUX_MODE4	/* VOU1_D17.VIN3A_D1 */
			0x22C MUX_MODE4	/* VOU1_D20.VIN3A_D4 */
			0x224 MUX_MODE4	/* VOU1_D18.VIN3A_D2 */
			0x230 MUX_MODE4	/* VOU1_D21.VIN3A_D5 */
			0x234 MUX_MODE4	/* VOU1_D22.VIN3A_D6 */
			0x1D0 MUX_MODE4	/* vout1_fld.VIN3A_CLK0 */
			
			0x36C MUX_MODE0	/* MMC1_SDCD.MMC1_SDCD */
			0x370 MUX_MODE0	/* MMC1_SDWP.MMC1_SDWP */
	#if 0
			0x0B0 MUX_MODE1	/* GPMC_CS1.MMC2_CMD */
			0x08C MUX_MODE1	/* GPMC_A19.MMC2_DAT4 */
			0x0AC MUX_MODE1	/* GPMC_A27.MMC2_DAT3 */
			0x0A0 MUX_MODE1	/* GPMC_A24.mmc2_dat0 */
			0x0A4 MUX_MODE1	/* GPMC_A25.MMC2_DAT1 */
			0x0A8 MUX_MODE1	/* GPMC_A26.MMC2_DAT2 */
			0x090 MUX_MODE1	/* GPMC_A20.MMC2_DAT5 */
			0x094 MUX_MODE1	/* GPMC_A21.MMC2_DAT6 */
			0x098 MUX_MODE1	/* GPMC_A22.MMC2_DAT7 */
			0x09C (MUX_MODE1 | PIN_INPUT_PULLUP) /* GPMC_A23.MMC2_CLK */
	#endif

	#if 0
			0x380 MUX_MODE0 /* MMC3_CMD.MMC3_CMD */
			0x37C (MUX_MODE0 | PIN_INPUT_PULLUP) 	/* mmc3_clk.mmc3_clk */
			0x384 (MUX_MODE0 | PIN_INPUT_PULLUP) 	/* mmc3_dat0.mmc3_dat0 */
			0x388 (MUX_MODE0 | PIN_INPUT_PULLUP) 	/* mmc3_dat1.mmc3_dat1 */
			0x38C (MUX_MODE0 | PIN_INPUT_PULLUP) 	/* mmc3_dat2.mmc3_dat2 */
			0x390 (MUX_MODE0 | PIN_INPUT_PULLUP) 	/* mmc3_dat3.mmc3_dat3 */
	#endif

			0x254 (MUX_MODE2 | PIN_INPUT_PULLDOWN)	/* rgmii0_txctl.rmii1_rxd0 */
			0x250 (MUX_MODE2 | PIN_INPUT_PULLDOWN)	/* rgmii0_txc.rmii1_rxd1 */
			0x270 (MUX_MODE2 | PIN_INPUT_PULLDOWN)	/* rgmii0_rxd3.rmii1_txd0 */
			0x26C (MUX_MODE2 | PIN_INPUT_PULLDOWN)	/* rgmii0_rxctl.rmii1_txd1 */
			0x248 (MUX_MODE2 | PIN_INPUT_PULLDOWN) 	/* uart3_rxd.rmii1_crs */
			0x268 (MUX_MODE2 | PIN_INPUT_PULLDOWN)	/* rgmii0_rxc.rmii1_txen */
			0x244 (MUX_MODE0 | PIN_INPUT_PULLDOWN) 	/* RMII_MHZ_50_CLK.RMII_MHZ_50_CLK */

			0x3B8 (MUX_MODE5 | PIN_INPUT_PULLDOWN)	/* spi1_cs2.MDIO_MCLK */
			0x3BC (MUX_MODE5 | PIN_INPUT_PULLDOWN)	/* spi1_cs3.MDIO_D */

			0x3B8 (MUX_MODE2 | PIN_INPUT_PULLDOWN)	/* spi1_cs2.MMC3_SDCD */
			0x3BC (MUX_MODE2 | PIN_INPUT_PULLDOWN)	/* spi1_cs3.MMC3_SDWP */

			0x434 MUX_MODE0	/* TDI.TDI */
			0x444 MUX_MODE0	/* RTCK.RTCK */
			0x448 MUX_MODE0	/* EMU0.EMU0 */
			0x44C MUX_MODE0	/* EMU1.EMU1 */

			0x294 (MUX_MODE9 | PIN_INPUT)	/* xref_clk0.clkout2 */

			0x280 MUX_MODE0	/* usb1_drvvbus.usb1_drvvbus */



			0x000 MUX_MODE0	/* gpmc_ad0 */
			0x004 MUX_MODE0	/* gpmc_ad1 */
			0x008 MUX_MODE0	/* gpmc_ad2 */
			0x00C MUX_MODE0	/* GPMC_AD3.gpmc_ad3 */
			0x010 MUX_MODE0	/* gpmc_ad4 */
			0x014 MUX_MODE0	/* gpmc_ad5 */
			0x018 MUX_MODE0 /* GPMC_AD6.gpmc_ad6 */	
			0x01C MUX_MODE0	/* GPMC_AD7.gpmc_ad7 */
			0x020 MUX_MODE0	/* GPMC_AD8.gpmc_ad8 */
			0x024 MUX_MODE0	/* GPMC_AD9.gpmc_ad9 */
			0x028 MUX_MODE0 /* GPMC_AD10.gpmc_ad10 */
			0x02C MUX_MODE0	/* GPMC_AD11.gpmc_ad11 */
			0x030 MUX_MODE0	/* gpmc_ad12 */
			0x034 MUX_MODE0	/* gpmc_ad13 */
			0x038 MUX_MODE0	/* gpmc_ad14 */
			0x03C MUX_MODE0	/* gpmc_ad15 */
			0x0B4 (MUX_MODE0 | PIN_OUTPUT) 	/* gpmc_cs0.gpmc_cs0 */
			0x0C4 (MUX_MODE0 | PIN_OUTPUT) 	/* gpmc_advn_ale.gpmc_advn_ale */
			0x0C8 (MUX_MODE0 | PIN_OUTPUT) 	/* gpmc_oen_ren.gpmc_oen_ren */
			0x0CC (MUX_MODE0 | PIN_OUTPUT) 	/* gpmc_wen.gpmc_wen */
			0x0D0 (MUX_MODE0 | PIN_OUTPUT) 	/* gpmc_ben0.gpmc_ben0 */
			0x0D8 (MUX_MODE0 | PIN_INPUT | SLEWCONTROL) 	/* gpmc_wait0.gpmc_wait0 */
		>;
	};

	//////////////////////////////////////////////////////////////////////////////
#if 1 /*(copy from mmc-1)*/
	mmc3_pins_default: pinmux_mmc3_default_pins {
		pinctrl-single,pins = <
			0x380 (MUX_MODE0 | PIN_INPUT_PULLUP) 	/* MMC3_CMD.MMC3_CMD */
			0x37C (MUX_MODE0 | PIN_INPUT_PULLUP) 	/* mmc3_clk.mmc3_clk */
			0x384 (MUX_MODE0 | PIN_INPUT_PULLUP) 	/* mmc3_dat0.mmc3_dat0 */
			0x388 (MUX_MODE0 | PIN_INPUT_PULLUP) 	/* mmc3_dat1.mmc3_dat1 */
			0x38C (MUX_MODE0 | PIN_INPUT_PULLUP) 	/* mmc3_dat2.mmc3_dat2 */
			0x390 (MUX_MODE0 | PIN_INPUT_PULLUP) 	/* mmc3_dat3.mmc3_dat3 */
		>;
	};

	mmc3_pins_sdr12: pinmux_mmc3_sdr12_pins {
		pinctrl-single,pins = <
			0x380 (MUX_MODE0 | PIN_INPUT_PULLUP)	/* MMC3_CMD.MMC3_CMD */
			0x37C (MUX_MODE0 | PIN_INPUT_PULLUP) 	/* mmc3_clk.mmc3_clk */
			0x384 (MUX_MODE0 | PIN_INPUT_PULLUP) 	/* mmc3_dat0.mmc3_dat0 */
			0x388 (MUX_MODE0 | PIN_INPUT_PULLUP) 	/* mmc3_dat1.mmc3_dat1 */
			0x38C (MUX_MODE0 | PIN_INPUT_PULLUP) 	/* mmc3_dat2.mmc3_dat2 */
			0x390 (MUX_MODE0 | PIN_INPUT_PULLUP) 	/* mmc3_dat3.mmc3_dat3 */
		>;
	};

	mmc3_pins_hs: pinmux_mmc3_hs_pins {
		pinctrl-single,pins = <
			0x380 (MUX_MODE0 | MUX_VIRTUAL_MODE11 | PIN_INPUT_PULLUP)/* MMC3_CMD.MMC3_CMD */
			0x37C (MUX_MODE0 | MUX_VIRTUAL_MODE11 | PIN_INPUT_PULLUP) 	/* mmc3_clk.mmc3_clk */
			0x384 (MUX_MODE0 | MUX_VIRTUAL_MODE11 | PIN_INPUT_PULLUP) 	/* mmc3_dat0.mmc3_dat0 */
			0x388 (MUX_MODE0 | MUX_VIRTUAL_MODE11 | PIN_INPUT_PULLUP) 	/* mmc3_dat1.mmc3_dat1 */
			0x38C (MUX_MODE0 | MUX_VIRTUAL_MODE11 | PIN_INPUT_PULLUP) 	/* mmc3_dat2.mmc3_dat2 */
			0x390 (MUX_MODE0 | MUX_VIRTUAL_MODE11 | PIN_INPUT_PULLUP) 	/* mmc3_dat3.mmc3_dat3 */			
		>;
	};

	mmc3_pins_sdr25: pinmux_mmc3_sdr25_pins {
		pinctrl-single,pins = <
			0x380 (MUX_MODE0 | MUX_VIRTUAL_MODE11 | PIN_INPUT_PULLUP)/* MMC3_CMD.MMC3_CMD */
			0x37C (MUX_MODE0 | MUX_VIRTUAL_MODE11 | PIN_INPUT_PULLUP) 	/* mmc3_clk.mmc3_clk */
			0x384 (MUX_MODE0 | MUX_VIRTUAL_MODE11 | PIN_INPUT_PULLUP) 	/* mmc3_dat0.mmc3_dat0 */
			0x388 (MUX_MODE0 | MUX_VIRTUAL_MODE11 | PIN_INPUT_PULLUP) 	/* mmc3_dat1.mmc3_dat1 */
			0x38C (MUX_MODE0 | MUX_VIRTUAL_MODE11 | PIN_INPUT_PULLUP) 	/* mmc3_dat2.mmc3_dat2 */
			0x390 (MUX_MODE0 | MUX_VIRTUAL_MODE11 | PIN_INPUT_PULLUP) 	/* mmc3_dat3.mmc3_dat3 */
		>;
	};

	mmc3_pins_sdr50: pinmux_mmc3_sdr50_pins {
		pinctrl-single,pins = <
			0x380 (MUX_MODE0 | MUX_VIRTUAL_MODE10 | PIN_INPUT_PULLUP)/* MMC3_CMD.MMC3_CMD */
			0x37C (MUX_MODE0 | MUX_VIRTUAL_MODE10 | PIN_INPUT_PULLUP) 	/* mmc3_clk.mmc3_clk */
			0x384 (MUX_MODE0 | MUX_VIRTUAL_MODE10 | PIN_INPUT_PULLUP) 	/* mmc3_dat0.mmc3_dat0 */
			0x388 (MUX_MODE0 | MUX_VIRTUAL_MODE10 | PIN_INPUT_PULLUP) 	/* mmc3_dat1.mmc3_dat1 */
			0x38C (MUX_MODE0 | MUX_VIRTUAL_MODE10 | PIN_INPUT_PULLUP) 	/* mmc3_dat2.mmc3_dat2 */
			0x390 (MUX_MODE0 | MUX_VIRTUAL_MODE10 | PIN_INPUT_PULLUP) 	/* mmc3_dat3.mmc3_dat3 */
		>;
	};
#endif

#if 0 /* (copy from mmc-2) */
	mmc3_pins_default: mmc3_pins_default {
		pinctrl-single,pins = <
			0x380 (MUX_MODE0 | PIN_INPUT_PULLUP) 	/* MMC3_CMD.MMC3_CMD */
			0x37C (MUX_MODE0 | PIN_INPUT_PULLUP) 	/* mmc3_clk.mmc3_clk */
			0x384 (MUX_MODE0 | PIN_INPUT_PULLUP) 	/* mmc3_dat0.mmc3_dat0 */
			0x388 (MUX_MODE0 | PIN_INPUT_PULLUP) 	/* mmc3_dat1.mmc3_dat1 */
			0x38C (MUX_MODE0 | PIN_INPUT_PULLUP) 	/* mmc3_dat2.mmc3_dat2 */
			0x390 (MUX_MODE0 | PIN_INPUT_PULLUP) 	/* mmc3_dat3.mmc3_dat3 */
		>;
	};

	mmc3_pins_hs: mmc3_pins_hs {
		pinctrl-single,pins = <
			0x380 (MUX_MODE0 | PIN_INPUT_PULLUP) 	/* MMC3_CMD.MMC3_CMD */
			0x37C (MUX_MODE0 | PIN_INPUT_PULLUP) 	/* mmc3_clk.mmc3_clk */
			0x384 (MUX_MODE0 | PIN_INPUT_PULLUP) 	/* mmc3_dat0.mmc3_dat0 */
			0x388 (MUX_MODE0 | PIN_INPUT_PULLUP) 	/* mmc3_dat1.mmc3_dat1 */
			0x38C (MUX_MODE0 | PIN_INPUT_PULLUP) 	/* mmc3_dat2.mmc3_dat2 */
			0x390 (MUX_MODE0 | PIN_INPUT_PULLUP) 	/* mmc3_dat3.mmc3_dat3 */
		>;
	};

	mmc3_pins_ddr_1_8v: pinmux_mmc3_ddr_1_8v_pins {
		pinctrl-single,pins = <
			0x380 (MUX_MODE0 | MANUAL_MODE | PIN_INPUT_PULLUP) 	/* MMC3_CMD.MMC3_CMD */
			0x37C (MUX_MODE0 | MANUAL_MODE | PIN_INPUT_PULLUP) 	/* mmc3_clk.mmc3_clk */
			0x384 (MUX_MODE0 | MANUAL_MODE | PIN_INPUT_PULLUP) 	/* mmc3_dat0.mmc3_dat0 */
			0x388 (MUX_MODE0 | MANUAL_MODE | PIN_INPUT_PULLUP) 	/* mmc3_dat1.mmc3_dat1 */
			0x38C (MUX_MODE0 | MANUAL_MODE | PIN_INPUT_PULLUP) 	/* mmc3_dat2.mmc3_dat2 */
			0x390 (MUX_MODE0 | MANUAL_MODE | PIN_INPUT_PULLUP) 	/* mmc3_dat3.mmc3_dat3 */
		>;
	};

	mmc3_pins_hs200_1_8v: mmc3_pins_hs200_1_8v {
		pinctrl-single,pins = <
			0x380 (MUX_MODE0 | MANUAL_MODE | PIN_INPUT_PULLUP) 	/* MMC3_CMD.MMC3_CMD */
			0x37C (MUX_MODE0 | MANUAL_MODE | PIN_INPUT_PULLUP) 	/* mmc3_clk.mmc3_clk */
			0x384 (MUX_MODE0 | MANUAL_MODE | PIN_INPUT_PULLUP) 	/* mmc3_dat0.mmc3_dat0 */
			0x388 (MUX_MODE0 | MANUAL_MODE | PIN_INPUT_PULLUP) 	/* mmc3_dat1.mmc3_dat1 */
			0x38C (MUX_MODE0 | MANUAL_MODE | PIN_INPUT_PULLUP) 	/* mmc3_dat2.mmc3_dat2 */
			0x390 (MUX_MODE0 | MANUAL_MODE | PIN_INPUT_PULLUP) 	/* mmc3_dat3.mmc3_dat3 */
		>;
	};
#endif

};

&pbias_mmc_reg {
	regulator-max-microvolt = <3300000>;
};

&mmc3 {
#if 1  /* from mmc-1 */
	status = "okay";
	//vmmc-supply = <&evm_3v3_sw>;
	vmmc-supply = <&evm_3v3_sd>;
	vmmc_aux-supply = <&ldo1_reg>;
	bus-width = <4>;
	ti,non-removable;
	/*
	 * SDCD signal is not being used here - using the fact that GPIO mode
	 * is always hardwired.
	 */
	//cd-gpios = <&gpio7 12 GPIO_ACTIVE_LOW>;

	max-frequency = <192000000>;
	pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50";
	pinctrl-0 = <&mmc3_pins_default>;
	pinctrl-1 = <&mmc3_pins_hs>;
	pinctrl-2 = <&mmc3_pins_sdr12>;
	pinctrl-3 = <&mmc3_pins_sdr25>;
	pinctrl-4 = <&mmc3_pins_sdr50>;

	//pinctrl-5 = <&mmc1_pins_ddr50 &mmc1_iodelay_ddr50_rev11_conf>;
	//pinctrl-6 = <&mmc1_pins_sdr104 &mmc1_iodelay_sdr104_rev11_conf>;
	//pinctrl-7 = <&mmc1_pins_ddr50 &mmc1_iodelay_ddr50_rev20_conf>;
	//pinctrl-8 = <&mmc1_pins_sdr104 &mmc1_iodelay_sdr104_rev20_conf>;
#endif

#if 0   /* from mmc-2 */
	status = "okay";
	//vmmc-supply = <&evm_3v3_sw>;
	vmmc_aux-supply = <&smps9>;
	bus-width = <4>;
	max-frequency = <192000000>;
	pinctrl-names = "default", "hs", "ddr_1_8v-rev11", "ddr_1_8v", "hs200_1_8v-rev11", "hs200_1_8v";
	pinctrl-0 = <&mmc3_pins_default>;
	pinctrl-1 = <&mmc3_pins_hs>;
	pinctrl-2 = <&mmc3_pins_ddr_1_8v &mmc2_iodelay_ddr_1_8v_rev11_conf>;
	pinctrl-3 = <&mmc3_pins_ddr_1_8v &mmc2_iodelay_ddr_1_8v_rev20_conf>;
	pinctrl-4 = <&mmc3_pins_hs200_1_8v &mmc2_iodelay_hs200_1_8v_rev11_conf>;
	pinctrl-5 = <&mmc3_pins_hs200_1_8v &mmc2_iodelay_hs200_1_8v_rev20_conf>;
#endif

#if 0  /*from mmc-4 */
	status = "okay";
	//vmmc-supply = <&vmmcwl_fixed>;
	bus-width = <4>;
	cap-power-off-card;
	keep-power-in-suspend;
	ti,non-removable;

	pinctrl-names = "default-rev11", "default", "hs-rev11", "hs", "sdr12-rev11", "sdr12", "sdr25-rev11", "sdr25";
	pinctrl-0 = <&mmc3_pins_default &mmc4_iodelay_ds_rev11_conf>;
	pinctrl-1 = <&mmc3_pins_default &mmc4_iodelay_ds_rev20_conf>;
	pinctrl-2 = <&mmc3_pins_hs &mmc4_iodelay_sdr12_hs_sdr25_rev11_conf>;
	pinctrl-3 = <&mmc3_pins_hs &mmc4_iodelay_sdr12_hs_sdr25_rev20_conf>;
	pinctrl-4 = <&mmc3_pins_sdr12 &mmc4_iodelay_sdr12_hs_sdr25_rev11_conf>;
	pinctrl-5 = <&mmc3_pins_sdr12 &mmc4_iodelay_sdr12_hs_sdr25_rev20_conf>;
	pinctrl-6 = <&mmc3_pins_sdr25 &mmc4_iodelay_sdr12_hs_sdr25_rev11_conf>;
	pinctrl-7 = <&mmc3_pins_sdr25 &mmc4_iodelay_sdr12_hs_sdr25_rev20_conf>;

	#address-cells = <1>;
	#size-cells = <0>;
	/*
	wlcore: wlcore@0 {
		compatible = "ti,wl1835";
		reg = <2>;
		interrupt-parent = <&gpio5>;
		interrupts = <7 IRQ_TYPE_LEVEL_HIGH>;
	};
	*/
#endif
};
   

Any suggestion for further debug?

Regards,

Shawn

  • Hi Shawn,
    Note that mmc3 doesn't support up to 192 MHz. This is documented in Silicon Errata.
    i887 MMC3 Speed Limited to 64 MHz

    max-frequency = <64000000>;

    It supports only to SDR50.

    Also, update you regulator nodes based on connections in your board schematics.

    vmmc_aux = <&ldo1_reg>; // this could be wrong, check if this is the right one based on your schematics.

    Regards,
    RK