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.

Linux/AM4378: Dual EMAC issue

Part Number: AM4378
Other Parts Discussed in Thread: AM4372

Tool/software: Linux

Dear,

We developed a board broadly based on AM437X-gp-evm and using SDK 4.02. Our board has dual ethernet  ports. Both the ports  links are established with other system. But it is not able to ping with other system.

If i enter "ifconfig", it shows both the ports(eth0 and eth1).Please find attached boot log..

I2C:   ready                                                                    
DRAM:  2 GiB                                                                    
PMIC:  TPS65218                                                                 
NAND:  0 MiB                                                                    
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1                                           
reading uboot.env                                                               
Ignoring I2C EEPROM                                                             
Futura Automation ARM SBC                                                       
Net:   cpsw, usb_ether                                                          
Hit any key to stop autoboot:  0                                                
switch to partitions #0, OK                                                     
mmc0 is current device                                                          
SD/MMC found on device 0                                                        
reading uEnv.txt                                                                
** Unable to read file uEnv.txt **                                              
3618960 bytes read in 170 ms (20.3 MiB/s)                                       
53401 bytes read in 10 ms (5.1 MiB/s)                                           
Booting from mmc0 ...                                                           
Kernel image @ 0x82000000 [ 0x000000 - 0x373890 ]                               
## Flattened Device Tree blob at 88000000                                       
   Booting using the fdt blob at 0x88000000                                     
   Loading Device Tree to 8ffef000, end 8ffff098 ... OK                         
                                                                                
Starting kernel ...                                                             
                                                                                
[    0.000000] Booting Linux on physical CPU 0x0                                
[    0.000000] Linux version 4.9.41-ge3a80a1c5c (futura@futura) (gcc version 6.8
[    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d 
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructie
[    0.000000] OF: fdt:Machine model: TI AM437x GP EVM                          
[    0.000000] efi: Getting EFI parameters from FDT:                            
[    0.000000] efi: UEFI not found.                                             
[    0.000000] cma: Reserved 48 MiB at 0xfcc00000                               
[    0.000000] Memory policy: Data cache writeback                              
[    0.000000] CPU: All CPU(s) started in SVC mode.                             
[    0.000000] AM437x ES1.2 (sgx neon)                                          
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pa9
[    0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=0005det
[    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: 2016636K/2097148K available (7168K kernel code, 291K rwd)
[    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 - 0xc0800000   (8160 kB)                
[    0.000000]       .init : 0xc0b00000 - 0xc0c00000   (1024 kB)                
[    0.000000]       .data : 0xc0c00000 - 0xc0c48d08   ( 292 kB)                
[    0.000000]        .bss : 0xc0c48d08 - 0xc0c8f3f4   ( 282 kB)                
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, 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] L2C: platform modifies aux control register: 0x0e030000 -> 0x3e40
[    0.000000] L2C: DT/platform modifies aux control register: 0x0e030000 -> 0x0
[    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 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 0x4e430000                
[    0.000000] OMAP clockevent source: timer2 at 24000000 Hz                    
[    0.000010] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 8947s
[    0.000029] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, mas
[    0.000037] OMAP clocksource: timer1 at 24000000 Hz                          
[    0.000423] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xfffffffs
[    0.000433] OMAP clocksource: 32k_counter at 32768 Hz                        
[    0.000785] Console: colour dummy device 80x30                               
[    0.000810] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'       
[    0.000816] This ensures that you still see kernel messages. Please          
[    0.000820] update your kernel commandline.                                  
[    0.000840] Calibrating delay loop... 1987.37 BogoMIPS (lpj=9936896)         
[    0.060171] pid_max: default: 32768 minimum: 301                             
[    0.060284] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)      
[    0.060295] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) 
[    0.061048] CPU: Testing write buffer coherency: ok                          
[    0.061389] Setting up static identity map for 0x80100000 - 0x80100060       
[    0.062118] EFI services will not be available.                              
[    0.063050] devtmpfs: initialized                                            
[    0.074389] VFP support v0.3: implementor 41 architecture 3 part 30 variant 4
[    0.074674] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ms
[    0.074698] futex hash table entries: 256 (order: -1, 3072 bytes)            
[    0.077955] pinctrl core: initialized pinctrl subsystem                      
[    0.079051] NET: Registered protocol family 16                               
[    0.080412] DMA: preallocated 256 KiB pool for atomic coherent allocations   
[    0.180182] cpuidle: using governor ladder                                   
[    0.210170] cpuidle: using governor menu                                     
[    0.211820] omap_l3_noc 44000000.ocp: L3 debug error: target 8 mod:0 (unclea)
[    0.211882] omap_l3_noc 44000000.ocp: L3 application error: target 8 mod:0 ()
[    0.216245] omap_gpio 44e07000.gpio: could not find pctldev for node /ocp@44e
[    0.216539] omap_gpio 4804c000.gpio: could not find pctldev for node /ocp@44e
[    0.216809] omap_gpio 481ac000.gpio: could not find pctldev for node /ocp@44e
[    0.217060] omap_gpio 481ae000.gpio: could not find pctldev for node /ocp@44e
[    0.217315] omap_gpio 48320000.gpio: could not find pctldev for node /ocp@44e
[    0.219002] OMAP GPIO hardware version 0.1                                   
[    0.226260] No ATAGs?                                                        
[    0.226288] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint.
[    0.226299] hw-breakpoint: maximum watchpoint size is 4 bytes.               
[    0.266715] edma 49000000.edma: TI EDMA DMA engine driver                    
[    0.270586] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp@4400e
[    0.270643] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp@4400e
[    0.270769] media: Linux media interface: v0.10                              
[    0.270812] Linux video capture interface: v2.00                             
[    0.270849] pps_core: LinuxPPS API ver. 1 registered                         
[    0.270856] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giom>
[    0.270884] PTP clock support registered                                     
[    0.270919] EDAC MC: Ver: 3.0.0                                              
[    0.271747] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400            
[    0.272081] Advanced Linux Sound Architecture Driver Initialized.            
[    0.273054] clocksource: Switched to clocksource timer1                      
[    0.281286] NET: Registered protocol family 2                                
[    0.281957] TCP established hash table entries: 8192 (order: 3, 32768 bytes) 
[    0.282023] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)        
[    0.282098] TCP: Hash tables configured (established 8192 bind 8192)         
[    0.282235] UDP hash table entries: 512 (order: 1, 8192 bytes)               
[    0.282257] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)          
[    0.282384] NET: Registered protocol family 1                                
[    0.282754] RPC: Registered named UNIX socket transport module.              
[    0.282765] RPC: Registered udp transport module.                            
[    0.282771] RPC: Registered tcp transport module.                            
[    0.282776] RPC: Registered tcp NFSv4.1 backchannel transport module.        
[    0.285090] workingset: timestamp_bits=14 max_order=19 bucket_order=5        
[    0.290232] squashfs: version 4.0 (2009/01/31) Phillip Lougher               
[    0.290957] NFS: Registering the id_resolver key type                        
[    0.290987] Key type id_resolver registered                                  
[    0.290994] Key type id_legacy registered                                    
[    0.291035] ntfs: driver 2.1.32 [Flags: R/O].                                
[    0.292473] bounce: pool size: 64 pages                                      
[    0.292661] Block layer SCSI generic (bsg) driver version 0.4 loaded (major )
[    0.292672] io scheduler noop registered                                     
[    0.292679] io scheduler deadline registered                                 
[    0.292781] io scheduler cfq registered (default)                            
[    0.295843] pinctrl-single 44e10800.pinmux: 199 pins at pa f9e10800 size 796 
[    0.298548] backlight supply power not found, using dummy regulator          
[    0.344913] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled        
[    0.347382] omap8250 44e09000.serial: No clock speed specified: using defaul0
[    0.348150] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud =0
[    1.089452] console [ttyS0] enabled                                          
[    1.093427] omap8250 48022000.serial: No clock speed specified: using defaul0
[    1.102070] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 31, base_baud =0
[    1.111271] omap8250 48024000.serial: No clock speed specified: using defaul0
[    1.119969] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 32, base_baud =0
[    1.129149] omap8250 481a6000.serial: No clock speed specified: using defaul0
[    1.137813] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 33, base_baud =0
[    1.147005] omap8250 481a8000.serial: No clock speed specified: using defaul0
[    1.155662] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 34, base_baud =0
[    1.164833] omap8250 481aa000.serial: No clock speed specified: using defaul0
[    1.173490] 481aa000.serial: ttyS5 at MMIO 0x481aa000 (irq = 35, base_baud =0
[    1.183965] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20      
[    1.190750] [drm] Initialized                                                
[    1.195148] 4832a000.dss supply vdda_video not found, using dummy regulator  
[    1.202248] OMAP DSS rev 2.0                                                 
[    1.205377] omapdss_dss 4832a000.dss: bound 4832a400.dispc (ops dispc_compon)
[    1.214455] display supply vcc not found, using dummy regulator              
[    1.233016] brd: module loaded                                               
[    1.241918] loop: module loaded                                              
[    1.247502] libphy: Fixed MDIO Bus: probed                                   
[    1.323117] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6            
[    1.329253] davinci_mdio 4a101000.mdio: detected phy mask fffffffe           
[    1.336351] libphy: 4a101000.mdio: probed                                    
[    1.340397] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driY
[    1.350916] cpsw 4a100000.ethernet: Detected MACID = a0:f6:fd:60:41:a1       
[    1.357678] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
[    1.365804] cpsw 4a100000.ethernet: cpsw: Detected MACID = a0:f6:fd:60:41:a3 
[    1.374192] mousedev: PS/2 mouse device common for all mice                  
[    1.380109] i2c /dev entries driver                                          
[    1.385519] cpuidle: enable-method property 'ti,am4372' found operations     
[    1.513269] pinctrl-single 44e10800.pinmux: pin PIN79 already requested by 4c
[    1.524633] pinctrl-single 44e10800.pinmux: pin-79 (47810000.mmc) status -22 
[    1.531868] pinctrl-single 44e10800.pinmux: could not request pin 79 (PIN79)e
[    1.543839] omap_hsmmc 47810000.mmc: Error applying setting, reverse things k
[    1.552348] omap_hsmmc: probe of 47810000.mmc failed with error -22          
[    1.561435] ledtrig-cpu: registered to indicate activity on CPUs             
[    1.569329] pinctrl-single 44e10800.pinmux: pin PIN74 already requested by 4p
[    1.580889] pinctrl-single 44e10800.pinmux: pin-74 (4803c000.mcasp) status -2
[    1.588263] pinctrl-single 44e10800.pinmux: could not request pin 74 (PIN74)e
[    1.600703] davinci-mcasp 4803c000.mcasp: Error applying setting, reverse thk
[    1.610606] mmc0: host does not support reading read-only switch, assuming we
[    1.618742] mmc0: new high speed SDHC card at address aaaa                   
[    1.624296] davinci-mcasp: probe of 4803c000.mcasp failed with error -22     
[    1.624985] NET: Registered protocol family 10                               
[    1.637419] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver              
[    1.638025] NET: Registered protocol family 17                               
[    1.638315] Key type dns_resolver registered                                 
[    1.638518] omap_voltage_late_init: Voltage driver support not added         
[    1.644706] omapdrm omapdrm.0: DMM not available, disable DMM support        
[    1.645172] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).      
[    1.645177] [drm] No driver support for vblank timestamp query.              
[    1.693850] mmc1: switch to bus width 8 failed                               
[    1.700375] mmc1: new high speed MMC card at address 0001                    
[    1.703005] mmcblk0: mmc0:aaaa SC16G 14.8 GiB                                
[    1.703837] mmcblk1: mmc1:0001 00016G 14.6 GiB                               
[    1.704158] mmcblk1boot0: mmc1:0001 00016G partition 1 4.00 MiB              
[    1.704417] mmcblk1boot1: mmc1:0001 00016G partition 2 4.00 MiB              
[    1.708354]  mmcblk0: p1 p2                                                  
[    1.760513] Console: switching to colour frame buffer device 128x48          
[    1.812557] omapdrm omapdrm.0: fb0: omapdrm frame buffer device              
[    1.846159] GPIO line 92 (eMMC Resetn) hogged as output/high                 
[    1.853412] pinctrl-single 44e10800.pinmux: pin PIN35 already requested by 4o
[    1.864590] pinctrl-single 44e10800.pinmux: pin-35 (481ac000.gpio) status -22
[    1.871778] pinctrl-single 44e10800.pinmux: could not request pin 35 (PIN35)e
[    1.883784] omap_gpio 481ac000.gpio: Error applying setting, reverse things k
[    1.891238] omap_gpio: probe of 481ac000.gpio failed with error -22          
[    1.948933] omap_i2c 44e0b000.i2c: bus 0 rev0.12 at 100 kHz                  
[    1.955803] omap_i2c 4802a000.i2c: bus 1 rev0.12 at 100 kHz                  
[    1.963642] hctosys: unable to open rtc device (rtc0)                        
[    1.969440] vmmcwl_fixed: disabling                                          
[    1.972960] ALSA device list:                                                
[    1.976069]   No soundcards found.                                           
[    1.992586] random: fast init done                                           
[    2.368773] EXT4-fs (mmcblk0p2): warning: mounting fs with errors, running ed
[    2.382248] EXT4-fs (mmcblk0p2): recovery complete                           
[    2.388270] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. )
[    2.396505] VFS: Mounted root (ext4 filesystem) on device 179:18.            
[    2.408139] devtmpfs: mounted                                                
[    2.413042] Freeing unused kernel memory: 1024K (c0b00000 - c0c00000)        
[    2.663866] systemd[1]: System time before build time, advancing clock.      
[    2.738178] systemd[1]: systemd 230 running in system mode. (+PAM -AUDIT -SE)
[    2.757194] systemd[1]: Detected architecture arm.                           
                                                                                
Welcome to Arago 2017.06!                                                       
                                                                                
[    2.797325] systemd[1]: Set hostname to <am437x-evm>.                        
[    3.335768] systemd[1]: sysinit.target: Found ordering cycle on sysinit.targt
[    3.343695] systemd[1]: sysinit.target: Found dependency on alignment.servict
[    3.351409] systemd[1]: sysinit.target: Found dependency on basic.target/stat
[    3.358779] systemd[1]: sysinit.target: Found dependency on sockets.target/st
[    3.366248] systemd[1]: sysinit.target: Found dependency on dbus.socket/start
[    3.373448] systemd[1]: sysinit.target: Found dependency on sysinit.target/st
[    3.380889] systemd[1]: sysinit.target: Breaking ordering cycle by deleting t
[ SKIP ] Ordering cycle found, skipping alignment.service                       
[ SKIP ] Ordering cycle found, skipping Sockets                                 
[ SKIP ] Ordering cycle found, skipping eGTouch.service                         
[  OK  ] Listening on Journal Socket (/dev/log).                                
[  OK  ] Listening on Syslog Socket.                                            
[  OK  ] Listening on udev Kernel Socket.                                       
[  OK  ] Reached target Swap.                                                   
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.                    
[  OK  ] Started Forward Password Requests to Wall Directory Watch.             
[  OK  ] Reached target Remote File Systems.                                    
[  OK  ] Listening on Process Core Dump Socket.                                 
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.         
[  OK  ] Listening on udev Control Socket.                                      
[  OK  ] Listening on Journal Socket.                                           
[  OK  ] Created slice System Slice.                                            
         Starting Setup Virtual Console...                                      
         Starting Create list of required st... nodes for the current kernel... 
         Mounting POSIX Message Queue File System...                            
[  OK  ] Created slice system-getty.slice.                                      
         Starting Remount Root and Kernel File Systems...                       
[  OK  ] Created slice system-serial\x2dgetty.slice.                            
         Starting Journal Service...                                            
[    4.118696] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)                    
         Mounting Temporary Directory...                                        
         Starting Psplash Boot Screen...                                        
         Mounting Debug File System...                                          
         Starting Load Kernel Modules...                                        
[  OK  ] Reached target Paths.                                                  
[  OK  ] Created slice User and Session Slice.                                  
[    4.295665] cmemk: loading out-of-tree module taints kernel.                 
[  OK  ] Reached target Slices.                                                 
[    4.325467] CMEMK module: reference Linux version 4.9.41                     
[    4.343533] no physical memory specified                                     
[    4.347505] cmemk initialized                                                
[  OK  ] Listening on Network Service Netlink Socket.                           
[    4.383522] cryptodev: driver 1.8 loaded.                                    
[  OK  ] Mounted POSIX Message Queue File System.                               
[  OK  ] Mounted Debug File System.                                             
[  OK  ] Mounted Temporary Directory.                                           
[  OK  ] Started Journal Service.                                               
[  OK  ] Started Setup Virtual Console.                                         
[  OK  ] Started Create list of required sta...ce nodes for the current kernel. 
[  OK  ] Started Remount Root and Kernel File Systems.                          
[  OK  ] Started Psplash Boot Screen.                                           
[  OK  ] Started Load Kernel Modules.                                           
         Mounting Configuration File System...                                  
         Starting Apply Kernel Variables...                                     
         Starting udev Coldplug all Devices...                                  
         Starting Create Static Device Nodes in /dev...                         
         Starting Flush Journal to Persistent Storage...                        
[  OK  ] Mounted Configuration File System.                                     
[  OK  ] Started Apply Kernel Variables.                                        
[  OK  ] Started Create Static Device Nodes in /dev.                            
[    5.016386] systemd-journald[100]: Received request to flush runtime journal1
         Starting udev Kernel Device Manager...                                 
[  OK  ] Reached target Local File Systems (Pre).                               
         Mounting /media/ram...                                                 
         Mounting /var/volatile...                                              
[  OK  ] Mounted /var/volatile.                                                 
[  OK  ] Mounted /media/ram.                                                    
[  OK  ] Started udev Kernel Device Manager.                                    
[  OK  ] Started Flush Journal to Persistent Storage.                           
         Starting Load/Save Random Seed...                                      
[  OK  ] Reached target Local File Systems.                                     
         Starting Create Volatile Files and Directories...                      
[  OK  ] Started Load/Save Random Seed.                                         
[  OK  ] Started Create Volatile Files and Directories.                         
         Starting Network Time Synchronization...                               
         Starting Update UTMP about System Boot/Shutdown...                     
