Hello,
I'm debugging Sitara Linux SDKv8 for my custom board based on AM335x Starter Kit. My board uses I2C1 instead of I2C0. So I need to change pin configuration for I2C to connect TPS65910 and something. I modified dts file below and saw attached bootlog file from SD boot by same pin configuration for MMC0. The log is stopped at the bottom. Please give me some advice.
< am335x-evmsk.dts >
i2c1_pins: pinmux_i2c1_pins {
pinctrl-single,pins = <
0x180 (PIN_INPUT_PULLUP | MUX_MODE3) /* i2c1_sda.i2c1_sda */
0x184 (PIN_INPUT_PULLUP | MUX_MODE3) /* i2c1_scl.i2c1_scl */
>;
};
&i2c1 {
pinctrl-names = "default";
pinctrl-0 = <&i2c1_pins>;
status = "okay";
clock-frequency = <400000>;
tps: tps@2d {
reg = <0x2d>;
};
};
Regards,
Kazu
U-Boot 2014.07-00107-gd28f2b9-dirty (Sep 16 2016 - 10:59:33) I2C: ready DRAM: 256 MiB NAND: 0 MiB MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 reading uboot.env ** Unable to read "uboot.env" from mmc0:1 ** Using default environment Net: <ethaddr> not set. Validating first E-fuse MAC cpsw, usb_ether Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device SD/MMC found on device 0 reading uEnv.txt ** Unable to read file uEnv.txt ** 4283056 bytes read in 653 ms (6.3 MiB/s) 36629 bytes read in 97 ms (368.2 KiB/s) Kernel image @ 0x82000000 [ 0x000000 - 0x415ab0 ] ## Flattened Device Tree blob at 88000000 Booting using the fdt blob at 0x88000000 Loading Device Tree to 8e713000, end 8e71ef14 ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 3.14.26-g2489c02 (jenkins@sdit-build02) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #1 Wed Feb 11 08:26:25 CST 2015 [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine model: TI AM335x EVM-SK [ 0.000000] cma: CMA: reserved 24 MiB at 8c800000 [ 0.000000] Memory policy: Data cache writeback [ 0.000000] CPU: All CPU(s) started in SVC mode. [ 0.000000] AM335X ES2.1 (neon ) [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 64512 [ 0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait [ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes) [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Memory: 224344K/260096K available (5791K kernel code, 313K rwdata, 2088K rodata, 269K init, 231K bss, 35752K 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 : 0xd0800000 - 0xff000000 ( 744 MB) [ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc07ba054 (7881 kB) [ 0.000000] .init : 0xc07bb000 - 0xc07fe454 ( 270 kB) [ 0.000000] .data : 0xc0800000 - 0xc084e760 ( 314 kB) [ 0.000000] .bss : 0xc084e760 - 0xc0888738 ( 232 kB) [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts [ 0.000000] Total of 128 interrupts on 1 active controller [ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz [ 0.000028] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956969942ns [ 0.000073] OMAP clocksource: timer1 at 24000000 Hz [ 0.000680] Console: colour dummy device 80x30 [ 0.000742] Calibrating delay loop... 298.59 BogoMIPS (lpj=1492992) [ 0.068455] pid_max: default: 32768 minimum: 301 [ 0.068679] Security Framework initialized [ 0.068800] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.068826] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.087215] CPU: Testing write buffer coherency: ok [ 0.087942] Setting up static identity map for 0x805ad920 - 0x805ad978 [ 0.090144] devtmpfs: initialized [ 0.094403] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3 [ 0.113106] omap_hwmod: tptc0 using broken dt data from edma [ 0.113319] omap_hwmod: tptc1 using broken dt data from edma [ 0.113509] omap_hwmod: tptc2 using broken dt data from edma [ 0.120012] omap_hwmod: debugss: _wait_target_disable failed [ 0.190049] pinctrl core: initialized pinctrl subsystem [ 0.192344] regulator-dummy: no parameters [ 0.197149] NET: Registered protocol family 16 [ 0.202095] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.208242] cpuidle: using governor ladder [ 0.208281] cpuidle: using governor menu [ 0.225406] syscon 44e10000.control_module: regmap [mem 0x44e10000-0x44e107fb] registered [ 0.229079] platform 49000000.edma: alias fck already exists [ 0.229141] platform 49000000.edma: alias fck already exists [ 0.229178] platform 49000000.edma: alias fck already exists [ 0.231920] OMAP GPIO hardware version 0.1 [ 0.267327] No ATAGs? [ 0.267378] hw-breakpoint: debug architecture 0x4 unsupported. [ 0.333828] bio: create slab <bio-0> at 0 [ 0.373691] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver [ 0.375995] vbat: 5000 mV [ 0.376960] lis3_reg: no parameters [ 0.377197] reg-fixed-voltage fixedregulator.6: could not find pctldev for node /pinmux@44e10800/pinmux_wl12xx_gpio, deferring probe [ 0.377249] platform fixedregulator.6: Driver reg-fixed-voltage requests probe deferral [ 0.378255] vtt: 1500 mV [ 0.386074] vgaarb: loaded [ 0.387333] i2c-core: driver [palmas] using legacy suspend method [ 0.387362] i2c-core: driver [palmas] using legacy resume method [ 0.389178] SCSI subsystem initialized [ 0.392830] usbcore: registered new interface driver usbfs [ 0.393300] usbcore: registered new interface driver hub [ 0.393788] usbcore: registered new device driver usb [ 0.396086] omap_i2c 44e0b000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c0_pins, deferring probe [ 0.396151] platform 44e0b000.i2c: Driver omap_i2c requests probe deferral [ 0.396221] omap_i2c 4802a000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c1_pins, deferring probe [ 0.396259] platform 4802a000.i2c: Driver omap_i2c requests probe deferral [ 0.397205] pps_core: LinuxPPS API ver. 1 registered [ 0.397232] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.397558] PTP clock support registered [ 0.402463] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400 [ 0.404516] Advanced Linux Sound Architecture Driver Initialized. [ 0.408236] Switched to clocksource timer1 [ 0.457275] NET: Registered protocol family 2 [ 0.459388] TCP established hash table entries: 2048 (order: 1, 8192 bytes) [ 0.459481] TCP bind hash table entries: 2048 (order: 1, 8192 bytes) [ 0.459553] TCP: Hash tables configured (established 2048 bind 2048) [ 0.459700] TCP: reno registered [ 0.459733] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.459783] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.460225] NET: Registered protocol family 1 [ 0.461019] RPC: Registered named UNIX socket transport module. [ 0.461048] RPC: Registered udp transport module. [ 0.461064] RPC: Registered tcp transport module. [ 0.461082] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.463349] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available [ 0.470126] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.906625] VFS: Disk quotas dquot_6.5.2 [ 0.906768] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.907898] NFS: Registering the id_resolver key type [ 0.908077] Key type id_resolver registered [ 0.908099] Key type id_legacy registered [ 0.908202] jffs2: version 2.2. (NAND) (SUMMARY) c 2001-2006 Red Hat, Inc. [ 0.908761] msgmni has been set to 486 [ 0.912343] NET: Registered protocol family 38 [ 0.912434] io scheduler noop registered [ 0.912455] io scheduler deadline registered [ 0.912504] io scheduler cfq registered (default) [ 0.916473] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568 [ 0.924497] backlight.10 supply power not found, using dummy regulator [ 0.933099] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 0.940688] omap_uart 44e09000.serial: no wakeirq for uart0 [ 0.941028] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 88, base_baud = 3000000) is a OMAP UART0 [ 1.633062] console [ttyO0] enabled [ 1.640074] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20 [ 1.647922] [drm] Initialized drm 1.1.0 20060810 [ 1.680067] brd: module loaded [ 1.696999] loop: module loaded [ 1.701269] (hci_tty): inside hci_tty_init [ 1.706651] (hci_tty): allocated 249, 0 [ 1.719682] mtdoops: mtd device (mtddev=name/number) must be supplied [ 1.735993] usbcore: registered new interface driver asix [ 1.742253] usbcore: registered new interface driver ax88179_178a [ 1.749166] usbcore: registered new interface driver cdc_ether [ 1.755816] usbcore: registered new interface driver smsc95xx [ 1.762262] usbcore: registered new interface driver net1080 [ 1.768687] usbcore: registered new interface driver cdc_subset [ 1.775367] usbcore: registered new interface driver zaurus [ 1.781812] usbcore: registered new interface driver cdc_ncm [ 1.788983] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.795859] ehci-pci: EHCI PCI platform driver [ 1.801080] ehci-omap: OMAP-EHCI Host Controller driver [ 1.807684] usbcore: registered new interface driver cdc_wdm [ 1.814243] usbcore: registered new interface driver usb-storage [ 1.823208] mousedev: PS/2 mouse device common for all mice [ 1.832136] TI-am335x-tsc TI-am335x-tsc: ti,charge-delay not specified [ 1.840254] input: ti-tsc as /devices/ocp.3/44e0d000.tscadc/TI-am335x-tsc/input/input0 [ 1.852101] i2c-core: driver [rtc-ds1307] using legacy suspend method [ 1.858962] i2c-core: driver [rtc-ds1307] using legacy resume method [ 1.867279] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0 [ 1.876762] i2c /dev entries driver [ 1.880908] Driver for 1-wire Dallas network protocol. [ 1.891197] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec [ 1.902804] omap_hsmmc 481d8000.mmc: unable to get vmmc regulator -517 [ 1.910154] platform 481d8000.mmc: Driver omap_hsmmc requests probe deferral [ 1.922435] ledtrig-cpu: registered to indicate activity on CPUs [ 1.929596] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2 [ 1.938405] omap-sham 53100000.sham: hw accel on OMAP rev 4.3 [ 1.948034] usbcore: registered new interface driver usbhid [ 1.953993] usbhid: USB HID core driver [ 1.958681] platform 44d00000.wkup_m3: Driver wkup_m3 requests probe deferral [ 1.973494] oprofile: using arm/armv7 [ 1.977998] TCP: cubic registered [ 1.981602] Initializing XFRM netlink socket [ 1.986275] NET: Registered protocol family 17 [ 1.991100] NET: Registered protocol family 15 [ 1.995999] Key type dns_resolver registered [ 2.002033] cpu cpu0: of_pm_voltdm_notifier_register: Failed to get cpu0 regulator/voltdm: -517 [ 2.011299] cpu cpu0: cpu0 clock notifier not ready, retry [ 2.017261] platform cpufreq-cpu0.0: Driver cpufreq-cpu0 requests probe deferral [ 2.026461] PM: bootloader does not support rtc-only! [ 2.032028] ThumbEE CPU extension supported. [ 2.036578] Registering SWP/SWPB emulation handler [ 2.045049] lis3_reg: disabling [ 2.048877] vbat: disabling [ 2.051834] regulator-dummy: disabling [ 2.063323] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 2.070412] [drm] No driver support for vblank timestamp query. [ 2.134175] Console: switching to colour frame buffer device 60x34 [ 2.146382] tilcdc 4830e000.lcdc: fb0: frame buffer device [ 2.152284] tilcdc 4830e000.lcdc: registered panic notifier [ 2.158162] [drm] Initialized tilcdc 1.0.0 20121205 on minor 0 [ 2.166724] vwl1271: 1800 mV [ 2.175050] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz [ 2.184991] tps65910 1-002d: No interrupt support, no core IRQ [ 2.315035] random: nonblocking pool is initialized [ 3.958227] [sched_delayed] sched: RT throttling activated