Dear TI E2E Community
Finally I bought uboot kernel & rootfs up & running, Thanks a lot for all TI engineers for supporting my queries now & then immediately,
As am seeing the below highlighted errors when booting my TI SDK 7 BSP's in my custom board, I have added few more configurations in the dts file as shown below, could you please help me in resolving the highlighted errors as I want my BSP's to be error free in my custom board
Kindly do the needful in resolving the above errors as ealry as possible
Many Many Thanks in advance
U-Boot SPL 2013.10-00189-g78d8ebd-dirty (Dec 10 2014 - 15:44:03)
reading args
spl: error reading image args, err - -1
reading u-boot.img
reading u-boot.img
U-Boot 2013.10-00189-g78d8ebd-dirty (Dec 10 2014 - 15:44:03)
I2C: ready
DRAM: 512 MiB
NAND: 0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Error - No Valid Environment Area found
*** Warning - bad CRC, using default environment
Net: <ethaddr> not set. Validating first E-fuse MAC
SRINI Inisdeee bbbbbbbbbbbbbboard_eth_init
SRINI read_eeprom inisde board_eth_init function is successfull
SRINI board id
SRINI cpsw_register ELSEEEEEEEEEEEEEEEEE CASE
registering USB_ETHER
EOFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF board_eth_init
cpsw, usb_ether
Hit any key to stop autoboot: 0
mmc0 is current device
Scanning mmc 0...
3849232 bytes read in 271 ms (13.5 MiB/s)
35422 bytes read in 71 ms (486.3 KiB/s)
mmc0 is current device
SD/MMC found on device 0
reading uEnv.txt
730 bytes read in 6 ms (118.2 KiB/s)
Loaded environment from uEnv.txt
Importing environment from mmc ...
3849232 bytes read in 271 ms (13.5 MiB/s)
35422 bytes read in 70 ms (494.1 KiB/s)
Kernel image @ 0x80200000 [ 0x000000 - 0x3abc10 ]
## Flattened Device Tree blob at 80f80000
Booting using the fdt blob at 0x80f80000
Loading Device Tree to 9f320000, end 9f32ba5d ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 3.12.10-ti2013.12.01 (srinivasan@Srinivasanlaptop) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #4 Mon Dec 8 18:02:51 IST 2014
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: Generic AM33XX (Flattened Device Tree), model: TI AM335x BeagleBone
[ 0.000000] cma: CMA: reserved 24 MiB at 9d800000
[ 0.000000] Memory policy: ECC disabled, 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: 129280
[ 0.000000] Kernel command line: console=ttyO1,115200n8 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait
[ 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: 483940K/521216K available (5175K kernel code, 549K rwdata, 1712K rodata, 326K init, 208K bss, 37276K 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 - 0xc06c204c (6889 kB)
[ 0.000000] .init : 0xc06c3000 - 0xc0714aac ( 327 kB)
[ 0.000000] .data : 0xc0716000 - 0xc079f4d8 ( 550 kB)
[ 0.000000] .bss : 0xc079f4d8 - 0xc07d3880 ( 209 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.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[ 0.000000] OMAP clocksource: timer1 at 24000000 Hz
[ 0.000000] Console: colour dummy device 80x30
[ 0.000251] Calibrating delay loop... 663.55 BogoMIPS (lpj=3317760)
[ 0.049779] pid_max: default: 32768 minimum: 301
[ 0.049860] Security Framework initialized
[ 0.049899] Mount-cache hash table entries: 512
[ 0.055901] CPU: Testing write buffer coherency: ok
[ 0.056237] Setting up static identity map for 0xc0514228 - 0xc0514298
[ 0.056927] devtmpfs: initialized
[ 0.058281] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 0.118058] omap_hwmod: debugss: _wait_target_disable failed
[ 0.118644] pinctrl core: initialized pinctrl subsystem
[ 0.119334] regulator-dummy: no parameters
[ 0.121349] NET: Registered protocol family 16
[ 0.123008] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.124872] cpuidle: using governor ladder
[ 0.124885] cpuidle: using governor menu
[ 0.131241] platform mpu.1: FIXME: clock-name 'fck' DOES NOT exist in dt!
[ 0.132072] platform 49000000.edma: FIXME: clock-name 'fck' DOES NOT exist in dt!
[ 0.133019] OMAP GPIO hardware version 0.1
[ 0.140484] platform 56000000.sgx: FIXME: clock-name 'fck' DOES NOT exist in dt!
[ 0.141977] DSS not supported on this SoC
[ 0.141991] No ATAGs?
[ 0.141999] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.159098] bio: create slab <bio-0> at 0
[ 0.170029] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
[ 0.170714] vmmcsd_fixed: 3300 mV
[ 0.173655] SCSI subsystem initialized
[ 0.174670] usbcore: registered new interface driver usbfs
[ 0.174805] usbcore: registered new interface driver hub
[ 0.174958] usbcore: registered new device driver usb
[ 0.175672] omap_i2c 44e0b000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c0_pins, deferring probe
[ 0.175694] platform 44e0b000.i2c: Driver omap_i2c requests probe deferral
[ 0.175714] omap_i2c 4802a000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c1_pins, deferring probe
[ 0.175726] platform 4802a000.i2c: Driver omap_i2c requests probe deferral
[ 0.175995] pps_core: LinuxPPS API ver. 1 registered
[ 0.176003] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.176103] PTP clock support registered
[ 0.178197] Switched to clocksource timer1
[ 0.192491] NET: Registered protocol family 2
[ 0.193005] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.193072] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.193110] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.193165] TCP: reno registered
[ 0.193176] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.193191] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.193352] NET: Registered protocol family 1
[ 0.193658] RPC: Registered named UNIX socket transport module.
[ 0.193668] RPC: Registered udp transport module.
[ 0.193673] RPC: Registered tcp transport module.
[ 0.193678] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.194398] NetWinder Floating Point Emulator V0.97 (double precision)
[ 0.194893] PM: Loading am335x-pm-firmware.bin
[ 0.302302] VFS: Disk quotas dquot_6.5.2
[ 0.302359] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.302863] NFS: Registering the id_resolver key type
[ 0.302931] Key type id_resolver registered
[ 0.302938] Key type id_legacy registered
[ 0.302974] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
[ 0.303121] msgmni has been set to 993
[ 0.304347] NET: Registered protocol family 38
[ 0.304386] io scheduler noop registered
[ 0.304393] io scheduler deadline registered
[ 0.304413] io scheduler cfq registered (default)
[ 0.305977] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[ 0.308434] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.310534] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 88, base_baud = 3000000) is a OMAP UART0
[ 0.311144] 48022000.serial: ttyO1 at MMIO 0x48022000 (irq = 89, base_baud = 3000000) is a OMAP UART1
[ 0.918514] console [ttyO1] enabled
[ 0.922784] 48024000.serial: ttyO2 at MMIO 0x48024000 (irq = 90, base_baud = 3000000) is a OMAP UART2
[ 0.933058] 481a6000.serial: ttyO3 at MMIO 0x481a6000 (irq = 60, base_baud = 3000000) is a OMAP UART3
[ 0.943310] 481a8000.serial: ttyO4 at MMIO 0x481a8000 (irq = 61, base_baud = 3000000) is a OMAP UART4
[ 0.953550] 481aa000.serial: ttyO5 at MMIO 0x481aa000 (irq = 62, base_baud = 3000000) is a OMAP UART5
[ 0.964321] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
[ 0.978831] brd: module loaded
[ 0.985874] loop: module loaded
[ 0.992877] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 1.002347] usbcore: registered new interface driver asix
[ 1.008168] usbcore: registered new interface driver ax88179_178a
[ 1.014700] usbcore: registered new interface driver cdc_ether
[ 1.020951] usbcore: registered new interface driver r815x
[ 1.026853] usbcore: registered new interface driver smsc95xx
[ 1.032989] usbcore: registered new interface driver net1080
[ 1.039048] usbcore: registered new interface driver cdc_subset
[ 1.045377] usbcore: registered new interface driver zaurus
[ 1.051385] usbcore: registered new interface driver cdc_ncm
[ 1.057693] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.064563] ehci-pci: EHCI PCI platform driver
[ 1.069387] ehci-omap: OMAP-EHCI Host Controller driver
[ 1.075519] usbcore: registered new interface driver cdc_wdm
[ 1.081631] usbcore: registered new interface driver usb-storage
[ 1.088785] mousedev: PS/2 mouse device common for all mice
[ 1.096029] input: ti-tsc as /devices/ocp.2/44e0d000.tscadc/TI-am335x-tsc/input/input0
[ 1.106003] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
[ 1.114060] i2c /dev entries driver
[ 1.117840] Driver for 1-wire Dallas network protocol.
[ 1.125065] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 1.133341] pinctrl-single 44e10800.pinmux: pin 44e10960.0 already requested by 481a6000.serial; cannot claim for 48060000.mmc
[ 1.145320] pinctrl-single 44e10800.pinmux: pin-88 (48060000.mmc) status -22
[ 1.152721] pinctrl-single 44e10800.pinmux: could not request pin 88 (44e10960.0) from group pinmux_mmc1_pins on device pinctrl-single
[ 1.165490] omap_hsmmc 48060000.mmc: Error applying setting, reverse things back
[ 1.173665] edma-dma-engine edma-dma-engine.0: allocated channel for 0:25
[ 1.180829] edma-dma-engine edma-dma-engine.0: allocated channel for 0:24
[ 1.228507] edma-dma-engine edma-dma-engine.0: allocated channel for 0:3
[ 1.235542] edma-dma-engine edma-dma-engine.0: allocated channel for 0:2
[ 1.275559] mmc0: host does not support reading read-only switch. assuming write-enable.
[ 1.286024] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.292459] mmc0: new high speed SDHC card at address 0001
[ 1.298706] edma-dma-engine edma-dma-engine.0: allocated channel for 0:36
[ 1.305861] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[ 1.312238] mmcblk0: mmc0:0001 SD 3.69 GiB
[ 1.318382] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[ 1.324444] edma-dma-engine edma-dma-engine.0: allocated channel for 0:5
[ 1.331583] mmcblk0: p1 p2
[ 1.335540] edma-dma-engine edma-dma-engine.0: allocated channel for 0:6
[ 1.346885] usbcore: registered new interface driver usbhid
[ 1.352800] usbhid: USB HID core driver
[ 1.358554] INSIDE TI ADCCCCCCCCCCCC PROBEEEEEEE FUNCTIONNNNNNN
[ 1.365837] oprofile: no performance counters
[ 1.373808] oprofile: using timer interrupt.
[ 1.378576] TCP: cubic registered
[ 1.382048] Initializing XFRM netlink socket
[ 1.386539] NET: Registered protocol family 17
[ 1.391253] NET: Registered protocol family 15
[ 1.395945] 8021q: 802.1Q VLAN Support v1.8
[ 1.400445] Key type dns_resolver registered
[ 1.405416] cpu cpu0: cpu0 regulator not ready, retry
[ 1.410852] platform cpufreq-cpu0.0: Driver cpufreq-cpu0 requests probe deferral
[ 1.419075] ThumbEE CPU extension supported.
[ 1.426420] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[ 1.434714] DCDC1: at 1500 mV
[ 1.437979] mmc1: BKOPS_EN bit is not set
[ 1.443107] vdd_mpu: 925 <--> 1375 mV at 1325 mV
[ 1.448939] vdd_core: 925 <--> 1150 mV at 1125 mV
[ 1.454904] LDO1: at 1800 mV
[ 1.458533] mmc1: new high speed MMC card at address 0001
[ 1.464742] mmcblk1: mmc1:0001 MMC02G 1.78 GiB
[ 1.469630] LDO2: at 3300 mV
[ 1.472789] mmcblk1boot0: mmc1:0001 MMC02G partition 1 1.00 MiB
[ 1.479337] mmcblk1boot1: mmc1:0001 MMC02G partition 2 1.00 MiB
[ 1.486853] LDO3: 1800 mV
[ 1.489827] mmcblk1: unknown partition table
[ 1.495398] LDO4: at 3300 mV
[ 1.499725] mmcblk1boot1: unknown partition table
[ 1.504991] tps65217 1-0024: TPS65217 ID 0xe version 1.2
[ 1.511913] at24 1-0050: 8192 byte 24c64 EEPROM, writable, 32 bytes/write
[ 1.519162] mmcblk1boot0: unknown partition table
[ 1.524661] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 400 kHz
[ 1.531105] cpufreq_cpu0: Bootloader freq 1000000000Hz no match to table, Using 600000000Hz
[ 1.608240] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[ 1.614705] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
[ 1.622099] libphy: 4a101000.mdio: probed
[ 1.626358] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720
[ 1.636816] Detected MACID = d0:5f:b8:a5:f8:2a
[ 1.643494] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
[ 1.660976] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
[ 1.668776] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
[ 2.028438] EXT4-fs (mmcblk0p2): recovery complete
[ 2.041060] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 2.049908] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 2.062268] devtmpfs: mounted
[ 2.066091] Freeing unused kernel memory: 324K (c06c3000 - c0714000)
INIT: version 2.88 booting
Error opening /dev/fb0: No such file or directory
Starting udev
[ 2.713603] udevd[802]: starting version 182
[ 3.146087] PM: CM3 Firmware Version = 0x186
[ 3.280265] industrialio: exports duplicate symbol iio_buffer_init (owned by kernel)
[ 6.142158] musb-hdrc musb-hdrc.0.auto: Enabled SW babble control
[ 6.200563] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver
[ 6.240964] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus number 1
[ 6.296462] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 6.320184] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 6.327404] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 6.335117] usb usb1: Product: MUSB HDRC host driver
[ 6.340388] usb usb1: Manufacturer: Linux 3.12.10-ti2013.12.01 musb-hcd
[ 6.347392] usb usb1: SerialNumber: musb-hdrc.0.auto
[ 6.589003] hub 1-0:1.0: USB hub found
[ 6.604674] hub 1-0:1.0: 1 port detected
[ 6.634278] musb-hdrc musb-hdrc.1.auto: Enabled SW babble control
[ 6.660006] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 6.674683] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 2
[ 6.688589] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 6.695793] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 6.703466] usb usb2: Product: MUSB HDRC host driver
[ 6.708740] usb usb2: Manufacturer: Linux 3.12.10-ti2013.12.01 musb-hcd
[ 6.715741] usb usb2: SerialNumber: musb-hdrc.1.auto
[ 6.758793] hub 2-0:1.0: USB hub found
[ 6.762828] hub 2-0:1.0: 1 port detected
[ 6.910975] cryptodev: driver 1.6 loaded.
Starting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such file or directory
bootlogd.
[ 7.009006] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
ALSA: Restoring mixer settings...
/usr/sbin/alsactl: load_state:1696: No soundcards found...
Configuring network interfaces... [ 7.862218] net eth0: initializing cpsw version 1.12 (0)
[ 7.870272] net eth0: phy found : id is : 0x7c0f1
[ 7.883792] 8021q: adding VLAN 0 to HW filter on device eth0
udhcpc (v1.20.2) started
Sending discover...
Sending discover...
Sending discover...
No lease, failing
done.
Mon Mar 31 02:34:00 UTC 2014
INIT: Entering runlevel: 5
Starting system message bus: dbus.
UIM SYSFS Node Not Found
Starting Dropbear SSH server: dropbear.
Starting telnet daemon.
Starting syslogd/klogd: done
Starting thttpd.
Starting Lighttpd Web Server: lighttpd.
2000-01-01 00:00:00: (log.c.166) server started
Calibrating touchscreen (first time only)open fbdevice: No such file or directory
.
/
Starting Matrix GUI application.
[ 19.122807] Number of LUNs=8
[ 19.125882] Mass Storage Function, version: 2009/09/11
[ 19.132143] LUN: removable file: (no medium)
[ 19.137086] Number of LUNs=1
[ 19.141414] LUN: file: /dev/mmcblk0p1
[ 19.145330] Number of LUNs=1
[ 19.149911] g_mass_storage gadget: Mass Storage Gadget, version: 2009/09/11
[ 19.157323] g_mass_storage gadget: userspace failed to provide iSerialNumber
[ 19.164839] g_mass_storage gadget: g_mass_storage ready
***************************************************************
***************************************************************
NOTICE: This file system contains the followin GPLv3 packages:
binutils-symlinks
binutils
gdbserver
If you do not wish to distribute GPLv3 components please remove
the above packages prior to distribution. This can be done using
the opkg remove command. i.e.:
opkg remove <package>
Where <package> is the name printed in the list above
NOTE: If the package is a dependency of another package you
will be notified of the dependent packages. You should
use the --force-removal-of-dependent-packages option to
also remove the dependent packages as well
***************************************************************
***************************************************************
Stopping Bootlog daemon: bootlogd.
_____ _____ _ _
| _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
| | _| .'| . | . | | __| _| . | | | -_| _| _|
|__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
|___| |___|
Arago Project http://arago-project.org am335x-evm ttyO1
Arago 2013.12 am335x-evm ttyO1
am335x-evm login:
DTS FILE
=======
/*
* Copyright (C) 2012 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.
*/
/ {
model = "TI AM335x BeagleBone";
compatible = "ti,am335x-bone", "ti,am33xx";
cpus {
cpu@0 {
cpu0-supply = <&dcdc2_reg>;
};
};
memory {
device_type = "memory";
reg = <0x80000000 0x10000000>; /* 256 MB */
};
am33xx_pinmux: pinmux@44e10800 {
pinctrl-names = "default";
pinctrl-0 = <&clkout2_pin>;
user_leds_default: user_leds_default {
pinctrl-single,pins = <
0x54 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_a5.gpio1_21 */
0x58 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* gpmc_a6.gpio1_22 */
0x5c (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_a7.gpio1_23 */
0x60 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* gpmc_a8.gpio1_24 */
/*ADDED BY SRINI*/
#if 1
0xa0 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* lcd_data0.gpio2_6 D0/Away_LED */
0xa4 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* lcd_data1.gpio2_7 D1/Error_LED */
0xa8 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* lcd_data2.gpio2_8 D2/H/F_LED */
0xac (PIN_OUTPUT_PULLUP | MUX_MODE7) /* lcd_data3.gpio2_9 D3/Alarm_LED */
0xb0 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* lcd_data4.gpio2_10 D4/RGB1_Cnt0 */
0xb4 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* lcd_data5.gpio2_11 D5/RGB1_Cnt1 */
0xb8 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* lcd_data6.gpio2_12 D6/RGB1_Cnt2 */
0xbc (PIN_OUTPUT_PULLUP | MUX_MODE7) /* lcd_data7.gpio2_13 D7/RGB2_Cnt1 */
#endif
>;
};
user_leds_sleep: user_leds_sleep {
pinctrl-single,pins = <
0x54 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_a5.gpio1_21 */
0x58 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_a6.gpio1_22 */
0x5c (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_a7.gpio1_23 */
0x60 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_a8.gpio1_24 */
>;
};
i2c0_pins: pinmux_i2c0_pins {
pinctrl-single,pins = <
0x188 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c0_sda.i2c0_sda */
0x18c (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c0_scl.i2c0_scl */
>;
};
/*ADDED BY SRINI*/
i2c1_pins: pinmux_i2c1_pins {
pinctrl-single,pins = <
0x158 (PIN_INPUT_PULLUP | MUX_MODE2) /* spi0_d1.i2c1_sda */
0x15c (PIN_INPUT_PULLUP | MUX_MODE2) /* spi0_cs0.i2c1_scl */
>;
};
uart0_pins: pinmux_uart0_pins {
pinctrl-single,pins = <
0x170 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart0_rxd.uart0_rxd */
0x174 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart0_txd.uart0_txd */
>;
};
/*ADDED BY SRINI*/
uart1_pins: pinmux_uart1_pins {
pinctrl-single,pins = <
0x180 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart1_rxd.uart1_rxd */
0x184 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart1_txd.uart1_txd */
>;
};
#if 1
uart2_pins: pinmux_uart2_pins {
pinctrl-single,pins = <
0x150 (PIN_INPUT_PULLUP | MUX_MODE1) /* spi0_sclk.uart2_rxd */
0x154 (PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* spi0_d0.uart2_txd */
>;
};
uart3_pins: pinmux_uart3_pins {
pinctrl-single,pins = <
0x160 (PIN_INPUT_PULLUP | MUX_MODE1) /* spi0_cs1.uart3_rxd */
0x164 (PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* ecap0_in_pwm0_out.uart3_txd */
>;
};
uart4_pins: pinmux_uart4_pins {
pinctrl-single,pins = <
0x70 (PIN_INPUT_PULLUP | MUX_MODE6) /* gpmc_wait0.uart4_rxd */
0x74 (PIN_OUTPUT_PULLDOWN | MUX_MODE6) /* gpmc_wpn.uart4_txd */
>;
};
uart5_pins: pinmux_uart5_pins {
pinctrl-single,pins = <
0xC4 (PIN_INPUT_PULLUP | MUX_MODE4) /* lcd_data9.uart5_rxd */
0xC0 (PIN_OUTPUT_PULLDOWN | MUX_MODE4) /* lcd_data8.uart5_txd */
>;
};
#endif
clkout2_pin: pinmux_clkout2_pin {
pinctrl-single,pins = <
0x1b4 (PIN_OUTPUT_PULLDOWN | MUX_MODE3) /* xdma_event_intr1.clkout2 */
>;
};
cpsw_default: cpsw_default {
pinctrl-single,pins = <
/* Slave 1 */
0x110 (PIN_INPUT_PULLUP | MUX_MODE0) /* mii1_rxerr.mii1_rxerr */
0x114 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* mii1_txen.mii1_txen */
0x118 (PIN_INPUT_PULLUP | MUX_MODE0) /* mii1_rxdv.mii1_rxdv */
0x11c (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* mii1_txd3.mii1_txd3 */
0x120 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* mii1_txd2.mii1_txd2 */
0x124 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* mii1_txd1.mii1_txd1 */
0x128 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* mii1_txd0.mii1_txd0 */
0x12c (PIN_INPUT_PULLUP | MUX_MODE0) /* mii1_txclk.mii1_txclk */
0x130 (PIN_INPUT_PULLUP | MUX_MODE0) /* mii1_rxclk.mii1_rxclk */
0x134 (PIN_INPUT_PULLUP | MUX_MODE0) /* mii1_rxd3.mii1_rxd3 */
0x138 (PIN_INPUT_PULLUP | MUX_MODE0) /* mii1_rxd2.mii1_rxd2 */
0x13c (PIN_INPUT_PULLUP | MUX_MODE0) /* mii1_rxd1.mii1_rxd1 */
0x140 (PIN_INPUT_PULLUP | MUX_MODE0) /* mii1_rxd0.mii1_rxd0 */
>;
};
cpsw_sleep: cpsw_sleep {
pinctrl-single,pins = <
/* Slave 1 reset value */
0x110 (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x114 (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x118 (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x11c (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x120 (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x124 (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x128 (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x12c (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x130 (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x134 (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x138 (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x13c (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x140 (PIN_INPUT_PULLDOWN | MUX_MODE7)
>;
};
davinci_mdio_default: davinci_mdio_default {
pinctrl-single,pins = <
/* MDIO */
0x148 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0) /* mdio_data.mdio_data */
0x14c (PIN_OUTPUT_PULLUP | MUX_MODE0) /* mdio_clk.mdio_clk */
>;
};
davinci_mdio_sleep: davinci_mdio_sleep {
pinctrl-single,pins = <
/* MDIO reset value */
0x148 (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x14c (PIN_INPUT_PULLDOWN | MUX_MODE7)
>;
};
mmc1_pins_default: pinmux_mmc1_pins {
pinctrl-single,pins = <
0x0F0 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat3.mmc0_dat3 */
0x0F4 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat2.mmc0_dat2 */
0x0F8 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat1.mmc0_dat1 */
0x0FC (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat0.mmc0_dat0 */
0x100 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_clk.mmc0_clk */
0x104 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_cmd.mmc0_cmd */
0x1A0 (PIN_INPUT_PULLUP | MUX_MODE7) /* mcasp0_aclkr.gpio3_18 */
0x160 (PIN_INPUT | MUX_MODE7) /* spi0_cs1.gpio0_6 */
>;
};
mmc1_pins_sleep: pinmux_mmc1_pins_sleep {
pinctrl-single,pins = <
0x0F0 (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x0F4 (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x0F8 (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x0FC (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x100 (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x104 (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x1A0 (PIN_INPUT_PULLDOWN | MUX_MODE7)
0x160 (PIN_INPUT_PULLDOWN | MUX_MODE7)
>;
};
emmc_pins: pinmux_emmc_pins {
pinctrl-single,pins = <
0x80 (PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_csn1.mmc1_clk */
0x84 (PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_csn2.mmc1_cmd */
0x00 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad0.mmc1_dat0 */
0x04 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad1.mmc1_dat1 */
0x08 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad2.mmc1_dat2 */
0x0c (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad3.mmc1_dat3 */
0x10 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad4.mmc1_dat4 */
0x14 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad5.mmc1_dat5 */
0x18 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad6.mmc1_dat6 */
0x1c (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad7.mmc1_dat7 */
>;
};
};
ocp {
uart0: serial@44e09000 {
pinctrl-names = "default";
pinctrl-0 = <&uart0_pins>;
status = "okay";
};
/*ADDED BY SRINI*/
uart1: serial@48022000 {
pinctrl-names = "default";
pinctrl-0 = <&uart1_pins>;
status = "okay";
};
#if 1
uart2: serial@48024000 {
pinctrl-names = "default";
pinctrl-0 = <&uart2_pins>;
status = "okay";
};
uart3: serial@481a6000 {
pinctrl-names = "default";
pinctrl-0 = <&uart3_pins>;
status = "okay";
};
uart4: serial@481a8000 {
pinctrl-names = "default";
pinctrl-0 = <&uart4_pins>;
status = "okay";
};
uart5: serial@481aa000 {
pinctrl-names = "default";
pinctrl-0 = <&uart5_pins>;
status = "okay";
};
#endif
musb: usb@47400000 {
status = "okay";
control@44e10000 {
status = "okay";
};
usb-phy@47401300 {
status = "okay";
};
usb-phy@47401b00 {
status = "okay";
};
usb@47401000 {
status = "okay";
};
usb@47401800 {
status = "okay";
dr_mode = "host";
};
dma-controller@07402000 {
status = "okay";
};
};
i2c0: i2c@44e0b000 {
pinctrl-names = "default";
pinctrl-0 = <&i2c0_pins>;
status = "okay";
clock-frequency = <400000>;
#if 0 // TPS EVAL BOARD
/* Set OPP50 (0.95V) for VDD core */
sleep-sequence = /bits/ 8 <
0x02 0x24 0x0b 0x6d /* Password unlock 1 */
0x02 0x24 0x10 0x02 /* Set DCDC3 to 0.95V */
0x02 0x24 0x0b 0x6d /* Password unlock 2 */
0x02 0x24 0x10 0x02 /* Set DCDC3 to 0.95V */
0x02 0x24 0x0b 0x6c /* Password unlock 1 */
0x02 0x24 0x11 0x86 /* Apply DCDC changes */
0x02 0x24 0x0b 0x6c /* Password unlock 2 */
0x02 0x24 0x11 0x86 /* Apply DCDC changes */
>;
/* Set OPP100 (1.10V) for VDD core */
wake-sequence = /bits/ 8 <
0x02 0x24 0x0b 0x6d /* Password unlock 1 */
0x02 0x24 0x10 0x08 /* Set DCDC3 to 1.1V */
0x02 0x24 0x0b 0x6d /* Password unlock 2 */
0x02 0x24 0x10 0x08 /* Set DCDC3 to 1.1V */
0x02 0x24 0x0b 0x6c /* Password unlock 1 */
0x02 0x24 0x11 0x86 /* Apply DCDC changes */
0x02 0x24 0x0b 0x6c /* Password unlock 2 */
0x02 0x24 0x11 0x86 /* Apply DCDC changes */
>;
tps: tps@24 {
reg = <0x24>;
};
#endif
#if 0 // EEPROM USED IN EVAL BOARD
eeprom: eeprom@50 {
compatible = "at,24c256";
reg = <0x50>;
};
#endif
};
i2c1: i2c@4802a000 {
pinctrl-names = "default";
pinctrl-0 = <&i2c1_pins>;
status = "okay";
clock-frequency = <400000>;
#if 1
/* Set OPP50 (0.95V) for VDD core */
sleep-sequence = /bits/ 8 <
0x02 0x24 0x0b 0x6d /* Password unlock 1 */
0x02 0x24 0x10 0x02 /* Set DCDC3 to 0.95V */
0x02 0x24 0x0b 0x6d /* Password unlock 2 */
0x02 0x24 0x10 0x02 /* Set DCDC3 to 0.95V */
0x02 0x24 0x0b 0x6c /* Password unlock 1 */
0x02 0x24 0x11 0x86 /* Apply DCDC changes */
0x02 0x24 0x0b 0x6c /* Password unlock 2 */
0x02 0x24 0x11 0x86 /* Apply DCDC changes */
>;
/* Set OPP100 (1.10V) for VDD core */
wake-sequence = /bits/ 8 <
0x02 0x24 0x0b 0x6d /* Password unlock 1 */
0x02 0x24 0x10 0x08 /* Set DCDC3 to 1.1V */
0x02 0x24 0x0b 0x6d /* Password unlock 2 */
0x02 0x24 0x10 0x08 /* Set DCDC3 to 1.1V */
0x02 0x24 0x0b 0x6c /* Password unlock 1 */
0x02 0x24 0x11 0x86 /* Apply DCDC changes */
0x02 0x24 0x0b 0x6c /* Password unlock 2 */
0x02 0x24 0x11 0x86 /* Apply DCDC changes */
>;
tps: tps@24 {
reg = <0x24>;
};
#endif
#if 0
eeprom: eeprom@50 {
/* compatible = "ti,eeprom";*/
compatible = "at,24c256";
reg = <0x50>;
};
#endif
#if 1 // EEPROM USED IN CUSTOM BOARD
eeprom: 24c64@50 {
compatible = "at,24c64";
pagesize = <32>;
reg = <0x50>;
};
#endif
};
};
leds {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&user_leds_default>;
pinctrl-1 = <&user_leds_sleep>;
compatible = "gpio-leds";
led@2 {
label = "beaglebone:green:heartbeat";
gpios = <&gpio1 21 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "heartbeat";
default-state = "off";
};
led@3 {
label = "beaglebone:green:mmc0";
gpios = <&gpio1 22 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "mmc0";
default-state = "off";
};
led@4 {
label = "beaglebone:green:usr2";
gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "cpu0";
default-state = "off";
};
led@5 {
label = "beaglebone:green:usr3";
gpios = <&gpio1 24 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "mmc1";
default-state = "off";
};
};
vmmcsd_fixed: fixedregulator@0 {
compatible = "regulator-fixed";
regulator-name = "vmmcsd_fixed";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
};
};
/include/ "tps65217.dtsi"
&tps {
regulators {
dcdc1_reg: regulator@0 {
regulator-always-on;
};
dcdc2_reg: regulator@1 {
/* VDD_MPU voltage limits 0.95V - 1.325V with +/-4% tolerance */
regulator-name = "vdd_mpu";
regulator-min-microvolt = <925000>;
regulator-max-microvolt = <1378000>;
regulator-boot-on;
regulator-always-on;
};
dcdc3_reg: regulator@2 {
/* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
regulator-name = "vdd_core";
regulator-min-microvolt = <925000>;
regulator-max-microvolt = <1150000>;
regulator-boot-on;
regulator-always-on;
};
ldo1_reg: regulator@3 {
regulator-always-on;
};
ldo2_reg: regulator@4 {
regulator-always-on;
};
ldo3_reg: regulator@5 {
regulator-always-on;
};
ldo4_reg: regulator@6 {
regulator-always-on;
};
};
};
&cpsw_emac0 {
phy_id = <&davinci_mdio>, <0>;
phy-mode = "mii";
};
&mac {
slaves = <1>;
pinctrl-names = "default", "sleep";
pinctrl-0 = <&cpsw_default>;
pinctrl-1 = <&cpsw_sleep>;
};
&davinci_mdio {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&davinci_mdio_default>;
pinctrl-1 = <&davinci_mdio_sleep>;
};
&mmc1 {
status = "okay";
bus-width = <0x4>;
pinctrl-names = "default", "sleep";
pinctrl-0 = <&mmc1_pins_default>;
pinctrl-1 = <&mmc1_pins_sleep>;
cd-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
cd-inverted;
};