[  OK  ] Started Update UTMP about System Boot/Shutdown.                        
[  OK  ] Started Network Time Synchronization.                                  
[  OK  ] Reached target System Time Synchronized.                               
[    6.532069] remoteproc remoteproc0: wkup_m3 is available                     
[    6.569515] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec   
[    6.629151] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0 
[    6.698393] adv7180 0-0021: chip found @ 0x21 (OMAP I2C adapter)             
[    6.723437] adv7180: probe of 0-0021 failed with error -121                  
[    6.830941] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle     
[  OK  ] Found device /dev/ttyS0.                                               
[    7.032080] remoteproc remoteproc0: powering up wkup_m3                      
[  OK  ] Started udev Coldplug all Devices.                                     
[    7.141224] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf,4
[    7.202062] CAN device driver interface                                      
[    7.255330] c_can_platform 481cc000.can: c_can_platform device registered (r)
[    7.300920] c_can_platform 481d0000.can: c_can_platform device registered (r)
[  OK  ] Reached target System Initialization.                                  
[    7.495445] remoteproc remoteproc0: remote processor wkup_m3 is now up       
[    7.504174] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192   
[  OK  ] Reached target Basic System.                                           
         Starting Terminate Psplash Boot Screen...                              
[  OK  ] Listening on dropbear.socket.                                          
[  OK  ] Listening on RPCbind Server Activation Socket.                         
[    7.848220] omap-sham 53100000.sham: hw accel on OMAP rev 0.0                
         Starting Print notice about GPLv3 packages...                          
[  OK  ] Started Kernel Logging Service.                                        
         Starting uim-sysfs.service...                                          
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.                
[  OK  ] Started Daily Cleanup of Temporary Directories.                        
[  OK  ] Reached target Timers.                                                 
[    8.069587] omap-aes 53501000.aes: OMAP AES hw accel rev: 0.1                
[    8.137858] omap-aes 53501000.aes: will run requests pump with realtime prioy
[    8.205423] omap-des 53701000.des: OMAP DES hw accel rev: 0.33               
[    8.222037] omap-des 53701000.des: will run requests pump with realtime prioy
[    8.304730] [drm] Initialized pvr 1.14.3699939 20110701 on minor 1           
[  OK  ] Started System Logging Service.                                        
[  OK  ] Listening on D-Bus System Message Bus Socket.                          
         Starting Telephony service...                                          
         Starting Avahi mDNS/DNS-SD Stack...                                    
[    8.792243] PM: bootloader does not support rtc-only!                        
[  OK  ] Started D-Bus System Message Bus.                                      
[  OK  ] Started Telephony service.                                             
[  OK  ] Started Avahi mDNS/DNS-SD Stack.                                       
         Starting Network Service...                                            
         Starting Login Service...                                              
[   10.338765] Bluetooth: Core ver 2.22                                         
[   10.447891] NET: Registered protocol family 31                               
[   10.452373] Bluetooth: HCI device and connection manager initialized         
[   10.607340] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data.
[  OK  ] Started Terminate Psplash Boot Screen.                                 
[   10.903187] Bluetooth: HCI socket layer initialized                          
[   10.910341] Bluetooth: L2CAP socket layer initialized                        
[  OK  ] Started Network Service.                                               
[   11.163978] Bluetooth: SCO socket layer initialized                          
[   11.312819] net eth1: initializing cpsw version 1.15 (0)                     
[   11.410902] net eth0: initialized cpsw ale version 1.4                       
[   11.503898] net eth0: ALE Table size 1024                                    
[   11.566562] libphy: PHY 4a101000.mdio:01 not found                           
[   11.571405] net eth1: phy "4a101000.mdio:01" not found on slave 1, err -19   
[   11.808290] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready               
[   11.985312] net eth0: initializing cpsw version 1.15 (0)                     
[   12.087136] Micrel KSZ9031 Gigabit PHY 4a101000.mdio:00: attached PHY driver)
[   12.334796] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready               
[  OK  ] Started Login Service.                                                 
[  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.        
[  OK  ] Created slice system-systemd\x2dbacklight.slice.                       
         Starting Load/Save Screen Backlight...htness of backlight:backlight... 
[  OK  ] Reached target Network.                                                
         Starting Permit User Sessions...                                       
         Starting Enable and configure wl18xx bluetooth stack...                
         Starting Simple Network Management Protocol (SNMP) Daemon....          
[  OK  ] Started Myinit scripts.                                                
         Starting Lightning Fast Webserver With Light System Requirements...    
[  OK  ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.          
         Starting Network Name Resolution...                                    
[  OK  ] Started Load/Save Screen Backlight Brightness of backlight:backlight.  
[  OK  ] Started Permit User Sessions.                                          
[  OK  ] Started Lightning Fast Webserver With Light System Requirements.       
[  OK  ] Started Serial Getty on ttyS0.                                         
[  OK  ] Started Getty on tty1.                                                 
[  OK  ] Reached target Login Prompts.                                          
         Starting Synchronize System and HW clocks...                           
[  OK  ] Started Network Name Resolution.                                       
[  OK  ] Started Synchronize System and HW clocks.                              
[   14.055369] NET: Registered protocol family 15                               
[  OK  ] Started Enable and configure wl18xx bluetooth stack.                   
[   15.007789] Initializing XFRM netlink socket                                 
[  OK  ] Started Simple Network Management Protocol (SNMP) Daemon..             
[   15.164429] random: crng init done                                           
[   16.753047] usbcore: registered new interface driver usbfs                   
[   16.803651] usbcore: registered new interface driver hub                     
[   16.842139] usbcore: registered new device driver usb                        
[   16.916914] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller                   
[   16.967078] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus n1
[   17.036234] xhci-hcd xhci-hcd.3.auto: hcc params 0x0238f06d hci version 0x100
[   17.103270] xhci-hcd xhci-hcd.3.auto: irq 261, io mem 0x48390000             
[   17.156850] hub 1-0:1.0: USB hub found                                       
[   17.195419] hub 1-0:1.0: 1 port detected                                     
[   17.227716] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller                   
[   17.275451] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus n2
[   17.330050] usb usb2: We don't know the algorithms for LPM for this host, di.
[   17.392048] hub 2-0:1.0: USB hub found                                       
[   17.410874] hub 2-0:1.0: 1 port detected                                     
[   17.450221] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller                   
[   17.484235] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus n3
[   17.533845] xhci-hcd xhci-hcd.4.auto: hcc params 0x0238f06d hci version 0x100
[   17.542686] xhci-hcd xhci-hcd.4.auto: irq 262, io mem 0x483d0000             
[   17.630378] hub 3-0:1.0: USB hub found                                       
[   17.647362] hub 3-0:1.0: 1 port detected                                     
[   17.680259] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller                   
[   17.720539] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus n4
[   17.767635] usb usb4: We don't know the algorithms for LPM for this host, di.
[   17.831755] hub 4-0:1.0: USB hub found                                       
[   17.848849] hub 4-0:1.0: 1 port detected                                     
***************************************************************                 
***************************************************************                 
NOTICE: This file system contains the following GPLv3 packages:                 
        autoconf                                                                
        binutils                                                                
        cifs-utils                                                              
        cpp-symlinks                                                            
        cpp                                                                     
        dosfstools                                                              
        g++-symlinks                                                            
        g++                                                                     
        gawk-dev                                                                
        gawk                                                                    
        gcc-symlinks                                                            
        gcc                                                                     
        gdb                                                                     
        gdbserver                                                               
        gstreamer1.0-libav                                                      
        hidapi                                                                  
        libcairo-perf-utils                                                     
        libgmp10                                                                
        libidn11                                                                
        libmpc3                                                                 
        libmpfr4                                                                
        libreadline-dev                                                         
        libreadline6                                                            
        m4-dev                                                                  
        m4                                                                      
        make                                                                    
        nettle                                                                  
        swig-dev                                                                
        swig                                                                    
                                                                                
If you do not wish to distribute GPLv3 components please remove                 
the above packages prior to distribution.  This can be done using               
the opkg remove command.  i.e.:                                                 
    opkg remove <package>                                                       
Where <package> is the name printed in the list above                           
                                                                                
NOTE: If the package is a dependency of another package you                     
      will be notified of the dependent packages.  You should                   
      use the --force-removal-of-dependent-packages option to                   
      also remove the dependent packages as well                                
***************************************************************                 
***************************************************************                 
[   19.568289] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ]       
                                                                                
 _____                    _____           _         _                           
|  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_                         
|     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|                        
|__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|                          
              |___|                    |___|                                    
                                                                                
Arago Project http://arago-project.org am437x-evm ttyS0                         
                                                                                
Arago 2017.06 am437x-evm ttyS0                                                  
                                                                                
am437x-evm login: root                                                          
root@am437x-evm:~# ifconfig                                                     
eth0      Link encap:Ethernet  HWaddr A0:F6:FD:60:41:A1                         
          UP BROADCAST MULTICAST  MTU:1500  Metric:1                            
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0                    
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0                  
          collisions:0 txqueuelen:1000                                          
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)                                
          Interrupt:84                                                          
                                                                                
eth1      Link encap:Ethernet  HWaddr A0:F6:FD:60:41:A3                         
          UP BROADCAST MULTICAST  MTU:1500  Metric:1                            
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0                    
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0                  
          collisions:0 txqueuelen:1000                                          
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)                                
                                                                                
lo        Link encap:Local Loopback                                             
          inet addr:127.0.0.1  Mask:255.0.0.0                                   
          inet6 addr: ::1%763860/128 Scope:Host                                 
          UP LOOPBACK RUNNING  MTU:65536  Metric:1                              
          RX packets:160 errors:0 dropped:0 overruns:0 frame:0                  
          TX packets:160 errors:0 dropped:0 overruns:0 carrier:0                
          collisions:0 txqueuelen:1                                             
          RX bytes:12160 (11.8 KiB)  TX bytes:12160 (11.8 KiB)  

My dts entries as given below.

cpsw_default: cpsw_default {
pinctrl-single,pins = <
0x40 (PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) /* (C3) gpmc_a0.rgmii2_tctl */
0x44 (PIN_INPUT_PULLDOWN | MUX_MODE2 ) /* (C5) gpmc_a1.rgmii2_rctl */
0x58 (PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) /* (E8) gpmc_a6.rgmii2_tclk */
0x5c (PIN_INPUT_PULLDOWN | MUX_MODE2 ) /* (F6) gpmc_a7.rgmii2_rclk */
0x54 (PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) /* (E7) gpmc_a5.rgmii2_td0 */
0x50 (PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) /* (D7) gpmc_a4.rgmii2_td1 */
0x4c (PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) /* (A4) gpmc_a3.rgmii2_td2 */
0x48 (PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) /* (C6) gpmc_a2.rgmii2_td3 */
0x6c (PIN_INPUT_PULLDOWN | MUX_MODE2 ) /* (D8) gpmc_a11.rgmii2_rd0 */
0x68 (PIN_INPUT_PULLDOWN | MUX_MODE2 ) /* (G8) gpmc_a10.rgmii2_rd1 */
0x64 (PIN_INPUT_PULLDOWN | MUX_MODE2 ) /* (B4) gpmc_a9.rgmii2_rd2 */
0x60 (PIN_INPUT_PULLDOWN | MUX_MODE2 ) /* (F7) gpmc_a8.rgmii2_rd3 */
>;
};

