Hi all,
Now marvel switch can boot up and lan ports can ping each other.
But PC in lan port can not ping J6 cpu port.
Is there any reference dts file which include switch settings to set RGMII port ?
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.
Hi all,
Now marvel switch can boot up and lan ports can ping each other.
But PC in lan port can not ping J6 cpu port.
Is there any reference dts file which include switch settings to set RGMII port ?
Hi Yordan,
We use custom board not EVM. And Attached are my bootlog &dts.
run boot_cb
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
reading uEnv.txt
221 bytes read in 3 ms (71.3 KiB/s)
Loaded environment from uEnv.txt
Importing environment from mmc0 ...
5257304 bytes read in 457 ms (11 MiB/s)
101958 bytes read in 28 ms (3.5 MiB/s)
Booting from mmc0 ...
Kernel image @ 0x82000000 [ 0x000000 - 0x503858 ]
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Device Tree to 8ffe4000, end 8ffffe45 ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 3.14.49 (andy@andy-Veriton-M490) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #189 SMP PREEMPT Wed Jun 29 20:24:25 CST 2016
[ 0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[ 0.000000] Machine model: TI DRA742
[ 0.000000] bootconsole [earlycon0] enabled
[ 0.000000] Reserved memory: created CMA memory pool at 0x95800000, size 56 MiB
[ 0.000000] Reserved memory: initialized node ipu2_cma@95800000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created CMA memory pool at 0x99000000, size 64 MiB
[ 0.000000] Reserved memory: initialized node dsp1_cma@99000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created CMA memory pool at 0x9d000000, size 32 MiB
[ 0.000000] Reserved memory: initialized node ipu1_cma@9d000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created CMA memory pool at 0x9f000000, size 8 MiB
[ 0.000000] Reserved memory: initialized node dsp2_cma@9f000000, compatible id shared-dma-pool
[ 0.000000] cma: CMA: reserved 64 MiB at 91000000
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] DRA752 ES1.1
[ 0.000000] PERCPU: Embedded 8 pages/cpu @dfa49000 s8640 r8192 d15936 u32768
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 128768
[ 0.000000] Kernel command line: console=ttyO2,115200n8 elevator=noop root=PARTUUID=44b8f5bb-02 rw rootwait earlyprintk fixrtc omapdrm.num_crtc=2 consoleblank=0 cma=64M rootfstype=ext4 snd.slots_reserved=1,1
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 273548K/519168K available (6923K kernel code, 631K rwdata, 2704K rodata, 376K init, 266K bss, 245620K reserved, 0K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xe0800000 - 0xff000000 ( 488 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc096f0c4 (9629 kB)
[ 0.000000] .init : 0xc0970000 - 0xc09ce1c0 ( 377 kB)
[ 0.000000] .data : 0xc09d0000 - 0xc0a6dc20 ( 632 kB)
[ 0.000000] .bss : 0xc0a6dc2c - 0xc0ab0744 ( 267 kB)
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] OMAP clockevent source: timer1 at 31475 Hz
[ 0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 65536000000000ns
[ 0.008300] OMAP clocksource: 32k_counter at 32768 Hz
[ 0.013793] Architected cp15 timer(s) running at 5.90MHz (virt).
[ 0.019810] sched_clock: 56 bits at 5MHz, resolution 169ns, wraps every 2911033065472ns
[ 0.028107] Switching to timer-based delay loop
[ 0.033938] Console: colour dummy device 80x30
[ 0.038591] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
[ 0.045384] This ensures that you still see kernel messages. Please
[ 0.051897] update your kernel commandline.
[ 0.056287] Calibrating delay loop (skipped), value calculated using timer frequency.. 11.80 BogoMIPS (lpj=59016)
[ 0.066919] pid_max: default: 32768 minimum: 301
[ 0.071845] Security Framework initialized
[ 0.076176] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.083062] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.114692] CPU: Testing write buffer coherency: ok
[ 0.120032] /cpus/cpu@0 missing clock-frequency property
[ 0.125610] /cpus/cpu@1 missing clock-frequency property
[ 0.131148] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.137069] Setting up static identity map for 0x806c8be8 - 0x806c8c40
[ 0.197586] CPU1: Booted secondary processor
[ 0.197615] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.197701] Brought up 2 CPUs
[ 0.211189] SMP: Total of 2 processors activated (23.60 BogoMIPS).
[ 0.217614] CPU: All CPU(s) started in SVC mode.
[ 0.222856] devtmpfs: initialized
[ 0.227111] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
[ 0.236701] omap_hwmod: l3_main_2 using broken dt data from ocp
[ 0.255968] omap_hwmod: tptc0 using broken dt data from edma-controller
[ 0.263330] omap_hwmod: tptc1 using broken dt data from edma-controller
[ 0.439931] pinctrl core: initialized pinctrl subsystem
[ 0.446118] regulator-dummy: no parameters
[ 0.454731] NET: Registered protocol family 16
[ 0.461295] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.470445] cpuidle: using governor ladder
[ 0.474734] cpuidle: using governor menu
[ 0.525616] syscon 4a002000.tisysconcore: regmap [mem 0x4a002000-0x4a0026cf] registered
[ 0.534261] syscon 4a002e00.tisyscon: regmap [mem 0x4a002e00-0x4a002e7b] registered
[ 0.545043] OMAP GPIO hardware version 0.1
[ 0.563049] platform 58820000.ipu: assigned reserved memory node ipu1_cma@9d000000
[ 0.571218] platform 55020000.ipu: assigned reserved memory node ipu2_cma@95800000
[ 0.579360] platform 40800000.dsp: assigned reserved memory node dsp1_cma@99000000
[ 0.604925] platform 41000000.dsp: assigned reserved memory node dsp2_cma@9f000000
[ 0.619286] No ATAGs?
[ 0.621451] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.630036] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.639015] OMAP DMA hardware revision 0.0
[ 0.671107] bio: create slab <bio-0> at 0
[ 0.690544] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
[ 0.704557] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver
[ 0.712661] evm_3v3_sd: 3300 mV
[ 0.716356] evm_3v3_sw: 3300 mV
[ 0.719810] reg-fixed-voltage fixedregulator-evm_3v3_sw: Failed to find supply vin
[ 0.727851] reg-fixed-voltage fixedregulator-evm_3v3_sw: Failed to register regulator: -517
[ 0.736516] platform fixedregulator-evm_3v3_sw: Driver reg-fixed-voltage requests probe deferral
[ 0.745881] aic_dvdd: 1800 mV
[ 0.749148] reg-fixed-voltage fixedregulator-aic_dvdd: Failed to find supply vin
[ 0.757006] reg-fixed-voltage fixedregulator-aic_dvdd: Failed to register regulator: -517
[ 0.765491] platform fixedregulator-aic_dvdd: Driver reg-fixed-voltage requests probe deferral
[ 0.774669] vmmcwl_fixed: 1800 mV
[ 0.778548] vtt_fixed: 1350 mV
[ 0.781893] reg-fixed-voltage fixedregulator-vtt: Failed to find supply vin
[ 0.789302] reg-fixed-voltage fixedregulator-vtt: Failed to register regulator: -517
[ 0.797342] platform fixedregulator-vtt: Driver reg-fixed-voltage requests probe deferral
[ 0.809755] vgaarb: loaded
[ 0.813005] i2c-core: driver [palmas] using legacy suspend method
[ 0.819359] i2c-core: driver [palmas] using legacy resume method
[ 0.826174] SCSI subsystem initialized
[ 0.831277] usbcore: registered new interface driver usbfs
[ 0.837132] usbcore: registered new interface driver hub
[ 0.842844] usbcore: registered new device driver usb
[ 0.850329] palmas 0-0058: IRQ missing: skipping irq request
[ 0.856582] palmas 0-0058: Muxing GPIO a, PWM 0, LED 0
[ 0.862119] prom_parse: Bad cell count for /ocp/i2c@48070000/tps659038@58
[ 0.871305] smps12: 850 <--> 1250 mV at 1010 mV
[ 0.877888] smps3: 850 <--> 1250 mV at 1350 mV
[ 0.884260] smps45: 850 <--> 1150 mV at 980 mV
[ 0.890657] smps6: 850 <--> 1250 mV at 1050 mV
[ 0.896849] smps7: 850 <--> 1060 mV at 970 mV
[ 0.903250] smps8: 850 <--> 1250 mV at 970 mV
[ 0.909360] smps9: 1800 mV
[ 0.922569] ldo1: 1800 <--> 3300 mV at 3000 mV
[ 0.942385] ldo2: 3300 mV
[ 0.952398] ldo3: 1800 mV
[ 0.956109] LDO4: no parameters
[ 0.960005] LDO5: no parameters
[ 0.963929] LDO6: no parameters
[ 0.967805] LDO7: no parameters
[ 0.971706] LDO8: no parameters
[ 0.985106] ldo9: 1050 mV
[ 1.005085] ldoln: 1800 mV
[ 1.025094] ldousb: 3300 mV
[ 1.028995] regen1: no parameters
[ 1.033047] regen2: no parameters
[ 1.037283] sysen1: no parameters
[ 1.041335] sysen2: no parameters
[ 2.056986] omap_i2c 48070000.i2c: controller timed out
[ 2.087019] pcf857x: probe of 0-0020 failed with error -110
[ 3.087781] omap_i2c 48070000.i2c: controller timed out
[ 3.107895] pcf857x: probe of 0-0021 failed with error -110
[ 3.113721] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
[ 4.120189] omap_i2c 48072000.i2c: controller timed out
[ 4.140222] pcf857x: probe of 1-0026 failed with error -110
[ 4.147823] omap_i2c 48072000.i2c: bus 1 rev0.12 at 400 kHz
[ 4.154085] omap_i2c 48060000.i2c: bus 2 rev0.12 at 3400 kHz
[ 5.154281] omap_i2c 4807a000.i2c: controller timed out
[ 5.174318] pcf857x: probe of 3-0021 failed with error -110
[ 5.180139] omap_i2c 4807a000.i2c: bus 3 rev0.12 at 400 kHz
[ 5.186276] media: Linux media interface: v0.10
[ 5.191143] Linux video capture interface: v2.00
[ 5.196224] pps_core: LinuxPPS API ver. 1 registered
[ 5.201403] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 5.210978] PTP clock support registered
[ 5.216499] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
[ 5.223281] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
[ 5.230734] omap-iommu 40d01000.mmu: 40d01000.mmu registered
[ 5.236745] omap-iommu 40d02000.mmu: 40d02000.mmu registered
[ 5.242739] omap-iommu 58882000.mmu: 58882000.mmu registered
[ 5.248747] omap-iommu 55082000.mmu: 55082000.mmu registered
[ 5.254823] omap-iommu 41501000.mmu: 41501000.mmu registered
[ 5.260826] omap-iommu 41502000.mmu: 41502000.mmu registered
[ 5.267476] Advanced Linux Sound Architecture Driver Initialized.
[ 5.275195] Switched to clocksource arch_sys_counter
[ 5.298866] NET: Registered protocol family 2
[ 5.304109] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 5.311478] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[ 5.318247] TCP: Hash tables configured (established 4096 bind 4096)
[ 5.324884] TCP: reno registered
[ 5.328296] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 5.334378] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 5.341084] NET: Registered protocol family 1
[ 5.345909] RPC: Registered named UNIX socket transport module.
[ 5.352068] RPC: Registered udp transport module.
[ 5.357019] RPC: Registered tcp transport module.
[ 5.361930] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 5.369835] hw perfevents: enabled with ARMv7 Cortex-A15 PMU driver, 7 counters available
[ 5.381309] futex hash table entries: 512 (order: 3, 32768 bytes)
[ 5.498909] VFS: Disk quotas dquot_6.5.2
[ 5.503130] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 5.510552] NFS: Registering the id_resolver key type
[ 5.515865] Key type id_resolver registered
[ 5.520242] Key type id_legacy registered
[ 5.524464] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
[ 5.531972] msgmni has been set to 982
[ 5.539801] alg: No test for stdrng (krng)
[ 5.544261] NET: Registered protocol family 38
[ 5.548945] io scheduler noop registered (default)
[ 5.553945] io scheduler deadline registered
[ 5.558449] io scheduler cfq registered
[ 5.568596] pinctrl-single 4a003400.pinmux: 281 pins at pa fc003400 size 1124
[ 5.579361] dra7xx_pcie_probe:366============
[ 5.615451] dra7-pcie 51000000.pcie: PCI host bridge to bus 0000:00
[ 5.621973] pci_bus 0000:00: root bus resource [io 0x1000-0x10000]
[ 5.628511] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
[ 5.635666] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 5.644387] PCI: bus0: Fast back to back transfers disabled
[ 5.650448] PCI: bus1: Fast back to back transfers enabled
[ 5.656190] pci_scan_bridge:937============
[ 5.660578] pci_scan_root_bus:1922============
[ 5.665233] pci_bus_add_devices:275============
[ 5.669965] pci_bus_add_device:242 dev->vendor=4172============
[ 5.676148] pci_bus_add_device:252 dev->dev->init_name=(null)============
[ 5.683227] PCI: Device 0000:00:00.0 not available because of resource collisions
[ 5.691013] pcieport: probe of 0000:00:00.0 failed with error -22
[ 5.697363] pci_bus_add_devices:286============
[ 5.702095] pci_bus_add_devices:275============
[ 5.706837] pci_bus_add_devices:286============
[ 5.711587] irq: no irq domain found for /ocp/axi@0/pcie@51000000/interrupt-controller !
[ 5.720009] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff]
[ 5.727079] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff]
[ 5.734135] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 5.739328] pci_bus_add_devices:275============
[ 5.744059] pci_bus_add_devices:286============
[ 5.748801] pci_bus_add_devices:275============
[ 5.753531] pci_bus_add_devices:286============
[ 5.758281] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 5.765588] OMAP DSS rev 6.1
[ 5.772693] ============tpd_probe_of:323===========
[ 5.778069] platform encoder@1: Driver dra7evm-tpd12s015 requests probe deferral
[ 5.786149] connector-hdmi connector@1: failed to find video source
[ 5.792673] platform connector@1: Driver connector-hdmi requests probe deferral
[ 5.801192] pbias_mmc_omap5: 1800 <--> 3000 mV at 3000 mV
[ 5.807700] abb_mpu: 1100 <--> 1210 mV
[ 5.812066] abb_ivahd: 1060 <--> 1250 mV
[ 5.816621] abb_dspeve: 1060 <--> 1250 mV
[ 5.821248] abb_gpu: 1060 <--> 1280 mV
[ 5.826472] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
[ 5.837432] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 299, base_baud = 3000000) is a 8250
[ 5.847317] 4806c000.serial: ttyS1 at MMIO 0x4806c000 (irq = 300, base_baud = 3000000) is a 8250
[ 5.857172] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 301, base_baud = 3000000) is a 8250
[ 5.866335] console [ttyS2] enabled
[ 5.866335] console [ttyS2] enabled
[ 5.873493] bootconsole [earlycon0] disabled
[ 5.873493] bootconsole [earlycon0] disabled
[ 5.883003] 48066000.serial: ttyS4 at MMIO 0x48066000 (irq = 302, base_baud = 3000000) is a 8250
[ 5.892618] 48420000.serial: ttyS6 at MMIO 0x48420000 (irq = 303, base_baud = 3000000) is a 8250
[ 5.903311] omap_rng 48090000.rng: OMAP Random Number Generator ver. 20
[ 5.910497] [drm] Initialized drm 1.1.0 20060810
[ 5.925513] brd: module loaded
[ 5.933927] loop: module loaded
[ 5.937386] (stk) :sysfs entries created
[ 5.941348] (stk) : debugfs entries created
[ 5.945636] (hci_tty): inside hci_tty_init
[ 5.950275] (hci_tty): allocated 249, 0
[ 5.956664] ahci 4a140000.sata: SSS flag set, parallel bus scan disabled
[ 5.963414] ahci 4a140000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
[ 5.971998] ahci 4a140000.sata: flags: 64bit ncq sntf stag pm led clo only pmp pio slum part ccc apst
[ 5.982472] scsi0 : ahci_platform
[ 5.986298] ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a1410ff] port 0x100 irq 338
[ 5.995634] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 6.005663] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
[ 6.012743] e1000: Copyright (c) 1999-2006 Intel Corporation.
[ 6.018682] e1000e: Intel(R) PRO/1000 Network Driver - 2.3.2-k
[ 6.024538] e1000e: Copyright(c) 1999 - 2013 Intel Corporation.
[ 6.030660] davinci_mdio_init:522....
[ 6.035215] usbcore: registered new interface driver asix
[ 6.040776] usbcore: registered new interface driver ax88179_178a
[ 6.047056] usbcore: registered new interface driver cdc_ether
[ 6.053061] usbcore: registered new interface driver smsc95xx
[ 6.058977] usbcore: registered new interface driver net1080
[ 6.064795] usbcore: registered new interface driver cdc_subset
[ 6.070885] usbcore: registered new interface driver zaurus
[ 6.076659] usbcore: registered new interface driver cdc_ncm
[ 6.335224] ata1: SATA link down (SStatus 0 SControl 300)
[ 6.888837] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 6.895409] ehci-pci: EHCI PCI platform driver
[ 6.900010] ehci-omap: OMAP-EHCI Host Controller driver
[ 6.905715] usbcore: registered new interface driver cdc_wdm
[ 6.911555] usbcore: registered new interface driver usb-storage
[ 6.918671] mousedev: PS/2 mouse device common for all mice
[ 6.926580] i2c-core: driver [rtc-ds1307] using legacy suspend method
[ 6.933049] i2c-core: driver [rtc-ds1307] using legacy resume method
[ 6.940071] omap_rtc 48838000.rtcss: rtc core: registered 48838000.rtcss as rtc0
[ 6.948433] i2c /dev entries driver
[ 6.953550] vpe 489d0000.vpe: loading firmware vpdma-1b8.bin
[ 6.959733] vip 48970000.vip: No explicit pinctrl resources data.
[ 6.966812] vip 48970000.vip: loading firmware vpdma-1b8.bin
[ 6.973025] DRA7xx Radio probe done
[ 6.976798] vpe 489d0000.vpe: Device registered as /dev/video0
[ 6.983084] Driver for 1-wire Dallas network protocol.
[ 6.988272] vip 48970000.vip: VPDMA firmware loaded
[ 6.993272] vip1-s1: Port A enabled but no endpoints found
[ 6.998691] vip1-s0: Port B enabled but no endpoints foundvip1-s1: Port B enabled but no endpoints found
[ 7.009252] coproc iva_coproc: probe
[ 7.013126] Adding alias for supply vdd,iva_coproc -> vdd,4a0025cc.voltdm
[ 7.019960] Adding alias for supply vbb,iva_coproc -> vbb,4a0025cc.voltdm
[ 7.028261] coproc iva_coproc: coproc_probe result=0
[ 7.033282] coproc dsp_coproc: probe
[ 7.036965] Adding alias for supply vdd,dsp_coproc -> vdd,4a0025e0.voltdm
[ 7.043783] Adding alias for supply vbb,dsp_coproc -> vbb,4a0025e0.voltdm
[ 7.052029] coproc dsp_coproc: coproc_probe result=0
[ 7.061220] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 7.115760] ledtrig-cpu: registered to indicate activity on CPUs
[ 7.122199] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
[ 7.140553] mmc0: host does not support reading read-only switch. assuming write-enable.
[ 7.141286] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
[ 7.154613] mmc0: new SDHC card at address 0001
[ 7.154794] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
[ 7.165508] alg: skcipher: setkey failed on test 5 for ecb-des-omap: flags=100
[ 7.172838] mmcblk0: mmc0:0001 SD4GB 3.64 GiB
[ 7.173171] alg: skcipher-ddst: setkey failed on test 5 for ecb-des-omap: flags=100
[ 7.173592] alg: skcipher-ddst: setkey failed on test 5 for ecb-des-omap: flags=100
[ 7.194223] mmcblk0: p1 p2
[ 7.197786] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
[ 7.225456] usbcore: registered new interface driver usbhid
[ 7.231054] usbhid: USB HID core driver
[ 7.236059] remoteproc0: 58820000.ipu is available
[ 7.240959] remoteproc0: Note: remoteproc is still under development and considered experimental.
[ 7.250173] remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[ 7.260710] remoteproc0: Direct firmware load failed with error -2
[ 7.267193] remoteproc1: 55020000.ipu is available
[ 7.272092] remoteproc1: Note: remoteproc is still under development and considered experimental.
[ 7.281124] remoteproc0: Falling back to user helper
[ 7.285215] remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[ 7.285325] remoteproc1: Direct firmware load failed with error -2
[ 7.285329] remoteproc1: Falling back to user helper
[ 7.285589] remoteproc2: 40800000.dsp is available
[ 7.285593] remoteproc2: Note: remoteproc is still under development and considered experimental.
[ 7.285596] remoteproc2: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[ 7.285715] remoteproc2: Direct firmware load failed with error -2
[ 7.285718] remoteproc2: Falling back to user helper
[ 7.286100] remoteproc3: 41000000.dsp is available
[ 7.286103] remoteproc3: Note: remoteproc is still under development and considered experimental.
[ 7.286106] remoteproc3: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[ 7.286416] remoteproc3: Direct firmware load failed with error -2
[ 7.286420] remoteproc3: Falling back to user helper
[ 7.290660] tlv320aic3x-codec 1-0018: Failed to get supply 'IOVDD': -517
[ 7.290666] tlv320aic3x-codec 1-0018: Failed to request supplies: -517
[ 7.290777] i2c 1-0018: Driver tlv320aic3x-codec requests probe deferral
[ 7.290956] tlv320aic3x-codec 1-0019: Failed to get supply 'IOVDD': -517
[ 7.290961] tlv320aic3x-codec 1-0019: Failed to request supplies: -517
[ 7.291065] i2c 1-0019: Driver tlv320aic3x-codec requests probe deferral
[ 7.291244] tlv320aic3x-codec 1-001a: Failed to get supply 'IOVDD': -517
[ 7.291249] tlv320aic3x-codec 1-001a: Failed to request supplies: -517
[ 7.291350] i2c 1-001a: Driver tlv320aic3x-codec requests probe deferral
[ 7.291870] platform bt_sco_card: Driver asoc-simple-card requests probe deferral
[ 7.446943] asoc-simple-card asoc-simple-card.0: hdmi-hifi <-> 58040000.encoder mapping ok
[ 7.457001] davinci-mcasp 48464000.mcasp: DAI is shared
[ 7.462802] davinci-mcasp 48468000.mcasp: numevt will be ignored due to errata i868
[ 7.471608] davinci-mcasp 48474000.mcasp: DAI is shared
[ 7.477271] davinci-mcasp 48474000.mcasp: numevt will be ignored due to errata i868
[ 7.485415] davinci-mcasp 48478000.mcasp: numevt will be ignored due to errata i868
[ 7.493506] davinci-mcasp 4847c000.mcasp: numevt will be ignored due to errata i868
[ 7.502270] dra7xx-jamr3-snd jamr3_sound: ASoC: CODEC (null) not registered
[ 7.509316] dra7xx-jamr3-snd jamr3_sound: failed to register sound card -517
[ 7.516420] platform jamr3_sound: Driver dra7xx-jamr3-snd requests probe deferral
[ 7.524837] oprofile: using timer interrupt.
[ 7.529221] nf_conntrack version 0.5.0 (7858 buckets, 31432 max)
[ 7.535707] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 7.541116] TCP: cubic registered
[ 7.544443] Initializing XFRM netlink socket
[ 7.548759] NET: Registered protocol family 17
[ 7.553237] NET: Registered protocol family 15
[ 7.557786] Bridge firewalling registered
[ 7.561816] can: controller area network core (rev 20120528 abi 9)
[ 7.568093] NET: Registered protocol family 29
[ 7.572555] can: raw protocol (rev 20120528)
[ 7.576893] 8021q: 802.1Q VLAN Support v1.8
[ 7.581126] Key type dns_resolver registered
[ 7.585429] NET: Registered protocol family 41
[ 7.590611] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.voltdm
[ 7.596924] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.voltdm
[ 7.603549] cpu cpu0: of_pm_voltdm_notifier_register: Fail calculating voltage latency[1100000<->1100000]:-22
[ 7.614136] Power Management for TI OMAP4+ devices.
[ 7.619234] ThumbEE CPU extension supported.
[ 7.623534] Registering SWP/SWPB emulation handler
[ 7.628357] SmartReflex Class3 initialized
[ 7.634301] vmmcwl_fixed: disabling
[ 7.637824] regulator-dummy: disabling
[ 7.641846] dmm 4e000000.dmm: workaround for errata i878 in use
[ 7.650072] dmm 4e000000.dmm: initialized all PAT entries
[ 7.655998] platform omapdrm.0: Driver omapdrm requests probe deferral
[ 7.664323] evm_3v3_sw: 3300 mV
[ 7.667633] evm_3v3_sw: supplied by sysen1
[ 7.672282] aic_dvdd: 1800 mV
[ 7.675411] aic_dvdd: supplied by evm_3v3_sw
[ 7.680060] vtt_fixed: 1350 mV
[ 7.683250] vtt_fixed: supplied by sysen2
[ 7.687790] ============tpd_probe_of:323===========
[ 7.695600] asoc-simple-card bt_sco_card: bt-sco-pcm <-> 48478000.mcasp mapping ok
[ 7.714434] dra7xx-jamr3-snd jamr3_sound: multicodec <-> 48474000.mcasp mapping ok
[ 7.737943] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 7.744588] [drm] No driver support for vblank timestamp query.
[ 7.750565] omapdrm omapdrm.0: No connectors reported connected with modes
[ 7.757485] [drm] Cannot find any crtc or sizes - going 1024x768
[ 7.767582] [drm] Enabling DMM ywrap scrolling
[ 7.778267] Console: switching to colour frame buffer device 128x48
[ 7.790011] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
[ 7.796022] omapdrm omapdrm.0: registered panic notifier
[ 7.801368] [drm] Initialized omapdrm 1.0.0 20110917 on minor 0
[ 7.808526] cpsw 48484000.ethernet: =========cpsw_probe==========
[ 7.815241] davinci_mdio_probe:328....
[ 7.819071] of_mdiobus_register:113 ......
[ 7.823185] mdiobus_register:271 , bus->name=[48485000.mdio], bus->id=[48485000.mdio] =======
[ 7.875223] davinci_mdio 48485000.mdio: davinci mdio revision 1.6
[ 7.881345] davinci_mdio 48485000.mdio: detected phy mask e7c0ffff
[ 7.887563] i=16
[ 7.889408] mdiobus_scan:374=======
[ 7.895100] mdiobus_scan:396=======
[ 7.898619] i=17
[ 7.900463] mdiobus_scan:374=======
[ 7.905997] mdiobus_scan:396=======
[ 7.909499] i=18
[ 7.911342] mdiobus_scan:374=======
[ 7.916914] mdiobus_scan:396=======
[ 7.920416] i=19
[ 7.922259] mdiobus_scan:374=======
[ 7.927818] mdiobus_scan:396=======
[ 7.931320] i=20
[ 7.933163] mdiobus_scan:374=======
[ 7.938733] mdiobus_scan:396=======
[ 7.942236] i=21
[ 7.944078] mdiobus_scan:374=======
[ 7.949667] mdiobus_scan:396=======
[ 7.953170] i=27
[ 7.955013] mdiobus_scan:374=======
[ 7.960582] mdiobus_scan:396=======
[ 7.964084] i=28
[ 7.965943] mdiobus_scan:374=======
[ 7.971533] mdiobus_scan:396=======
[ 7.975037] libphy: mdiobus_register:316 - 48485000.mdio: probed
[ 7.981108] davinci_mdio 48485000.mdio: phy[16]: device 48485000.mdio:10, driver unknown
[ 7.989248] davinci_mdio 48485000.mdio: phy[17]: device 48485000.mdio:11, driver unknown
[ 7.997392] davinci_mdio 48485000.mdio: phy[18]: device 48485000.mdio:12, driver unknown
[ 8.005531] davinci_mdio 48485000.mdio: phy[19]: device 48485000.mdio:13, driver unknown
[ 8.013657] davinci_mdio 48485000.mdio: phy[20]: device 48485000.mdio:14, driver unknown
[ 8.021799] davinci_mdio 48485000.mdio: phy[21]: device 48485000.mdio:15, driver unknown
[ 8.029937] davinci_mdio 48485000.mdio: phy[27]: device 48485000.mdio:1b, driver unknown
[ 8.038085] davinci_mdio 48485000.mdio: phy[28]: device 48485000.mdio:1c, driver Generic PHY
[ 8.047163] cpsw 48484000.ethernet: Missing dual_emac_res_vlan in DT.
[ 8.053634] cpsw 48484000.ethernet: Using 1 as Reserved VLAN for 0 slave
[ 8.060478] cpsw 48484000.ethernet: Missing dual_emac_res_vlan in DT.
[ 8.066961] cpsw 48484000.ethernet: Using 2 as Reserved VLAN for 1 slave
[ 8.073691] cpsw 48484000.ethernet: Detected MACID = 7c:ec:79:9c:14:5a
[ 8.081262] cpsw 48484000.ethernet: cpsw: Detected MACID = 7c:ec:79:97:b8:13
[ 8.089879] input: gpio-keys as /devices/gpio-keys/input/input0
[ 8.096368] omap_rtc 48838000.rtcss: setting system clock to 2000-01-01 00:00:01 UTC (946684801)
[ 8.105235] sr_init: No PMIC hook to init smartreflex
[ 8.110639] sr_init: platform driver register failed for SR
[ 8.128827] Distributed Switch Architecture driver version 0.1
[ 8.134749] 203: mdio_bus_np->name=mdio
[ 8.139545] eth0[0]: detected a Marvell 88e6165 (A2) switch
[ 8.145152] mv88e6123_61_65_setup:319=======
[ 8.149452] mv88e6123_61_65_switch_reset:61=======
[ 8.345983] dsa_is_cpu_port p=5.....
[ 8.349659] dsa_is_cpu_port 2.p=5.....
[ 8.378231] dsa_slave_mii_bus_init:42 =======
[ 8.382607] dsa_slave_mii_bus_init:51 , ds->phys_mii_mask = 0xf =======
[ 8.389260] mdiobus_register:271 , bus->name=[dsa slave smi], bus->id=[dsa-0:00] =======
[ 8.397695] i=0
[ 8.399454] mdiobus_scan:374=======
[ 8.405267] mdiobus_scan:396=======
[ 8.408770] i=1
[ 8.410525] mdiobus_scan:374=======
[ 8.416131] mdiobus_scan:396=======
[ 8.419633] i=2
[ 8.421390] mdiobus_scan:374=======
[ 8.427026] mdiobus_scan:396=======
[ 8.430529] i=3
[ 8.432285] mdiobus_scan:374=======
[ 8.437944] mdiobus_scan:396=======
[ 8.441448] libphy: mdiobus_register:316 - dsa slave smi: probed
[ 8.447606] phy_init_hw:544
[ 8.450413] mv88e6123_61_65_phy_write: port(0) , regnum(0) , val(0x8000)
[ 8.537865] mv88e6123_61_65_phy_write: port(0) , regnum(0) , val(0x0)
[ 8.545956] net lan1: PHY already attached
[ 8.550137] phy_init_hw:544
[ 8.552944] mv88e6123_61_65_phy_write: port(1) , regnum(0) , val(0x8000)
[ 8.638225] mv88e6123_61_65_phy_write: port(1) , regnum(0) , val(0x0)
[ 8.646252] net lan2: PHY already attached
[ 8.650431] phy_init_hw:544
[ 8.653239] mv88e6123_61_65_phy_write: port(2) , regnum(0) , val(0x8000)
[ 8.738065] mv88e6123_61_65_phy_write: port(2) , regnum(0) , val(0x0)
[ 8.746068] net lan3: PHY already attached
[ 8.750245] phy_init_hw:544
[ 8.753053] mv88e6123_61_65_phy_write: port(3) , regnum(0) , val(0x8000)
[ 8.837905] mv88e6123_61_65_phy_write: port(3) , regnum(0) , val(0x0)
[ 8.845929] net lan4: PHY already attached
[ 8.850581] ALSA device list:
[ 8.853562] #2: HDMI 58040000.encoder
[ 8.857430] #3: DRA7xx-WiLink
[ 8.860583] #4: DRA7xx-JAMR3
[ 9.179970] EXT4-fs (mmcblk0p2): recovery complete
[ 9.187477] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 9.195647] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 9.206914] devtmpfs: mounted
[ 9.210198] Freeing unused kernel memory: 376K (c0970000 - c09ce000)
INIT: version 2.88 booting
Starting udev
[ 9.826700] udevd[1297]: starting version 182
[ 10.165762] remoteproc3: failed to load dra7-dsp2-fw.xe66
[ 10.259961] remoteproc2: powering up 40800000.dsp
[ 10.265156] remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 929770
[ 10.338446] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
[ 10.344350] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
[ 10.350279] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
[ 10.354905] dwc3_omap: version magic '3.14.49 SMP preempt mod_unload modversions ARMv6 p2v8 ' should be '3.14.49 SMP preempt mod_unload modversions ARMv7 p2v8 '
[ 10.355503] dwc3_omap: version magic '3.14.49 SMP preempt mod_unload modversions ARMv6 p2v8 ' should be '3.14.49 SMP preempt mod_unload modversions ARMv7 p2v8 '
[ 10.540086] dwc3: version magic '3.14.49 SMP preempt mod_unload modversions ARMv6 p2v8 ' should be '3.14.49 SMP preempt mod_unload modversions ARMv7 p2v8 '
[ 10.555093] dwc3: version magic '3.14.49 SMP preempt mod_unload modversions ARMv6 p2v8 ' should be '3.14.49 SMP preempt mod_unload modversions ARMv7 p2v8 '
[ 10.627257] remoteproc0: failed to load dra7-ipu1-fw.xem4
[ 10.678457] 6lowpan_iphc: version magic '3.14.49 SMP preempt mod_unload modversions ARMv6 p2v8 ' should be '3.14.49 SMP preempt mod_unload modversions ARMv7 p2v8 '
[ 10.689055] remoteproc2: remote processor 40800000.dsp is now up
[ 10.699790] virtio_rpmsg_bus virtio0: rpmsg host is online
udevd[1505]: failed to execute '/etc/udev/scripts/mount.sh' '/et[ 10.715117] remoteproc2: registered virtio0 (type 7)
c/udev/scripts/mount.sh': No such file or directory
[ 10.715885] virtio_rpmsg_bus virtio0: creating channel rpmsg-client-sample addr 0x36
[ 10.716055] virtio_rpmsg_bus virtio0: creating channel rpmsg-client-sample addr 0x37
[ 10.716205] virtio_rpmsg_bus virtio0: creating channel rpmsg-rpc addr 0x3b
[ 10.716363] rpmsg_rpc rpmsg2: probing service rpmsg-dce-dsp with src 1024 dst 59
[ 10.771435] can_dev: version magic '3.14.49 SMP preempt mod_unload modversions ARMv6 p2v8 ' should be '3.14.49 SMP preempt mod_unload modversions ARMv7 p2v8 '
[ 10.771590] rpmsg_rpc rpmsg2: published functions = 8
[ 10.787417] m25p80: version magic '3.14.49 SMP preempt mod_unload modversions ARMv6 p2v8 ' should be '3.14.49 SMP preempt mod_unload modversions ARMv7 p2v8 '
[ 10.809847] m25p80: version magic '3.14.49 SMP preempt mod_unload modversions ARMv6 p2v8 ' should be '3.14.49 SMP preempt mod_unload modversions ARMv7 p2v8 '
[ 10.814380] 6lowpan_iphc: version magic '3.14.49 SMP preempt mod_unload modversions ARMv6 p2v8 ' should be '3.14.49 SMP preempt mod_unload modversions ARMv7 p2v8 '
[ 10.839164] can_dev: version magic '3.14.49 SMP preempt mod_unload modversions ARMv6 p2v8 ' should be '3.14.49 SMP preempt mod_unload modversions ARMv7 p2v8 '
[ 11.155471] configfs: version magic '3.14.49 SMP preempt mod_unload modversions ARMv6 p2v8 ' should be '3.14.49 SMP preempt mod_unload modversions ARMv7 p2v8 '
[ 11.198723] remoteproc1: powering up 55020000.ipu
[ 11.203551] remoteproc1: Booting fw image dra7-ipu2-fw.xem4, size 3484972
[ 11.213969] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
udevd[1566]: failed to execute '/etc/udev/scripts/mount.sh' '/etc/udev/scripts/mount.sh': No such file or directory
[ 11.290750] remoteproc1: remote processor 55020000.ipu is now up
[ 11.297443] virtio_rpmsg_bus virtio1: rpmsg host is online
[ 11.302981] remoteproc1: registered virtio1 (type 7)
[ 11.306138] virtio_rpmsg_bus virtio1: creating channel rpmsg-rpc addr 0x3b
[ 11.306334] rpmsg_rpc rpmsg3: probing service rpmsg-dce with src 1024 dst 59
[ 11.323922] rpmsg_rpc rpmsg3: published functions = 8
[ 13.215899] random: nonblocking pool is initialized
[ 13.462807] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
Starting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such file or directory
bootlogd.
ALSA: Restoring mixer settings...
Thu Sep 3 20:28:00 UTC 2015
[ 13.862952] gpio_i2c_slave: version magic '3.14.49 A0000104 SMP preempt mod_unload modversions ARMv6 p2v8 ' should be '3.14.49 SMP preempt mod_unload modversions ARMv7 p2v8 '
insmod: ERROR: could not insert module /usr/local/bin/gpio-i2c-slave.ko: Invalid module format
/usr/local/bin/set_gpio_output_low: line 12: echo: write error: Device or resource busy
/usr/local/bin/set_gpio_output_low: line 13: /sys/class/gpio/gpio227/direction: No such file or directory
/usr/local/bin/set_gpio_output_low: line 12: echo: write error: Device or resource busy
/usr/local/bin/set_gpio_output_low: line 13: /sys/class/gpio/gpio228/direction: No such file or directory
/usr/local/bin/set_gpio_output_high: line 12: echo: write error: Device or resource busy
/usr/local/bin/set_gpio_output_high: line 13: /sys/class/gpio/gpio97/direction: No such file or directory
/usr/local/bin/set_gpio_output_high: line 12: echo: write error: Device or resource busy
/usr/local/bin/set_gpio_output_high: line 13: /sys/class/gpio/gpio98/direction: No such file or directory
/usr/local/bin/set_gpio_output_high: line 12: echo: write error: Device or resource busy
/usr/local/bin/set_gpio_output_high: line 13: /sys/class/gpio/gpio32/direction: No such file or directory
/usr/local/bin/set_gpio_output_high: line 12: echo: write error: Device or resource busy
/usr/local/bin/set_gpio_output_high: line 13: /sys/class/gpio/gpio33/direction: No such file or directory
/usr/local/bin/set_gpio_output_high:INIT: Entering runlevel: 5
Configuring network interfaces... [ 14.111990] net eth0: initializing cpsw version 1.15 (0)
[ 14.120471] libphy: PHY 48485000.mdio:01 not found
[ 14.125306] net eth0: phy 48485000.mdio:01 not found on slave 0
[ 14.138060] 8021q: adding VLAN 0 to HW filter on device eth0
done.
Starting system message bus: dbus.
UIM SYSFS Node Found at /sys/./devices/kim/install
Starting uim-sysfs daemon.
uim:@ main
uim:install = /sys/./devices/kim/install
uim:dev_name = /sys/./devices/kim/dev_name
uim:baud_rate = /sys/./devices/kim/baud_rate
uim:flow_cntrl = /sys/./devices/kim/flow_cntrl
uim:begin polling...
Starting telnet daemon.
Starting tiipclad daemon
GateMP support enabled on host
Opened log file: lad.txt
numProcessors = 5 id = 0 baseId = 0
Spawned daemon: /usr/bin/lad_dra7xx
.
Starting rpcbind daemon...rpcbind: cannot create socket for udp6
rpcbind: cannot create socket for tcp6
done.
creating NFS state directory: done
starting statd: done
NFS daemon support not enabled in kernel
Starting syslogd/klogd: done
Starting thttpd.
Enabling thermal zones...
*** insert kernel module to i2c ***
[ 15.157489] gpio_i2c_slave: version magic '3.14.49 SMP preempt mod_unload modversions ARMv6 p2v8 ' should be '3.14.49 SMP preempt mod_unload modversions ARMv7 p2v8 '
insmod: ERROR: could not insert module /lib/modules/3.14.49/kernel/drivers/gpio/gpio-i2c-slave.ko: Invalid module format
*** Running User Application ***
2016.04.07 05:05 PM
This version is for J6e
server: bind: Address already in use
server: socket: Address family not supported by protocol
server: failed to bind
Stopping Bootlog daemon: bootlogd.
_____ _____ _ _
| _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
| | _| .'| . | . | | __| _| . | | | -_| _| _|
|__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
|___| |___|
Arago Project http://arago-project.org wnc-cb /dev/ttyO2
Arago 2013.10 wnc-cb /dev/ttyO2
wnc-cb login: [ 21.348897] omap_hwmod: mmu_ipu2: _wait_target_disable failed
_____ _____ _ _
| _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
| | _| .'| . | . | | __| _| . | | | -_| _| _|
|__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
|___| |___|
Arago Project http://arago-project.org wnc-cb /dev/ttyO2
Arago 2013.10 wnc-cb /dev/ttyO2
wnc-cb login: root
root@wnc-cb:~# ifconfig eth1 up
[ 202.579630] net eth1: initializing cpsw version 1.15 (0)
[ 202.588058] phy_init_hw:544
[ 202.667887] net eth1: phy found : id is : 0xff001653
[ 202.673002] cpsw_gmii_sel_dra7xx:95 , phy_mode=7, slave=1
[ 202.682603] 8021q: adding VLAN 0 to HW filter on device eth1
root@wnc-cb:~# [ 204.670414] cpsw 48484000.ethernet eth1: Link is Up - 10Mbps/Half - flow control off
root@wnc-cb:~# iof fconfig eth0 0.0.0.0
root@wnc-cb:~# ifconfig eth1 192.168.1.1
root@wnc-cb:~# ifconfig lan1 up
root@wnc-cb:~# [ 216.206087] dsa dsa@0 lan1: link up, 10 Mb/s, half duplex, flow control disabled
[ 216.537843] mv88e6123_61_65_phy_write: port(0) , regnum(9) , val(0xf00)
[ 216.546164] mv88e6123_61_65_phy_write: port(0) , regnum(0) , val(0x1200)
[ 217.206043] dsa dsa@0 lan1: link down
[ 217.551324] dsa dsa@0 lan1: Link is Down
[ 219.205965] dsa dsa@0 lan1: link up, 1000 Mb/s, full duplex, flow control disabled
[ 219.562165] dsa dsa@0 lan1: Link is Up - 1Gbps/Full - flow control rx/tx
root@wnc-cb:~# ifconfig lan3 up
root@wnc-cb:~# [ 223.767922] mv88e6123_61_65_phy_write: port(2) , regnum(9) , val(0xf00)
[ 223.776242] mv88e6123_61_65_phy_write: port(2) , regnum(0) , val(0x1200)
root@wnc-cb:~# [ 224.781403] dsa dsa@0 lan3: Link is Down
root@wnc-cb:~# ping 192.168.1.2
PING 192.168.1.2 (192.168.1.2): 56 data bytes
^C
--- 192.168.1.2 ping statistics ---
2 packets transmitted, 0 packets received, 100% packet loss
root@wnc-cb:~# ifconfig eth1
eth1 Link encap:Ethernet HWaddr 7C:EC:79:97:B8:13
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:180 (180.0 B)
root@wnc-cb:~# ifconfig eth1ping 192.168.1.2
PING 192.168.1.2 (192.168.1.2): 56 data bytes
^C
--- 192.168.1.2 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
root@wnc-cb:~# ping 192.168.1.2ifconfig eth1
eth1 Link encap:Ethernet HWaddr 7C:EC:79:97:B8:13
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:360 (360.0 B)
root@wnc-cb:~#
/*
* Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
/dts-v1/;
#include "dra74x.dtsi"
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/clk/ti-dra7-atl.h>
#include <dt-bindings/pinmux/mux_dra7xx.h>
/ {
model = "TI DRA742";
compatible = "ti,dra7-evm", "ti,dra742", "ti,dra74", "ti,dra7";
memory {
device_type = "memory";
//reg = <0x80000000 0x60000000>; /* 1536 MB */
//reg = <0x80000000 0x80000000>; /* 2048 MB */
reg = <0x80000000 0x20000000>; /* 512 MB */
};
dsa@0 {
compatible = "marvell,dsa";
#address-cells = <2>;
#size-cells = <0>;
interrupts = <10>;
dsa,ethernet = <&mac>;
dsa,mii-bus = <&davinci_mdio>;
switch@0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0 0>; /* MDIO address 0, switch 0 in tree */
port@0 {
reg = <0>;
label = "lan1";
phy-handle = <&davinci_mdio>;
};
port@1 {
reg = <1>;
label = "lan2";
phy-handle = <&davinci_mdio>;
};
port@2 {
reg = <2>;
label = "lan3";
phy-handle = <&davinci_mdio>;
};
port@3 {
reg = <3>;
label = "lan4";
phy-handle = <&davinci_mdio>;
};
/*
port@4 {
reg = <4>;
label = "lan5";
phy-handle = <&davinci_mdio>;
};
*/
port@5 {
reg = <5>;
label = "cpu";
phy-handle = <&davinci_mdio>;
};
};
};
gpio-keys {
compatible = "gpio-keys";
soc_reset_out {
label = "soc_reset_out";
gpios = <&gpio3 7 0>;
gpio-key,wakeup;
linux,code = <2>; // key
};
};
leds {
pinctrl-names = "default";
pinctrl-0 = <&user_leds_default>;
compatible = "gpio-leds";
led@1 {
label = "V1P8_N";
gpios = <&gpio2 13 GPIO_ACTIVE_LOW>;
linux,default-trigger = "none";
default-state = "on";
};
led@2 {
label = "V3P3_N";
gpios = <&gpio2 14 GPIO_ACTIVE_LOW>;
linux,default-trigger = "none";
default-state = "on";
};
led@3 {
label = "eMMC_RST";
gpios = <&gpio3 10 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "none";
default-state = "on";
};
led@4 {
label = "eMMC_PWR_EN_N";
gpios = <&gpio2 11 GPIO_ACTIVE_LOW>;
linux,default-trigger = "none";
default-state = "on";
};
led@5 {
label = "UART_MUX_1";
gpios = <&gpio8 3 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "none";
default-state = "on";
};
led@6 {
label = "UART_MUX_0";
gpios = <&gpio8 4 GPIO_ACTIVE_LOW>;
linux,default-trigger = "none";
default-state = "on";
};
led@7 {
label = "ETH_RST_N";
gpios = <&gpio5 15 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "none";
default-state = "on";
};
led@8 {
label = "LGA_SYSBOOT_1";
gpios = <&gpio3 25 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "none";
default-state = "on";
};
led@9 {
label = "LGA_SYSBOOT_2";
gpios = <&gpio3 26 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "none";
default-state = "on";
};
led@10 {
label = "LGA_SYSBOOT_3";
gpios = <&gpio6 13 GPIO_ACTIVE_LOW>;
linux,default-trigger = "none";
default-state = "on";
};
led@11 {
label = "FPGA_RST_N";
gpios = <&gpio8 9 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "none";
default-state = "on";
};
led@12 {
label = "WLAN_V3P3_EN_N";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
linux,default-trigger = "none";
default-state = "on";
};
led@13 {
label = "MD_12VPA_EN";
gpios = <&gpio2 0 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "none";
default-state = "on";
};
led@14 {
label = "MD_12VPB_EN";
gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "none";
default-state = "on";
};
led@15 {
label = "eMD_V5P0_EN";
gpios = <&gpio4 1 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "none";
default-state = "on";
};
led@16 {
label = "eMD_V3P3_EN";
gpios = <&gpio4 2 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "none";
default-state = "on";
};
led@17 {
label = "SATA_PATH_EN";
gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "none";
default-state = "on";
};
led@18 {
label = "SOC_POWER_ON";
gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "none";
default-state = "on";
};
led@19 {
label = "SOC_RESET_IN";
gpios = <&gpio3 6 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "none";
default-state = "on";
};
led@20 {
label = "LGA_SYSBOOT_5";
gpios = <&gpio2 15 GPIO_ACTIVE_LOW>;
linux,default-trigger = "none";
default-state = "on";
};
led@21 {
label = "FPGA_GPIO5";
gpios = <&gpio3 29 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "none";
default-state = "on";
};
led@22 {
label = "FPGA_GPIO3";
gpios = <&gpio4 9 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "none";
default-state = "on";
};
led@23 {
label = "BOOT_MODE0";
gpios = <&gpio7 0 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "none";
default-state = "on";
};
led@24 {
label = "BOOT_MODE1";
gpios = <&gpio7 1 GPIO_ACTIVE_LOW>;
linux,default-trigger = "none";
default-state = "on";
};
led@25 {
label = "PCIE_RST";
gpios = <&gpio2 16 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "none";
default-state = "on";
};
led@26 {
label = "PCIE_EN";
gpios = <&gpio5 16 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "none";
default-state = "on";
};
led@27 {
label = "PCIECLK_RESET_N";
gpios = <&gpio8 2 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "none";
default-state = "on";
};
led@28 {
label = "USB_SEL";
gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "none";
default-state = "on";
};
led@29 {
label = "HS_OE_N";
gpios = <&gpio3 24 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "none";
default-state = "on";
};
};
reserved_mem: reserved-memory {
#address-cells = <1>;
#size-cells = <1>;
ranges;
ipu2_cma_pool: ipu2_cma@95800000 {
compatible = "shared-dma-pool";
reg = <0x95800000 0x3800000>;
reusable;
status = "okay";
};
dsp1_cma_pool: dsp1_cma@99000000 {
compatible = "shared-dma-pool";
reg = <0x99000000 0x4000000>;
reusable;
status = "okay";
};
ipu1_cma_pool: ipu1_cma@9d000000 {
compatible = "shared-dma-pool";
reg = <0x9d000000 0x2000000>;
reusable;
status = "okay";
};
dsp2_cma_pool: dsp2_cma@9f000000 {
compatible = "shared-dma-pool";
reg = <0x9f000000 0x800000>;
reusable;
status = "okay";
};
};
/*
extcon_usb1: extcon_usb1 {
compatible = "linux,extcon-usb-gpio";
id-gpios = <&pcf_gpio_21 1 GPIO_ACTIVE_HIGH>;
};
extcon_usb2: extcon_usb2 {
compatible = "linux,extcon-usb-gpio";
id-gpios = <&pcf_gpio_21 2 GPIO_ACTIVE_HIGH>;
};
*/
evm_3v3_sd: fixedregulator-evm_3v3_sd {
compatible = "regulator-fixed";
regulator-name = "evm_3v3_sd";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
};
evm_3v3_sw: fixedregulator-evm_3v3_sw {
compatible = "regulator-fixed";
regulator-name = "evm_3v3_sw";
vin-supply = <&sysen1>;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
};
aic_dvdd: fixedregulator-aic_dvdd {
/* TPS77018DBVT */
compatible = "regulator-fixed";
regulator-name = "aic_dvdd";
vin-supply = <&evm_3v3_sw>;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
};
vmmcwl_fixed: fixedregulator-mmcwl {
compatible = "regulator-fixed";
regulator-name = "vmmcwl_fixed";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
//gpio = <&gpio5 8 0>; /* gpio5_8 */
startup-delay-us = <70000>;
//enable-active-high;
};
kim {
compatible = "kim";
nshutdown_gpio = <132>;
dev_name = "/dev/ttyS2";
flow_cntrl = <1>;
baud_rate = <3686400>;
};
btwilink {
compatible = "btwilink";
};
vtt_fixed: fixedregulator-vtt {
compatible = "regulator-fixed";
regulator-name = "vtt_fixed";
regulator-min-microvolt = <1350000>;
regulator-max-microvolt = <1350000>;
regulator-always-on;
regulator-boot-on;
//enable-active-high;
vin-supply = <&sysen2>;
//gpio = <&gpio7 11 GPIO_ACTIVE_HIGH>;
};
aliases {
display0 = &hdmi0;
//sound0 = &primary_sound;
//sound1 = &hdmi;
};
hdmi0: connector@1 {
compatible = "hdmi-connector";
label = "hdmi";
type = "a";
port {
hdmi_connector_in: endpoint {
remote-endpoint = <&tpd12s015_out>;
};
};
};
tpd12s015: encoder@1 {
compatible = "ti,dra7evm-tpd12s015";
pinctrl-names = "i2c", "ddc";
pinctrl-0 = <&hdmi_i2c_sel_pin &hdmi_i2c_pins_i2c>;
pinctrl-1 = <&hdmi_i2c_sel_pin &hdmi_i2c_pins_ddc>;
ddc-i2c-bus = <&i2c2>;
mcasp-gpio = <&mcasp8>;
gpios = <&pcf_hdmi 4 0>, /* P4, CT CP HPD */
<&pcf_hdmi 5 0>, /* P5, LS OE */
<&gpio7 12 0>; /* gpio7_12/sp1_cs2, HPD */
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
tpd12s015_in: endpoint@0 {
remote-endpoint = <&hdmi_out>;
};
};
port@1 {
reg = <1>;
tpd12s015_out: endpoint@0 {
remote-endpoint = <&hdmi_connector_in>;
};
};
};
};
ocp {
gpu: gpu@0x56000000 {
gpu0-voltdm = <&voltdm_gpu>;
};
};
/*
primary_sound: primary_sound {
compatible = "ti,dra7xx-evm-audio";
ti,model = "DRA7xx-EVM";
ti,always-on;
ti,audio-codec = <&tlv320aic3106>;
ti,mcasp-controller = <&mcasp3>;
ti,codec-clock-rate = <11289600>;
clocks = <&atl_clkin2_ck>;
clock-names = "mclk";
ti,audio-routing =
"Headphone Jack", "HPLOUT",
"Headphone Jack", "HPROUT",
"Line Out", "LLOUT",
"Line Out", "RLOUT",
"MIC3L", "Mic Jack",
"MIC3R", "Mic Jack",
"Mic Jack", "Mic Bias",
"LINE1L", "Line In",
"LINE1R", "Line In";
};
*/
btwilink_sound: btwilink_sound {
#sound-dai-cells = <0>;
compatible = "linux,bt-sco-audio";
status = "okay";
};
simple_bt_sco_card: bt_sco_card {
compatible = "simple-audio-card";
simple-audio-card,name = "DRA7xx-WiLink";
simple-audio-card,format = "dsp_a";
simple-audio-card,frame-master = <&btwilink_codec>;
simple-audio-card,bitclock-master = <&btwilink_codec>;
simple-audio-card,frame-inversion;
simple-audio-card,cpu {
sound-dai = <&mcasp7>;
};
btwilink_codec: simple-audio-card,codec {
sound-dai = <&btwilink_sound>;
};
};
};
&dra7_pmx_core {
cpsw_default: cpsw_default {
pinctrl-single,pins = <
// Slave 1
0x250 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) // rgmii0_tclk.rgmii0_tclk W9
0x254 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) // rgmii0_tctl.rgmii0_tctl V9
0x258 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) // rgmii0_td3.rgmii0_td3 V7
0x25c (PIN_OUTPUT_PULLDOWN | MUX_MODE0) // rgmii0_td2.rgmii0_td2 U7
0x260 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) // rgmii0_td1.rgmii0_td1 V6
0x264 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) // rgmii0_td0.rgmii0_td0 U6
0x268 (PIN_INPUT_PULLDOWN | MUX_MODE0) // rmii0_rclk.rmii0_rclk U5
0x26c (PIN_INPUT_PULLDOWN | MUX_MODE0) // rgmii0_rctl.rgmii0_rctl V5
0x270 (PIN_INPUT_PULLDOWN | MUX_MODE0) // rgmii0_rd3.rgmii0_rd3 V4
0x274 (PIN_INPUT_PULLDOWN | MUX_MODE0) // rgmii0_rd2.rgmii0_rd2 V3
0x278 (PIN_INPUT_PULLDOWN | MUX_MODE0) // rgmii0_rd1.rgmii0_rd1 Y2
0x27c (PIN_INPUT_PULLDOWN | MUX_MODE0) // rgmii0_rd0.rgmii0_rd0 W2
/* Slave 2 */
0x198 (PIN_OUTPUT_PULLDOWN | MUX_MODE3) /* vin2a_d12.rgmii1_tclk D5 */
0x19c (PIN_OUTPUT_PULLDOWN | MUX_MODE3) /* vin2a_d13.rgmii1_tctl C2 */
0x1a0 (PIN_OUTPUT_PULLDOWN | MUX_MODE3) /* vin2a_d14.rgmii1_td3 C3 */
0x1a4 (PIN_OUTPUT_PULLDOWN | MUX_MODE3) /* vin2a_d15.rgmii1_td2 C4 */
0x1a8 (PIN_OUTPUT_PULLDOWN | MUX_MODE3) /* vin2a_d16.rgmii1_td1 B2 */
0x1ac (PIN_OUTPUT_PULLDOWN | MUX_MODE3) /* vin2a_d17.rgmii1_td0 D6 */
0x1b0 (PIN_INPUT_PULLDOWN | MUX_MODE3) /* vin2a_d18.rgmii1_rclk C5 */
0x1b4 (PIN_INPUT_PULLDOWN | MUX_MODE3) /* vin2a_d19.rgmii1_rctl A3 */
0x1b8 (PIN_INPUT_PULLDOWN | MUX_MODE3) /* vin2a_d20.rgmii1_rd3 B3 */
0x1bc (PIN_INPUT_PULLDOWN | MUX_MODE3) /* vin2a_d21.rgmii1_rd2 B4 */
0x1c0 (PIN_INPUT_PULLDOWN | MUX_MODE3) /* vin2a_d22.rgmii1_rd1 B5 */
0x1c4 (PIN_INPUT_PULLDOWN | MUX_MODE3) /* vin2a_d23.rgmii1_rd0 A4 */
>;
};
user_leds_default: user_leds_default {
pinctrl-single,pins = <
0x9c (PIN_OUTPUT_PULLDOWN | MUX_MODE14) /* gpmc_a23.gpio2_13 J7 V1P8_N */
0xa0 (PIN_OUTPUT_PULLDOWN | MUX_MODE14) /* gpmc_a24.gpio2_14 J4 V3P3_N */
0x10c (PIN_OUTPUT_PULLUP | MUX_MODE14) /* vin1a_d6.gpio3_10 AG6 eMMC_RST */
0x94 (PIN_OUTPUT_PULLDOWN | MUX_MODE14) /* gpmc_a21.gpio2_11 J5 eMMC_PWR_EN_N */
0x1e8 (PIN_OUTPUT_PULLUP | MUX_MODE14) /* vout1_d3.gpio8_3 G11 UART_MUX_1 */
0x1ec (PIN_OUTPUT_PULLDOWN | MUX_MODE14) /* vout1_d4.gpio8_4 E9 UART_MUX_0 */
0x23c (PIN_OUTPUT_PULLUP | MUX_MODE14) /* mdio_clk.gpio5_15 V1 ETH_RST_N */
0x148 (PIN_OUTPUT_PULLUP | MUX_MODE14) /* vin1a_d21.gpio3_25 AE6 LGA_SYSBOOT_1 */
0x14c (PIN_OUTPUT_PULLUP | MUX_MODE14) /* vin1a_d22.gpio3_26 AD2 LGA_SYSBOOT_2 */
0x284 (PIN_OUTPUT_PULLDOWN | MUX_MODE14) /* usb2_drvvbus.gpio6_13 AC10 LGA_SYSBOOT_3 */
0x200 (PIN_OUTPUT_PULLUP | MUX_MODE14) /* vout1_d9.gpio8_9 D9 FPGA_RST_N */
0x3d4 (PIN_OUTPUT_PULLDOWN | MUX_MODE14) /* dcan1_rx.gpio1_15 G19 WLAN_V3P3_EN_N */
0x68 (PIN_OUTPUT_PULLUP | MUX_MODE14) /* gpmc_a10.gpio2_0 N9 MD_12VPA_EN */
0x6c (PIN_OUTPUT_PULLUP | MUX_MODE14) /* gpmc_a11.gpio2_1 P9 MD_12VPB_EN */
0x168 (PIN_OUTPUT_PULLUP | MUX_MODE14) /* vin2a_d0.gpio4_1 F2 eMD_V5P0_EN */
0x16c (PIN_OUTPUT_PULLUP | MUX_MODE14) /* vin2a_d1.gpio4_2 F3 eMD_V3P3_EN */
0x58 (PIN_OUTPUT_PULLUP | MUX_MODE14) /* gpmc_a6.gpio1_28 R5 SATA_PATH_EN */
0x70 (PIN_OUTPUT_PULLUP | MUX_MODE14) /* gpmc_a12.gpio2_2 P4 SOC_POWER_ON */
0xfc (PIN_OUTPUT_PULLUP | MUX_MODE14) /* vina_d2.gpio3_6 AG7 SOC_RESET_IN */
0xa4 (PIN_OUTPUT_PULLDOWN | MUX_MODE14) /* gpmc_a25.gpio2_15 J6 LGA_SYSBOOT_5 */
0x158 (PIN_OUTPUT_PULLUP | MUX_MODE14) /* vin2a_de0.gpio3_29 G2 FPGA_GPIO5 */
0x188 (PIN_OUTPUT_PULLUP | MUX_MODE14) /* vin2a_d8.gpio4_9 F5 FPGA_GPIO3 */
0x388 (PIN_OUTPUT_PULLUP | MUX_MODE14) /*mmc3_dat1.gpio7_0 AC6 BOOT_MODE0*/
0x38c (PIN_OUTPUT_PULLDOWN | MUX_MODE14) /*mmc3_dat2.gpio7_1 AC9 BOOT_MODE1*/
0xa8 (PIN_OUTPUT_PULLUP | MUX_MODE14) /* gpmc_a26.gpio2_16 H4 PCIE_RST*/
0x240 (PIN_OUTPUT_PULLUP | MUX_MODE14) /* mdio_d.gpio5_16 U4 PCIE_EN*/
0x1e4 (PIN_OUTPUT_PULLUP | MUX_MODE14) /* vout1_d2.gpio8_2 F10 PCIECLK_RESET_N*/
0x140 (PIN_OUTPUT_PULLUP | MUX_MODE14) /* vin1a_d19.gpio3_23 AE1 USB_SEL */
0x144 (PIN_OUTPUT_PULLUP | MUX_MODE14) /* vin1a_d20.gpio3_24 AE2 HS_OE_N */
>;
};
davinci_mdio_default: davinci_mdio_default {
pinctrl-single,pins = <
0x190 (PIN_OUTPUT_PULLUP | MUX_MODE3) // vin2a_d10.mdio_mclk GPIO4_11 D3
0x194 (PIN_INPUT_PULLUP | MUX_MODE3) // vin2a_d11.mdio_d GPIO4_12 F6
>;
};
/*
davinci_mdio_default: davinci_mdio_default {
pinctrl-single,pins = <
// MDIO
//0x194 (PIN_OUTPUT_PULLUP | MUX_MODE3) // vin2a_d11.mdio_d GPIO4_12 F6
//0x190 (PIN_INPUT_PULLUP | MUX_MODE3) // vin2a_d10.mdio_mclk GPIO4_11 D3
0x198 (PIN_OUTPUT_PULLUP | MUX_MODE3) // vin2a_d12.mdio_d GPIO4_13 D5
0x19c (PIN_INPUT_PULLUP | MUX_MODE3) // vin2a_d13.mdio_mclk GPIO4_14 C2
//0x60 (PIN_OUTPUT_PULLUP | MUX_MODE0) // gpmc_a8 GPIO1_30 N7
//0x64 (PIN_OUTPUT_PULLUP | MUX_MODE0) // gpmc_a9 GPIO1_31 R4
>;
};
*/
uart1_pins: pinmux_uart1_pins {
pinctrl-single,pins = <
0x3e0 (PIN_INPUT_PULLUP | PIN_INPUT | MUX_MODE0) /* uart1_rxd.uart1_rxd B27 */
0x3e4 (PIN_OUTPUT | MUX_MODE0) /* uart1_txd.uart1_txd C26 */
0x3e8 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart1_ctsn.uart1_ctsn E25 */
0x3ec (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart1_rtsn.uart1_rtsn C27 */
>;
};
uart2_pins: pinmux_uart2_pins {
pinctrl-single,pins = <
0x3f0 (PIN_INPUT_PULLUP | PIN_INPUT | MUX_MODE0) /* uart2_rxd.uart2_rxd D28 */
0x3f4 (PIN_OUTPUT | MUX_MODE0) /* uart2_txd.uart2_txd D26 */
>;
};
uart3_pins: pinmux_uart3_pins {
pinctrl-single,pins = <
0x3f8 (WAKEUP_EN | PIN_INPUT | MUX_MODE2) /* uart2_ctsn.uart3_rxd */
0x3fc (PIN_OUTPUT | MUX_MODE1) /* uart2_rtsn.uart3_txd */
>;
};
// LGA board
// uart3_pins: pinmux_uart3_pins {
// pinctrl-single,pins = <
// 0x34c (PIN_INPUT_PULLUP | PIN_INPUT | MUX_MODE4) /* mcasp5_axr0.uart3_rxd */
// 0x350 (PIN_OUTPUT | MUX_MODE4) /* mcasp5_axr1.uart3_txd */
// >;
// };
uart5_pins: pinmux_uart5_pins {
pinctrl-single,pins = <
0x1dc (PIN_INPUT_PULLUP | PIN_INPUT | MUX_MODE2) /* vout1_d0.uart5_rxd F11 */
0x1e0 (PIN_OUTPUT | MUX_MODE2) /* vout1_d1.uart5_txd G10 */
>;
};
uart7_pins: pinmux_uart7_pins {
pinctrl-single,pins = <
0x220 (PIN_INPUT_PULLUP | PIN_INPUT | MUX_MODE2) /* vout1_d17.uart7_rxd B8 */
0x21c (PIN_OUTPUT | MUX_MODE2) /* vout1_d16.uart7_txd B7 */
>;
};
hdmi_i2c_sel_pin: pinmux_hdmi_i2c_sel_pin {
pinctrl-single,pins = <
/* this pin is used as a GPIO via mcasp */
0x2fc (PIN_OUTPUT | MUX_MODE1) /* mcasp8_axr2 */
>;
};
hdmi_i2c_pins_i2c: pinmux_hdmi_i2c_pins_default {
pinctrl-single,pins = <
0x408 (PIN_INPUT | MUX_MODE0) /* i2c2_sda.i2c2_sda */
0x40c (PIN_INPUT | MUX_MODE0) /* i2c2_scl.i2c2_scl */
>;
};
hdmi_i2c_pins_ddc: pinmux_hdmi_i2c_pins_ddc {
pinctrl-single,pins = <
0x408 (PIN_INPUT | MUX_MODE1) /* i2c2_sda.hdmi1_ddc_scl */
0x40c (PIN_INPUT | MUX_MODE1) /* i2c2_scl.hdmi1_ddc_sda */
>;
};
dcan1_pins_default: dcan1_pins_default {
pinctrl-single,pins = <
0x3d0 (PIN_OUTPUT_PULLUP | MUX_MODE0) /* dcan1_tx */
0x418 (PULL_UP | MUX_MODE1) /* wakeup0.dcan1_rx */
>;
};
dcan1_pins_sleep: dcan1_pins_sleep {
pinctrl-single,pins = <
0x3d0 (MUX_MODE15 | PULL_UP) /* dcan1_tx.off */
0x418 (MUX_MODE15 | PULL_UP) /* wakeup0.off */
>;
};
mmc1_pins_default: pinmux_mmc1_default_pins {
pinctrl-single,pins = <
0x354 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_clk.clk */
0x358 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_cmd.cmd */
0x35c (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat0.dat0 */
0x360 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat1.dat1 */
0x364 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat2.dat2 */
0x368 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat3.dat3 */
0x36c (PIN_INPUT | MUX_MODE14) /* mmc1sdcd.gpio187 */
>;
};
mmc1_pins_sdr12: pinmux_mmc1_sdr12_pins {
pinctrl-single,pins = <
0x354 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_clk.clk */
0x358 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_cmd.cmd */
0x35c (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat0.dat0 */
0x360 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat1.dat1 */
0x364 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat2.dat2 */
0x368 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat3.dat3 */
>;
};
mmc1_pins_hs: pinmux_mmc1_hs_pins {
pinctrl-single,pins = <
0x354 (PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE11 | MUX_MODE0) /* mmc1_clk.clk */
0x358 (PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE11 | MUX_MODE0) /* mmc1_cmd.cmd */
0x35c (PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE11 | MUX_MODE0) /* mmc1_dat0.dat0 */
0x360 (PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE11 | MUX_MODE0) /* mmc1_dat1.dat1 */
0x364 (PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE11 | MUX_MODE0) /* mmc1_dat2.dat2 */
0x368 (PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE11 | MUX_MODE0) /* mmc1_dat3.dat3 */
>;
};
mmc1_pins_sdr25: pinmux_mmc1_sdr25_pins {
pinctrl-single,pins = <
0x354 (PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE11 | MUX_MODE0) /* mmc1_clk.clk */
0x358 (PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE11 | MUX_MODE0) /* mmc1_cmd.cmd */
0x35c (PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE11 | MUX_MODE0) /* mmc1_dat0.dat0 */
0x360 (PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE11 | MUX_MODE0) /* mmc1_dat1.dat1 */
0x364 (PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE11 | MUX_MODE0) /* mmc1_dat2.dat2 */
0x368 (PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE11 | MUX_MODE0) /* mmc1_dat3.dat3 */
>;
};
mmc1_pins_ddr50: pinmux_mmc1_ddr50_pins {
pinctrl-single,pins = <
0x354 (PIN_INPUT_PULLUP | MANUAL_MODE | MUX_MODE0) /* mmc1_clk.clk */
0x358 (PIN_INPUT_PULLUP | MANUAL_MODE | MUX_MODE0) /* mmc1_cmd.cmd */
0x35c (PIN_INPUT_PULLUP | MANUAL_MODE | MUX_MODE0) /* mmc1_dat0.dat0 */
0x360 (PIN_INPUT_PULLUP | MANUAL_MODE | MUX_MODE0) /* mmc1_dat1.dat1 */
0x364 (PIN_INPUT_PULLUP | MANUAL_MODE | MUX_MODE0) /* mmc1_dat2.dat2 */
0x368 (PIN_INPUT_PULLUP | MANUAL_MODE | MUX_MODE0) /* mmc1_dat3.dat3 */
>;
};
};
&dra7_iodelay_core {
mmc1_iodelay_ddr50_conf: mmc1_iodelay_ddr50_conf {
pinctrl-single,pins = <
0x618 (A_DELAY(572) | G_DELAY(540)) /* CFG_MMC1_CLK_IN */
0x624 (A_DELAY(0) | G_DELAY(600)) /* CFG_MMC1_CMD_IN */
0x630 (A_DELAY(403) | G_DELAY(120)) /* CFG_MMC1_DAT0_IN */
0x63c (A_DELAY(23) | G_DELAY(60)) /* CFG_MMC1_DAT1_IN */
0x648 (A_DELAY(25) | G_DELAY(60)) /* CFG_MMC1_DAT2_IN */
0x654 (A_DELAY(0) | G_DELAY(0)) /* CFG_MMC1_DAT3_IN */
0x620 (A_DELAY(1525) | G_DELAY(0)) /* CFG_MMC1_CLK_IN */
0x628 (A_DELAY(0) | G_DELAY(0)) /* CFG_MMC1_CMD_OEN */
0x62c (A_DELAY(55) | G_DELAY(0)) /* CFG_MMC1_CMD_OUT */
0x634 (A_DELAY(0) | G_DELAY(0)) /* CFG_MMC1_DAT0_OEN */
0x638 (A_DELAY(0) | G_DELAY(0)) /* CFG_MMC1_DAT0_OUT */
0x640 (A_DELAY(0) | G_DELAY(0)) /* CFG_MMC1_DAT1_OEN */
0x644 (A_DELAY(0) | G_DELAY(0)) /* CFG_MMC1_DAT1_OUT */
0x64c (A_DELAY(0) | G_DELAY(0)) /* CFG_MMC1_DAT2_OEN */
0x650 (A_DELAY(0) | G_DELAY(0)) /* CFG_MMC1_DAT2_OUT */
0x658 (A_DELAY(0) | G_DELAY(0)) /* CFG_MMC1_DAT3_OEN */
0x65c (A_DELAY(0) | G_DELAY(0)) /* CFG_MMC1_DAT3_OUT */
>;
};
mmc2_iodelay_ddr_3_3v_conf: mmc2_iodelay_ddr_3_3v_conf {
pinctrl-single,pins = <
0x18c (A_DELAY(0) | G_DELAY(120)) /* CFG_GPMC_A19_IN */
0x1a4 (A_DELAY(265) | G_DELAY(360)) /* CFG_GPMC_A20_IN */
0x1b0 (A_DELAY(0) | G_DELAY(120)) /* CFG_GPMC_A21_IN */
0x1bc (A_DELAY(0) | G_DELAY(120)) /* CFG_GPMC_A22_IN */
0x1c8 (A_DELAY(287) | G_DELAY(420)) /* CFG_GPMC_A23_IN */
0x1d4 (A_DELAY(144) | G_DELAY(240)) /* CFG_GPMC_A24_IN */
0x1e0 (A_DELAY(0) | G_DELAY(0)) /* CFG_GPMC_A25_IN */
0x1ec (A_DELAY(0) | G_DELAY(120)) /* CFG_GPMC_A26_IN */
0x1f8 (A_DELAY(120) | G_DELAY(180)) /* CFG_GPMC_A27_IN */
0x360 (A_DELAY(0) | G_DELAY(0)) /* CFG_GPMC_CS1_IN */
0x190 (A_DELAY(0) | G_DELAY(0)) /* CFG_GPMC_A19_OEN */
0x194 (A_DELAY(174) | G_DELAY(0)) /* CFG_GPMC_A19_OUT */
0x1a8 (A_DELAY(0) | G_DELAY(0)) /* CFG_GPMC_A20_OEN */
0x1ac (A_DELAY(168) | G_DELAY(0)) /* CFG_GPMC_A20_OUT */
0x1b4 (A_DELAY(0) | G_DELAY(0)) /* CFG_GPMC_A21_OEN */
0x1b8 (A_DELAY(136) | G_DELAY(0)) /* CFG_GPMC_A21_OUT */
0x1c0 (A_DELAY(0) | G_DELAY(0)) /* CFG_GPMC_A22_OEN */
0x1c4 (A_DELAY(0) | G_DELAY(0)) /* CFG_GPMC_A22_OUT */
0x1d0 (A_DELAY(879) | G_DELAY(0)) /* CFG_GPMC_A23_OUT */
0x1d8 (A_DELAY(0) | G_DELAY(0)) /* CFG_GPMC_A24_OEN */
0x1dc (A_DELAY(0) | G_DELAY(0)) /* CFG_GPMC_A24_OUT */
0x1e4 (A_DELAY(0) | G_DELAY(0)) /* CFG_GPMC_A25_OEN */
0x1e8 (A_DELAY(34) | G_DELAY(0)) /* CFG_GPMC_A25_OUT */
0x1f0 (A_DELAY(0) | G_DELAY(0)) /* CFG_GPMC_A26_OEN */
0x1f4 (A_DELAY(120) | G_DELAY(0)) /* CFG_GPMC_A26_OUT */
0x1fc (A_DELAY(0) | G_DELAY(0)) /* CFG_GPMC_A27_OEN */
0x200 (A_DELAY(0) | G_DELAY(0)) /* CFG_GPMC_A27_OUT */
0x364 (A_DELAY(0) | G_DELAY(0)) /* CFG_GPMC_CS1_OEN */
0x368 (A_DELAY(11) | G_DELAY(0)) /* CFG_GPMC_CS1_OUT */
>;
};
};
&i2c1 {
status = "okay";
clock-frequency = <400000>;
tps659038: tps659038@58 {
compatible = "ti,tps659038";
reg = <0x58>;
tps659038_pmic {
compatible = "ti,tps659038-pmic";
regulators {
// OTP 82
/*
smps123_reg: smps123 {
// VDD_MPU
regulator-name = "smps123";
regulator-min-microvolt = < 850000>;
regulator-max-microvolt = <1250000>;
regulator-always-on;
regulator-boot-on;
};
*/
// OTP60
smps12_reg: smps12 {
// VDD_MPU
regulator-name = "smps12";
regulator-min-microvolt = < 850000>;
regulator-max-microvolt = <1250000>;
regulator-always-on;
regulator-boot-on;
};
smps3_reg: smps3 {
// VDD_DDR
regulator-name = "smps3";
regulator-min-microvolt = <850000>;
regulator-max-microvolt = <1250000>;
regulator-boot-on;
regulator-always-on;
};
smps45_reg: smps45 {
/* VDD_DSPEVE */
regulator-name = "smps45";
regulator-min-microvolt = < 850000>;
regulator-max-microvolt = <1150000>;
regulator-boot-on;
regulator-always-on;
};
smps6_reg: smps6 {
/* VDD_GPU - over VDD_SMPS6 */
regulator-name = "smps6";
regulator-min-microvolt = <850000>;
regulator-max-microvolt = <1250000>;
regulator-boot-on;
regulator-always-on;
};
smps7_reg: smps7 {
/* CORE_VDD */
regulator-name = "smps7";
regulator-min-microvolt = <850000>;
regulator-max-microvolt = <1060000>;
regulator-always-on;
regulator-boot-on;
};
smps8_reg: smps8 {
/* VDD_IVAHD */
regulator-name = "smps8";
regulator-min-microvolt = < 850000>;
regulator-max-microvolt = <1250000>;
regulator-boot-on;
regulator-always-on;
};
smps9_reg: smps9 {
/* VDDS1V8 */
regulator-name = "smps9";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
regulator-boot-on;
};
ldo1_reg: ldo1 {
/* LDO1_OUT --> SDIO */
regulator-name = "ldo1";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
regulator-always-on;
};
ldo2_reg: ldo2 {
/* VDD_RTCIO */
/* LDO2 -> VDDSHV5, LDO2 also goes to CAN_PHY_3V3 */
regulator-name = "ldo2";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
regulator-always-on;
};
ldo3_reg: ldo3 {
/* VDDA_1V8_PHY */
regulator-name = "ldo3";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
regulator-boot-on;
};
ldo9_reg: ldo9 {
/* VDD_RTC */
regulator-name = "ldo9";
regulator-min-microvolt = <1050000>;
regulator-max-microvolt = <1050000>;
regulator-boot-on;
regulator-always-on;
};
ldoln_reg: ldoln {
/* VDDA_1V8_PLL */
regulator-name = "ldoln";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
regulator-boot-on;
};
ldousb_reg: ldousb {
/* VDDA_3V_USB: VDDA_USBHS33 */
regulator-name = "ldousb";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
regulator-always-on;
};
/* REGEN1 is unused */
// OTP60
regen1: regen1 {
// Needed for PMIC internal resources
regulator-name = "regen1";
regulator-boot-on;
regulator-always-on;
};
regen2: regen2 {
/* Needed for PMIC internal resources */
regulator-name = "regen2";
regulator-boot-on;
regulator-always-on;
};
/* REGEN3 is unused */
sysen1: sysen1 {
/* PMIC_REGEN_3V3 */
// GPIO4 , reference SYSEN1 register in reg map , p111
regulator-name = "sysen1";
regulator-boot-on;
regulator-always-on;
};
sysen2: sysen2 {
/* PMIC_REGEN_DDR */
// GPIO6
regulator-name = "sysen2";
regulator-boot-on;
regulator-always-on;
};
};
};
};
pcf_lcd: gpio@20 {
compatible = "nxp,pcf8575";
reg = <0x20>;
gpio-controller;
#gpio-cells = <2>;
};
pcf_gpio_21: gpio@21 {
compatible = "nxp,pcf8575";
reg = <0x21>;
lines-initial-states = <0x1408>;
gpio-controller;
#gpio-cells = <2>;
interrupt-parent = <&gpio6>;
interrupts = <11 IRQ_TYPE_EDGE_FALLING>;
interrupt-controller;
#interrupt-cells = <2>;
};
/*
tlv320aic3106: tlv320aic3106@18 {
compatible = "ti,tlv320aic3106";
reg = <0x18>;
adc-settle-ms = <40>;
ai3x-micbias-vg = <1>; // 2.0V
status = "okay";
// Regulators
AVDD-supply = <&evm_3v3_sw>;
IOVDD-supply = <&evm_3v3_sw>;
DRVDD-supply = <&evm_3v3_sw>;
DVDD-supply = <&aic_dvdd>;
};
*/
};
i2c_p3_exp: &i2c2 {
status = "okay";
clock-frequency = <400000>;
pcf_hdmi: gpio@26 {
compatible = "nxp,pcf8575";
reg = <0x26>;
lines-initial-states = <0xffeb>;
gpio-controller;
#gpio-cells = <2>;
};
ov10633@37 {
compatible = "ovti,ov10633";
reg = <0x37>;
mux-gpios = <&pcf_hdmi 3 GPIO_ACTIVE_LOW>; /* CAM_FPD_MUX_S0 */
port {
onboardLI: endpoint {
remote-endpoint = <&vin1a>;
hsync-active = <1>;
vsync-active = <1>;
pclk-sample = <0>;
};
};
};
};
&i2c3 {
status = "okay";
clock-frequency = <3400000>;
};
&mcspi1 {
status = "okay";
};
&mcspi2 {
status = "okay";
};
/* &uart1 {
* status = "okay";
* interrupts-extended = <&gic GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH
* &dra7_pmx_core 0x3e0>;
* };
*/
&uart1 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&uart1_pins>;
};
&uart2 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&uart2_pins>;
};
/*
* &uart3 {
* status = "okay";
* gpios = <&pcf_gpio_21 14 GPIO_ACTIVE_LOW>;
* };
*/
&uart3 {
status = "okay";
//gpios = <&pcf_gpio_21 14 GPIO_ACTIVE_LOW>;
pinctrl-names = "default";
pinctrl-0 = <&uart3_pins>;
};
&uart5 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&uart5_pins>;
};
&uart7 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&uart7_pins>;
};
&mmc1 {
status = "okay";
pbias-supply = <&pbias_mmc_reg>;
vmmc-supply = <&evm_3v3_sd>;
vmmc_aux-supply = <&ldo1_reg>;
bus-width = <4>;
/*
* SDCD signal is not being used here - using the fact that GPIO mode
* is always hardwired.
*/
/* cd-gpios = <&gpio6 27 0>; */
ti,non-removable;
pinctrl-names = "default", "hs", "sdr12", "sdr25", "ddr50";
pinctrl-0 = <&mmc1_pins_default>;
pinctrl-1 = <&mmc1_pins_hs>;
pinctrl-2 = <&mmc1_pins_sdr12>;
pinctrl-3 = <&mmc1_pins_sdr25>;
pinctrl-4 = <&mmc1_pins_ddr50 &mmc1_iodelay_ddr50_conf>;
sd-uhs-ddr50;
sd-uhs-sdr25;
sd-uhs-sdr12;
};
// remove mmc declaration
/*
&mmc2 {
status = "okay";
vmmc-supply = <&evm_3v3_sw>;
bus-width = <8>;
pinctrl-names = "default", "hs", "ddr_3_3v";
pinctrl-0 = <&mmc2_pins_default>;
pinctrl-1 = <&mmc2_pins_hs>;
pinctrl-2 = <&mmc2_pins_ddr_3_3v &mmc2_iodelay_ddr_3_3v_conf>;
mmc-ddr-1_8v;
};
&mmc4 {
status = "okay";
vmmc-supply = <&vmmcwl_fixed>;
bus-width = <4>;
cap-power-off-card;
keep-power-in-suspend;
ti,non-removable;
#address-cells = <1>;
#size-cells = <0>;
wlcore: wlcore@0 {
compatible = "ti,wlcore";
reg = <2>;
interrupt-parent = <&gpio5>;
interrupts = <7 IRQ_TYPE_LEVEL_HIGH>;
};
};
*/
&cpu0 {
cpu0-voltdm = <&voltdm_mpu>;
voltage-tolerance = <1>;
};
&voltdm_mpu {
// OTP 82
//vdd-supply = <&smps123_reg>;
// OTP60
vdd-supply = <&smps12_reg>;
};
&voltdm_dspeve {
vdd-supply = <&smps45_reg>;
};
&voltdm_gpu {
vdd-supply = <&smps6_reg>;
};
&voltdm_ivahd {
vdd-supply = <&smps8_reg>;
};
&voltdm_core {
vdd-supply = <&smps7_reg>;
};
&qspi {
status = "okay";
spi-max-frequency = <48000000>;
m25p80@0 {
compatible = "s25fl256s1";
spi-max-frequency = <48000000>;
reg = <0>;
spi-tx-bus-width = <1>;
spi-rx-bus-width = <4>;
spi-cpol;
spi-cpha;
#address-cells = <1>;
#size-cells = <1>;
/* MTD partition table.
* The ROM checks the first four physical blocks
* for a valid file to boot and the flash here is
* 64KiB block size.
*/
partition@0 {
label = "QSPI.SPL";
reg = <0x00000000 0x000010000>;
};
partition@1 {
label = "QSPI.SPL.backup1";
reg = <0x00010000 0x00010000>;
};
partition@2 {
label = "QSPI.SPL.backup2";
reg = <0x00020000 0x00010000>;
};
partition@3 {
label = "QSPI.SPL.backup3";
reg = <0x00030000 0x00010000>;
};
partition@4 {
label = "QSPI.u-boot";
reg = <0x00040000 0x00100000>;
};
partition@5 {
label = "QSPI.u-boot-spl-os";
reg = <0x00140000 0x00080000>;
};
partition@6 {
label = "QSPI.u-boot-env";
reg = <0x001c0000 0x00010000>;
};
partition@7 {
label = "QSPI.u-boot-env.backup1";
reg = <0x001d0000 0x0010000>;
};
partition@8 {
label = "QSPI.kernel";
reg = <0x001e0000 0x0800000>;
};
partition@9 {
label = "QSPI.file-system";
reg = <0x009e0000 0x01620000>;
};
};
};
/*
&omap_dwc3_1 {
extcon = <&extcon_usb1>;
};
&omap_dwc3_2 {
extcon = <&extcon_usb2>;
};
*/
&usb1 {
//dr_mode = "otg";
dr_mode = "peripheral" ;
};
&usb2 {
//dr_mode = "otg";
dr_mode = "peripheral" ;
};
&mac {
pinctrl-names = "default";
pinctrl-0 = <&cpsw_default>;
dual_emac;
active_slave = <1>;
ti,no-idle;
status = "okay";
};
&cpsw_emac0 {
// 88E1152
phy_id = <&davinci_mdio>, <1>;
phy-mode = "rgmii";
status = "okay";
//dual_emac_res_vlan = <1>;
};
&cpsw_emac1 {
// 88E6165
phy_id = <&davinci_mdio>, <0x15>;
phy-mode = "rgmii";
status = "okay";
//dual_emac_res_vlan = <2>;
};
&davinci_mdio {
pinctrl-names = "default";
pinctrl-0 = <&davinci_mdio_default>;
status = "okay";
// dsa@0 {
// };
};
/*
* &cpsw_emac0 {
* phy_id = <&davinci_mdio>, <2>;
* phy-mode = "rgmii";
* dual_emac_res_vlan = <1>;
* };
*/
&elm {
status = "okay";
};
&gpmc {
status = "disabled";
ranges = <0 0 0 0x01000000>; /* minimum GPMC partition = 16MB */
nand@0,0 {
reg = <0 0 4>; /* device IO registers */
ti,nand-ecc-opt = "bch8";
ti,elm-id = <&elm>;
nand-bus-width = <16>;
gpmc,device-width = <2>;
gpmc,sync-clk-ps = <0>;
gpmc,cs-on-ns = <0>;
gpmc,cs-rd-off-ns = <80>;
gpmc,cs-wr-off-ns = <80>;
gpmc,adv-on-ns = <0>;
gpmc,adv-rd-off-ns = <60>;
gpmc,adv-wr-off-ns = <60>;
gpmc,we-on-ns = <10>;
gpmc,we-off-ns = <50>;
gpmc,oe-on-ns = <4>;
gpmc,oe-off-ns = <40>;
gpmc,access-ns = <40>;
gpmc,wr-access-ns = <80>;
gpmc,rd-cycle-ns = <80>;
gpmc,wr-cycle-ns = <80>;
gpmc,bus-turnaround-ns = <0>;
gpmc,cycle2cycle-delay-ns = <0>;
gpmc,clk-activation-ns = <0>;
gpmc,wait-monitoring-ns = <0>;
gpmc,wr-data-mux-bus-ns = <0>;
/* MTD partition table */
/* All SPL-* partitions are sized to minimal length
* which can be independently programmable. For
* NAND flash this is equal to size of erase-block */
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "NAND.SPL";
reg = <0x00000000 0x000020000>;
};
partition@1 {
label = "NAND.SPL.backup1";
reg = <0x00020000 0x00020000>;
};
partition@2 {
label = "NAND.SPL.backup2";
reg = <0x00040000 0x00020000>;
};
partition@3 {
label = "NAND.SPL.backup3";
reg = <0x00060000 0x00020000>;
};
partition@4 {
label = "NAND.u-boot-spl-os";
reg = <0x00080000 0x00040000>;
};
partition@5 {
label = "NAND.u-boot";
reg = <0x000c0000 0x00100000>;
};
partition@6 {
label = "NAND.u-boot-env";
reg = <0x001c0000 0x00020000>;
};
partition@7 {
label = "NAND.u-boot-env.backup1";
reg = <0x001e0000 0x00020000>;
};
partition@8 {
label = "NAND.kernel";
reg = <0x00200000 0x00800000>;
};
partition@9 {
label = "NAND.file-system";
reg = <0x00a00000 0x0f600000>;
};
};
};
&gpio7 {
ti,no-reset-on-init;
ti,no-idle-on-init;
};
&dss {
status = "ok";
vdda_video-supply = <&ldoln_reg>;
};
&hdmi {
status = "ok";
vdda-supply = <&ldo3_reg>;
port {
hdmi_out: endpoint {
remote-endpoint = <&tpd12s015_in>;
};
};
};
&dcan1 {
status = "ok";
pinctrl-names = "default", "sleep";
pinctrl-0 = <&dcan1_pins_default>;
pinctrl-1 = <&dcan1_pins_sleep>;
};
&mailbox5 {
status = "okay";
mbox_ipu1_legacy: mbox_ipu1_legacy {
status = "okay";
};
mbox_dsp1_legacy: mbox_dsp1_legacy {
status = "okay";
};
};
&mailbox6 {
status = "okay";
mbox_ipu2_legacy: mbox_ipu2_legacy {
status = "okay";
};
mbox_dsp2_legacy: mbox_dsp2_legacy {
status = "okay";
};
};
&mmu0_dsp1 {
status = "okay";
};
&mmu1_dsp1 {
status = "okay";
};
&mmu0_dsp2 {
status = "okay";
};
&mmu1_dsp2 {
status = "okay";
};
&mmu_ipu1 {
status = "okay";
};
&mmu_ipu2 {
status = "okay";
};
&ipu2 {
status = "okay";
memory-region = <&ipu2_cma_pool>;
mboxes = <&mailbox6 &mbox_ipu2_legacy>;
timers = <&timer3>;
watchdog-timers = <&timer4>, <&timer9>;
};
&ipu1 {
status = "okay";
memory-region = <&ipu1_cma_pool>;
mboxes = <&mailbox5 &mbox_ipu1_legacy>;
timers = <&timer11>;
watchdog-timers = <&timer7>, <&timer8>;
};
&dsp1 {
status = "okay";
memory-region = <&dsp1_cma_pool>;
mboxes = <&mailbox5 &mbox_dsp1_legacy>;
timers = <&timer5>;
watchdog-timers = <&timer10>;
};
&dsp2 {
status = "okay";
memory-region = <&dsp2_cma_pool>;
mboxes = <&mailbox6 &mbox_dsp2_legacy>;
timers = <&timer6>;
};
&atl {
status = "okay";
atl2 {
bws = <DRA7_ATL_WS_MCASP2_FSX>;
aws = <DRA7_ATL_WS_MCASP3_FSX>;
};
};
&mcasp3 {
fck_parent = "atl_clkin2_ck";
status = "okay";
op-mode = <0>; /* MCASP_IIS_MODE */
tdm-slots = <2>;
/* 4 serializer */
serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
1 2 0 0
>;
tx-num-evt = <8>;
rx-num-evt = <8>;
};
&mcasp7 {
#sound-dai-cells = <0>;
status = "okay";
op-mode = <0>; /* MCASP_IIS_MODE */
tdm-slots = <4>;
/* 4 serializer */
serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
2 1 0 0
>;
tx-num-evt = <8>;
rx-num-evt = <8>;
};
&mcasp8 {
/* not used for audio. only the AXR2 pin is used as GPIO */
status = "okay";
};
&usb2_phy1 {
phy-supply = <&ldousb_reg>;
};
&usb2_phy2 {
phy-supply = <&ldousb_reg>;
};
&vip1 {
status = "okay";
};
video_in: &vin1a {
status = "okay";
endpoint@0 {
slave-mode;
remote-endpoint = <&onboardLI>;
};
};
#include "dra7xx-jamr3.dtsi"
&tvp_5158{
mux-gpios = <&pcf_hdmi 3 GPIO_ACTIVE_HIGH>, /*CAM_FPD_MUX_S0*/
<&pcf_jamr3_21 8 GPIO_ACTIVE_LOW>; /*SEL_TVP_FPD*/
};
Hi,
Andy Huang18 said:As you said, if I don't need modify kernel code and what about the DTS part ?
No, the dts file should describe your board, NOT the externally connected devices.
Andy Huang18 said:0x15 is the cpu port address in marvell switch , is there any thing wrong ?
The phy_id's description, as taken from Documentation/devicetree/bindings/net/cpsw.txt is:
Required properties:
- phy_id : Specifies slave phy id (optional if using fixed-link)
- phy-mode : The interface between the SoC and the PHY (a string that of_get_phy_mode() can understand)
So can you try with phy_id=<&davinci_mdio>, <0>; and phy_id=<&davinci_mdio>, <1>; ?
Best Regards,
Yordan