Our processor is DRA74X, with 3.02.00.03 SDK version.
At our custom board, there is video converter(ADV7611), and it's 8-bit BT656 output directly connect to Vin-3a port of DRA74X. And DRA74X use i2c-1 to control this converter.
I already modify dts try to let linux kernel probe this converter, but fail and cause system crash(it seems crash happend at adv76xx_probe() function). Here is the boot log =>
U-Boot SPL 2016.05-g9694c57-dirty (Jul 03 2018 - 17:05:47) DRA752-GP ES2.0 no pinctrl for hs200_1_8v no pinctrl for ddr_1_8v @SD max clock = 10000000@ *** Warning - bad CRC, using default environment Trying to boot from MMC1 *** Warning - bad CRC, using default environment reading u-boot.img reading u-boot.img reading u-boot.img reading u-boot.img U-Boot 2016.05-g9694c57-dirty (Jul 03 2018 - 17:05:47 +0800) CPU : DRA752-GP ES2.0 Model: TI DRA742 Board: DRA74x EVM REV DRAM: 2 GiB NAND: 256 MiB MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 *** Warning - bad CRC, using default environment current ID is 7 Warning: fastboot.board_rev: unknown board revision GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid GPT *** GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid Backup GPT *** ERROR: cannot find partition: 'userdata' at arch/arm/cpu/armv7/omap-common/utils.c:199/mmc_get_part_size() Warning: fastboot.userdata_size: unable to calc SCSI: SATA link 0 timeout. AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst scanning bus for devices... Found 0 device(s). Net: Warning: ethernet@48484000 using MAC address from ROM eth0: ethernet@48484000 Hit any key to stop autoboot: 0 load MAN2020_original.dtb load MAN2020_3g switch to partitions #0, OK mmc0 is current device @SD max clock = 10000000@ SD/MMC found on device 0 reading boot.scr ** Unable to read file boot.scr ** reading uEnv.txt 222 bytes read in 3 ms (72.3 KiB/s) Loaded env from uEnv.txt Importing environment from mmc0 ... @SD max clock = 10000000@ switch to partitions #0, OK mmc0 is current device @SD max clock = 10000000@ SD/MMC found on device 0 3646824 bytes read in 783 ms (4.4 MiB/s) 111412 bytes read in 84 ms (1.3 MiB/s) Booting from mmc0 ... Kernel image @ 0x82000000 [ 0x000000 - 0x37a568 ] ## Flattened Device Tree blob at 88000000 Booting using the fdt blob at 0x88000000 Loading Device Tree to 8ffe1000, end 8ffff333 ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 4.4.45-g0422030-dirty (hsuyz@hsuyz-VirtualBox) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #7 SMP PREEMPT Tue Jul 3 17:06:08 CST 2018 [ 0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache [ 0.000000] Machine model: TI DRA742 [ 0.000000] cma: Reserved 64 MiB at 0x00000000fac00000 [ 0.000000] Forcing write-allocate cache policy for SMP [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] DRA752 ES2.0 [ 0.000000] PERCPU: Embedded 11 pages/cpu @eed9f000 s14848 r8192 d22016 u45056 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 517952 [ 0.000000] Kernel command line: console=ttyO3,115200n8 elevator=noop root=/dev/mmcblk0p2 rw rootwait earlyprintk fixrtc omapdrm.num_crtc=2 consoleblank=0 cma=64M rootfstype=ext4 snd.slots_reserved=1,1 [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Memory: 1983284K/2078720K available (6655K kernel code, 364K rwdata, 2500K rodata, 336K init, 302K bss, 29900K reserved, 65536K cma-reserved, 1226752K highmem) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0xf0800000 - 0xff800000 ( 240 MB) [ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc08f909c (9157 kB) [ 0.000000] .init : 0xc08fa000 - 0xc094e000 ( 336 kB) [ 0.000000] .data : 0xc094e000 - 0xc09a9250 ( 365 kB) [ 0.000000] .bss : 0xc09ab000 - 0xc09f6a78 ( 303 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] Build-time adjustment of leaf fanout to 32. [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] ti_dt_clocks_register: failed to lookup clock node gmac_gmii_ref_clk_div [ 0.000000] OMAP clockevent source: timer1 at 31475 Hz [ 0.000000] Architected cp15 timer(s) running at 5.90MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x15c70fb29, max_idle_ns: 440795202138 ns [ 0.000005] sched_clock: 56 bits at 5MHz, resolution 169ns, wraps every 4398046511093ns [ 0.000015] Switching to timer-based delay loop, resolution 169ns [ 0.000337] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns [ 0.000344] OMAP clocksource: 32k_counter at 32768 Hz [ 0.000814] Console: colour dummy device 80x30 [ 0.000831] WARNING: Your 'console=ttyO3' has been replaced by 'ttyS3' [ 0.000838] This ensures that you still see kernel messages. Please [ 0.000844] update your kernel commandline. [ 0.000858] Calibrating delay loop (skipped), value calculated using timer frequency.. 11.80 BogoMIPS (lpj=59016) [ 0.000871] pid_max: default: 32768 minimum: 301 [ 0.000962] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000972] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.001543] Initializing cgroup subsys io [ 0.001561] Initializing cgroup subsys memory [ 0.001586] Initializing cgroup subsys devices [ 0.001598] Initializing cgroup subsys freezer [ 0.001610] Initializing cgroup subsys perf_event [ 0.001621] Initializing cgroup subsys pids [ 0.001648] CPU: Testing write buffer coherency: ok [ 0.001863] /cpus/cpu@0 missing clock-frequency property [ 0.001879] /cpus/cpu@1 missing clock-frequency property [ 0.001889] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.001926] Setting up static identity map for 0x800082c0 - 0x80008320 [ 0.080106] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.080167] Brought up 2 CPUs [ 0.080181] SMP: Total of 2 processors activated (23.60 BogoMIPS). [ 0.080187] CPU: All CPU(s) started in HYP mode. [ 0.080193] CPU: Virtualization extensions available. [ 0.080578] devtmpfs: initialized [ 0.110358] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0 [ 0.111367] omap_hwmod: l3_main_2 using broken dt data from ocp [ 0.304928] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.306414] pinctrl core: initialized pinctrl subsystem [ 0.307274] NET: Registered protocol family 16 [ 0.308267] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.330199] cpuidle: using governor ladder [ 0.360223] cpuidle: using governor menu [ 0.368549] OMAP GPIO hardware version 0.1 [ 0.372675] GPIO line 161 (radio_rst) hogged as output/low [ 0.375040] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 ! [ 0.391941] omap-gpmc 50000000.gpmc: GPMC revision 6.0 [ 0.391954] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000 [ 0.401071] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.401081] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.401902] OMAP DMA hardware revision 0.0 [ 0.441715] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported) [ 0.442874] edma 43300000.edma: memcpy is disabled [ 0.447697] edma 43300000.edma: TI EDMA DMA engine driver [ 0.454478] palmas 0-0058: IRQ missing: skipping irq request [ 0.471337] palmas 0-0058: Muxing GPIO a, PWM 0, LED 0 [ 0.471457] @@@@1 [ 0.471676] @@@@3 [ 0.471684] @@@@4 [ 0.471693] @@@@5 [ 0.472042] @@@@6 [ 0.472206] @@@@7 [ 0.480838] @@@@8 [ 0.543010] @@@@9(0) [ 0.543028] @@@@2 [ 0.543173] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz [ 0.543592] omap_i2c 48072000.i2c: bus 1 rev0.12 at 400 kHz [ 0.543960] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz [ 0.544317] omap_i2c 4807a000.i2c: bus 3 rev0.12 at 400 kHz [ 0.544676] omap_i2c 4807c000.i2c: bus 4 rev0.12 at 400 kHz [ 0.544869] media: Linux media interface: v0.10 [ 0.544927] Linux video capture interface: v2.00 [ 0.544969] pps_core: LinuxPPS API ver. 1 registered [ 0.544976] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.545002] PTP clock support registered [ 0.545052] EDAC MC: Ver: 3.0.0 [ 0.545844] Advanced Linux Sound Architecture Driver Initialized. [ 0.546745] clocksource: Switched to clocksource arch_sys_counter [ 0.557432] NET: Registered protocol family 2 [ 0.557934] TCP established hash table entries: 8192 (order: 3, 32768 bytes) [ 0.557997] TCP bind hash table entries: 8192 (order: 4, 65536 bytes) [ 0.558122] TCP: Hash tables configured (established 8192 bind 8192) [ 0.558177] UDP hash table entries: 512 (order: 2, 16384 bytes) [ 0.558208] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) [ 0.558421] NET: Registered protocol family 1 [ 0.558689] RPC: Registered named UNIX socket transport module. [ 0.558699] RPC: Registered udp transport module. [ 0.558706] RPC: Registered tcp transport module. [ 0.558711] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.559764] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available [ 0.562436] futex hash table entries: 512 (order: 3, 32768 bytes) [ 0.570158] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.570816] NFS: Registering the id_resolver key type [ 0.570844] Key type id_resolver registered [ 0.570851] Key type id_legacy registered [ 0.570913] ntfs: driver 2.1.32 [Flags: R/O]. [ 0.572893] bounce: pool size: 64 pages [ 0.573049] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247) [ 0.573065] io scheduler noop registered (default) [ 0.573078] io scheduler deadline registered [ 0.573111] io scheduler cfq registered [ 0.578417] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128 [ 0.641952] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled [ 0.645397] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 299, base_baud = 3000000) is a 8250 [ 0.646271] 4806c000.serial: ttyS1 at MMIO 0x4806c000 (irq = 300, base_baud = 3000000) is a 8250 [ 0.647168] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 301, base_baud = 3000000) is a 8250 [ 0.648003] console [ttyS3] disabled [ 0.648048] 4806e000.serial: ttyS3 at MMIO 0x4806e000 (irq = 302, base_baud = 3000000) is a 8250 [ 1.449072] console [ttyS3] enabled [ 1.453434] 48066000.serial: ttyS4 at MMIO 0x48066000 (irq = 303, base_baud = 3000000) is a 8250 [ 1.463085] 48422000.serial: ttyS7 at MMIO 0x48422000 (irq = 304, base_baud = 3000000) is a 8250 [ 1.472746] 48424000.serial: ttyS8 at MMIO 0x48424000 (irq = 305, base_baud = 3000000) is a 8250 [ 1.482398] 4ae2b000.serial: ttyS9 at MMIO 0x4ae2b000 (irq = 306, base_baud = 3000000) is a 8250 [ 1.492467] [drm] Initialized drm 1.1.0 20060810 [ 1.504352] loop: module loaded [ 1.508395] nand: No NAND device found [ 1.512167] omap2-nand 8000000.nand: scan failed, may be bus-width mismatch [ 1.524631] m25p80 spi32766.0: s25fl256s1 (32768 Kbytes) [ 1.530052] 7 ofpart partitions found on MTD device spi32766.0 [ 1.535911] Creating 7 MTD partitions on "spi32766.0": [ 1.541089] 0x000000000000-0x000000040000 : "QSPI.MLO" [ 1.547178] 0x000000040000-0x000000140000 : "QSPI.u-boot" [ 1.553468] 0x000000140000-0x0000001c0000 : "QSPI.DRA7-evm.dtb" [ 1.560299] 0x0000001c0000-0x0000001d0000 : "QSPI.u-boot-env" [ 1.566953] 0x0000001d0000-0x0000001e0000 : "QSPI.u-boot-env.backup1" [ 1.574306] 0x0000001e0000-0x0000009e0000 : "QSPI.uImage" [ 1.580608] 0x0000009e0000-0x000002000000 : "QSPI.IPU-exe" [ 1.588017] libphy: Fixed MDIO Bus: probed [ 1.592692] CAN device driver interface [ 1.596939] pinctrl-single 4a003400.pinmux: pin 4a003818.0 already requested by 4a003400.pinmux; cannot claim for 4ae3c000.can [ 1.608401] pinctrl-single 4a003400.pinmux: pin-262 (4ae3c000.can) status -22 [ 1.615571] pinctrl-single 4a003400.pinmux: could not request pin 262 (4a003818.0) from group dcan1_pins_sleep on device pinctrl-single [ 1.627901] c_can_platform 4ae3c000.can: Error applying setting, reverse things back [ 1.636337] c_can_platform 4ae3c000.can: c_can_platform device registered (regs=fce3c000, irq=357) [ 1.696778] davinci_mdio 48485000.mdio: davinci mdio revision 1.6 [ 1.702903] libphy: 48485000.mdio: probed [ 1.706953] mdio_bus 48485000.mdio: /ocp/ethernet@48484000/mdio@48485000/micrel_phy_config has invalid PHY address [ 1.717366] mdio_bus 48485000.mdio: /ocp/ethernet@48484000/mdio@48485000/rmii-ref has invalid PHY address [ 1.726990] mdio_bus 48485000.mdio: scan phy micrel_phy_config at address 0 [ 1.736144] mdio_bus 48485000.mdio: scan phy micrel_phy_config at address 1 [ 1.744003] mdio_bus 48485000.mdio: scan phy micrel_phy_config at address 2 [ 1.751805] mdio_bus 48485000.mdio: scan phy micrel_phy_config at address 3 [ 1.759604] mdio_bus 48485000.mdio: scan phy micrel_phy_config at address 4 [ 1.768751] mdio_bus 48485000.mdio: scan phy micrel_phy_config at address 5 [ 1.776785] mdio_bus 48485000.mdio: scan phy micrel_phy_config at address 6 [ 1.784564] mdio_bus 48485000.mdio: scan phy micrel_phy_config at address 7 [ 1.792364] mdio_bus 48485000.mdio: scan phy micrel_phy_config at address 8 [ 1.800164] mdio_bus 48485000.mdio: scan phy micrel_phy_config at address 9 [ 1.807964] mdio_bus 48485000.mdio: scan phy micrel_phy_config at address 10 [ 1.815763] mdio_bus 48485000.mdio: scan phy micrel_phy_config at address 11 [ 1.823564] mdio_bus 48485000.mdio: scan phy micrel_phy_config at address 12 [ 1.831363] mdio_bus 48485000.mdio: scan phy micrel_phy_config at address 13 [ 1.839162] mdio_bus 48485000.mdio: scan phy micrel_phy_config at address 14 [ 1.846962] mdio_bus 48485000.mdio: scan phy micrel_phy_config at address 15 [ 1.854763] mdio_bus 48485000.mdio: scan phy micrel_phy_config at address 16 [ 1.862564] mdio_bus 48485000.mdio: scan phy micrel_phy_config at address 17 [ 1.870364] mdio_bus 48485000.mdio: scan phy micrel_phy_config at address 18 [ 1.878164] mdio_bus 48485000.mdio: scan phy micrel_phy_config at address 19 [ 1.885963] mdio_bus 48485000.mdio: scan phy micrel_phy_config at address 20 [ 1.893764] mdio_bus 48485000.mdio: scan phy micrel_phy_config at address 21 [ 1.901564] mdio_bus 48485000.mdio: scan phy micrel_phy_config at address 22 [ 1.909364] mdio_bus 48485000.mdio: scan phy micrel_phy_config at address 23 [ 1.917163] mdio_bus 48485000.mdio: scan phy micrel_phy_config at address 24 [ 1.924963] mdio_bus 48485000.mdio: scan phy micrel_phy_config at address 25 [ 1.932764] mdio_bus 48485000.mdio: scan phy micrel_phy_config at address 26 [ 1.940563] mdio_bus 48485000.mdio: scan phy micrel_phy_config at address 27 [ 1.948364] mdio_bus 48485000.mdio: scan phy micrel_phy_config at address 28 [ 1.956163] mdio_bus 48485000.mdio: scan phy micrel_phy_config at address 29 [ 1.963964] mdio_bus 48485000.mdio: scan phy micrel_phy_config at address 30 [ 1.971764] mdio_bus 48485000.mdio: scan phy micrel_phy_config at address 31 [ 1.979566] mdio_bus 48485000.mdio: scan phy rmii-ref at address 1 [ 1.986323] mdio_bus 48485000.mdio: scan phy rmii-ref at address 2 [ 1.993084] mdio_bus 48485000.mdio: scan phy rmii-ref at address 3 [ 1.999843] mdio_bus 48485000.mdio: scan phy rmii-ref at address 5 [ 2.006603] mdio_bus 48485000.mdio: scan phy rmii-ref at address 6 [ 2.013364] mdio_bus 48485000.mdio: scan phy rmii-ref at address 7 [ 2.020124] mdio_bus 48485000.mdio: scan phy rmii-ref at address 8 [ 2.026882] mdio_bus 48485000.mdio: scan phy rmii-ref at address 9 [ 2.033643] mdio_bus 48485000.mdio: scan phy rmii-ref at address 10 [ 2.040925] mdio_bus 48485000.mdio: scan phy rmii-ref at address 11 [ 2.048202] mdio_bus 48485000.mdio: scan phy rmii-ref at address 12 [ 2.055483] mdio_bus 48485000.mdio: scan phy rmii-ref at address 13 [ 2.062764] mdio_bus 48485000.mdio: scan phy rmii-ref at address 14 [ 2.070042] mdio_bus 48485000.mdio: scan phy rmii-ref at address 15 [ 2.077324] mdio_bus 48485000.mdio: scan phy rmii-ref at address 16 [ 2.084602] mdio_bus 48485000.mdio: scan phy rmii-ref at address 17 [ 2.091883] mdio_bus 48485000.mdio: scan phy rmii-ref at address 18 [ 2.099164] mdio_bus 48485000.mdio: scan phy rmii-ref at address 19 [ 2.106443] mdio_bus 48485000.mdio: scan phy rmii-ref at address 20 [ 2.113724] mdio_bus 48485000.mdio: scan phy rmii-ref at address 21 [ 2.121004] mdio_bus 48485000.mdio: scan phy rmii-ref at address 22 [ 2.128283] mdio_bus 48485000.mdio: scan phy rmii-ref at address 23 [ 2.135563] mdio_bus 48485000.mdio: scan phy rmii-ref at address 24 [ 2.142844] mdio_bus 48485000.mdio: scan phy rmii-ref at address 25 [ 2.150123] mdio_bus 48485000.mdio: scan phy rmii-ref at address 26 [ 2.157405] mdio_bus 48485000.mdio: scan phy rmii-ref at address 27 [ 2.164683] mdio_bus 48485000.mdio: scan phy rmii-ref at address 28 [ 2.171964] mdio_bus 48485000.mdio: scan phy rmii-ref at address 29 [ 2.179243] mdio_bus 48485000.mdio: scan phy rmii-ref at address 30 [ 2.186523] mdio_bus 48485000.mdio: scan phy rmii-ref at address 31 [ 2.193806] davinci_mdio 48485000.mdio: phy[0]: device 48485000.mdio:00, driver Micrel KSZ8081 or KSZ8091 [ 2.203428] davinci_mdio 48485000.mdio: phy[4]: device 48485000.mdio:04, driver Micrel KSZ8081 or KSZ8091 [ 2.213435] cpsw 48484000.ethernet: No slave[0] phy_id, phy-handle, or fixed-link property [ 2.221894] cpsw 48484000.ethernet: Detected MACID = f0:45:da:8a:80:e6 [ 2.228558] cpsw 48484000.ethernet: cpts: overflow check period 800 [ 2.236644] mousedev: PS/2 mouse device common for all mice [ 2.252882] i2c /dev entries driver [ 2.262675] Unable to handle kernel NULL pointer dereference at virtual address 000000c0 [ 2.270816] pgd = c0003000 [ 2.273535] [000000c0] *pgd=80000080004003, *pmd=00000000 [ 2.278992] Internal error: Oops: 206 [#1] PREEMPT SMP ARM [ 2.284501] Modules linked in: [ 2.287577] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.4.45-g0422030-dirty #7 [ 2.294830] Hardware name: Generic DRA74X (Flattened Device Tree) [ 2.300949] task: ee890000 ti: ee88c000 task.ti: ee88c000 [ 2.306376] PC is at adv76xx_probe+0xa4/0xe0c [ 2.310754] LR is at of_match_node+0x44/0x4c [ 2.315044] pc : [<c049522c>] lr : [<c050a040>] psr: 60000013 [ 2.315044] sp : ee88dd20 ip : ee88dd00 fp : ee88ddbc [ 2.326571] r10: eeb2b200 r9 : c08fa600 r8 : eeb2b220 [ 2.331817] r7 : c0495188 r6 : ffffffff r5 : 00000001 r4 : eebe3810 [ 2.338372] r3 : eeb2b200 r2 : 00000000 r1 : 00000000 r0 : 00000000 [ 2.344929] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel [ 2.352269] Control: 30c5387d Table: 80003000 DAC: fffffffd [ 2.358038] Process swapper/0 (pid: 1, stack limit = 0xee88c210) [ 2.364071] Stack: (0xee88dd20 to 0xee88e000) [ 2.368448] dd20: ee88dd64 ee88dd30 c05107b8 c05094e4 ee88dd68 ee88dd40 fffffffe 00000000 [ 2.376662] dd40: c09e7ff8 00000000 eeb2b220 eeb2b200 c0995ce4 c06f8c98 ee88ddbc ee88dd68 [ 2.384876] dd60: c05109f8 c0510758 eeb2b200 c088e5f4 00000000 c08fa600 ee88dda4 ee88dd88 [ 2.393088] dd80: c050a498 c0509468 eedf2844 eeb2b220 eeb2b200 c06f8c98 eeb2b220 eeb2b200 [ 2.401301] dda0: c0495188 eeb2b204 c08fa600 00000000 ee88dde4 ee88ddc0 c048b518 c0495194 [ 2.409515] ddc0: c09e67dc eeb2b220 00000000 c0995ce4 00000000 c08fa600 ee88de0c ee88dde8 [ 2.417729] dde0: c03e5364 c048b3a4 eeb2b220 c0995ce4 eeb2b254 00000000 000000ad c08fa600 [ 2.425942] de00: ee88de2c ee88de10 c03e54ec c03e516c 00000000 c0995ce4 c03e5458 00000000 [ 2.434155] de20: ee88de54 ee88de30 c03e35ec c03e5464 eea0f25c eeb38bb4 eea0f270 c0995ce4 [ 2.442368] de40: ee32e700 c0995a14 ee88de64 ee88de58 c03e4c50 c03e3588 ee88de8c ee88de68 [ 2.450581] de60: c03e488c c03e4c38 c08903c8 ee88de78 c0995ce4 c0923334 c0953860 ee2ecec0 [ 2.458794] de80: ee88dea4 ee88de90 c03e5c8c c03e46f0 c0995cc8 c0923334 ee88debc ee88dea8 [ 2.467007] dea0: c048bcd4 c03e5c18 c0953860 c0923334 ee88decc ee88dec0 c0923350 c048bc98 [ 2.475221] dec0: ee88df4c ee88ded0 c000978c c0923340 ee88def4 ee88dee0 c004f084 c02bb8c0 [ 2.483433] dee0: efffc700 c06b8c64 ee88df4c ee88def8 c004f278 c004f078 ee88df34 c0831688 [ 2.491647] df00: c08316d4 c083107c 00000006 00000006 00000000 c08f704c c088a3ec 00000000 [ 2.499860] df20: 00000478 c09ab000 c09ab000 c09485e0 c093a834 000000ad c08fa600 00000007 [ 2.508074] df40: ee88df94 ee88df50 c08faf68 c0009700 00000006 00000006 00000000 c08fa600 [ 2.516287] df60: 55339555 c08f704c 55339555 c09ab000 c06810a4 00000000 00000000 00000000 [ 2.524500] df80: 00000000 00000000 ee88dfac ee88df98 c06810bc c08fada0 00000000 c06810a4 [ 2.532713] dfa0: 00000000 ee88dfb0 c000fac8 c06810b0 00000000 00000000 00000000 00000000 [ 2.540926] dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 2.549139] dfe0: 00000000 00000000 00000000 00000000 00000013 00000000 55339555 55339555 [ 2.557347] Backtrace: [ 2.559816] [<c0495188>] (adv76xx_probe) from [<c048b518>] (i2c_device_probe+0x180/0x1fc) [ 2.568026] r10:00000000 r9:c08fa600 r8:eeb2b204 r7:c0495188 r6:eeb2b200 r5:eeb2b220 [ 2.575929] r4:c06f8c98 [ 2.578486] [<c048b398>] (i2c_device_probe) from [<c03e5364>] (driver_probe_device+0x204/0x2f8) [ 2.587217] r9:c08fa600 r8:00000000 r7:c0995ce4 r6:00000000 r5:eeb2b220 r4:c09e67dc [ 2.595038] [<c03e5160>] (driver_probe_device) from [<c03e54ec>] (__driver_attach+0x94/0x98) [ 2.603509] r9:c08fa600 r8:000000ad r7:00000000 r6:eeb2b254 r5:c0995ce4 r4:eeb2b220 [ 2.611328] [<c03e5458>] (__driver_attach) from [<c03e35ec>] (bus_for_each_dev+0x70/0xa4) [ 2.619536] r7:00000000 r6:c03e5458 r5:c0995ce4 r4:00000000 [ 2.625254] [<c03e357c>] (bus_for_each_dev) from [<c03e4c50>] (driver_attach+0x24/0x28) [ 2.633288] r6:c0995a14 r5:ee32e700 r4:c0995ce4 [ 2.637951] [<c03e4c2c>] (driver_attach) from [<c03e488c>] (bus_add_driver+0x1a8/0x220) [ 2.645992] [<c03e46e4>] (bus_add_driver) from [<c03e5c8c>] (driver_register+0x80/0x100) [ 2.654113] r7:ee2ecec0 r6:c0953860 r5:c0923334 r4:c0995ce4 [ 2.659830] [<c03e5c0c>] (driver_register) from [<c048bcd4>] (i2c_register_driver+0x48/0x88) [ 2.668301] r5:c0923334 r4:c0995cc8 [ 2.671909] [<c048bc8c>] (i2c_register_driver) from [<c0923350>] (adv76xx_driver_init+0x1c/0x20) [ 2.680729] r5:c0923334 r4:c0953860 [ 2.684338] [<c0923334>] (adv76xx_driver_init) from [<c000978c>] (do_one_initcall+0x98/0x1e4) [ 2.692902] [<c00096f4>] (do_one_initcall) from [<c08faf68>] (kernel_init_freeable+0x1d4/0x268) [ 2.701636] r10:00000007 r9:c08fa600 r8:000000ad r7:c093a834 r6:c09485e0 r5:c09ab000 [ 2.709538] r4:c09ab000 [ 2.712091] [<c08fad94>] (kernel_init_freeable) from [<c06810bc>] (kernel_init+0x18/0xf4) [ 2.720299] r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c06810a4 [ 2.728203] r4:c09ab000 [ 2.730757] [<c06810a4>] (kernel_init) from [<c000fac8>] (ret_from_fork+0x14/0x2c) [ 2.738355] r5:c06810a4 r4:00000000 [ 2.741963] Code: e59f0d58 eb01d375 e594338c e3a01000 (e59020c0) [ 2.748676] ---[ end trace 27e9a5f828a2d79c ]--- [ 2.753329] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b [ 2.753329] [ 2.762509] CPU1: stopping [ 2.765231] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G D 4.4.45-g0422030-dirty #7 [ 2.773705] Hardware name: Generic DRA74X (Flattened Device Tree) [ 2.779823] Backtrace: [ 2.782297] [<c00130f8>] (dump_backtrace) from [<c00132f4>] (show_stack+0x18/0x1c) [ 2.789896] r7:ee8b7f40 r6:20000193 r5:00000000 r4:c097af8c [ 2.795619] [<c00132dc>] (show_stack) from [<c02b496c>] (dump_stack+0x8c/0xa0) [ 2.802876] [<c02b48e0>] (dump_stack) from [<c0016420>] (handle_IPI+0x184/0x198) [ 2.810300] r7:ee8b7f40 r6:00000000 r5:00000001 r4:c094a424 [ 2.816019] [<c001629c>] (handle_IPI) from [<c00094c4>] (gic_handle_irq+0x78/0x7c) [ 2.823617] r7:fa212000 r6:ee8b7f40 r5:fa21200c r4:c09508dc [ 2.829332] [<c000944c>] (gic_handle_irq) from [<c0013dc0>] (__irq_svc+0x40/0x74) [ 2.836846] Exception stack(0xee8b7f40 to 0xee8b7f88) [ 2.841921] 7f40: 00000001 00000000 00000000 c0020560 ee8b6000 c09504ac 00000000 00000000 [ 2.850134] 7f60: ee8b7fb0 c068a21c c095050c ee8b7f9c ee8b7fa0 ee8b7f90 c0010554 c0010558 [ 2.858345] 7f80: 60000013 ffffffff [ 2.861843] r9:c068a21c r8:ee8b7fb0 r7:ee8b7f74 r6:ffffffff r5:60000013 r4:c0010558 [ 2.869668] [<c0010518>] (arch_cpu_idle) from [<c0070ab8>] (default_idle_call+0x28/0x34) [ 2.877799] [<c0070a90>] (default_idle_call) from [<c0070d18>] (cpu_startup_entry+0x200/0x260) [ 2.886452] [<c0070b18>] (cpu_startup_entry) from [<c0016008>] (secondary_start_kernel+0x16c/0x178) [ 2.895532] r7:c09ab2a8 [ 2.898087] [<c0015e9c>] (secondary_start_kernel) from [<8000956c>] (0x8000956c) [ 2.905511] r7:c09ab2a8 r6:30c0387d r5:00000000 r4:ae843cc0 [ 2.911227] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b [ 2.911227]
Here is our dts file =>
/* * Copyright (C) 2016 Texas Instruments Incorporated - http://www.ti.com/ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #include "dra7-evm.dts" / { memory { device_type = "memory"; //reg = <0x0 0x80000000 0x0 0x80000000>; /* 2 GB */ reg = <0x0 0x80000000 0x0 0xC0000000>; /* 3 GB */ }; leds { status = "disabled"; }; gpio_keys { status = "disabled"; }; jamr3_sound{ status = "disabled"; }; primary_sound{ status = "disabled"; }; }; &evm_3v3_sd { gpio = <>; }; &snd0 { status = "disabled"; }; &hdmi0 { status = "disabled"; }; &tpd12s015 { status = "disabled"; }; &pcf_lcd { status = "disabled"; }; &pcf_gpio_21 { status = "disabled"; }; &lcd_fpd { status = "disabled"; }; &extcon_usb1 { //fake gpio id-gpios = <&gpio3 24 GPIO_ACTIVE_HIGH>; }; &extcon_usb2 { //fake gpio id-gpios = <&gpio3 25 GPIO_ACTIVE_HIGH>; }; &usb1 { dr_mode = "host"; }; &tlv320aic3106 { status = "disabled"; }; &pcf_hdmi { status = "disabled"; }; &i2c_p3_exp { ov10633@37 { status = "disabled"; }; }; &tvp_5158 { status = "disabled"; }; &disp_ser { status = "disabled"; }; &pcie1_rc { status = "disabled"; }; &elm { status = "okay"; }; #if 1 &gpmc { status = "okay"; ranges = <0 0 0x08000000 0x01000000>; /* minimum GPMC partition = 16MB */ nand@0,0 { compatible = "ti,omap2-nand"; reg = <0 0 4>; /* device IO registers */ interrupt-parent = <&gpmc>; interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */ <1 IRQ_TYPE_NONE>; /* termcount */ rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 pin */ ti,nand-ecc-opt = "bch8"; ti,elm-id = <&elm>; nand-bus-width = <16>; gpmc,device-width = <2>; gpmc,sync-clk-ps = <0>; gpmc,cs-on-ns = <0>; gpmc,cs-rd-off-ns = <80>; gpmc,cs-wr-off-ns = <80>; gpmc,adv-on-ns = <0>; gpmc,adv-rd-off-ns = <60>; gpmc,adv-wr-off-ns = <60>; gpmc,we-on-ns = <10>; gpmc,we-off-ns = <50>; gpmc,oe-on-ns = <4>; gpmc,oe-off-ns = <40>; gpmc,access-ns = <40>; gpmc,wr-access-ns = <80>; gpmc,rd-cycle-ns = <80>; gpmc,wr-cycle-ns = <80>; gpmc,bus-turnaround-ns = <0>; gpmc,cycle2cycle-delay-ns = <0>; gpmc,clk-activation-ns = <0>; gpmc,wr-data-mux-bus-ns = <0>; /* MTD partition table */ /* All SPL-* partitions are sized to minimal length * which can be independently programmable. For * NAND flash this is equal to size of erase-block */ #address-cells = <1>; #size-cells = <1>; partition@0 { label = "NAND.device.0"; reg = <0x00000000 0x10000000>; /*256 MB*/ }; /* partition@0 { label = "NAND.SPL"; reg = <0x00000000 0x000020000>; }; partition@1 { label = "NAND.SPL.backup1"; reg = <0x00020000 0x00020000>; }; partition@2 { label = "NAND.SPL.backup2"; reg = <0x00040000 0x00020000>; }; partition@3 { label = "NAND.SPL.backup3"; reg = <0x00060000 0x00020000>; }; partition@4 { label = "NAND.u-boot-spl-os"; reg = <0x00080000 0x00040000>; }; partition@5 { label = "NAND.u-boot"; reg = <0x000c0000 0x00100000>; }; partition@6 { label = "NAND.u-boot-env"; reg = <0x001c0000 0x00020000>; }; partition@7 { label = "NAND.u-boot-env.backup1"; reg = <0x001e0000 0x00020000>; }; partition@8 { label = "NAND.kernel"; reg = <0x00200000 0x00800000>; }; partition@9 { label = "NAND.file-system"; reg = <0x00a00000 0x0f600000>; }; */ }; }; #endif &qspi { status = "okay"; spi-max-frequency = <76800000>; m25p80@0 { compatible = "s25fl256s1"; spi-max-frequency = <76800000>; reg = <0>; spi-tx-bus-width = <1>; spi-rx-bus-width = <4>; #address-cells = <1>; #size-cells = <1>; /* MTD partition table. * The ROM checks the first four physical blocks * for a valid file to boot and the flash here is * 64KiB block size. */ partition@0 { label = "QSPI.MLO"; reg = <0x00000000 0x000040000>; }; partition@1 { label = "QSPI.u-boot"; reg = <0x00040000 0x00100000>; }; partition@2 { label = "QSPI.DRA7-evm.dtb"; reg = <0x00140000 0x00080000>; }; partition@3 { label = "QSPI.u-boot-env"; reg = <0x001c0000 0x00010000>; }; partition@4 { label = "QSPI.u-boot-env.backup1"; reg = <0x001d0000 0x0010000>; }; partition@5 { label = "QSPI.uImage"; reg = <0x001e0000 0x0800000>; }; partition@6 { label = "QSPI.IPU-exe"; reg = <0x009e0000 0x01620000>; }; }; }; &mailbox5 { status = "disabled"; }; &mailbox6 { status = "disabled"; }; &mmu0_dsp1 { status = "disabled"; }; &mmu1_dsp1 { status = "disabled"; }; &mmu0_dsp2 { status = "disabled"; }; &mmu1_dsp2 { status = "disabled"; }; &mmu_ipu1 { status = "disabled"; }; &mmu_ipu2 { status = "disabled"; }; &ipu2 { status = "disabled"; }; &ipu1 { status = "disabled"; }; &dsp1 { status = "disabled"; }; &dsp2 { status = "disabled"; }; &dss { status = "disabled"; }; &hdmi { status = "disabled"; }; #if 0 &vip1 { status = "disabled"; }; &video_in { status = "disabled"; }; #endif &reserved_mem { status = "disabled"; }; &pcf_jamr3_21 { status = "disabled"; }; &tlv320aic3106a { status = "disabled"; }; &tlv320aic3106b { status = "disabled"; }; &tlv320aic3106c { status = "disabled"; }; &mcasp7 { status = "disabled"; }; &mcasp8 { status = "disabled"; }; &mcasp2 { status = "okay"; }; &mcasp3 { status = "okay"; }; &mcasp6 { status = "disabled"; }; &ipu2_cma_pool { status = "disabled"; }; &dsp1_cma_pool { status = "disabled"; }; &ipu1_cma_pool { status = "disabled"; }; &dsp2_cma_pool { status = "disabled"; }; &cmem_radio { status = "disabled"; }; &dsp1_sr0 { status = "disabled"; }; &uart4 { status = "okay"; }; &uart8 { status = "okay"; }; &uart5 { status = "okay"; }; &uart9 { status = "okay"; }; &uart10 { status = "okay"; }; &mmc4 { status = "disabled"; }; /*********************************below for video port enable test***************************************/ /* VIN2A pins mapped to VIP1 */ &vip2 { status = "okay"; pinctrl-names = "default"; /* Pinmux conflict between vin1a:16-23 & vin2a:0-8 Either use full 24bit of vin1a or use 16bit vin1a and 8bitvin2a TO enable cam2, uncomment this pinctrl-0 = <&vin1a_pins &vin2a>; */ pinctrl-0 = <&vin3a_pins >; }; &vin3a { status = "okay"; endpoint@0 { slave-mode; remote-endpoint = <&hdmi_receiver>; }; }; &vip1 { status = "disabled"; }; video3a_in: &vin3a { status = "okay"; endpoint@0 { slave-mode; remote-endpoint = <&hdmi_receiver>; }; }; &i2c1 { status = "okay"; clock-frequency = <400000>; adv7611: adv7611@4c { compatible = "adv7611"; reg = <0x4c>; port { hdmi_receiver: endpoint { #if 0 hsync-active = <1>; vsync-active = <1>; #endif pclk-sample = <1>; }; }; }; }; /**********************************up for video port enable test*****************************************/ &i2c1 { status = "okay"; clock-frequency = <400000>; }; &i2c2 { status = "okay"; clock-frequency = <400000>; }; &i2c3 { status = "okay"; clock-frequency = <400000>; }; &i2c4 { status = "okay"; clock-frequency = <400000>; }; &i2c5 { status = "okay"; clock-frequency = <400000>; }; &mcspi1 { status = "okay"; spidev@0 { spi-max-frequency = <24000000>; reg = <0>; compatible = "rohm,dh2228fv"; /*compatible = "linux,spidev";*/ }; }; &mcspi2 { status = "okay"; spidev@1 { spi-max-frequency = <24000000>; reg = <0>; compatible = "rohm,dh2228fv"; }; }; &mcspi3 { status = "okay"; spidev@2 { spi-max-frequency = <24000000>; reg = <0>; compatible = "rohm,dh2228fv"; }; }; &mcspi4 { status = "okay"; spidev@3 { spi-max-frequency = <24000000>; reg = <0>; compatible = "rohm,dh2228fv"; }; }; &mcasp1 { #sound-dai-cells = <0>; assigned-clocks = <&mcasp1_ahclkx_mux>; assigned-clock-parents = <&atl_clkin1_ck>; status = "okay"; op-mode = <0>; // MCASP_IIS_MODE // tdm-slots = <2>; // 4 serializer // serial-dir = < // 0: INACTIVE, 1: TX, 2: RX // 0 0 1 2 >; tx-num-evt = <32>; rx-num-evt = <32>; }; &mcasp2 { #sound-dai-cells = <0>; assigned-clocks = <&mcasp2_ahclkx_mux>; assigned-clock-parents = <&atl_clkin1_ck>; status = "okay"; op-mode = <0>; // MCASP_IIS_MODE // tdm-slots = <2>; // 4 serializer // serial-dir = < // 0: INACTIVE, 1: TX, 2: RX // 0 0 1 2 >; tx-num-evt = <32>; rx-num-evt = <32>; }; &mcasp3 { #sound-dai-cells = <0>; assigned-clocks = <&mcasp3_ahclkx_mux>; assigned-clock-parents = <&atl_clkin1_ck>; status = "okay"; op-mode = <0>; // MCASP_IIS_MODE // tdm-slots = <2>; // 4 serializer // serial-dir = < // 0: INACTIVE, 1: TX, 2: RX // 0 0 1 2 >; tx-num-evt = <32>; rx-num-evt = <32>; }; &atl { assigned-clock-parents = <&sys_clkin1>, <&dpll_abe_m2_ck>; }; &mac { status = "okay"; active_slave = <1>; }; &davinci_mdio { status = "okay"; micrel_phy_config { #address-cells = <1>; #size-cells = <0>; micrel,led-mode = <1>; clock-names = "rmii-ref"; clocks = <&rmii_50M_clock>; }; rmii_50M_clock: rmii-ref{ #clock-cells = <0>; compatible ="fixed-clock"; clock-frequency = <50000000>; }; }; &cpsw_emac1 { phy_id = <&davinci_mdio>, <4>; phy-mode = "rmii"; status = "okay"; }; &phy_sel { rmii-clock-ext; }; &oppdm_mpu { status = "disabled"; }; &epwmss0 { status = "okay"; }; #if 0 &ehrpwm0 { status = "okay"; }; #endif &ecap0 { status = "okay"; }; &epwmss1 { status = "okay"; }; #if 0 &ehrpwm1 { status = "okay"; }; #endif &ecap1 { status = "okay"; }; &epwmss2 { status = "okay"; }; #if 0 &ehrpwm2 { status = "okay"; }; #endif &ecap2 { status = "okay"; }; &dra7_pmx_core { pinctrl-names = "default"; pinctrl-0 = <&man2020_pins>; man2020_pins: man2020_pins { pinctrl-single,pins = < 0x3B0 (MUX_MODE0 | PIN_INPUT_PULLUP) /* spi1_cs0.spi1_cs0 */ 0x3B4 (MUX_MODE0 | PIN_INPUT_PULLUP) /* spi1_cs1.spi1_cs1 */ 0x3A4 (MUX_MODE0 | PIN_INPUT_PULLDOWN) /* spi1_sclk.spi1_sclk */ 0x3AC (MUX_MODE0 | PIN_INPUT_PULLDOWN) /* spi1_d0.spi1_d0 */ 0x3A8 (MUX_MODE0 | PIN_INPUT_PULLDOWN) /* spi1_d1.spi1_d1 */ 0x3C8 (MUX_MODE0 | PIN_INPUT_PULLDOWN) /* spi2_d0.spi2_d0 */ 0x3C4 (MUX_MODE0 | PIN_INPUT_PULLDOWN) /* spi2_d1.spi2_d1 */ 0x3CC (MUX_MODE0 | PIN_INPUT_PULLUP) /* spi2_cs0.spi2_cs0 */ 0x3C0 (MUX_MODE0 | PIN_INPUT_PULLDOWN) /* spi2_sclk.spi2_sclk */ 0x264 (MUX_MODE7 | PIN_INPUT_PULLDOWN) /* rgmii0_txd0.spi4_cs0 */ 0x260 (MUX_MODE7 | PIN_INPUT_PULLDOWN) /* rgmii0_txd1.spi4_d0 */ 0x25C (MUX_MODE7 | PIN_INPUT_PULLDOWN) /* rgmii0_txd2.spi4_d1 */ 0x258 (MUX_MODE7 | PIN_INPUT_PULLDOWN) /* RGMII0_TXD3.spi4_sclk */ 0x40C (MUX_MODE0 | PIN_INPUT_PULLUP) /* i2c2_scl.i2c2_scl */ 0x408 (MUX_MODE0 | PIN_INPUT_PULLUP) /* i2c2_sda.i2c2_sda */ 0x378 (MUX_MODE2 | PIN_INPUT_PULLUP) /* gpio6_11.i2c3_scl */ 0x374 (MUX_MODE2 | PIN_INPUT_PULLUP) /* gpio6_10.i2c3_sda */ 0x2AC (MUX_MODE10 | PIN_INPUT_PULLUP) /* mcasp1_aclkr.i2c4_sda */ 0x2B0 (MUX_MODE10 | PIN_INPUT_PULLUP) /* mcasp1_fsr.i2c4_scl */ 0x2B4 (MUX_MODE10 | PIN_INPUT | SLEWCONTROL) /* mcasp1_axr0.i2c5_sda */ 0x2B8 (MUX_MODE10 | PIN_INPUT | SLEWCONTROL) /* mcasp1_axr1.i2c5_scl */ 0x314 (MUX_MODE14 | PIN_INPUT_PULLDOWN) /* mcasp2_axr4.gpio1_4 */ 0x3D4 (MUX_MODE14 | PIN_INPUT_PULLUP | SLEWCONTROL) /* dcan1_rx.gpio1_15 */ 0x06C (MUX_MODE14 | PIN_INPUT_PULLDOWN) /* gpmc_a11.gpio2_1 */ 0x070 (MUX_MODE14 | PIN_INPUT_PULLDOWN) /* GPMC_A12.gpio2_2 */ 0x0C0 (MUX_MODE14 | PIN_INPUT_PULLDOWN) /* gpmc_clk.gpio2_22 */ 0x0D4 (MUX_MODE14 | PIN_INPUT_PULLDOWN) /* gpmc_ben1.gpio2_27 */ 0x31C (MUX_MODE14 | PIN_INPUT_PULLDOWN) /* mcasp2_axr6.gpio2_29 */ 0x154 (MUX_MODE14 | PIN_INPUT_PULLDOWN) /* vin2a_clk0.gpio3_28 */ 0x2E8 (MUX_MODE14 | PIN_INPUT_PULLDOWN) /* mcasp1_axr13.gpio6_4 */ 0x288 (MUX_MODE0 | PIN_INPUT_PULLDOWN) /* gpio6_14.gpio6_14 */ 0x418 (MUX_MODE14 | PIN_INPUT_PULLDOWN) /* Wakeup0.gpio1_0 */ 0x41C (MUX_MODE14 | PIN_INPUT_PULLDOWN) /* WAKEUP1.gpio1_1 */ 0x320 (MUX_MODE14 | PIN_INPUT_PULLDOWN) /* mcasp2_axr7.gpio1_5 */ 0x2E0 (MUX_MODE14 | PIN_INPUT_PULLDOWN) /* mcasp1_axr11.gpio4_17 */ 0x2E4 (MUX_MODE14 | PIN_INPUT_PULLDOWN) /* mcasp1_axr12.gpio4_18 */ 0x2CC (MUX_MODE14 | PIN_INPUT_PULLDOWN) /* mcasp1_axr6.gpio5_8 */ 0x2D0 (MUX_MODE14 | PIN_INPUT_PULLDOWN) /* mcasp1_axr7.gpio5_9 */ 0x2D4 (MUX_MODE14 | PIN_INPUT_PULLDOWN) /* mcasp1_axr8.gpio5_10 */ 0x2D8 (MUX_MODE14 | PIN_INPUT_PULLDOWN) /* mcasp1_axr9.gpio5_11 */ 0x2DC (MUX_MODE14 | PIN_INPUT_PULLDOWN) /* mcasp1_axr10.gpio5_12 */ 0x23C (MUX_MODE14 | PIN_INPUT_PULLDOWN) /* mdio_mclk.gpio5_15 */ 0x240 (MUX_MODE14 | PIN_INPUT_PULLDOWN) /* mdio_d.gpio5_16 */ 0x24C (MUX_MODE14 | PIN_INPUT_PULLDOWN) /* uart3_txd.gpio5_19 */ 0x274 (MUX_MODE14 | PIN_INPUT_PULLDOWN) /* rgmii0_rxd2.gpio5_29 */ 0x278 (MUX_MODE14 | PIN_INPUT_PULLDOWN) /* rgmii0_rxd1.gpio5_30 */ 0x27C (MUX_MODE14 | PIN_INPUT_PULLDOWN) /* rgmii0_rxd0.gpio5_31 */ 0x2EC (MUX_MODE14 | PIN_INPUT_PULLDOWN) /* mcasp1_axr14.gpio6_5 */ 0x2F0 (MUX_MODE14 | PIN_INPUT_PULLDOWN) /* mcasp1_axr15.gpio6_6 */ 0x318 (MUX_MODE14 | PIN_INPUT_PULLDOWN | MUX_VIRTUAL_MODE12) /* mcasp2_axr5.gpio6_7 */ 0x30C (MUX_MODE14 | PIN_INPUT_PULLDOWN) /* mcasp2_axr2.gpio6_8 */ 0x284 (MUX_MODE14 | PIN_INPUT_PULLDOWN) /* usb2_drvvbus.gpio6_13 */ 0x28C (MUX_MODE0 | PIN_INPUT_PULLDOWN) /* gpio6_15.gpio6_15 */ 0x290 (MUX_MODE0 | PIN_INPUT_PULLDOWN) /* gpio6_16.gpio6_16 */ 0x298 (MUX_MODE14 | PIN_INPUT_PULLDOWN) /* xref_clk1.gpio6_18 */ 0x29C (MUX_MODE14 | PIN_INPUT_PULLDOWN) /* xref_clk2.gpio6_19 */ 0x2A0 (MUX_MODE14 | PIN_INPUT_PULLDOWN) /* xref_clk3.gpio6_20 */ 0x3E8 (MUX_MODE14 | PIN_INPUT_PULLDOWN) /* uart1_ctsn.gpio7_24 */ 0x3EC (MUX_MODE14 | PIN_INPUT_PULLDOWN) /* uart1_rtsn.gpio7_25 */ 0x3F0 (MUX_MODE14 | PIN_INPUT_PULLDOWN) /* uart2_rxd.gpio7_26 */ 0x3F4 (MUX_MODE14 | PIN_INPUT_PULLDOWN) /* uart2_txd.gpio7_27 */ 0x204 (MUX_MODE14 | PIN_INPUT_PULLDOWN) /* VOUT1_D10.gpio8_10 */ 0x1E4 (MUX_MODE14 | PIN_INPUT_PULLDOWN) /* VOUT1_D2.gpio8_2 */ 0x3E4 (MUX_MODE0 | PIN_INPUT_PULLUP | SLEWCONTROL) /* uart1_txd.uart1_txd */ 0x3E0 (MUX_MODE0 | PIN_INPUT_PULLUP | SLEWCONTROL) /* uart1_rxd.uart1_rxd */ 0x3F8 (MUX_MODE2 | PIN_INPUT_PULLUP) /* uart2_ctsn.uart3_rxd */ 0x3FC (MUX_MODE1 | PIN_INPUT_PULLUP) /* uart2_rtsn.uart3_txd */ 0x33C (MUX_MODE4 | PIN_INPUT_SLEW) /* mcasp4_axr0.uart4_rxd */ 0x340 (MUX_MODE4 | PIN_INPUT_SLEW) /* mcasp4_axr1.uart4_txd */ 0x32C (MUX_MODE4 | PIN_INPUT_PULLUP) /* mcasp3_axr0.uart5_rxd */ 0x330 (MUX_MODE4 | PIN_INPUT_PULLUP) /* mcasp3_axr1.uart5_txd */ 0x334 (MUX_MODE3 | PIN_INPUT_PULLUP) /* mcasp4_aclkx.uart8_rxd */ 0x338 (MUX_MODE3 | PIN_INPUT_PULLUP) /* mcasp4_fsx.uart8_txd */ 0x344 (MUX_MODE3 | PIN_INPUT_PULLUP) /* mcasp5_aclkx.uart9_rxd */ 0x348 (MUX_MODE3 | PIN_INPUT_PULLUP) /* mcasp5_fsx.uart9_txd */ 0x394 (MUX_MODE2 | PIN_INPUT_PULLUP) /* mmc3_dat4.uart10_rxd */ 0x398 (MUX_MODE2 | PIN_INPUT_PULLUP) /* MMC3_DAT5.uart10_txd */ 0x39C (MUX_MODE2 | PIN_INPUT_PULLUP) /* MMC3_DAT6.uart10_ctsn */ 0x3A0 (MUX_MODE2 | PIN_INPUT_PULLUP) /* MMC3_DAT7.uart10_rtsn */ 0x2BC (MUX_MODE0 | PIN_INPUT_SLEW) /* mcasp1_axr2.mcasp1_axr2 */ 0x2C0 (MUX_MODE0 | PIN_INPUT_SLEW) /* mcasp1_axr3.mcasp1_axr3 */ 0x2C4 (MUX_MODE0 | PIN_INPUT_SLEW) /* mcasp1_axr4.mcasp1_axr4 */ 0x2C8 (MUX_MODE0 | PIN_INPUT_SLEW) /* mcasp1_axr5.mcasp1_axr5 */ 0x2A4 (MUX_MODE0 | PIN_INPUT_PULLDOWN) /* mcasp1_aclkx.mcasp1_aclkx */ 0x2A8 (MUX_MODE0 | PIN_INPUT_SLEW) /* mcasp1_fsx.mcasp1_fsx */ 0x2F8 (MUX_MODE0 | PIN_INPUT_SLEW | MUX_VIRTUAL_MODE9) /* mcasp2_fsx.mcasp2_fsx */ 0x2F4 (MUX_MODE0 | PIN_INPUT_PULLDOWN | MUX_VIRTUAL_MODE9) /* mcasp2_aclkx.mcasp2_aclkx */ 0x304 (MUX_MODE0 | PIN_INPUT_PULLDOWN | MUX_VIRTUAL_MODE12) /* mcasp2_axr0.mcasp2_axr0 */ 0x308 (MUX_MODE0 | PIN_INPUT_PULLDOWN | MUX_VIRTUAL_MODE12) /* mcasp2_axr1.mcasp2_axr1 */ 0x310 (MUX_MODE1 | PIN_INPUT_SLEW | MUX_VIRTUAL_MODE9) /* mcasp2_axr3.mcasp3_axr3 */ 0x324 (MUX_MODE0 | PIN_INPUT_PULLDOWN) /* mcasp3_aclkx.mcasp3_aclkx */ 0x328 (MUX_MODE0 | PIN_INPUT_SLEW) /* mcasp3_fsx.mcasp3_fsx */ 0x158 MUX_MODE4 /* vin2a_de0.VOUT2_DE */ 0x1C4 MUX_MODE4 /* vin2a_d23.VOUT2_D0 */ 0x1C0 MUX_MODE4 /* VIN2A_D22.VOUT2_D1 */ 0x1BC MUX_MODE4 /* VIN2A_D21.vout2_d2 */ 0x1B8 MUX_MODE4 /* VIN2A_D20.vout2_d3 */ 0x1B4 MUX_MODE4 /* vin2a_d19.VOUT2_D4 */ 0x1B0 MUX_MODE4 /* VIN2A_D18.VOUT2_D5 */ 0x1AC MUX_MODE4 /* vin2a_d17.VOUT2_D6 */ 0x1A8 MUX_MODE4 /* VIN2A_D16.vout2_d7 */ 0x1A4 MUX_MODE4 /* VIN2A_D15.vout2_d8 */ 0x1A0 MUX_MODE4 /* VIN2A_D14.VOUT2_D9 */ 0x19C MUX_MODE4 /* vin2a_d13.VOUT2_D10 */ 0x198 MUX_MODE4 /* vin2a_d12.VOUT2_D11 */ 0x194 MUX_MODE4 /* VIN2A_D11.VOUT2_D12 */ 0x190 MUX_MODE4 /* VIN2A_D10.VOUT2_D13 */ 0x18C MUX_MODE4 /* vin2a_d9.VOUT2_D14 */ 0x188 MUX_MODE4 /* vin2a_d8.VOUT2_D15 */ 0x184 MUX_MODE4 /* VIN2A_D7.VOUT2_D16 */ 0x180 MUX_MODE4 /* VIN2A_D6.vout2_d17 */ 0x17C MUX_MODE4 /* vin2a_d5.VOUT2_D18 */ 0x178 MUX_MODE4 /* vin2a_d4.VOUT2_D19 */ 0x174 MUX_MODE4 /* VIN2A_D3.vout2_d20 */ 0x170 MUX_MODE4 /* VIN2A_D2.vout2_d21 */ 0x16C MUX_MODE4 /* vin2a_d1.VOUT2_D22 */ 0x168 MUX_MODE4 /* vin2a_d0.VOUT2_D23 */ 0x160 MUX_MODE4 /* VIN2A_HSYNC0.vout2_hsync */ 0x164 MUX_MODE4 /* vin2a_vsync0.VOUT2_VSYNC */ 0x15C MUX_MODE4 /* VIN2A_FLD0.VOUT2_CLK */ 0x000 MUX_MODE3 /* gpmc_ad0.VOUT3_D0 */ 0x004 MUX_MODE3 /* gpmc_ad1.VOUT3_D1 */ 0x008 MUX_MODE3 /* gpmc_ad2.VOUT3_D2 */ 0x00C MUX_MODE3 /* GPMC_AD3.vout3_d3 */ 0x010 MUX_MODE3 /* gpmc_ad4.VOUT3_D4 */ 0x014 MUX_MODE3 /* gpmc_ad5.VOUT3_D5 */ 0x018 MUX_MODE3 /* GPMC_AD6.vout3_d6 */ 0x01C MUX_MODE3 /* GPMC_AD7.vout3_d7 */ 0x020 MUX_MODE3 /* GPMC_AD8.vout3_d8 */ 0x024 MUX_MODE3 /* GPMC_AD9.vout3_d9 */ 0x028 MUX_MODE3 /* GPMC_AD10.vout3_d10 */ 0x02C MUX_MODE3 /* GPMC_AD11.vout3_d11 */ 0x030 MUX_MODE3 /* gpmc_ad12.VOUT3_D12 */ 0x034 MUX_MODE3 /* gpmc_ad13.VOUT3_D13 */ 0x038 MUX_MODE3 /* gpmc_ad14.VOUT3_D14 */ 0x03C MUX_MODE3 /* gpmc_ad15.vout3_d15 */ 0x050 MUX_MODE3 /* GPMC_A4.VOUT3_D20 */ 0x054 MUX_MODE3 /* GPMC_A5.VOUT3_D21 */ 0x044 MUX_MODE3 /* GPMC_A1.VOUT3_D17 */ 0x048 MUX_MODE3 /* gpmc_a2.VOUT3_D18 */ 0x04C MUX_MODE3 /* GPMC_A3.vout3_d19 */ 0x040 MUX_MODE3 /* GPMC_A0.VOUT3_D16 */ 0x058 MUX_MODE3 /* GPMC_A6.VOUT3_D22 */ 0x05C MUX_MODE3 /* GPMC_A7.VOUT3_D23 */ 0x060 MUX_MODE3 /* GPMC_A7.VOUT3_HSYNC */ 0x064 MUX_MODE3 /* GPMC_A9.vout3_vsync */ 0x0BC MUX_MODE3 /* GPMC_CS3.vout3_clk */ 0x21C MUX_MODE4 /* VOUT1_D16.VIN3A_D0 */ 0x228 MUX_MODE4 /* VOU1_D19.VIN3A_D3 */ 0x238 MUX_MODE4 /* VOU1_D23.VIN3A_D7 */ 0x220 MUX_MODE4 /* VOU1_D17.VIN3A_D1 */ 0x22C MUX_MODE4 /* VOU1_D20.VIN3A_D4 */ 0x224 MUX_MODE4 /* VOU1_D18.VIN3A_D2 */ 0x230 MUX_MODE4 /* VOU1_D21.VIN3A_D5 */ 0x234 MUX_MODE4 /* VOU1_D22.VIN3A_D6 */ 0x1D0 MUX_MODE4 /* vout1_fld.VIN3A_CLK0 */ 0x36C MUX_MODE0 /* MMC1_SDCD.MMC1_SDCD */ 0x370 MUX_MODE0 /* MMC1_SDWP.MMC1_SDWP */ 0x254 (MUX_MODE2 | PIN_INPUT ) /* rgmii0_txctl.rmii1_rxd0 */ 0x250 (MUX_MODE2 | PIN_INPUT ) /* rgmii0_txc.rmii1_rxd1 */ 0x270 (MUX_MODE2 | PIN_OUTPUT ) /* rgmii0_rxd3.rmii1_txd0 */ 0x26C (MUX_MODE2 | PIN_OUTPUT ) /* rgmii0_rxctl.rmii1_txd1 */ 0x248 (MUX_MODE2 | PIN_INPUT ) /* uart3_rxd.rmii1_crs */ 0x268 (MUX_MODE2 | PIN_OUTPUT ) /* rgmii0_rxc.rmii1_txen */ 0x244 (MUX_MODE0 | PIN_INPUT ) /* RMII_MHZ_50_CLK.RMII_MHZ_50_CLK */ 0x3B8 (MUX_MODE5 | PIN_INPUT_PULLDOWN) /* spi1_cs2.MDIO_MCLK */ 0x3BC (MUX_MODE5 | PIN_INPUT_PULLDOWN) /* spi1_cs3.MDIO_D */ 0x434 MUX_MODE0 /* TDI.TDI */ 0x444 MUX_MODE0 /* RTCK.RTCK */ 0x448 MUX_MODE0 /* EMU0.EMU0 */ 0x44C MUX_MODE0 /* EMU1.EMU1 */ 0x294 (MUX_MODE9 | PIN_INPUT) /* xref_clk0.clkout2 */ 0x280 MUX_MODE0 /* usb1_drvvbus.usb1_drvvbus */ 0x000 MUX_MODE0 /* gpmc_ad0 */ 0x004 MUX_MODE0 /* gpmc_ad1 */ 0x008 MUX_MODE0 /* gpmc_ad2 */ 0x00C MUX_MODE0 /* GPMC_AD3.gpmc_ad3 */ 0x010 MUX_MODE0 /* gpmc_ad4 */ 0x014 MUX_MODE0 /* gpmc_ad5 */ 0x018 MUX_MODE0 /* GPMC_AD6.gpmc_ad6 */ 0x01C MUX_MODE0 /* GPMC_AD7.gpmc_ad7 */ 0x020 MUX_MODE0 /* GPMC_AD8.gpmc_ad8 */ 0x024 MUX_MODE0 /* GPMC_AD9.gpmc_ad9 */ 0x028 MUX_MODE0 /* GPMC_AD10.gpmc_ad10 */ 0x02C MUX_MODE0 /* GPMC_AD11.gpmc_ad11 */ 0x030 MUX_MODE0 /* gpmc_ad12 */ 0x034 MUX_MODE0 /* gpmc_ad13 */ 0x038 MUX_MODE0 /* gpmc_ad14 */ 0x03C MUX_MODE0 /* gpmc_ad15 */ 0x0B4 (MUX_MODE0 | PIN_OUTPUT) /* gpmc_cs0.gpmc_cs0 */ 0x0C4 (MUX_MODE0 | PIN_OUTPUT) /* gpmc_advn_ale.gpmc_advn_ale */ 0x0C8 (MUX_MODE0 | PIN_OUTPUT) /* gpmc_oen_ren.gpmc_oen_ren */ 0x0CC (MUX_MODE0 | PIN_OUTPUT) /* gpmc_wen.gpmc_wen */ 0x0D0 (MUX_MODE0 | PIN_OUTPUT) /* gpmc_ben0.gpmc_ben0 */ 0x0D8 (MUX_MODE0 | PIN_INPUT | SLEWCONTROL) /* gpmc_wait0.gpmc_wait0 */ >; }; mmc3_pins_default: pinmux_mmc3_default_pins { pinctrl-single,pins = < 0x380 (MUX_MODE0 | PIN_INPUT_PULLUP) /* MMC3_CMD.MMC3_CMD */ 0x37C (MUX_MODE0 | PIN_INPUT_PULLUP) /* mmc3_clk.mmc3_clk */ 0x384 (MUX_MODE0 | PIN_INPUT_PULLUP) /* mmc3_dat0.mmc3_dat0 */ 0x388 (MUX_MODE0 | PIN_INPUT_PULLUP) /* mmc3_dat1.mmc3_dat1 */ 0x38C (MUX_MODE0 | PIN_INPUT_PULLUP) /* mmc3_dat2.mmc3_dat2 */ 0x390 (MUX_MODE0 | PIN_INPUT_PULLUP) /* mmc3_dat3.mmc3_dat3 */ >; }; vin3a_pins: pinmux_vin3a_pins { pinctrl-single,pins = < 0x21C MUX_MODE4 /* VOUT1_D16.VIN3A_D0 */ 0x228 MUX_MODE4 /* VOU1_D19.VIN3A_D3 */ 0x238 MUX_MODE4 /* VOU1_D23.VIN3A_D7 */ 0x220 MUX_MODE4 /* VOU1_D17.VIN3A_D1 */ 0x22C MUX_MODE4 /* VOU1_D20.VIN3A_D4 */ 0x224 MUX_MODE4 /* VOU1_D18.VIN3A_D2 */ 0x230 MUX_MODE4 /* VOU1_D21.VIN3A_D5 */ 0x234 MUX_MODE4 /* VOU1_D22.VIN3A_D6 */ 0x1D0 MUX_MODE4 /* vout1_fld.VIN3A_CLK0 */ >; }; }; &pbias_mmc_reg { regulator-max-microvolt = <3300000>; }; &mmc3 { /* from mmc-1 */ status = "okay"; vmmc-supply = <&evm_3v3_sw>; bus-width = <4>; ti,non-removable; /* * SDCD signal is not being used here - using the fact that GPIO mode * is always hardwired. */ //cd-gpios = <&gpio7 12 GPIO_ACTIVE_LOW>; max-frequency = <64000000>; pinctrl-names = "default"; pinctrl-0 = <&mmc3_pins_default>; };
Our dts setting for ADV7611 reference to this article =>
We already enable &vip2, &vin3a, and add adv7611 inside &i2c-1. Is there anything miss? And what reason for system crash?
Regards,
Shawn