/* Optional sleep pin settings. Must manually enter values in the below skeleton. */
cpsw_sleep: cpsw_sleep {
pinctrl-single,pins = <
0x40 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (C3) gpmc_a0.rgmii2_tctl */
0x44 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (C5) gpmc_a1.rgmii2_rctl */
0x58 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (E8) gpmc_a6.rgmii2_tclk */
0x5c (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (F6) gpmc_a7.rgmii2_rclk */
0x54 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (E7) gpmc_a5.rgmii2_td0 */
0x50 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (D7) gpmc_a4.rgmii2_td1 */
0x4c (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (A4) gpmc_a3.rgmii2_td2 */
0x48 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (C6) gpmc_a2.rgmii2_td3 */
0x6c (PIN_INPUT | PULL_DISABLE | MUX_MODE7 ) /* (D8) gpmc_a11.rgmii2_rd0 */
0x68 (PIN_INPUT | PULL_DISABLE | MUX_MODE7 ) /* (G8) gpmc_a10.rgmii2_rd1 */
0x64 (PIN_INPUT | PULL_DISABLE | MUX_MODE7 ) /* (B4) gpmc_a9.rgmii2_rd2 */
0x60 (PIN_INPUT | PULL_DISABLE | MUX_MODE7 ) /* (F7) gpmc_a8.rgmii2_rd3 */

>;
};

cpsw_default1: cpsw_default1 {
pinctrl-single,pins = <
0x114 ( PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) /* (A13) mii1_tx_en.rgmii1_tctl */
0x118 ( PIN_INPUT_PULLDOWN | MUX_MODE2 ) /* (A15) mii1_rx_dv.rgmii1_rctl */
0x12c ( PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) /* (D14) mii1_tx_clk.rgmii1_tclk */
0x130 ( PIN_INPUT_PULLDOWN | MUX_MODE2 ) /* (D13) mii1_rx_clk.rgmii1_rclk */
0x128 ( PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) /* (B15) mii1_txd0.rgmii1_td0 */
0x124 ( PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) /* (A14) mii1_txd1.rgmii1_td1 */
0x120 ( PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) /* (C13) mii1_txd2.rgmii1_td2 */
0x11c ( PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) /* (C16) mii1_txd3.rgmii1_td3 */
0x140 ( PIN_INPUT_PULLDOWN | MUX_MODE2 ) /* (F17) mii1_rxd0.rgmii1_rd0 */
0x13c ( PIN_INPUT_PULLDOWN | MUX_MODE2 ) /* (B16) mii1_rxd1.rgmii1_rd1 */
0x138 ( PIN_INPUT_PULLDOWN | MUX_MODE2 ) /* (E16) mii1_rxd2.rgmii1_rd2 */
0x134 ( PIN_INPUT_PULLDOWN | MUX_MODE2 ) /* (C14) mii1_rxd3.rgmii1_rd3 */

>;
};
/* Optional sleep pin settings. Must manually enter values in the below skeleton. */
cpsw_sleep1: cpsw_sleep1 {
pinctrl-single,pins = <
0x114 (PIN_INPUT_PULLDOWN ) /* (A13) mii1_tx_en.rgmii1_tctl */
0x118 (PIN_INPUT_PULLDOWN ) /* (A15) mii1_rx_dv.rgmii1_rctl */
0x12c (PIN_INPUT_PULLDOWN ) /* (D14) mii1_tx_clk.rgmii1_tclk */
0x130 (PIN_INPUT_PULLDOWN ) /* (D13) mii1_rx_clk.rgmii1_rclk */
0x128 (PIN_INPUT_PULLDOWN ) /* (B15) mii1_txd0.rgmii1_td0 */
0x124 (PIN_INPUT_PULLDOWN ) /* (A14) mii1_txd1.rgmii1_td1 */
0x120 (PIN_INPUT_PULLDOWN ) /* (C13) mii1_txd2.rgmii1_td2 */
0x11c (PIN_INPUT_PULLDOWN ) /* (C16) mii1_txd3.rgmii1_td3 */
0x140 (PIN_INPUT | PULL_DISABLE ) /* (F17) mii1_rxd0.rgmii1_rd0 */
0x13c (PIN_INPUT | PULL_DISABLE ) /* (B16) mii1_rxd1.rgmii1_rd1 */
0x138 (PIN_INPUT | PULL_DISABLE ) /* (E16) mii1_rxd2.rgmii1_rd2 */
0x134 (PIN_INPUT | PULL_DISABLE ) /* (C14) mii1_rxd3.rgmii1_rd3 */
>;
};


davinci_mdio_default: davinci_mdio_default {
pinctrl-single,pins = <
0x148 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0) /* (A17) mdio_data.mdio_data */
0x14c (PIN_OUTPUT_PULLUP | MUX_MODE0) /* (B17) mdio_clk.mdio_clk */
>;
};

/* Optional sleep pin settings. Must manually enter values in the below skeleton. */
davinci_mdio_sleep: davinci_mdio_sleep {
pinctrl-single,pins = <
0x148 (PIN_INPUT | PULL_DISABLE | MUX_MODE7 ) /* (A17) mdio_data.mdio_data */
0x14c (PIN_INPUT | PULL_DISABLE | MUX_MODE7 ) /* (B17) mdio_clk.mdio_clk */

>;
};

&mac {
slaves = <2>;
pinctrl-names = "default", "sleep";
pinctrl-0 = <&cpsw_default &cpsw_default1>;
pinctrl-1 = <&cpsw_sleep &cpsw_sleep1>;
active_slave = <2>;
dual_emac;
status = "okay";
};

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

/*&cpsw_emac1 to emac0 --wini */

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

&cpsw_emac1 {
phy_id = <&davinci_mdio>, <1>;
phy-mode = "rgmii";
dual_emac_res_vlan = <2>;
};

What is the problem in above entries? How do I use dual ethernet ports simultaneously? 

Regards,

Winiston.P

  • Please follow this checklist and post the results here: processors.wiki.ti.com/.../5x_CPSW
  • Dear Biser,

    Kernel version : 4.9.41-ge3a80a1c5c

    SDK : 4.01

    File system : Arago

    Custom board  is fully based on am437x-gp-evm with dual ethernet ports.

    Please find attached dts and boot log file.   

    /*
    * Author: Rajat Rao
    * Company: Futura Automation
    * Product: SBC_AM4378 v1.1
    */
    
    /* This file was auto-generated by TI PinMux on ‎22‎-‎07‎-‎2016 at ‎15‎:‎43‎:‎54. */
    /* This file should only be used as a reference.  Some pins/peripherals, */
    /* depending on your use case, may need additional configuration. */
    
    /* Some or all the pins from the following groups are not used by device tree 
       myrtc1
       usb_otg
       usb_host
       myadc1
       ram
    */
    
    /dts-v1/;
    
    #include "am4372.dtsi"
    #include <dt-bindings/pinctrl/am43xx.h>
    #include <dt-bindings/pwm/pwm.h>
    #include <dt-bindings/gpio/gpio.h>
    
    / {
    	model = "TI AM437x GP EVM";
    	compatible = "ti,am437x-gp-evm","ti,am4372","ti,am43";
    
    	aliases {
    		display0 = &lcd0;
    		serial3 = &uart3;
    		/*newly added */
    		serial1 = &uart1;
    		serial2 = &uart2;
    		serial4 = &uart4;
    		serial5 = &uart5;
    	};
    
    	evm_v3_3d: fixedregulator-v3_3d {
    		compatible = "regulator-fixed";
    		regulator-name = "evm_v3_3d";
    		regulator-min-microvolt = <3300000>;
    		regulator-max-microvolt = <3300000>;
    		enable-active-high;
    	};
    
    	vtt_fixed: fixedregulator-vtt {
    		compatible = "regulator-fixed";
    		regulator-name = "vtt_fixed";
    		regulator-min-microvolt = <1500000>;
    		regulator-max-microvolt = <1500000>;
    		regulator-always-on;
    		regulator-boot-on;
    		enable-active-high;
    		gpio = <&gpio2 1 GPIO_ACTIVE_HIGH>;
    	};
    
    	vmmcwl_fixed: fixedregulator-mmcwl {
    		compatible = "regulator-fixed";
    		regulator-name = "vmmcwl_fixed";
    		regulator-min-microvolt = <1800000>;
    		regulator-max-microvolt = <1800000>;
    		startup-delay-us = <70000>;
    		/* WLAN_EN GPIO for this board - A8, Bank1, pin29 */
    		gpio = <&gpio1 29 GPIO_ACTIVE_HIGH>;  
    		enable-active-high;
    		
    	};
    
    	lcd_bl: backlight {
    		compatible = "pwm-backlight";
    		pwms = <&ecap0 0 50000 PWM_POLARITY_INVERTED>;
    		brightness-levels = <0 51 53 56 62 75 101 152 255>;
    		default-brightness-level = <8>;
    	};
    	
    	lcd0: display {
    		compatible = "panel-dpi";
    		label = "lcd";		
    /*panel timing for 1024x768 display */
        
    		panel-timing {
    			clock-frequency = <65000000>;
    			hactive = <1024>;
    			vactive = <768>;
    			hfront-porch = <24>;
    			hback-porch = <160>;
    			hsync-len = <136>;
    			vback-porch = <29>;
    			vfront-porch = <3>;
    			vsync-len = <6>;
    			hsync-active = <0>;
    			vsync-active = <0>;
    			de-active = <1>;
    			pixelclk-active = <1>;
    		};
    		
    		
      /*panel timing for 1920x1200 (dual pixel/channel lvds) display(LM240WU8) */
    		/*
    		panel-timing {
    			clock-frequency = <77000000>;
    			hactive = <1920>;
    			vactive = <1200>;
    			hfront-porch = <48>;
    			hback-porch = <80>;
    			hsync-len = <32>;
    			vback-porch = <26>;
    			vfront-porch = <3>;
    			vsync-len = <6>;
    			hsync-active = <0>;
    			vsync-active = <0>;
    			de-active = <1>;
    			pixelclk-active = <1>;
    		};
    		*/
    
    	/*panel timing for 800x600 display */
           
           /* 
    		panel-timing {
    			clock-frequency = <40000000>;
    			hactive = <800>;
    			vactive = <600>;
    			hfront-porch = <40>;
    			hback-porch = <88>;
    			hsync-len = <128>;
    			vback-porch = <23>;
    			vfront-porch = <1>;
    			vsync-len = <4>;
    			hsync-active = <0>;
    			vsync-active = <0>;
    			de-active = <1>;
    			pixelclk-active = <1>;
    		};
    		*/
    		
    		port {
    			lcd_in: endpoint {
    				remote-endpoint = <&dpi_out>;
    			};
    		};
    	};
    
    	/* fixed 12MHz oscillator */
    	refclk: oscillator {
    		#clock-cells = <0>;
    		compatible = "fixed-clock";
    		clock-frequency = <12000000>;
    	};
    
    	/* fixed 32k external oscillator clock */
    	clk_32k_rtc: clk_32k_rtc {
    		#clock-cells = <0>;
    		compatible = "fixed-clock";
    		clock-frequency = <32768>;
    	};
    
    
    	sound0: sound@0 {
    		compatible = "simple-audio-card";
    		simple-audio-card,name = "AM437x-GP-EVM";
    		simple-audio-card,widgets =
    			"Headphone", "Headphone Jack",
    			"Microphone", "Microphone Jack",
    			"Speaker", "External Speaker";
    		simple-audio-card,routing =
    			"Headphone Jack",	"HPLOUT",
    			"Headphone Jack",	"HPROUT",
    			"MIC3L",		"Microphone Jack",
    			"MIC3R",		"Microphone Jack",
    			"External Speaker",	"MONO_LOUT";
    		simple-audio-card,format = "dsp_b";
    		simple-audio-card,bitclock-master = <&sound0_master>;
    		simple-audio-card,frame-master = <&sound0_master>;
    		simple-audio-card,bitclock-inversion;
    
    		simple-audio-card,cpu {
    			sound-dai = <&mcasp1>;
    			system-clock-frequency = <12000000>;
    		};
    
    		sound0_master: simple-audio-card,codec {
    			sound-dai = <&tlv320aic3106>;
    			system-clock-frequency = <12000000>;
    		};
    	};
    
    	audio_mstrclk: mclk_osc {
    		compatible = "fixed-clock";
    		#clock-cells = <0>;
    		clock-frequency = <12000000>;
    	};
    
    };
    
    &am43xx_pinmux {
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&wlan_irq_pins_default &ddr3_vtt_toggle_default &debugss_pins>;
    	pinctrl-1 = <&wlan_irq_pins_sleep>; 
    	ddr3_vtt_toggle_default: ddr_vtt_toggle_default {
    		pinctrl-single,pins = <
    			0x8C (DS0_PULL_UP_DOWN_EN | PIN_OUTPUT_PULLUP | DS0_FORCE_OFF_MODE | MUX_MODE7) /* (A12) gpmc_clk.gpio2[1] */
    		>;
    	};
    	
    	i2c0_pins: i2c0_pins {
    		pinctrl-single,pins = <
    			0x18c (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0)  /* (Y22) i2c0_scl.i2c0_scl */
    			0x188 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0)  /* (AB24) i2c0_sda.i2c0_sda */
    			
    		>;
    	};
    	
    	i2c1_pins_default: i2c1_pins_default {
    		pinctrl-single,pins = <
    			0x240 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE1) /* (G20) gpio5_10.I2C1_SCL */
    			0x248 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE1) /* (E25) gpio5_12.I2C1_SDA */
    		>;
    	};
    	
    	sd_card_pins_default: sd_card_pins_default {
    		pinctrl-single,pins = <
    			0x100 (PIN_INPUT_PULLUP | MUX_MODE0 ) /* (D1) mmc0_clk.mmc0_clk */
    			0x104 (PIN_INPUT_PULLUP | MUX_MODE0 ) /* (D2) mmc0_cmd.mmc0_cmd */
    			0xfc (PIN_INPUT_PULLUP | MUX_MODE0 ) /* (C1) mmc0_dat0.mmc0_dat0 */
    			0xf8 (PIN_INPUT_PULLUP | MUX_MODE0 ) /* (C2) mmc0_dat1.mmc0_dat1 */
    			0xf4 (PIN_INPUT_PULLUP | MUX_MODE0 ) /* (B2) mmc0_dat2.mmc0_dat2 */
    			0xf0 (PIN_INPUT_PULLUP | MUX_MODE0 ) /* (B1) mmc0_dat3.mmc0_dat3 */
    			0x160 (PIN_INPUT_PULLUP | MUX_MODE5 ) /* (R25) spi0_cs1.mmc0_sdcd */
    		>;
    	};
    	
    	/* Optional sleep pin settings. Must manually enter values in 	the below skeleton. */
    	sd_card_pins_sleep: sd_card_pins_sleep {
    		pinctrl-single,pins = <
    			0x100 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (D1) mmc0_clk.mmc0_clk */
    			0x104 (PIN_INPUT | PULL_DISABLE | MUX_MODE7 ) /* (D2) mmc0_cmd.mmc0_cmd */
    			0xfc (PIN_INPUT | PULL_DISABLE | MUX_MODE7 ) /* (C1) mmc0_dat0.mmc0_dat0 */
    			0xf8 (PIN_INPUT | PULL_DISABLE | MUX_MODE7 ) /* (C2) mmc0_dat1.mmc0_dat1 */
    			0xf4 (PIN_INPUT | PULL_DISABLE | MUX_MODE7 ) /* (B2) mmc0_dat2.mmc0_dat2 */
    			0xf0 (PIN_INPUT | PULL_DISABLE | MUX_MODE7 ) /* (B1) mmc0_dat3.mmc0_dat3 */
    			0x160 (PIN_INPUT | PULL_DISABLE | MUX_MODE7 ) /* (R25) spi0_cs1.mmc0_sdcd */
    		>;
    	};
    	
    	emmc_pins_default: emmc_pins_default {
    		pinctrl-single,pins = <
    			0x80 (PIN_INPUT_PULLUP | MUX_MODE2 ) /* (B9) gpmc_csn1.mmc1_clk */
    			0x84 (PIN_INPUT_PULLUP | MUX_MODE2 ) /* (F10) gpmc_csn2.mmc1_cmd */
    			0x20 (PIN_INPUT_PULLUP | MUX_MODE2 ) /* (B10) gpmc_ad8.mmc1_dat0 */
    			0x24 (PIN_INPUT_PULLUP | MUX_MODE2 ) /* (A10) gpmc_ad9.mmc1_dat1 */
    			0x28 (PIN_INPUT_PULLUP | MUX_MODE2 ) /* (F11) gpmc_ad10.mmc1_dat2 */
    			0x2c (PIN_INPUT_PULLUP | MUX_MODE2 ) /* (D11) gpmc_ad11.mmc1_dat3 */
    			0x30 (PIN_INPUT_PULLUP | MUX_MODE2 ) /* (E11) gpmc_ad12.mmc1_dat4 */
    			0x34 (PIN_INPUT_PULLUP | MUX_MODE2 ) /* (C11) gpmc_ad13.mmc1_dat5 */
    			0x38 (PIN_INPUT_PULLUP | MUX_MODE2 ) /* (B11) gpmc_ad14.mmc1_dat6 */
    			0x3c (PIN_INPUT_PULLUP | MUX_MODE2 ) /* (A11) gpmc_ad15.mmc1_dat7 */
    		>;
    	};
    
    	/* Optional sleep pin settings. Must manually enter values in 	the below skeleton. */
    	emmc_pins_sleep: emmc_pins_sleep {
    		pinctrl-single,pins = <
    			0x80 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (B9) gpmc_csn1.mmc1_clk */
    			0x84 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (F10) gpmc_csn2.mmc1_cmd */
    			0x20 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (B10) gpmc_ad8.mmc1_dat0 */
    			0x24 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (A10) gpmc_ad9.mmc1_dat1 */
    			0x28 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (F11) gpmc_ad10.mmc1_dat2 */
    			0x2c (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (D11) gpmc_ad11.mmc1_dat3 */
    			0x30 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (E11) gpmc_ad12.mmc1_dat4 */
    			0x34 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (C11) gpmc_ad13.mmc1_dat5 */
    			0x38 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (B11) gpmc_ad14.mmc1_dat6 */
    			0x3c (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (A11) gpmc_ad15.mmc1_dat7 */
    		>;
    	};
    
    	ecap0_pins_default: backlight_pins_default {
    		pinctrl-single,pins = <
    			0x164 ( PIN_INPUT | MUX_MODE0 )       /* (G24) eCAP0_in_PWM0_out.eCAP0_in_PWM0_out MODE0 */
    		>;
    	};
    
    	ecap0_pins_sleep: backlight_pins_sleep {
    		pinctrl-single,pins = <
    			0x164 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    		>;
    	};
    	
    	cpsw_default: cpsw_default {
    		pinctrl-single,pins = <
    			0x40 (PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) /* (C3) gpmc_a0.rgmii2_tctl */
    			0x44 (PIN_INPUT_PULLDOWN | MUX_MODE2 ) /* (C5) gpmc_a1.rgmii2_rctl */
    			0x58 (PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) /* (E8) gpmc_a6.rgmii2_tclk */
    			0x5c (PIN_INPUT_PULLDOWN | MUX_MODE2 ) /* (F6) gpmc_a7.rgmii2_rclk */
    			0x54 (PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) /* (E7) gpmc_a5.rgmii2_td0 */
    			0x50 (PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) /* (D7) gpmc_a4.rgmii2_td1 */
    			0x4c (PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) /* (A4) gpmc_a3.rgmii2_td2 */
    			0x48 (PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) /* (C6) gpmc_a2.rgmii2_td3 */
    			0x6c (PIN_INPUT_PULLDOWN | MUX_MODE2 ) /* (D8) gpmc_a11.rgmii2_rd0 */
    			0x68 (PIN_INPUT_PULLDOWN | MUX_MODE2 ) /* (G8) gpmc_a10.rgmii2_rd1 */
    			0x64 (PIN_INPUT_PULLDOWN | MUX_MODE2 ) /* (B4) gpmc_a9.rgmii2_rd2 */
    			0x60 (PIN_INPUT_PULLDOWN | MUX_MODE2 ) /* (F7) gpmc_a8.rgmii2_rd3 */	
    		>;
    	};
    
    	/* Optional sleep pin settings. Must manually enter values in 	the below skeleton. */
    	cpsw_sleep: cpsw_sleep {
    		pinctrl-single,pins = <
    			0x40 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (C3) gpmc_a0.rgmii2_tctl */
    			0x44 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (C5) gpmc_a1.rgmii2_rctl */
    			0x58 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (E8) gpmc_a6.rgmii2_tclk */
    			0x5c (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (F6) gpmc_a7.rgmii2_rclk */
    			0x54 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (E7) gpmc_a5.rgmii2_td0 */
    			0x50 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (D7) gpmc_a4.rgmii2_td1 */
    			0x4c (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (A4) gpmc_a3.rgmii2_td2 */
    			0x48 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (C6) gpmc_a2.rgmii2_td3 */
    			0x6c (PIN_INPUT | PULL_DISABLE | MUX_MODE7 ) /* (D8) gpmc_a11.rgmii2_rd0 */
    			0x68 (PIN_INPUT | PULL_DISABLE | MUX_MODE7 ) /* (G8) gpmc_a10.rgmii2_rd1 */
    			0x64 (PIN_INPUT | PULL_DISABLE | MUX_MODE7 ) /* (B4) gpmc_a9.rgmii2_rd2 */
    			0x60 (PIN_INPUT | PULL_DISABLE | MUX_MODE7 ) /* (F7) gpmc_a8.rgmii2_rd3 */
    			
    		>;
    	};
    	
    		cpsw_default1: cpsw_default1 {
    		pinctrl-single,pins = <	
    		0x114 ( PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) /* (A13) mii1_tx_en.rgmii1_tctl */
    		0x118 ( PIN_INPUT_PULLDOWN | MUX_MODE2 ) /* (A15) mii1_rx_dv.rgmii1_rctl */
    		0x12c ( PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) /* (D14) mii1_tx_clk.rgmii1_tclk */
    		0x130 ( PIN_INPUT_PULLDOWN | MUX_MODE2 ) /* (D13) mii1_rx_clk.rgmii1_rclk */
    		0x128 ( PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) /* (B15) mii1_txd0.rgmii1_td0 */
    		0x124 ( PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) /* (A14) mii1_txd1.rgmii1_td1 */
    		0x120 ( PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) /* (C13) mii1_txd2.rgmii1_td2 */
    		0x11c ( PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) /* (C16) mii1_txd3.rgmii1_td3 */
    		0x140 ( PIN_INPUT_PULLDOWN | MUX_MODE2 ) /* (F17) mii1_rxd0.rgmii1_rd0 */
    		0x13c ( PIN_INPUT_PULLDOWN | MUX_MODE2 ) /* (B16) mii1_rxd1.rgmii1_rd1 */
    		0x138 ( PIN_INPUT_PULLDOWN | MUX_MODE2 ) /* (E16) mii1_rxd2.rgmii1_rd2 */
    		0x134 ( PIN_INPUT_PULLDOWN | MUX_MODE2 ) /* (C14) mii1_rxd3.rgmii1_rd3 */
    			
    		>;
    	};
    		/* Optional sleep pin settings. Must manually enter values in 	the below skeleton. */
    	cpsw_sleep1: cpsw_sleep1 {
    		pinctrl-single,pins = <
    		0x114 (PIN_INPUT_PULLDOWN  ) /* (A13) mii1_tx_en.rgmii1_tctl */
    		0x118 (PIN_INPUT_PULLDOWN  ) /* (A15) mii1_rx_dv.rgmii1_rctl */
    		0x12c (PIN_INPUT_PULLDOWN  ) /* (D14) mii1_tx_clk.rgmii1_tclk */
    		0x130 (PIN_INPUT_PULLDOWN  ) /* (D13) mii1_rx_clk.rgmii1_rclk */
    		0x128 (PIN_INPUT_PULLDOWN  ) /* (B15) mii1_txd0.rgmii1_td0 */
    		0x124 (PIN_INPUT_PULLDOWN  ) /* (A14) mii1_txd1.rgmii1_td1 */
    		0x120 (PIN_INPUT_PULLDOWN  ) /* (C13) mii1_txd2.rgmii1_td2 */
    		0x11c (PIN_INPUT_PULLDOWN  ) /* (C16) mii1_txd3.rgmii1_td3 */
    		0x140 (PIN_INPUT | PULL_DISABLE  ) /* (F17) mii1_rxd0.rgmii1_rd0 */
    		0x13c (PIN_INPUT | PULL_DISABLE  ) /* (B16) mii1_rxd1.rgmii1_rd1 */
    		0x138 (PIN_INPUT | PULL_DISABLE  ) /* (E16) mii1_rxd2.rgmii1_rd2 */
    		0x134 (PIN_INPUT | PULL_DISABLE  ) /* (C14) mii1_rxd3.rgmii1_rd3 */	
    		>;
    	};
    	
    		
    	davinci_mdio_default: davinci_mdio_default {
    		pinctrl-single,pins = <
    			0x148 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0)	/* (A17) mdio_data.mdio_data */
    			0x14c (PIN_OUTPUT_PULLUP | MUX_MODE0)			/* (B17) mdio_clk.mdio_clk */
    		>;
    	};
    
    	/* Optional sleep pin settings. Must manually enter values in 	the below skeleton. */
    	davinci_mdio_sleep: davinci_mdio_sleep {
    		pinctrl-single,pins = <
    			0x148 (PIN_INPUT | PULL_DISABLE | MUX_MODE7 ) /* (A17) mdio_data.mdio_data */
    			0x14c (PIN_INPUT | PULL_DISABLE | MUX_MODE7 ) /* (B17) mdio_clk.mdio_clk */
    			
    		>;
    	};
    
    wlan_irq_pins_default: wlan_irq_pins_default {
    	pinctrl-single,pins = <
    		0x7c ( PIN_INPUT | WAKEUP_ENABLE | MUX_MODE7 ) /* (A8) gpmc_csn0.gpio1[29] */
    		
    	>;
    };
    /* Optional sleep pin settings. Must manually enter values in the below skeleton. */
    wlan_irq_pins_sleep: wlan_irq_pins_sleep {
    	pinctrl-single,pins = <
    		0x7c ( PIN_INPUT | WAKEUP_ENABLE | MUX_MODE7 ) /* (A8) gpmc_csn0.gpio1[29] */
    	>;
    };
    	
    	dss_pinctrl_default: dss_pinctrl_default {
    		pinctrl-single,pins = <
    			0xe0 (PIN_OUTPUT_PULLUP | MUX_MODE0 ) /* (B23) dss_vsync.dss_vsync */
    			0xe4 (PIN_OUTPUT_PULLUP | MUX_MODE0 ) /* (A23) dss_hsync.dss_hsync */
    			0xe8 (PIN_OUTPUT_PULLUP | MUX_MODE0 ) /* (A22) dss_pclk.dss_pclk */
    			0xec (PIN_OUTPUT_PULLUP | MUX_MODE0 ) /* (A24) dss_ac_bias_en.dss_ac_bias_en */
    			0xa0 (PIN_OUTPUT_PULLUP | MUX_MODE0 ) /* (B22) dss_data0.dss_data0 */
    			0xa4 (PIN_OUTPUT_PULLUP | MUX_MODE0 ) /* (A21) dss_data1.dss_data1 */
    			0xa8 (PIN_OUTPUT_PULLUP | MUX_MODE0 ) /* (B21) dss_data2.dss_data2 */
    			0xac (PIN_OUTPUT_PULLUP | MUX_MODE0 ) /* (C21) dss_data3.dss_data3 */
    			0xb0 (PIN_OUTPUT_PULLUP | MUX_MODE0 ) /* (A20) dss_data4.dss_data4 */
    			0xb4 (PIN_OUTPUT_PULLUP | MUX_MODE0 ) /* (B20) dss_data5.dss_data5 */
    			0xb8 (PIN_OUTPUT_PULLUP | MUX_MODE0 ) /* (C20) dss_data6.dss_data6 */
    			0xbc (PIN_OUTPUT_PULLUP | MUX_MODE0 ) /* (E19) dss_data7.dss_data7 */
    			0xc0 (PIN_OUTPUT_PULLUP | MUX_MODE0 ) /* (A19) dss_data8.dss_data8 */
    			0xc4 (PIN_OUTPUT_PULLUP | MUX_MODE0 ) /* (B19) dss_data9.dss_data9 */
    			0xc8 (PIN_OUTPUT_PULLUP | MUX_MODE0 ) /* (A18) dss_data10.dss_data10 */
    			0xcc (PIN_OUTPUT_PULLUP | MUX_MODE0 ) /* (B18) dss_data11.dss_data11 */
    			0xd0 (PIN_OUTPUT_PULLUP | MUX_MODE0 ) /* (C19) dss_data12.dss_data12 */
    			0xd4 (PIN_OUTPUT_PULLUP | MUX_MODE0 ) /* (D19) dss_data13.dss_data13 */
    			0xd8 (PIN_OUTPUT_PULLUP | MUX_MODE0 ) /* (C17) dss_data14.dss_data14 */
    			0xdc (PIN_OUTPUT_PULLUP | MUX_MODE0 ) /* (D17) dss_data15.dss_data15 */
    			0x1cc (PIN_OUTPUT_PULLUP | MUX_MODE2 ) /* (AC24) cam1_data9.dss_data16 */
    			0x1c8 (PIN_OUTPUT_PULLUP | MUX_MODE2 ) /* (AA19) cam0_data9.dss_data17 */
    			0x1c4 (PIN_OUTPUT_PULLUP | MUX_MODE2 ) /* (AB19) cam0_data8.dss_data18 */
    			0x1c0 (PIN_OUTPUT_PULLUP | MUX_MODE2 ) /* (AC20) cam0_pclk.dss_data19 */
    			0x1bc (PIN_OUTPUT_PULLUP | MUX_MODE2 ) /* (AD17) cam0_wen.dss_data20 */
    			0x1b8 (PIN_OUTPUT_PULLUP | MUX_MODE2 ) /* (AC18) cam0_field.dss_data21 */
    			0x1b4 (PIN_OUTPUT_PULLUP | MUX_MODE2 ) /* (AD18) cam0_vd.dss_data22 */
    			0x1b0 (PIN_OUTPUT_PULLUP | MUX_MODE2 ) /* (AE17) cam0_hd.dss_data23 */
    		>;
    	};
    
    	/* Optional sleep pin settings. Must manually enter values in 	the below skeleton. */
    	dss_pinctrl_sleep: dss_pinctrl_sleep {
    		pinctrl-single,pins = <
    			0xe0 (DS0_PULL_UP_DOWN_EN | PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (B23) dss_vsync.dss_vsync */
    			0xe4 (DS0_PULL_UP_DOWN_EN | PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (A23) dss_hsync.dss_hsync */
    			0xe8 (DS0_PULL_UP_DOWN_EN | PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (A22) dss_pclk.dss_pclk */
    			0xec (DS0_PULL_UP_DOWN_EN | PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (A24) dss_ac_bias_en.dss_ac_bias_en */
    			0xa0 (DS0_PULL_UP_DOWN_EN | INPUT_EN | PULL_DISABLE | MUX_MODE7 ) /* (B22) dss_data0.dss_data0 */
    			0xa4 (DS0_PULL_UP_DOWN_EN | INPUT_EN | PULL_DISABLE | MUX_MODE7 ) /* (A21) dss_data1.dss_data1 */
    			0xa8 (DS0_PULL_UP_DOWN_EN | INPUT_EN | PULL_DISABLE | MUX_MODE7 ) /* (B21) dss_data2.dss_data2 */
    			0xac (DS0_PULL_UP_DOWN_EN | INPUT_EN | PULL_DISABLE | MUX_MODE7 ) /* (C21) dss_data3.dss_data3 */
    			0xb0 (DS0_PULL_UP_DOWN_EN | INPUT_EN | PULL_DISABLE | MUX_MODE7 ) /* (A20) dss_data4.dss_data4 */
    			0xb4 (DS0_PULL_UP_DOWN_EN | INPUT_EN | PULL_DISABLE | MUX_MODE7 ) /* (B20) dss_data5.dss_data5 */
    			0xb8 (DS0_PULL_UP_DOWN_EN | INPUT_EN | PULL_DISABLE | MUX_MODE7 ) /* (C20) dss_data6.dss_data6 */
    			0xbc (DS0_PULL_UP_DOWN_EN | PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (E19) dss_data7.dss_data7 */
    			0xc0 (DS0_PULL_UP_DOWN_EN | PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (A19) dss_data8.dss_data8 */
    			0xc4 (DS0_PULL_UP_DOWN_EN | INPUT_EN | PULL_DISABLE | MUX_MODE7 ) /* (B19) dss_data9.dss_data9 */
    			0xc8 (DS0_PULL_UP_DOWN_EN | PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (A18) dss_data10.dss_data10 */
    			0xcc (DS0_PULL_UP_DOWN_EN | PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (B18) dss_data11.dss_data11 */
    			0xd0 (DS0_PULL_UP_DOWN_EN | INPUT_EN | PULL_DISABLE | MUX_MODE7 ) /* (C19) dss_data12.dss_data12 */
    			0xd4 (DS0_PULL_UP_DOWN_EN | INPUT_EN | PULL_DISABLE | MUX_MODE7 ) /* (D19) dss_data13.dss_data13 */
    			0xd8 (DS0_PULL_UP_DOWN_EN | INPUT_EN | PULL_DISABLE | MUX_MODE7 ) /* (C17) dss_data14.dss_data14 */
    			0xdc (DS0_PULL_UP_DOWN_EN | PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (D17) dss_data15.dss_data15 */
    			0x1cc (DS0_PULL_UP_DOWN_EN | PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (AC24) cam1_data9.dss_data16 */
    			0x1c8 (DS0_PULL_UP_DOWN_EN | PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (AA19) cam0_data9.dss_data17 */
    			0x1c4 (DS0_PULL_UP_DOWN_EN | PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (AB19) cam0_data8.dss_data18 */
    			0x1c0 (DS0_PULL_UP_DOWN_EN | PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (AC20) cam0_pclk.dss_data19 */
    			0x1bc (DS0_PULL_UP_DOWN_EN | PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (AD17) cam0_wen.dss_data20 */
    			0x1b8 (DS0_PULL_UP_DOWN_EN | PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (AC18) cam0_field.dss_data21 */
    			0x1b4 (DS0_PULL_UP_DOWN_EN | PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (AD18) cam0_vd.dss_data22 */
    			0x1b0 (DS0_PULL_UP_DOWN_EN | PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (AE17) cam0_hd.dss_data23 */
    		>;
    	};
    	
    	dcan0_pins_default: dcan0_pins_default {
    		pinctrl-single,pins = <
    			0x17c ( PIN_INPUT_PULLUP | MUX_MODE2 ) /* (L22) uart1_rtsn.dcan0_rx */
    			0x178 ( PIN_OUTPUT | MUX_MODE2 ) /* (K22) uart1_ctsn.dcan0_tx */
    		>;
    	};
    
    	/* Optional sleep pin settings. Must manually enter values in 	the below skeleton. */
    	dcan0_pins_sleep: dcan0_pins_sleep {
    		pinctrl-single,pins = <
    			0x17c (PIN_INPUT_PULLUP | MUX_MODE7 ) /* (L22) uart1_rtsn.dcan0_rx */
    			0x178 (PIN_INPUT_PULLUP | MUX_MODE7 ) /* (K22) uart1_ctsn.dcan0_tx */
    		>;
    	};
    
    	dcan1_pins_default: dcan1_pins_default {
    		pinctrl-single,pins = <
    			0x16c ( PIN_INPUT_PULLUP | MUX_MODE2 ) /* (J25) uart0_rtsn.dcan1_rx */
    			0x168 ( PIN_OUTPUT | MUX_MODE2 ) /* (L25) uart0_ctsn.dcan1_tx */
    		>;
    	};
    
    	/* Optional sleep pin settings. Must manually enter values in 	the below skeleton. */
    	dcan1_pins_sleep: dcan1_pins_sleep {
    		pinctrl-single,pins = <
    			0x16c (PIN_INPUT_PULLUP | MUX_MODE7 ) /* (J25) uart0_rtsn.dcan1_rx */
    			0x168 (PIN_INPUT_PULLUP | MUX_MODE7 ) /* (L25) uart0_ctsn.dcan1_tx */
    		>;
    	};
    	
    	cam1_pins_default: cam1_pins_default {
    		pinctrl-single,pins = <
    			0x1dc ( PIN_INPUT | MUX_MODE0 ) /* (AE21) cam1_pclk.cam1_pclk */
    			0x1e8 ( PIN_INPUT | MUX_MODE0 ) /* (AB20) cam1_data0.cam1_data0 */
    			0x1ec ( PIN_INPUT | MUX_MODE0 ) /* (AC21) cam1_data1.cam1_data1 */
    			0x1f0 ( PIN_INPUT | MUX_MODE0 ) /* (AD21) cam1_data2.cam1_data2 */
    			0x1f4 ( PIN_INPUT | MUX_MODE0 ) /* (AE22) cam1_data3.cam1_data3 */
    			0x1f8 ( PIN_INPUT | MUX_MODE0 ) /* (AD22) cam1_data4.cam1_data4 */
    			0x1fc ( PIN_INPUT | MUX_MODE0 ) /* (AE23) cam1_data5.cam1_data5 */
    			0x200 ( PIN_INPUT | MUX_MODE0 ) /* (AD23) cam1_data6.cam1_data6 */
    			0x204 ( PIN_INPUT | MUX_MODE0 ) /* (AE24) cam1_data7.cam1_data7 */
    		>;
    	};
    
    	/* Optional sleep pin settings. Must manually enter values in 	the below skeleton. */
    	cam1_pins_sleep: cam1_pins_sleep {
    		pinctrl-single,pins = <
    			0x1dc (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7 ) /* (AE21) cam1_pclk.cam1_pclk */
    			0x1e8 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7 ) /* (AB20) cam1_data0.cam1_data0 */
    			0x1ec (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7 ) /* (AC21) cam1_data1.cam1_data1 */
    			0x1f0 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7 ) /* (AD21) cam1_data2.cam1_data2 */
    			0x1f4 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7 ) /* (AE22) cam1_data3.cam1_data3 */
    			0x1f8 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7 ) /* (AD22) cam1_data4.cam1_data4 */
    			0x1fc (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7 ) /* (AE23) cam1_data5.cam1_data5 */
    			0x200 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7 ) /* (AD23) cam1_data6.cam1_data6 */
    			0x204 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7 ) /* (AE24) cam1_data7.cam1_data7 */
    			>;
    	};
    	
    	mcasp1_pins: mcasp1_pins {
    		pinctrl-single,pins = <
    			0x10c ( PIN_INPUT_PULLDOWN | MUX_MODE4 ) /* (B14) mii1_crs.mcasp1_aclkx */
    			0x110 ( PIN_INPUT_PULLDOWN | MUX_MODE4 ) /* (B13) mii1_rx_er.mcasp1_fsx */
    			0x128 (PIN_OUTPUT_PULLDOWN | MUX_MODE3 ) /* (B15) mii1_txd0.mcasp1_axr2 */
    			0x144 ( PIN_INPUT_PULLDOWN | MUX_MODE4 ) /* (A16) rmii1_ref_clk.mcasp1_axr3 */
    		>;
    	};
    	
    	/* Optional sleep pin settings. Must manually enter values in 	the below skeleton. */
    	mcasp1_sleep_pins: mcasp1_sleep_pins {
    		pinctrl-single,pins = <
    			0x10c (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (B14) mii1_crs.mcasp1_aclkx */
    			0x110 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (B13) mii1_rx_er.mcasp1_fsx */
    			0x128 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (B15) mii1_txd0.mcasp1_axr2 */
    			0x144 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (A16) rmii1_ref_clk.mcasp1_axr3 */
    		>;
    	};
    	
    	uart0_pins_default: uart0_pins_default {
    		pinctrl-single,pins = <
    			0x170 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | DS0_PULL_UP_DOWN_EN | MUX_MODE0 ) /* (K25) uart0_rxd.uart0_rxd */
    			0x174 (PIN_OUTPUT_PULLUP | PULL_DISABLE | SLEWCTRL_FAST | DS0_PULL_UP_DOWN_EN | MUX_MODE0 ) /* (J24) uart0_txd.uart0_txd */
    		>;
    	};
    
    	/* Optional sleep pin settings. Must manually enter values in 	the below skeleton. */
    	uart0_pins_sleep: uart0_pins_sleep {
    		pinctrl-single,pins = <
    			0x170 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | DS0_PULL_UP_DOWN_EN | MUX_MODE0 ) /* (K25) uart0_rxd.uart0_rxd */
    			0x174 (PIN_INPUT_PULLDOWN | SLEWCTRL_FAST | DS0_PULL_UP_DOWN_EN | MUX_MODE0 ) /* (J24) uart0_txd.uart0_txd */
    		>;
    	};
    	
    	/*
    	mmc2_pins_default: mmc2_pins_default {
    		pinctrl-single,pins = <
    			0x13c (PIN_INPUT_PULLUP | MUX_MODE6 ) // (B16) mii1_rxd1.mmc2_clk 
    			0x114 (PIN_INPUT_PULLUP | MUX_MODE6 ) // (A13) mii1_tx_en.mmc2_cmd 
    			0x118 (PIN_INPUT_PULLUP | MUX_MODE5 ) // (A15) mii1_rx_dv.mmc2_dat0 
    			0x11c (PIN_INPUT_PULLUP | MUX_MODE5 ) // (C16) mii1_txd3.mmc2_dat1 
    			0x120 (PIN_INPUT_PULLUP | MUX_MODE5 ) // (C13) mii1_txd2.mmc2_dat2 
    			0x108 (PIN_INPUT_PULLUP | MUX_MODE5 ) // (D16) mii1_col.mmc2_dat3 
    		>;
    	};
        */
    	/* Optional sleep pin settings. Must manually enter values in 	the below skeleton. */
    	
    	/*
    	mmc2_pins_sleep: mmc2_pins_sleep {
    		pinctrl-single,pins = <
    			0x13c (PIN_INPUT_PULLDOWN | MUX_MODE7 )  //(B16) mii1_rxd1.mmc2_clk 
    			0x114 (PIN_INPUT_PULLDOWN | MUX_MODE7 )  //(A13) mii1_tx_en.mmc2_cmd 
    			0x118 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) //(A15) mii1_rx_dv.mmc2_dat0 
    			0x11c (PIN_INPUT_PULLDOWN | MUX_MODE7 ) // (C16) mii1_txd3.mmc2_dat1 
    			0x120 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) // (C13) mii1_txd2.mmc2_dat2 
    			0x108 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) // (D16) mii1_col.mmc2_dat3 
    		>;
    	};
    	*/
    	uart3_pins: uart3_pins {
    		pinctrl-single,pins = <
    			0x228 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0 )		/* uart3_rxd.uart3_rxd */
    			0x22c (PIN_INPUT_PULLDOWN | SLEWCTRL_FAST | MUX_MODE0) /* uart3_txd.uart3_txd */
    			0x230 (PIN_INPUT_PULLUP | MUX_MODE0)	/* uart3_ctsn.uart3_ctsn */
    			0x234 (PIN_OUTPUT_PULLUP | MUX_MODE0) /* uart3_rtsn.uart3_rtsn */
    		>;
    	};
    	
    	debugss_pins: pinmux_debugss_pins {
    		pinctrl-single,pins = <
    			0x290 ( PIN_INPUT | MUX_MODE0 ) /* (Y24) TMS.TMS */
    			0x294 ( PIN_INPUT | MUX_MODE0 ) /* (Y20) TDI.TDI */
    			0x298 ( PIN_OUTPUT | MUX_MODE0 ) /* (AA24) TDO.TDO */
    			0x29c ( PIN_INPUT | MUX_MODE0 ) /* (AA25) TCK.TCK */
    			0x2a0 ( PIN_INPUT | MUX_MODE0 ) /* (Y25) nTRST.nTRST */
    			0x2a4 ( PIN_INPUT | MUX_MODE0 ) /* (N23) EMU0.EMU0 */
    			0x2a8 ( PIN_INPUT | MUX_MODE0 ) /* (T24) EMU1.EMU1 */
    		>;
    	};
    	
    	usb_host1_pins_default: usb_host1_pins_default {
    	pinctrl-single,pins = <
    			0x2c0 (DS0_PULL_UP_DOWN_EN | PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (G21) USB0_DRVVBUS.USB0_DRVVBUS */
    		>;
    	};
    
    	/* Optional sleep pin settings. Must manually enter values in 	the below skeleton. */
    	usb_host1_pins_sleep: usb_host1_pins_sleep {
    		pinctrl-single,pins = <
    			0x2c0 (DS0_PULL_UP_DOWN_EN | PIN_INPUT_PULLDOWN ) /* (G21) USB0_DRVVBUS.USB0_DRVVBUS */
    		>;
    	};
    
    	usb_host2_pins_default: usb_host2_pins_default {
    		pinctrl-single,pins = <
    			0x2c4 (DS0_PULL_UP_DOWN_EN | PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (F25) USB1_DRVVBUS.USB1_DRVVBUS */
    		>;
    	};
    
    	/* Optional sleep pin settings. Must manually enter values in 	the below skeleton. */
    	usb_host2_pins_sleep: usb_host2_pins_sleep {
    		pinctrl-single,pins = <
    			0x2c4 (DS0_PULL_UP_DOWN_EN | PIN_INPUT_PULLDOWN ) /* (F25) USB1_DRVVBUS.USB1_DRVVBUS */
    		>;
    	};
    	
    	spi_pins_default: spi_pins_default {
    		pinctrl-single,pins = <
    			0x190 ( PIN_INPUT | MUX_MODE3 ) /* (N24) mcasp0_aclkx.spi1_sclk */
    			0x194 ( PIN_INPUT | MUX_MODE3 ) /* (N22) mcasp0_fsx.spi1_d0 */
    			0x198 ( PIN_INPUT | MUX_MODE3 ) /* (H23) mcasp0_axr0.spi1_d1 */
    			0x19c ( PIN_OUTPUT | MUX_MODE3 ) /* (M24) mcasp0_ahclkr.spi1_cs0 */
    		>;
    	};
    
    	gpio2_pins_default: gpio2_pins_default {
    		pinctrl-single,pins = <
    			0x88 ( PIN_OUTPUT_PULLUP | MUX_MODE7 ) /* (B12) gpmc_csn3.gpio2[0] */
    			0x8c ( PIN_OUTPUT_PULLUP | MUX_MODE7 ) /* (A12) gpmc_clk.gpio2[1] */
    			0x90 ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (A9) gpmc_advn_ale.gpio2[2] */
    			//0x94 ( PIN_OUTPUT_PULLUP | MUX_MODE7 ) /* (E10) gpmc_oen_ren.gpio2[3] *//* USB OTG Config */
    		>;
    	};
    
    	gpio1_pins_default: gpio1_pins_default {
    		pinctrl-single,pins = <
    			//0x0 ( PIN_INPUT | MUX_MODE7 ) /* (B5) gpmc_ad0.gpio1[0] *//* Connected to power controlling uC */
    			//0x4 ( PIN_INPUT | MUX_MODE7 ) /* (A5) gpmc_ad1.gpio1[1] *//* Connected to power controlling uC */
    			0xc ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (A6) gpmc_ad3.gpio1[3] */
    			0x14 ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (A7) gpmc_ad5.gpio1[5] */
    			0x78 ( PIN_OUTPUT_PULLUP | MUX_MODE7 ) /* (A3) gpmc_be1n.gpio1[28] */
    		>;
    	};
    
    	gpio0_pins_default: gpio0_pins_default {
    		pinctrl-single,pins = <
    			0x1a8 ( PIN_INPUT_PULLUP | MUX_MODE9 ) /* (M25) mcasp0_axr1.gpio0[2] */
    			0x1ac ( PIN_INPUT_PULLUP | MUX_MODE9 ) /* (L24) mcasp0_ahclkx.gpio0[3] */
    			0x158 ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (T21) spi0_d1.gpio0[4] */
    			0x15c ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (T20) spi0_cs0.gpio0[5] */
    			0x1a0 ( PIN_INPUT_PULLUP | MUX_MODE9 ) /* (L23) mcasp0_aclkr.gpio0[18] */
    			0x1a4 ( PIN_INPUT_PULLUP | MUX_MODE9 ) /* (K23) mcasp0_fsr.gpio0[19] */
    			0x264 ( PIN_INPUT_PULLUP | MUX_MODE9 ) /* (P22) spi2_d0.gpio0[20] */
    			0x268 ( PIN_INPUT_PULLUP | MUX_MODE9 ) /* (P20) spi2_d1.gpio0[21] */
    		>;
    	};
    
    	gpio5_pins_default: gpio5_pins_default {
    		pinctrl-single,pins = <
    			0x250 ( PIN_OUTPUT_PULLUP | MUX_MODE7 ) /* (P25) spi4_sclk.gpio5[4] */
    			0x254 ( PIN_OUTPUT_PULLUP | MUX_MODE7 ) /* (R24) spi4_d0.gpio5[5] */
    			0x258 ( PIN_OUTPUT_PULLUP | MUX_MODE7 ) /* (P24) spi4_d1.gpio5[6] */
    			0x25c ( PIN_OUTPUT_PULLUP | MUX_MODE7 ) /* (N25) spi4_cs0.gpio5[7] */
    			0x238 ( PIN_OUTPUT_PULLUP | MUX_MODE7 ) /* (D25) gpio5_8.gpio5[8] */
    			0x23c ( PIN_OUTPUT_PULLUP | MUX_MODE7 ) /* (F24) gpio5_9.gpio5[9] */
    			0x244 ( PIN_OUTPUT_PULLUP | MUX_MODE7 ) /* (F23) gpio5_11.gpio5[11] */
    		>;
    	};
    	
    	gpio4_pins_default: gpio4_pins_default {
    		pinctrl-single,pins = <
    			0x210 ( PIN_OUTPUT_PULLUP | MUX_MODE7 ) /* (Y18) cam0_data2.gpio4[24] */
    			0x214 ( PIN_OUTPUT_PULLUP | MUX_MODE7 ) /* (AA18) cam0_data3.gpio4[25] */
    			0x218 ( PIN_OUTPUT_PULLUP | MUX_MODE7 ) /* (AE19) cam0_data4.gpio4[26] */
    			0x21c ( PIN_OUTPUT_PULLUP | MUX_MODE7 ) /* (AD19) cam0_data5.gpio4[27] */
    			0x220 ( PIN_OUTPUT_PULLUP | MUX_MODE7 ) /* (AE20) cam0_data6.gpio4[28] */
    			0x224 ( PIN_OUTPUT_PULLUP | MUX_MODE7 ) /* (AD20) cam0_data7.gpio4[29] */
    		>;
    	};
    
    	gpio3_pins_default: gpio3_pins_default {
    		pinctrl-single,pins = <
    			0x260 ( PIN_INPUT_PULLUP | MUX_MODE7 ) /* (N20) spi2_sclk.gpio3[24] */
    		>;
    	};
    
    	rtc1_pins_default: rtc1_pins_default {
    	pinctrl-single,pins = <
    			0x2b4 ( PIN_INPUT_PULLUP | MUX_MODE0 ) 
    			0x2b8 ( PIN_INPUT_PULLUP | MUX_MODE0 ) 
    			0x2bc ( PIN_OUTPUT_PULLUP | MUX_MODE0 ) 
    		>;
    	};
    
    	glue1_pins_default: glue1_pins_default {
    		pinctrl-single,pins = <
    			0x27c ( PIN_INPUT_PULLUP | MUX_MODE0 ) /* (G22) WARMRSTn.nRESETIN_OUT */
    			0x280 ( PIN_INPUT_PULLUP | MUX_MODE0 ) /* (Y23) PWRONRSTn.porz */
    		>;
    	};
    
    	osc1_pins_default: osc1_pins_default {
    		pinctrl-single,pins = <
    			0x288 ( PIN_INPUT | MUX_MODE0 ) /* (C25) XTALIN.OSC0_IN */
    			0x28c ( PIN_OUTPUT | MUX_MODE0 ) /* (B25) XTALOUT.OSC0_OUT */
    		>;
    	};
    
    	osc2_pins_default: osc2_pins_default {
    		pinctrl-single,pins = <
    			0x2ac ( PIN_INPUT | MUX_MODE0 ) 
    			0x2b0 ( PIN_OUTPUT | MUX_MODE0 ) 
    		>;
    	};
    
    
    	uart1_pins_default: uart1_pins_default {
    		pinctrl-single,pins = <
    			0x180 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | DS0_PULL_UP_DOWN_EN | MUX_MODE0 ) /* (K21) uart1_rxd.uart1_rxd */
    			0x184 (PIN_OUTPUT_PULLUP | PULL_DISABLE | SLEWCTRL_FAST | DS0_PULL_UP_DOWN_EN  | MUX_MODE0 ) /* (L21) uart1_txd.uart1_txd */
    		>;
    	};
    
    	uart2_pins_default: uart2_pins_default {
    		pinctrl-single,pins = <
    			0x150 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | DS0_PULL_UP_DOWN_EN | MUX_MODE1 ) /* (P23) spi0_sclk.uart2_rxd */
    			0x154 (PIN_OUTPUT_PULLUP | PULL_DISABLE | SLEWCTRL_FAST | DS0_PULL_UP_DOWN_EN  | MUX_MODE1 ) /* (T22) spi0_d0.uart2_txd */
    		>;
    	};
    
    	uart4_pins_default: uart4_pins_default {
    		pinctrl-single,pins = <
    			0x70 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | DS0_PULL_UP_DOWN_EN | MUX_MODE6 ) /* (A2) gpmc_wait0.uart4_rxd */
    			0x74 (PIN_OUTPUT_PULLUP | PULL_DISABLE | SLEWCTRL_FAST | DS0_PULL_UP_DOWN_EN  | MUX_MODE6 ) /* (B3) gpmc_wpn.uart4_txd */
    		>;
    	};
    	
    	uart5_pins_default: uart5_pins_default {
    	pinctrl-single,pins = <
    		0x108 ( PIN_INPUT | MUX_MODE3 ) /* (D16) mii1_col.uart5_rxd */
    		0x144 ( PIN_OUTPUT | MUX_MODE3 ) /* (A16) rmii1_ref_clk.uart5_txd */
    	>;
    };
    	
    
    	myarm1_pins_default: myarm1_pins_default {
    		pinctrl-single,pins = <
    			0x284 ( PIN_INPUT_PULLUP | MUX_MODE0 ) /* (G25) EXTINTn.nNMI */
    		>;
    	};
    };
    
    &i2c0 {
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&i2c0_pins>;
    	clock-frequency = <100000>;
    
    	tps65218: tps65218@24 {
    		reg = <0x24>;
    		compatible = "ti,tps65218";
    		interrupts = <GIC_SPI 7 IRQ_TYPE_NONE>; /* NMIn */
    		interrupt-controller;
    		#interrupt-cells = <2>;
    
    		dcdc1: regulator-dcdc1 {
    			compatible = "ti,tps65218-dcdc1";
    			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";
    			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 = "vdcdc3";
    			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;
    			};
    		};
    
    		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-min-microvolt = <1800000>;
    			regulator-max-microvolt = <1800000>;
    			regulator-boot-on;
    			regulator-always-on;
    		};
    	};
    	
    	adv7180: adv7180@21 {
        compatible = "adi,adv7180";
        reg = <0x21>;
        status = "okay";
        port {
    				adv7180_1: endpoint {
    					remote-endpoint = <&vpfe1_ep>;
    					num-channels = <1>;
    				};
        };
    	};
    	
    	tlv320aic3106: tlv320aic3106@18 {
    		#sound-dai-cells = <0>;
    		compatible = "ti,tlv320aic3x";
    		reg = <0x18>;
    		status = "okay";
    
    		/* Regulators */
    		IOVDD-supply = <&evm_v3_3d>; /* V3_3D -> <tps63031> EN: V1_8D -> VBAT */
    		AVDD-supply = <&evm_v3_3d>; /* v3_3AUD -> V3_3D -> ... */
    		DRVDD-supply = <&evm_v3_3d>; /* v3_3AUD -> V3_3D -> ... */
    		DVDD-supply = <&ldo1>; /* V1_8D -> LDO1 */
    	};
    };
    
    &vpfe1 {
    	 status = "okay";
        	pinctrl-names = "default";
        	pinctrl-0 = <&cam1_pins_default>;    
           
    	port {
    		vpfe1_ep: endpoint {
    			slave-mode;
    			remote-endpoint = <&adv7180_1>;
    			ti,am437x-vpfe-interface = <1>;
    			bus-width = <8>;
    				
    		};
    	};
    };
    
    
    &i2c1 {
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&i2c1_pins_default>;
    	clock-frequency = <100000>;
    	
    	tca8418:tca8418@47 {
         compatible = "ti,tca8418"; 
         reg = <0x47>;
         irq-gpio = <&gpio1 3 GPIO_ACTIVE_HIGH>;
         status = "okay";
         };
    	
    };
    
    &epwmss0 {
    	status = "okay";
    };
    
    &tscadc {
    	status = "okay";
    
    	adc {
    		ti,adc-channels = <0 1 2 3 4 5 6 7>;
    	};
    };
    
    &ecap0 {
    	status = "okay";
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&ecap0_pins_default>;
    	pinctrl-1 = <&ecap0_pins_sleep>;
    };
    
    &gpio0 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&gpio0_pins_default>;
    	status = "okay";	
    };
    
    &gpio5 {
    	status = "okay";
    };
    
    &gpio2 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&gpio2_pins_default>;
    	status = "okay";
    	
    	p0 {
    		gpio-hog;
    		gpios = <0 GPIO_ACTIVE_HIGH>;
    		output-high;
    		line-name = "LCD_BK_EN";
    	};
    	
    	p1 {
    		gpio-hog;
    		gpios = <1 GPIO_ACTIVE_HIGH>;
    		output-high;
    		line-name = "GPIO_VTTEN";
    	};
    	
    	p2 {
    		gpio-hog;
    		gpios = <2 GPIO_ACTIVE_HIGH>;
    		input;
    		line-name = "TIMEPULSE";
    	};
    };
    
    &gpio1 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&gpio1_pins_default>;
    	status = "okay";
    	/*
    	p3 {
    		gpio-hog;
    		gpios = <3 GPIO_ACTIVE_HIGH>;
    		input;
    		line-name = "I2C1_Ext IRQ";
    	};
    	
    	p5 {
    		gpio-hog;
    		gpios = <5 GPIO_ACTIVE_HIGH>;
    		input;
    		line-name = "Keypd IRQ";
    	};
    	*/
    	p28 {
    		gpio-hog;
    		gpios = <28 GPIO_ACTIVE_LOW>;
    		output-high;
    		line-name = "eMMC Resetn";
    	};
    };
    
    &gpio3 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&gpio3_pins_default>;
    	status = "okay";
    	/*
    	p24 {
    		gpio-hog;
    		gpios = <24 GPIO_ACTIVE_LOW>;
    		output-high;
    		lines-name = "VidIn PWDN";
    	};*/
    };
    
    &gpio4 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&gpio4_pins_default>;
    	status = "okay";
    	/*
    	p24 {
    		gpio-hog;
    		gpios = <24 GPIO_ACTIVE_HIGH>;
    		output-low;
    		lines-name = "LTC2872_1_Mode0";
    	};
    	
    	p25 {
    		gpio-hog;
    		gpios = <25 GPIO_ACTIVE_HIGH>;
    		output-low;
    		lines-name = "LTC2872_1_Mode1";
    	};
    	
    	p26 {
    		gpio-hog;
    		gpios = <26 GPIO_ACTIVE_HIGH>;
    		output-high;
    		lines-name = "LTC2872_1_Mode2";
    	};
    	
    	p27 {
    		gpio-hog;
    		gpios = <27 GPIO_ACTIVE_HIGH>;
    		output-low;
    		lines-name = "LTC2872_2_Mode0";
    	};
    	
    	p28 {
    		gpio-hog;
    		gpios = <28 GPIO_ACTIVE_HIGH>;
    		output-low;
    		lines-name = "LTC2872_2_Mode1";
    	};
    	
    	p29 {
    		gpio-hog;
    		gpios = <29 GPIO_ACTIVE_HIGH>;
    		output-high;
    		lines-name = "LTC2872_2_Mode2";
    	};
    	*/
    };
    
    &mmc1 {
    	status = "okay";
    	vmmc-supply = <&evm_v3_3d>;
    	bus-width = <4>;
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&sd_card_pins_default>;
    	pinctrl-1 = <&sd_card_pins_sleep>;
    };
    
    &mmc2 {
    	status = "okay";
    	vmmc-supply = <&evm_v3_3d>;
    	bus-width = <8>;
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&emmc_pins_default>;
    	pinctrl-1 = <&emmc_pins_sleep>;
    	ti,non-removable;
    };
    
    &mmc3 {
    	status = "okay";
    	/* these are on the crossbar and are outlined in the
    	   xbar-event-map element */
    	dmas = <&edma 30
    		&edma 31>; 
    /*modified by wini */
    	/*dmas = <&edma_xbar 30 0 1>,
    		<&edma_xbar 31 0 2>;*/
    	dma-names = "tx", "rx";
    	vmmc-supply = <&vmmcwl_fixed>;
    	bus-width = <4>;
    	pinctrl-names = "default", "sleep";
    	/*pinctrl-0 = <&mmc2_pins_default>;
    	pinctrl-1 = <&mmc2_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";
    		reg = <2>;
    		/*below 2 lines wini*/ 
                    interrupt-parent = <&gpio0>;
    		interrupts = <18 IRQ_TYPE_LEVEL_HIGH>;
                    
    	};
    };
    
    &edma {
    	ti,edma-xbar-event-map = /bits/ 16 <1 30
    					    2 31>;
    };
    
    &uart3 {
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&uart3_pins>;
    };
    /* newly added */
    &uart1 {
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&uart1_pins_default>;
    };
    &uart2 {
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&uart2_pins_default>;
    };
    &uart4 {
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&uart4_pins_default>;
    };
    
    &uart5 {
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&uart5_pins_default>;
    };
    
    /* ******        */
    
    &usb2_phy1 {
    	status = "okay";
    };
    
    &usb1 {
    	dr_mode = "host";
    	status = "okay";
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&usb_host1_pins_default>;
    	pinctrl-1 = <&usb_host1_pins_sleep>;
    };
    
    &usb2_phy2 {
    	status = "okay";
    };
    
    &usb2 {
    	dr_mode = "host";
    	status = "okay";
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&usb_host2_pins_default>;
    	pinctrl-1 = <&usb_host2_pins_sleep>;
    };
    
    &mac { 
    	slaves = <2>;
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&cpsw_default  &cpsw_default1>; 
    	pinctrl-1 = <&cpsw_sleep &cpsw_sleep1>;  
        active_slave = <2>;  
        dual_emac;
    	status = "okay";  
    };
    
    &davinci_mdio {
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&davinci_mdio_default>;
    	pinctrl-1 = <&davinci_mdio_sleep>;
    	status = "okay";
    };
    
    /*&cpsw_emac1 to emac0    --wini */
    
    &cpsw_emac0 { 
    	phy_id = <&davinci_mdio>, <0>;
    	phy-mode = "rgmii";
    	dual_emac_res_vlan = <1>;
    };
    
    &cpsw_emac1 {
    	phy_id = <&davinci_mdio>, <1>;
    	phy-mode = "rgmii";
    	dual_emac_res_vlan = <2>;
    };
    
    
    &elm {
    	status = "okay";
    };
    
    &uart0 {
    	status = "okay";
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&uart0_pins_default>;
    	pinctrl-1 = <&uart0_pins_sleep>;
    };
    
    &dss {
    	status = "ok";
    
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&dss_pinctrl_default>;
    	pinctrl-1 = <&dss_pinctrl_sleep>;
    
    	port {
    		dpi_out: endpoint@0 {
    			remote-endpoint = <&lcd_in>;
    			data-lines = <24>;
    		};
    	};
    };
    
    &dcan0 {
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&dcan0_pins_default>;
    	pinctrl-1 = <&dcan0_pins_sleep>;
    	status = "okay";
    };
    
    &dcan1 {
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&dcan1_pins_default>;
    	pinctrl-1 = <&dcan1_pins_sleep>;
    	status = "okay";
    };
    
    &mcasp1 {
    	#sound-dai-cells = <0>;
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&mcasp1_pins>;
    	pinctrl-1 = <&mcasp1_sleep_pins>;
    
    	status = "okay";
    
    	op-mode = <0>; /* MCASP_IIS_MODE */
    	tdm-slots = <2>;
    	/* 4 serializers */
    	serial-dir = <  /* 0: INACTIVE, 1: TX, 2: RX */
    		0 0 1 2
    	>;
    	tx-num-evt = <32>;
    	rx-num-evt = <32>;
    };
    
    &wkup_m3_ipc {
    	ti,set-io-isolation;
    	ti,scale-data-fw = "am43x-evm-scale-data.bin";
    };
    
    &cpu {
    	cpu0-supply = <&dcdc2>;
    };
    
    /*
    &rtc {
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&rtc1_pins_default>;
    };
    */
    /* changed by wini */
    &rtc {
    	clocks = <&clk_32k_rtc>, <&clk_32768_ck>;
    	clock-names = "ext-clk", "int-clk";
    	status = "okay";
    };
    
    &sgx {
    	status = "okay";
    };
    

    U-Boot SPL 2015.07-00114-gf8d68d1-dirty (Sep 12 2016 - 14:28:40)                
    SPL: Please implement spl_start_uboot() for your board                          
    SPL: Direct Linux boot not active!                                              
    reading u-boot.img                                                              
    reading u-boot.img                                                              
                                                                                    
                                                                                    
    U-Boot 2015.07-00114-gf8d68d1-dirty (Sep 12 2016 - 14:28:40 +0530)              
                                                                                    
    I2C:   ready                                                                    
    DRAM:  2 GiB                                                                    
    PMIC:  TPS65218                                                                 
    NAND:  0 MiB                                                                    
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1                                           
    reading uboot.env                                                               
    Ignoring I2C EEPROM                                                             
    Futura Automation ARM SBC                                                       
    Net:   cpsw, usb_ether                                                          
    Hit any key to stop autoboot:  0                                                
    switch to partitions #0, OK                                                     
    mmc0 is current device                                                          
    SD/MMC found on device 0                                                        
    reading uEnv.txt                                                                
    ** Unable to read file uEnv.txt **                                              
    3618960 bytes read in 171 ms (20.2 MiB/s)                                       
    52952 bytes read in 10 ms (5 MiB/s)                                             
    Booting from mmc0 ...                                                           
    Kernel image @ 0x82000000 [ 0x000000 - 0x373890 ]                               
    ## Flattened Device Tree blob at 88000000                                       
       Booting using the fdt blob at 0x88000000                                     
       Loading Device Tree to 8fff0000, end 8ffffed7 ... OK                         
                                                                                    
    Starting kernel ...                                                             
                                                                                    
    [    0.000000] Booting Linux on physical CPU 0x0                                
    [    0.000000] Linux version 4.9.41-ge3a80a1c5c (futura@futura) (gcc version 6.8
    [    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d 
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructie
    [    0.000000] OF: fdt:Machine model: TI AM437x GP EVM                          
    [    0.000000] efi: Getting EFI parameters from FDT:                            
    [    0.000000] efi: UEFI not found.                                             
    [    0.000000] cma: Reserved 48 MiB at 0xfcc00000                               
    [    0.000000] Memory policy: Data cache writeback                              
    [    0.000000] CPU: All CPU(s) started in SVC mode.                             
    [    0.000000] AM437x ES1.2 (sgx neon)                                          
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pa9
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=0005det
    [    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: 2016640K/2097148K available (7168K kernel code, 291K rwd)
    [    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 - 0xc0800000   (8160 kB)                
    [    0.000000]       .init : 0xc0b00000 - 0xc0c00000   (1024 kB)                
    [    0.000000]       .data : 0xc0c00000 - 0xc0c48d08   ( 292 kB)                
    [    0.000000]        .bss : 0xc0c48d08 - 0xc0c8f3f4   ( 282 kB)                
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, 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] L2C: platform modifies aux control register: 0x0e030000 -> 0x3e40
    [    0.000000] L2C: DT/platform modifies aux control register: 0x0e030000 -> 0x0
    [    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 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 0x4e430000                
    [    0.000000] OMAP clockevent source: timer2 at 24000000 Hz                    
    [    0.000011] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 8947s
    [    0.000028] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, mas
    [    0.000037] OMAP clocksource: timer1 at 24000000 Hz                          
    [    0.000418] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xfffffffs
    [    0.000427] OMAP clocksource: 32k_counter at 32768 Hz                        
    [    0.000785] Console: colour dummy device 80x30                               
    [    0.000809] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'       
    [    0.000815] This ensures that you still see kernel messages. Please          
    [    0.000820] update your kernel commandline.                                  
    [    0.000839] Calibrating delay loop... 1987.37 BogoMIPS (lpj=9936896)         
    [    0.060171] pid_max: default: 32768 minimum: 301                             
    [    0.060283] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)      
    [    0.060295] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) 
    [    0.061051] CPU: Testing write buffer coherency: ok                          
    [    0.061388] Setting up static identity map for 0x80100000 - 0x80100060       
    [    0.062128] EFI services will not be available.                              
    [    0.063062] devtmpfs: initialized                                            
    [    0.074323] VFP support v0.3: implementor 41 architecture 3 part 30 variant 4
    [    0.074621] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ms
    [    0.074643] futex hash table entries: 256 (order: -1, 3072 bytes)            
    [    0.077842] pinctrl core: initialized pinctrl subsystem                      
    [    0.078936] NET: Registered protocol family 16                               
    [    0.080320] DMA: preallocated 256 KiB pool for atomic coherent allocations   
    [    0.180182] cpuidle: using governor ladder                                   
    [    0.210168] cpuidle: using governor menu                                     
    [    0.211796] omap_l3_noc 44000000.ocp: L3 debug error: target 8 mod:0 (unclea)
    [    0.211855] omap_l3_noc 44000000.ocp: L3 application error: target 8 mod:0 ()
    [    0.216175] omap_gpio 44e07000.gpio: could not find pctldev for node /ocp@44e
    [    0.216461] omap_gpio 4804c000.gpio: could not find pctldev for node /ocp@44e
    [    0.216723] omap_gpio 481ac000.gpio: could not find pctldev for node /ocp@44e
    [    0.217002] omap_gpio 481ae000.gpio: could not find pctldev for node /ocp@44e
    [    0.217257] omap_gpio 48320000.gpio: could not find pctldev for node /ocp@44e
    [    0.218938] OMAP GPIO hardware version 0.1                                   
    [    0.226172] No ATAGs?                                                        
    [    0.226201] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint.
    [    0.226212] hw-breakpoint: maximum watchpoint size is 4 bytes.               
    [    0.266722] edma 49000000.edma: TI EDMA DMA engine driver                    
    [    0.270535] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp@4400e
    [    0.270595] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp@4400e
    [    0.270717] media: Linux media interface: v0.10                              
    [    0.270758] Linux video capture interface: v2.00                             
    [    0.270796] pps_core: LinuxPPS API ver. 1 registered                         
    [    0.270802] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giom>
    [    0.270834] PTP clock support registered                                     
    [    0.270870] EDAC MC: Ver: 3.0.0                                              
    [    0.271705] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400            
    [    0.272055] Advanced Linux Sound Architecture Driver Initialized.            
    [    0.273031] clocksource: Switched to clocksource timer1                      
    [    0.281216] NET: Registered protocol family 2                                
    [    0.281873] TCP established hash table entries: 8192 (order: 3, 32768 bytes) 
    [    0.281939] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)        
    [    0.282014] TCP: Hash tables configured (established 8192 bind 8192)         
    [    0.282152] UDP hash table entries: 512 (order: 1, 8192 bytes)               
    [    0.282173] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)          
    [    0.282294] NET: Registered protocol family 1                                
    [    0.282660] RPC: Registered named UNIX socket transport module.              
    [    0.282672] RPC: Registered udp transport module.                            
    [    0.282678] RPC: Registered tcp transport module.                            
    [    0.282684] RPC: Registered tcp NFSv4.1 backchannel transport module.        
    [    0.285007] workingset: timestamp_bits=14 max_order=19 bucket_order=5        
    [    0.290144] squashfs: version 4.0 (2009/01/31) Phillip Lougher               
    [    0.290871] NFS: Registering the id_resolver key type                        
    [    0.290903] Key type id_resolver registered                                  
    [    0.290910] Key type id_legacy registered                                    
    [    0.290950] ntfs: driver 2.1.32 [Flags: R/O].                                
    [    0.292392] bounce: pool size: 64 pages                                      
    [    0.292596] Block layer SCSI generic (bsg) driver version 0.4 loaded (major )
    [    0.292609] io scheduler noop registered                                     
    [    0.292616] io scheduler deadline registered                                 
    [    0.292722] io scheduler cfq registered (default)                            
    [    0.295758] pinctrl-single 44e10800.pinmux: 199 pins at pa f9e10800 size 796 
    [    0.298453] backlight supply power not found, using dummy regulator          
    [    0.344630] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled        
    [    0.347111] omap8250 44e09000.serial: No clock speed specified: using defaul0
    [    0.347883] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud =0
    [    1.089187] console [ttyS0] enabled                                          
    [    1.093176] omap8250 48022000.serial: No clock speed specified: using defaul0
    [    1.101831] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 31, base_baud =0
    [    1.111045] omap8250 48024000.serial: No clock speed specified: using defaul0
    [    1.119728] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 32, base_baud =0
    [    1.128912] omap8250 481a6000.serial: No clock speed specified: using defaul0
    [    1.137566] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 33, base_baud =0
    [    1.146732] omap8250 481a8000.serial: No clock speed specified: using defaul0
    [    1.155401] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 34, base_baud =0
    [    1.164564] omap8250 481aa000.serial: No clock speed specified: using defaul0
    [    1.173223] 481aa000.serial: ttyS5 at MMIO 0x481aa000 (irq = 35, base_baud =0
    [    1.183690] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20      
    [    1.190475] [drm] Initialized                                                
    [    1.194843] 4832a000.dss supply vdda_video not found, using dummy regulator  
    [    1.201954] OMAP DSS rev 2.0                                                 
    [    1.205045] omapdss_dss 4832a000.dss: bound 4832a400.dispc (ops dispc_compon)
    [    1.214103] display supply vcc not found, using dummy regulator              
    [    1.232615] brd: module loaded                                               
    [    1.241537] loop: module loaded                                              
    [    1.247125] libphy: Fixed MDIO Bus: probed                                   
    [    1.323095] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6            
    [    1.329232] davinci_mdio 4a101000.mdio: detected phy mask fffffffe           
    [    1.336317] libphy: 4a101000.mdio: probed                                    
    [    1.340360] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driY
    [    1.350884] cpsw 4a100000.ethernet: Detected MACID = a0:f6:fd:60:41:a1       
    [    1.357645] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    [    1.365769] cpsw 4a100000.ethernet: cpsw: Detected MACID = a0:f6:fd:60:41:a3 
    [    1.374164] mousedev: PS/2 mouse device common for all mice                  
    [    1.380077] i2c /dev entries driver                                          
    [    1.385474] cpuidle: enable-method property 'ti,am4372' found operations     
    [    1.513506] OF: /ocp@44000000/mmc@47810000: could not get #dma-cells for /ock
    [    1.526199] omap_hsmmc 47810000.mmc: RX DMA channel request failed           
    [    1.536583] ledtrig-cpu: registered to indicate activity on CPUs             
    [    1.544504] pinctrl-single 44e10800.pinmux: pin PIN74 already requested by 4p
    [    1.556078] pinctrl-single 44e10800.pinmux: pin-74 (4803c000.mcasp) status -2
    [    1.563445] mmc0: host does not support reading read-only switch, assuming we
    [    1.571599] mmc0: new high speed SDHC card at address aaaa                   
    [    1.577200] pinctrl-single 44e10800.pinmux: could not request pin 74 (PIN74)e
    [    1.577208] davinci-mcasp 4803c000.mcasp: Error applying setting, reverse thk
    [    1.577233] davinci-mcasp: probe of 4803c000.mcasp failed with error -22     
    [    1.581003] NET: Registered protocol family 10                               
    [    1.593648] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver              
    [    1.594239] NET: Registered protocol family 17                               
    [    1.594518] Key type dns_resolver registered                                 
    [    1.594722] omap_voltage_late_init: Voltage driver support not added         
    [    1.600399] omapdrm omapdrm.0: DMM not available, disable DMM support        
    [    1.600799] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).      
    [    1.600803] [drm] No driver support for vblank timestamp query.              
    [    1.672531] mmcblk0: mmc0:aaaa SC16G 14.8 GiB                                
    [    1.677895]  mmcblk0: p1 p2                                                  
    [    1.678794] mmc1: new high speed MMC card at address 0001                    
    [    1.679424] mmcblk1: mmc1:0001 00016G 14.6 GiB                               
    [    1.679700] mmcblk1boot0: mmc1:0001 00016G partition 1 4.00 MiB              
    [    1.679955] mmcblk1boot1: mmc1:0001 00016G partition 2 4.00 MiB              
    [    1.729910] Console: switching to colour frame buffer device 128x48          
    [    1.781977] omapdrm omapdrm.0: fb0: omapdrm frame buffer device              
    [    1.816140] GPIO line 92 (eMMC Resetn) hogged as output/high                 
    [    1.823399] pinctrl-single 44e10800.pinmux: pin PIN35 already requested by 4o
    [    1.834571] pinctrl-single 44e10800.pinmux: pin-35 (481ac000.gpio) status -22
    [    1.841760] pinctrl-single 44e10800.pinmux: could not request pin 35 (PIN35)e
    [    1.853766] omap_gpio 481ac000.gpio: Error applying setting, reverse things k
    [    1.861221] omap_gpio: probe of 481ac000.gpio failed with error -22          
    [    1.918873] omap_i2c 44e0b000.i2c: bus 0 rev0.12 at 100 kHz                  
    [    1.925744] omap_i2c 4802a000.i2c: bus 1 rev0.12 at 100 kHz                  
    [    1.933565] hctosys: unable to open rtc device (rtc0)                        
    [    1.939333] vmmcwl_fixed: disabling                                          
    [    1.942851] ALSA device list:                                                
    [    1.945962]   No soundcards found.                                           
    [    1.963012] random: fast init done                                           
    [    2.334546] EXT4-fs (mmcblk0p2): warning: mounting fs with errors, running ed
    [    2.348354] EXT4-fs (mmcblk0p2): recovery complete                           
    [    2.354346] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. )
    [    2.362573] VFS: Mounted root (ext4 filesystem) on device 179:2.             
    [    2.379751] devtmpfs: mounted                                                
    [    2.384819] Freeing unused kernel memory: 1024K (c0b00000 - c0c00000)        
    [    2.637147] systemd[1]: System time before build time, advancing clock.      
    [    2.708159] systemd[1]: systemd 230 running in system mode. (+PAM -AUDIT -SE)
    [    2.727161] systemd[1]: Detected architecture arm.                           
                                                                                    
    Welcome to Arago 2017.06!                                                       
                                                                                    
    [    2.767636] systemd[1]: Set hostname to <am437x-evm>.                        
    [    3.301336] systemd[1]: sysinit.target: Found ordering cycle on sysinit.targt
    [    3.309336] systemd[1]: sysinit.target: Found dependency on eGTouch.service/t
    [    3.316942] systemd[1]: sysinit.target: Found dependency on basic.target/stat
    [    3.324304] systemd[1]: sysinit.target: Found dependency on sockets.target/st
    [    3.331745] systemd[1]: sysinit.target: Found dependency on avahi-daemon.soct
    [    3.339651] systemd[1]: sysinit.target: Found dependency on sysinit.target/st
    [    3.347114] systemd[1]: sysinit.target: Breaking ordering cycle by deleting t
    [ SKIP ] Ordering cycle found, skipping eGTouch.service                         
    [ SKIP ] Ordering cycle found, skipping alignment.service                       
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.                    
    [  OK  ] Listening on udev Control Socket.                                      
    [  OK  ] Reached target Swap.                                                   
    [  OK  ] Listening on Network Service Netlink Socket.                           
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.         
    [  OK  ] Listening on Journal Socket (/dev/log).                                
    [  OK  ] Listening on Syslog Socket.                                            
    [  OK  ] Listening on Process Core Dump Socket.                                 
    [  OK  ] Created slice User and Session Slice.                                  
    [  OK  ] Created slice System Slice.                                            
    [  OK  ] Reached target Slices.                                                 
    [  OK  ] Listening on Journal Socket.                                           
             Starting Setup Virtual Console...                                      
             Mounting Debug File System...                                          
             Starting Load Kernel Modules...                                        
             Starting Remount Root and Kernel File Systems...                       
             Mounting Temporary Directory...                                        
    [    3.965060] cmemk: loading out-of-tree module taints kernel.                 
             [    4.002523] CMEMK module: reference Linux version 4.9.41            
    Starting Psplash Boot Screen...                                                 
    [    4.066113] no physical memory specified                                     
    [    4.070080] cmemk initialized                                                
    [    4.095057] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)                    
             Mounting POSIX Message Queue File System...                            
    [    4.150212] cryptodev: driver 1.8 loaded.                                    
    [  OK  ] Created slice system-serial\x2dgetty.slice.                            
             Starting Create list of required st... nodes for the current kernel... 
             Starting Journal Service...                                            
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.             
    [  OK  ] Reached target Paths.                                                  
    [  OK  ] Created slice system-getty.slice.                                      
    [  OK  ] Listening on udev Kernel Socket.                                       
    [  OK  ] Reached target Remote File Systems.                                    
    [  OK  ] Mounted POSIX Message Queue File System.                               
    [  OK  ] Mounted Debug File System.                                             
    [  OK  ] Mounted Temporary Directory.                                           
    [  OK  ] Started Journal Service.                                               
    [  OK  ] Started Setup Virtual Console.                                         
    [  OK  ] Started Load Kernel Modules.                                           
    [  OK  ] Started Remount Root and Kernel File Systems.                          
    [  OK  ] Started Psplash Boot Screen.                                           
    [  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...                                     
             Mounting Configuration File System...                                  
             Starting Flush Journal to Persistent Storage...                        
    [  OK  ] Started Create Static Device Nodes in /dev.                            
    [  OK  ] Started Apply Kernel Variables.                                        
    [  OK  ] Mounted Configuration File System.                                     
    [    5.053713] systemd-journald[110]: Received request to flush runtime journal1
    [  OK  ] Started Flush Journal to Persistent Storage.                           
             Starting udev Kernel Device Manager...                                 
    [  OK  ] Reached target Local File Systems (Pre).                               
             Mounting /media/ram...                                                 
             Mounting /var/volatile...                                              
    [  OK  ] Mounted /media/ram.                                                    
    [  OK  ] Mounted /var/volatile.                                                 
             Starting Load/Save Random Seed...                                      
    [  OK  ] Reached target Local File Systems.                                     
             Starting Create Volatile Files and Directories...                      
    [  OK  ] Started udev Kernel Device Manager.                                    
    [  OK  ] Started Load/Save Random Seed.                                         
    [  OK  ] Started Create Volatile Files and Directories.                         
             Starting Network Time Synchronization...                               
             Starting Update UTMP about System Boot/Shutdown...                     
    [  OK  ] Started Update UTMP about System Boot/Shutdown.                        
    [  OK  ] Started Network Time Synchronization.                                  
    [  OK  ] Reached target System Time Synchronized.                               
    [    6.549055] remoteproc remoteproc0: wkup_m3 is available                     
    [    6.606929] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec   
    [    6.642164] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0 
    [    6.767443] adv7180 0-0021: chip found @ 0x21 (OMAP I2C adapter)             
    [    6.774215] adv7180: probe of 0-0021 failed with error -121                  
    [    6.868530] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle     
    [  OK  ] Started udev Coldplug all Devices.                                     
    [    6.999695] remoteproc remoteproc0: powering up wkup_m3                      
    [  OK  ] Found device /dev/ttyS0.                                               
    [    7.124426] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf,4
    [  OK  ] Reached target System Initialization.                                  
    [  OK  ] Started Daily Cleanup of Temporary Directories.                        
    [    7.207254] remoteproc remoteproc0: remote processor wkup_m3 is now up       
    [    7.213912] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192   
    [    7.265279] CAN device driver interface                                      
    [    7.345399] c_can_platform 481cc000.can: c_can_platform device registered (r)
    [    7.346899] c_can_platform 481d0000.can: c_can_platform device registered (r)
    [  OK  ] Reached target Timers.                                                 
    [  OK  ] Listening on dropbear.socket.                                          
    [  OK  ] Listening on RPCbind Server Activation Socket.                         
    [  OK  ] Listening on D-Bus System Message Bus Socket.                          
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.                
    [  OK  ] Reached target Sockets.                                                
    [    7.839267] omap-aes 53501000.aes: OMAP AES hw accel rev: 0.1                
    [  OK  ] Reached target Basic System.                                           
    [    7.919340] omap-aes 53501000.aes: will run requests pump with realtime prioy
             Starting Terminate Psplash Boot Screen...                              
    [    8.032547] omap-sham 53100000.sham: hw accel on OMAP rev 0.0                
    [  OK  ] Started System Logging Service.                                        
    [  OK  ] Started D-Bus System Message Bus.                                      
    [    8.218864] [drm] Initialized pvr 1.14.3699939 20110701 on minor 1           
    [    8.257803] omap-des 53701000.des: OMAP DES hw accel rev: 0.33               
    [    8.323223] omap-des 53701000.des: will run requests pump with realtime prioy
    [    8.701772] PM: bootloader does not support rtc-only!                        
             Starting Network Service...                                            
             Starting Login Service...                                              
             Starting Avahi mDNS/DNS-SD Stack...                                    
    [  OK  ] Started Kernel Logging Service.                                        
             Starting uim-sysfs.service...                                          
             Starting Print notice about GPLv3 packages...                          
             Starting Telephony service...                                          
    [  OK  ] Started Network Service.                                               
    [  OK  ] Started Terminate Psplash Boot Screen.                                 
    [    9.949217] net eth1: initializing cpsw version 1.15 (0)                     
    [   10.102286] net eth0: initialized cpsw ale version 1.4                       
    [   10.193768] net eth0: ALE Table size 1024                                    
    [   10.199475] libphy: PHY 4a101000.mdio:01 not found                           
    [   10.247171] Bluetooth: Core ver 2.22                                         
    [   10.247253] NET: Registered protocol family 31                               
    [   10.247257] Bluetooth: HCI device and connection manager initialized         
    [   10.247277] Bluetooth: HCI socket layer initialized                          
    [   10.247285] Bluetooth: L2CAP socket layer initialized                        
    [   10.247310] Bluetooth: SCO socket layer initialized                          
    [   10.964988] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data.
    [   11.257201] net eth1: phy "4a101000.mdio:01" not found on slave 1, err -19   
    [   11.433855] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready               
    [   11.592587] net eth0: initializing cpsw version 1.15 (0)                     
    [   11.775777] Micrel KSZ9031 Gigabit PHY 4a101000.mdio:00: attached PHY driver)
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.                                       
    [  OK  ] Started Telephony service.                                             
    [  OK  ] Started Login Service.                                                 
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.        
    [  OK  ] Created slice system-systemd\x2dbacklight.slice.                       
    [   12.049043] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready               
             Starting Load/Save Screen Backlight...htness of backlight:backlight... 
    [  OK  ] Reached target Network.                                                
    [  OK  ] Started Myinit scripts.                                                
             Starting Lightning Fast Webserver With Light System Requirements...    
    [  OK  ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.          
             Starting Simple Network Management Protocol (SNMP) Daemon....          
             Starting Enable and configure wl18xx bluetooth stack...                
             Starting Permit User Sessions...                                       
             Starting Network Name Resolution...                                    
    [  OK  ] Started Load/Save Screen Backlight Brightness of backlight:backlight.  
    [  OK  ] Started Lightning Fast Webserver With Light System Requirements.       
    [  OK  ] Started Permit User Sessions.                                          
    [  OK  ] Started Network Name Resolution.                                       
    [  OK  ] Started Getty on tty1.                                                 
    [  OK  ] Started Serial Getty on ttyS0.                                         
    [  OK  ] Reached target Login Prompts.                                          
             Starting Synchronize System and HW clocks...                           
    [   13.457220] NET: Registered protocol family 15                               
    [  OK  ] Started Synchronize System and HW clocks.                              
    [   14.384868] Initializing XFRM netlink socket                                 
    [  OK  ] Started Enable and configure wl18xx bluetooth stack.                   
    [  OK  ] Started Simple Network Management Protocol (SNMP) Daemon..             
    [   15.653140] random: crng init done                                           
    [   16.637671] usbcore: registered new interface driver usbfs                   
    [   16.682688] usbcore: registered new interface driver hub                     
    [   16.723418] usbcore: registered new device driver usb                        
    [   16.767310] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller                   
    [   16.772874] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus n1
    [   16.892436] xhci-hcd xhci-hcd.3.auto: hcc params 0x0238f06d hci version 0x100
    [   16.946449] xhci-hcd xhci-hcd.3.auto: irq 261, io mem 0x48390000             
    [   16.992260] hub 1-0:1.0: USB hub found                                       
    [   17.016130] hub 1-0:1.0: 1 port detected                                     
    [   17.051761] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller                   
    [   17.088295] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus n2
    [   17.137460] usb usb2: We don't know the algorithms for LPM for this host, di.
    [   17.194972] hub 2-0:1.0: USB hub found                                       
    [   17.219630] hub 2-0:1.0: 1 port detected                                     
    [   17.256651] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller                   
    [   17.289905] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus n3
    [   17.340029] xhci-hcd xhci-hcd.4.auto: hcc params 0x0238f06d hci version 0x100
    [   17.406440] xhci-hcd xhci-hcd.4.auto: irq 262, io mem 0x483d0000             
    [   17.444125] hub 3-0:1.0: USB hub found                                       
    [   17.467554] hub 3-0:1.0: 1 port detected                                     
    [   17.508026] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller                   
    [   17.536137] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus n4
    [   17.573285] usb usb4: We don't know the algorithms for LPM for this host, di.
    [   17.634654] hub 4-0:1.0: USB hub found                                       
    [   17.653739] hub 4-0:1.0: 1 port detected                                     
                                                                                    
     _____                    _____           _         _                           
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_                         
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|                        
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|                          
                  |___|                    |___|                                    
                                                                                    
    Arago Project http://arago-project.org am437x-evm ttyS0                         
                                                                                    
    Arago 2017.06 am437x-evm ttyS0                                                  
                                                                                    
    am437x-evm login: **************************************************************
    ***************************************************************                 
    NOTICE: This file system contains the following GPLv3 packages:                 
            autoconf                                                                
            binutils                                                                
            cifs-utils                                                              
            cpp-symlinks                                                            
            cpp                                                                     
            dosfstools                                                              
            g++-symlinks                                                            
            g++                                                                     
            gawk-dev                                                                
            gawk                                                                    
            gcc-symlinks                                                            
            gcc                                                                     
            gdb                                                                     
            gdbserver                                                               
            gstreamer1.0-libav                                                      
            hidapi                                                                  
            libcairo-perf-utils                                                     
            libgmp10                                                                
            libidn11                                                                
            libmpc3                                                                 
            libmpfr4                                                                
            libreadline-dev                                                         
            libreadline6                                                            
            m4-dev                                                                  
            m4                                                                      
            make                                                                    
            nettle                                                                  
            swig-dev                                                                
            swig                                                                    
                                                                                    
    If you do not wish to distribute GPLv3 components please remove                 
    the above packages prior to distribution.  This can be done using               
    the opkg remove command.  i.e.:                                                 
        opkg remove <package>                                                       
    Where <package> is the name printed in the list above                           
                                                                                    
    NOTE: If the package is a dependency of another package you                     
          will be notified of the dependent packages.  You should                   
          use the --force-removal-of-dependent-packages option to                   
          also remove the dependent packages as well                                
    ***************************************************************                 
    ***************************************************************                 
    [   19.754428] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ]       
                                                                                    
     _____                    _____           _         _                           
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_                         
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|                        
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|                          
                  |___|                    |___|                                    
                                                                                    
    Arago Project http://arago-project.org am437x-evm ttyS0                         
                                                                                    
    Arago 2017.06 am437x-evm ttyS0                                                  
                                                                                    
    am437x-evm login: 
    

    If you check the boot log, you can found one error says that " [   11.257201] net eth1: phy "4a101000.mdio:01" not found on slave 1, err -19   ".

    Is this error induce any problem?

    please see below feedback for given commands.

    root@am437x-evm:~# ifconfig
    eth0 Link encap:Ethernet HWaddr A0:F6:FD:60:41:A1
    UP BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
    Interrupt:84

    eth1 Link encap:Ethernet HWaddr A0:F6:FD:60:41:A3
    UP BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1%763860/128 Scope:Host
    UP LOOPBACK RUNNING MTU:65536 Metric:1
    RX packets:800 errors:0 dropped:0 overruns:0 frame:0
    TX packets:800 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1
    RX bytes:60800 (59.3 KiB) TX bytes:60800 (59.3 KiB)

    root@am437x-evm:~# ethtool eth0
    Settings for eth0:
    Supported ports: [ TP MII ]
    Supported link modes: 10baseT/Half 10baseT/Full
    100baseT/Half 100baseT/Full
    1000baseT/Half 1000baseT/Full
    Supported pause frame use: Symmetric
    Supports auto-negotiation: Yes
    Advertised link modes: 10baseT/Half 10baseT/Full
    100baseT/Half 100baseT/Full
    1000baseT/Half 1000baseT/Full
    Advertised pause frame use: Symmetric
    Advertised auto-negotiation: Yes
    Speed: 10Mb/s
    Duplex: Half
    Port: MII
    PHYAD: 0
    Transceiver: external
    Auto-negotiation: on
    Supports Wake-on: d
    Wake-on: d
    Current message level: 0x00000000 (0)

    Link detected: no


    root@am437x-evm:~# ethtool -s eth0


    root@am437x-evm:~# ethtool eth1
    Settings for eth1:
    Supports Wake-on: d
    Wake-on: d
    Current message level: 0x00000000 (0)

    Link detected: no


    root@am437x-evm:~# ethtool -s eth1

    I have set IP address for eth0 and eth1 as follows and try to ping with the other system having 192.168.1.5 ip address.But it is not pinging


    root@am437x-evm:~# ifconfig eth0 192.168.1.10 netmask 255.255.255.0 up


    root@am437x-evm:~# ping 192.168.1.5
    PING 192.168.1.5 (192.168.1.5): 56 data bytes

    root@am437x-evm:~# ifconfig eth1 192.168.1.11 netmask 255.255.255.0 up

    root@am437x-evm:~# ping 192.168.1.5 

    PING 192.168.1.5 (192.168.1.5): 56 data bytes

    Can you provide a way to make dual ethernets work on switch mode and dual mac mode?

    Regards,

    Winiston.P

  • Hi,

    There are a couple of issues it looks like on both ethernet ports. Lets just look at eth0 first. The ethtool eth0 command is returning that the link is not being detected:

    Link detected: no

    Once the cable is plugged in with a link partner such as a Ethernet switch or a PC, a link has to be established. The process of link establishment happens without any SW drivers being required. Here is a link to a video describing that is the first step that needs to happen when debugged an interface bring-up.

    training.ti.com/ethernet-link-status-linux

    If cable is plugged in you will need to look at why the PHY is not establishing a link. This may mean reviewing the PHY datasheet to make sure the PHY is correctly configured, has the external components it needs, if the reset released correctly and also contacting the PHY manufacturer about possible debug suggestions.

    Best Regards,
    Schuyler
  • Dear Schuyler,

    We have connected eth0, eth1 to single MDIO  which means eth0 & eth1 shares same MDIO (MDIO_DATA, MDIO_CLOCK) lines. If i disconnect MDIO lines on eth1 side(By removing 0 ohm resister), eth0 start working and it is able to ping with other devices. It shows that eth0 hardware is connected properly. In the same way, if i disconnect MDIO lines on eth0 (By removing 0 ohm resister) and declare only eth1 entry in dts file, Now eth1 hardware detects as eth0 and works fine. This entire scenario says that hardware seems to be correct.

    But when i use dual ethernets, and eth0 , eth1 shares same MDIO lines, some slave related problem happens. The slave problem replicates in the boot log as given below in bold line.

    [ 9.949217] net eth1: initializing cpsw version 1.15 (0)
    [ 10.102286] net eth0: initialized cpsw ale version 1.4
    [ 10.193768] net eth0: ALE Table size 1024
    [ 10.199475] libphy: PHY 4a101000.mdio:01 not found

    11.257201] net eth1: phy "4a101000.mdio:01" not found on slave 1, err -19
    [ 11.433855] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [ 11.592587] net eth0: initializing cpsw version 1.15 (0)
    [ 11.775777] Micrel KSZ9031 Gigabit PHY 4a101000.mdio:00: attached PHY driver)

    Does the slave problem creates any problem?, If yes, How do i solve this problem?

    Please check below entries related to mac in my dts file and comment whether it is declared correctly or not.?

    &mac {
    slaves = <2>;
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&cpsw_default &cpsw_default1>;
    pinctrl-1 = <&cpsw_sleep &cpsw_sleep1>;
    active_slave = <2>;
    dual_emac;
    status = "okay";
    };

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

    /*&cpsw_emac1 to emac0 --wini */

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

    &cpsw_emac1 {
    phy_id = <&davinci_mdio>, <1>;
    phy-mode = "rgmii";
    dual_emac_res_vlan = <2>;
    };

    cpsw_default: cpsw_default {
    pinctrl-single,pins = <
    0x40 (PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) /* (C3) gpmc_a0.rgmii2_tctl */
    0x44 (PIN_INPUT_PULLDOWN | MUX_MODE2 ) /* (C5) gpmc_a1.rgmii2_rctl */
    0x58 (PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) /* (E8) gpmc_a6.rgmii2_tclk */
    0x5c (PIN_INPUT_PULLDOWN | MUX_MODE2 ) /* (F6) gpmc_a7.rgmii2_rclk */
    0x54 (PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) /* (E7) gpmc_a5.rgmii2_td0 */
    0x50 (PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) /* (D7) gpmc_a4.rgmii2_td1 */
    0x4c (PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) /* (A4) gpmc_a3.rgmii2_td2 */
    0x48 (PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) /* (C6) gpmc_a2.rgmii2_td3 */
    0x6c (PIN_INPUT_PULLDOWN | MUX_MODE2 ) /* (D8) gpmc_a11.rgmii2_rd0 */
    0x68 (PIN_INPUT_PULLDOWN | MUX_MODE2 ) /* (G8) gpmc_a10.rgmii2_rd1 */
    0x64 (PIN_INPUT_PULLDOWN | MUX_MODE2 ) /* (B4) gpmc_a9.rgmii2_rd2 */
    0x60 (PIN_INPUT_PULLDOWN | MUX_MODE2 ) /* (F7) gpmc_a8.rgmii2_rd3 */
    >;
    };

    /* Optional sleep pin settings. Must manually enter values in the below skeleton. */
    cpsw_sleep: cpsw_sleep {
    pinctrl-single,pins = <
    0x40 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (C3) gpmc_a0.rgmii2_tctl */
    0x44 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (C5) gpmc_a1.rgmii2_rctl */
    0x58 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (E8) gpmc_a6.rgmii2_tclk */
    0x5c (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (F6) gpmc_a7.rgmii2_rclk */
    0x54 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (E7) gpmc_a5.rgmii2_td0 */
    0x50 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (D7) gpmc_a4.rgmii2_td1 */
    0x4c (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (A4) gpmc_a3.rgmii2_td2 */
    0x48 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (C6) gpmc_a2.rgmii2_td3 */
    0x6c (PIN_INPUT | PULL_DISABLE | MUX_MODE7 ) /* (D8) gpmc_a11.rgmii2_rd0 */
    0x68 (PIN_INPUT | PULL_DISABLE | MUX_MODE7 ) /* (G8) gpmc_a10.rgmii2_rd1 */
    0x64 (PIN_INPUT | PULL_DISABLE | MUX_MODE7 ) /* (B4) gpmc_a9.rgmii2_rd2 */
    0x60 (PIN_INPUT | PULL_DISABLE | MUX_MODE7 ) /* (F7) gpmc_a8.rgmii2_rd3 */

    >;
    };

    cpsw_default1: cpsw_default1 {
    pinctrl-single,pins = <
    0x114 ( PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) /* (A13) mii1_tx_en.rgmii1_tctl */
    0x118 ( PIN_INPUT_PULLDOWN | MUX_MODE2 ) /* (A15) mii1_rx_dv.rgmii1_rctl */
    0x12c ( PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) /* (D14) mii1_tx_clk.rgmii1_tclk */
    0x130 ( PIN_INPUT_PULLDOWN | MUX_MODE2 ) /* (D13) mii1_rx_clk.rgmii1_rclk */
    0x128 ( PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) /* (B15) mii1_txd0.rgmii1_td0 */
    0x124 ( PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) /* (A14) mii1_txd1.rgmii1_td1 */
    0x120 ( PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) /* (C13) mii1_txd2.rgmii1_td2 */
    0x11c ( PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) /* (C16) mii1_txd3.rgmii1_td3 */
    0x140 ( PIN_INPUT_PULLDOWN | MUX_MODE2 ) /* (F17) mii1_rxd0.rgmii1_rd0 */
    0x13c ( PIN_INPUT_PULLDOWN | MUX_MODE2 ) /* (B16) mii1_rxd1.rgmii1_rd1 */
    0x138 ( PIN_INPUT_PULLDOWN | MUX_MODE2 ) /* (E16) mii1_rxd2.rgmii1_rd2 */
    0x134 ( PIN_INPUT_PULLDOWN | MUX_MODE2 ) /* (C14) mii1_rxd3.rgmii1_rd3 */

    >;
    };
    /* Optional sleep pin settings. Must manually enter values in the below skeleton. */
    cpsw_sleep1: cpsw_sleep1 {
    pinctrl-single,pins = <
    0x114 (PIN_INPUT_PULLDOWN ) /* (A13) mii1_tx_en.rgmii1_tctl */
    0x118 (PIN_INPUT_PULLDOWN ) /* (A15) mii1_rx_dv.rgmii1_rctl */
    0x12c (PIN_INPUT_PULLDOWN ) /* (D14) mii1_tx_clk.rgmii1_tclk */
    0x130 (PIN_INPUT_PULLDOWN ) /* (D13) mii1_rx_clk.rgmii1_rclk */
    0x128 (PIN_INPUT_PULLDOWN ) /* (B15) mii1_txd0.rgmii1_td0 */
    0x124 (PIN_INPUT_PULLDOWN ) /* (A14) mii1_txd1.rgmii1_td1 */
    0x120 (PIN_INPUT_PULLDOWN ) /* (C13) mii1_txd2.rgmii1_td2 */
    0x11c (PIN_INPUT_PULLDOWN ) /* (C16) mii1_txd3.rgmii1_td3 */
    0x140 (PIN_INPUT | PULL_DISABLE ) /* (F17) mii1_rxd0.rgmii1_rd0 */
    0x13c (PIN_INPUT | PULL_DISABLE ) /* (B16) mii1_rxd1.rgmii1_rd1 */
    0x138 (PIN_INPUT | PULL_DISABLE ) /* (E16) mii1_rxd2.rgmii1_rd2 */
    0x134 (PIN_INPUT | PULL_DISABLE ) /* (C14) mii1_rxd3.rgmii1_rd3 */
    >;
    };


    davinci_mdio_default: davinci_mdio_default {
    pinctrl-single,pins = <
    0x148 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0) /* (A17) mdio_data.mdio_data */
    0x14c (PIN_OUTPUT_PULLUP | MUX_MODE0) /* (B17) mdio_clk.mdio_clk */
    >;
    };

    /* Optional sleep pin settings. Must manually enter values in the below skeleton. */
    davinci_mdio_sleep: davinci_mdio_sleep {
    pinctrl-single,pins = <
    0x148 (PIN_INPUT | PULL_DISABLE | MUX_MODE7 ) /* (A17) mdio_data.mdio_data */
    0x14c (PIN_INPUT | PULL_DISABLE | MUX_MODE7 ) /* (B17) mdio_clk.mdio_clk */

    >;
    };

    Regards,

    Winiston.P

  • Please confirm that your PHY's are configured with different MDIO addresses. This is hardware configuration, done with strapping resistors on the PHY itself.

  • Dear Biser,

    You are right. I set the hardware resistor slave address in the PHY.  Now link got established and it shows all the status. But the problem is, it does not ping with other devices.

    I set my IP as given below and tried to ping. But it does not ping. I tried with different subnet mask also.But it does not ping. The terminal output as given below.

    root@am437x-evm:~# ifconfig eth1 192.168.1.11 netmask 255.255.255.0 up

    root@am437x-evm:~# ping 192.168.1.5
    PING 192.168.1.5 (192.168.1.5): 56 data bytes
    ^C
    --- 192.168.1.5 ping statistics ---
    17 packets transmitted, 0 packets received, 100% packet loss

    I tried the same with eth0 also and status output as given below.

    root@am437x-evm:~# ifconfig eth0 192.168.1.10 netmask 255.255.255.0 up 

    root@am437x-evm:~# ping 192.168.1.5 
    PING 192.168.1.5 (192.168.1.5): 56 data bytes 
    ^C 
    --- 192.168.1.5 ping statistics --- 
    17 packets transmitted, 0 packets received, 100% packet loss

    I removed cable from eth0 and connected to eth1. The status message as given below.

    root@am437x-evm:~# [ 505.044081] cpsw 4a100000.ethernet eth0: Link is Down
    [ 513.764236] cpsw 4a100000.ethernet eth1: Link is Up - 100Mbps/Full - flow cox
    [ 513.772403] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready

    I connected with eth1 and  see below my ethtool output. 

    root@am437x-evm:~# ethtool eth0                                                 

    Settings for eth0:                                                              

           Supported ports: [ TP MII ]                                            

           Supported link modes:   10baseT/Half 10baseT/Full                      

                                   100baseT/Half 100baseT/Full                    

                                   1000baseT/Half 1000baseT/Full                  

           Supported pause frame use: Symmetric                                    

           Supports auto-negotiation: Yes                                          

           Advertised link modes:  10baseT/Half 10baseT/Full                      

                                   100baseT/Half 100baseT/Full                    

                                   1000baseT/Half 1000baseT/Full                  

           Advertised pause frame use: Symmetric                                  

           Advertised auto-negotiation: Yes                                        

           Speed: 10Mb/s                                                          

           Duplex: Half                                                            

           Port: MII                                                              

           PHYAD: 0                                                                

           Transceiver: external                                                  

           Auto-negotiation: on                                                    

           Supports Wake-on: d                                                    

           Wake-on: d                                                              

           Current message level: 0x00000000 (0)                                  

           Link detected: no                                                      

    root@am437x-evm:~# ethtool eth1                                                

    Settings for eth1:                                                              

           Supported ports: [ TP MII ]                                            

           Supported link modes:   10baseT/Half 10baseT/Full                      

                                   100baseT/Half 100baseT/Full                    

                                   1000baseT/Half 1000baseT/Full                  

           Supported pause frame use: Symmetric                                    

           Supports auto-negotiation: Yes                                          

           Advertised link modes:  10baseT/Half 10baseT/Full                      

                                   100baseT/Half 100baseT/Full                    

                                   1000baseT/Half 1000baseT/Full                  

           Advertised pause frame use: Symmetric                                  

           Advertised auto-negotiation: Yes                                        

           Link partner advertised link modes:  10baseT/Half 10baseT/Full          

                                                100baseT/Half 100baseT/Full        

           Link partner advertised pause frame use: Symmetric Receive-only        

           Link partner advertised auto-negotiation: Yes                          

           Speed: 100Mb/s                                                          

           Duplex: Full                                                            

           Port: MII                                                              

           PHYAD: 1                                                                

           Transceiver: external                                                  

           Auto-negotiation: on                                                    

           Supports Wake-on: d                                                    

           Wake-on: d                                                              

           Current message level: 0x00000000 (0)                                  

           Link detected: yes                      

                  Should i set Gateway  for each ports? Does it require different subnet mask for eth0 and eth1?

    Regards,

    Winiston.P                

  • In Dual EMAC mode the two Ethernet ports must be connected to different subnets.
  • Dear Biser,

    I connected both ethernets to different subnets. Links got established and shows proper status message in ethtool eth0 & ethtool eth1.  But it is not pinging with other devices.

    What could be the problem?

    Regards,

    Winiston.P

  • Hi,

    With the last configuration with the cable disconnected on eth0 and link detected on eth1 indicated by the ethtool eth1 can you run wireshark to look at the packets coming out of eth1?

    Also please post the results of ethtool -S eth1.

    As Biser is pointing out the PHY address strapping resistors is important. The description of removing the resistors and interfaces starting to work points to an issue with the PHY addressing resistors. Or perhaps interface pin mux.

    As a debug step, the pin definition for your board is different than the rgmii interface that is defined for the am437x-sk-evm.dts. Could you make the pin mux definition for your board similar to the TI EVM?

    Best Regards,
    Schuyler
  • Dear, I checked eth1 in wireshark. I did not receive any data from our board.

    Please see below ethtool -S eth1 ouptput 

    root@am437x-evm:~# ethtool -S eth1
    NIC statistics:
    Good Rx Frames: 0
    Broadcast Rx Frames: 0
    Multicast Rx Frames: 0
    Pause Rx Frames: 0
    Rx CRC Errors: 0
    Rx Align/Code Errors: 0
    Oversize Rx Frames: 0
    Rx Jabbers: 0
    Undersize (Short) Rx Frames: 0
    Rx Fragments: 0
    Rx Octets: 0
    Good Tx Frames: 41
    Broadcast Tx Frames: 8
    Multicast Tx Frames: 33
    Pause Tx Frames: 0
    Deferred Tx Frames: 0
    Collisions: 0
    Single Collision Tx Frames: 0
    Multiple Collision Tx Frames: 0
    Excessive Collisions: 0
    Late Collisions: 0
    Tx Underrun: 0
    Carrier Sense Errors: 0
    Tx Octets: 7925
    Rx + Tx 64 Octet Frames: 0
    Rx + Tx 65-127 Octet Frames: 23
    Rx + Tx 128-255 Octet Frames: 3
    Rx + Tx 256-511 Octet Frames: 15
    Rx + Tx 512-1023 Octet Frames: 0
    Rx + Tx 1024-Up Octet Frames: 0
    Net Octets: 7925
    Rx Start of Frame Overruns: 0
    Rx Middle of Frame Overruns: 0
    Rx DMA Overruns: 0
    Rx DMA chan 0: head_enqueue: 1
    Rx DMA chan 0: tail_enqueue: 127
    Rx DMA chan 0: pad_enqueue: 0
    Rx DMA chan 0: misqueued: 0
    Rx DMA chan 0: desc_alloc_fail: 0
    Rx DMA chan 0: pad_alloc_fail: 0
    Rx DMA chan 0: runt_receive_buf: 0
    Rx DMA chan 0: runt_transmit_bu: 0
    Rx DMA chan 0: empty_dequeue: 0
    Rx DMA chan 0: busy_dequeue: 0
    Rx DMA chan 0: good_dequeue: 0
    Rx DMA chan 0: requeue: 0
    Rx DMA chan 0: teardown_dequeue: 0
    Tx DMA chan 0: head_enqueue: 40
    Tx DMA chan 0: tail_enqueue: 1
    Tx DMA chan 0: pad_enqueue: 0
    Tx DMA chan 0: misqueued: 1
    Tx DMA chan 0: desc_alloc_fail: 0
    Tx DMA chan 0: pad_alloc_fail: 0
    Tx DMA chan 0: runt_receive_buf: 0
    Tx DMA chan 0: runt_transmit_bu: 0
    Tx DMA chan 0: empty_dequeue: 40
    Tx DMA chan 0: busy_dequeue: 0
    Tx DMA chan 0: good_dequeue: 41
    Tx DMA chan 0: requeue: 0
    Tx DMA chan 0: teardown_dequeue: 0
    root@am437x-evm:~#

    see below ethtool -S eth0 ouptput :

    root@am437x-evm:~# ethtool -S eth0
    NIC statistics:
    Good Rx Frames: 0
    Broadcast Rx Frames: 0
    Multicast Rx Frames: 0
    Pause Rx Frames: 0
    Rx CRC Errors: 0
    Rx Align/Code Errors: 0
    Oversize Rx Frames: 0
    Rx Jabbers: 0
    Undersize (Short) Rx Frames: 0
    Rx Fragments: 0
    Rx Octets: 0
    Good Tx Frames: 40
    Broadcast Tx Frames: 7
    Multicast Tx Frames: 33
    Pause Tx Frames: 0
    Deferred Tx Frames: 0
    Collisions: 0
    Single Collision Tx Frames: 0
    Multiple Collision Tx Frames: 0
    Excessive Collisions: 0
    Late Collisions: 0
    Tx Underrun: 0
    Carrier Sense Errors: 0
    Tx Octets: 7587
    Rx + Tx 64 Octet Frames: 0
    Rx + Tx 65-127 Octet Frames: 23
    Rx + Tx 128-255 Octet Frames: 3
    Rx + Tx 256-511 Octet Frames: 14
    Rx + Tx 512-1023 Octet Frames: 0
    Rx + Tx 1024-Up Octet Frames: 0
    Net Octets: 7587
    Rx Start of Frame Overruns: 0
    Rx Middle of Frame Overruns: 0
    Rx DMA Overruns: 0
    Rx DMA chan 0: head_enqueue: 1
    Rx DMA chan 0: tail_enqueue: 127
    Rx DMA chan 0: pad_enqueue: 0
    Rx DMA chan 0: misqueued: 0
    Rx DMA chan 0: desc_alloc_fail: 0
    Rx DMA chan 0: pad_alloc_fail: 0
    Rx DMA chan 0: runt_receive_buf: 0
    Rx DMA chan 0: runt_transmit_bu: 0
    Rx DMA chan 0: empty_dequeue: 0
    Rx DMA chan 0: busy_dequeue: 0
    Rx DMA chan 0: good_dequeue: 0
    Rx DMA chan 0: requeue: 0
    Rx DMA chan 0: teardown_dequeue: 0
    Tx DMA chan 0: head_enqueue: 39
    Tx DMA chan 0: tail_enqueue: 1
    Tx DMA chan 0: pad_enqueue: 0
    Tx DMA chan 0: misqueued: 1
    Tx DMA chan 0: desc_alloc_fail: 0
    Tx DMA chan 0: pad_alloc_fail: 0
    Tx DMA chan 0: runt_receive_buf: 0
    Tx DMA chan 0: runt_transmit_bu: 0
    Tx DMA chan 0: empty_dequeue: 39
    Tx DMA chan 0: busy_dequeue: 0
    Tx DMA chan 0: good_dequeue: 40
    Tx DMA chan 0: requeue: 0
    Tx DMA chan 0: teardown_dequeue: 0

    Regards,

    Winiston.P

  • Hi,

    After taking another look, the pin mux definitions maybe reversed in the board DTS file. I have a few questions about the mac node definition that was posted earlier, please see below.

    &mac {
    slaves = <2>; ----- Why is this defined again? This is already defined in the am4372.dtsi file.
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&cpsw_default &cpsw_default1>; ---------- Try reversing these entries
    pinctrl-1 = <&cpsw_sleep &cpsw_sleep1>; ---------- Try reversing these entries
    active_slave = <2>; ------------ Why is this set to 2? It should be 0 in a dual mac configuration
    dual_emac;
    status = "okay";
    };

    Reversing the pinctrl-0 and pinctrl-1 entries might solve the reversed interface problem.

    If it doesn't I would recommend reviewing the arch/arm/boot/dts/am437x-sdk-evm.dts for an example on the setting up the cpsw interfaces.

    Best Regards,
    Schuyler
  • Dear,
    I have assigned different phy address through jumper and dts file also i have changed as per the above guidelines. Now both LANs are working good.

    Regards,
    Winiston.P