Hi,
I have a problem with RTC driver on zed board. RTC is Digilent Pmod-RTCC, which has a Microchip MCP7941x compatiable IC onboard. I used DS1307 driver to run it, since MCP7941x does not have its own drivers in Linux and is supposed to be compatible with DS1307.
Below is the bootup output on console.
The error occurs at
cdns-i2c e0004000.ps7-i2c: timeout waiting on completion
rtc-ds1307: probe of 0-006f failed with error -5
Now '/sys/class/rtc' is empty, supposed to have some files and folders related to ds1307.
'/sys/bus/i2c/devices' has '0-006f' 'i2c-0'm and
'/sys/bus/i2c/devices/i2c-0' has
0-006f device name power uevent
delete_device i2c-dev new_device subsystem
I also tried to build ds1307 driver as an module, so that kernel won't load it and I manually load it at user space, still have same problem.
Here's the console output and I have attached the modified DTS file:
Thanks for the help,
Neo
Console output when boot:
Memory: 375964K/524288K available (4604K kernel code, 232K rwdata, 1540K rodata, 188K init, 192K bss, 148324K reserved, 0K highmem)
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
vmalloc : 0xe0800000 - 0xff000000 ( 488 MB)
lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
.text : 0xc0008000 - 0xc060861c (6146 kB)
.init : 0xc0609000 - 0xc0638340 ( 189 kB)
.data : 0xc063a000 - 0xc0674160 ( 233 kB)
.bss : 0xc067416c - 0xc06a42fc ( 193 kB)
Preemptible hierarchical RCU implementation.
Dump stacks of tasks blocking RCU-preempt GP.
RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
NR_IRQS:16 nr_irqs:16 16
ps7-slcr mapped to e0802000
zynq_clock_init: clkc starts at e0802100
Zynq clock init
sched_clock: 64 bits at 333MHz, resolution 3ns, wraps every 3298534883328ns
ps7-ttc #0 at e0804000, irq=43
Console: colour dummy device 80x30
Calibrating delay loop... 1325.46 BogoMIPS (lpj=6627328)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x459b68 - 0x459bc0
L310 cache controller enabled
l2x0: 8 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x72760000, Cache size: 512 kB
CPU1: Booted secondary processor
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
Brought up 2 CPUs
SMP: Total of 2 processors activated.
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
regulator-dummy: no parameters
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
cpuidle: using governor ladder
cpuidle: using governor menu
syscon f8000000.ps7-slcr: regmap [mem 0xf8000000-0xf8000fff] registered
hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 4 bytes.
zynq-ocm f800c000.ps7-ocmc: ZYNQ OCM pool: 256 KiB @ 0xe0880000
bio: create slab <bio-0> at 0
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
media: Linux media interface: v0.10
Linux video capture interface: v2.00
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
PTP clock support registered
EDAC MC: Ver: 3.0.0
Advanced Linux Sound Architecture Driver Initialized.
Switched to clocksource arm_global_timer
NET: Registered protocol family 2
TCP established hash table entries: 4096 (order: 2, 16384 bytes)
TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP: reno registered
UDP hash table entries: 256 (order: 1, 8192 bytes)
UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Trying to unpack rootfs image as initramfs...
Freeing initrd memory: 5572K (df5bc000 - dfb2d000)
hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
futex hash table entries: 512 (order: 3, 32768 bytes)
jffs2: version 2.2. (NAND) (SUMMARY) u00A9 2001-2006 Red Hat, Inc.
msgmni has been set to 1001
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
dma-pl330 f8003000.ps7-dma: Loaded driver for PL330 DMAC-2364208
dma-pl330 f8003000.ps7-dma: DBUFF-128x8bytes Num_Chans-8 Num_Peri-4 Num_Events-16
console [ttyPS0] enabledat MMIO 0xe0001000 (irq = 82, base_baud = 3124999) is a xuartps
console [ttyPS0] enabled
bootconsole [earlycon0] disabled
bootconsole [earlycon0] disabled
xdevcfg f8007000.ps7-dev-cfg: ioremap 0xf8007000 to e0866000
[drm] Initialized drm 1.1.0 20060810
brd: module loaded
loop: module loaded
m25p80 spi0.0: found s25fl256s1, expected n25q128
m25p80 spi0.0: s25fl256s1 (32768 Kbytes)
5 ofpart partitions found on MTD device spi0.0
Creating 5 MTD partitions on "spi0.0":
0x000000000000-0x000000100000 : "qspi-fsbl-uboot"
0x000000100000-0x000000600000 : "qspi-linux"
0x000000600000-0x000000620000 : "qspi-device-tree"
0x000000620000-0x000000c00000 : "qspi-rootfs"
0x000000c00000-0x000001000000 : "qspi-bitstream"
e1000e: Intel(R) PRO/1000 Network Driver - 2.3.2-k
e1000e: Copyright(c) 1999 - 2013 Intel Corporation.
libphy: XEMACPS mii bus: probed
xemacps e000b000.ps7-ethernet: pdev->id -1, baseaddr 0xe000b000, irq 54
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform driver
ULPI transceiver vendor/product ID 0x0451/0x1507
Found TI TUSB1210 ULPI transceiver.
ULPI integrity check: passed.
zynq-ehci zynq-ehci.0: Xilinx Zynq USB EHCI Host Controller
zynq-ehci zynq-ehci.0: new USB bus registered, assigned bus number 1
zynq-ehci zynq-ehci.0: irq 53, io mem 0x00000000
zynq-ehci zynq-ehci.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
usbcore: registered new interface driver usb-storage
mousedev: PS/2 mouse device common for all mice
i2c /dev entries driver
cdns-i2c e0004000.ps7-i2c: timeout waiting on completion
rtc-ds1307: probe of 0-006f failed with error -5
cdns-i2c e0004000.ps7-i2c: 400 kHz mmio e0004000 irq 57
zynq-edac f8006000.ps7-ddrc: ecc not enabled
cpufreq_cpu0: failed to get cpu0 regulator: -19
Xilinx Zynq CpuIdle Driver started
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
mmc0: no vqmmc regulator found
mmc0: no vmmc regulator found
mmc0: SDHCI controller on e0100000.ps7-sdio [e0100000.ps7-sdio] using ADMA
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
TCP: cubic registered
NET: Registered protocol family 17
Registering SWP/SWPB emulation handler
regulator-dummy: disabling
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
ALSA device list:
No soundcards found.
Freeing unused kernel memory: 188K (c0609000 - c0638000)
mmc0: new high speed SDHC card at address 0007
mmcblk0: mmc0:0007 SD04G 3.70 GiB
INIT: version 2.88 booting
Starting Bootlog daemon: bootlogd.
Creating /dev/flash/* device nodes
random: dd urandom read with 8 bits of entropy available
starting Busybox inet Daemon: inetd... done.
update-rc.d: /etc/init.d/run-postinsts exists during rc.d purge (continuing)
Removing any system startup links for run-postinsts ...
/etc/rcS.d/S99run-postinsts
INIT: Entering runlevel: 5
Configuring network interfaces... udhcpc (v1.22.1) started
Sending discover...
Sending discover...
xemacps e000b000.ps7-ethernet: Set clk to 124999998 Hz
xemacps e000b000.ps7-ethernet: link up (1000/FULL)
Sending discover...
No lease, failing
Starting Dropbear SSH server: Generating key, this may take a while...
Public key portion is:
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCJ1NCNGCOE3GIrPP5zwcaynW9GSmfSi3oKE2fLRASYsbhen694XzWmXNgGxs8kC3ow9xL2hbQjnuNYzUbs1bV+nD9MxAreZsSw9stbTkG41MmL9oif/jHmDzgVXIZ/fQXUuUWqh3fHNy2HCySVntJ80lIVMifsp7aCMKbpgBL37e9l1t9fRYvrR7gp5HFV2sU9RB64vCWAzPvEzSWN9pNHwE1YMjURpIskCTrrNEd6ZNlVIG7Y8p1IpQgsCEwzFKbF69vJNcgtgueF9a16Umfvc3dipXiEfHlR75WBBdaBQ3WenrJ5Y3ymR26XQAxrgtnMbCexefnnZaGRy42FuW/F root@zynq
Fingerprint: md5 56:88:73:3e:ea:ed:59:9b:8d:6e:45:40:ad:3f:e3:89
dropbear.
Stopping Bootlog daemon: bootlogd.
Starting tcf-agent: OK
Built with PetaLinux v2014.2 (Yocto 1.6) zynq /dev/ttyPS0
zynq login: root
Password:
login[817]: root login on 'ttyPS0'
root@zynq:~# cd /sys/b
block/ bus/
root@zynq:~# cd /sys/bus/
root@zynq:/sys/bus# ls
amba cpu i2c pci serio
clockevents edac mdio_bus platform spi
clocksource event_source media scsi usb
container hid mmc sdio workqueue
root@zynq:/sys/bus# cd i2c/devices/
root@zynq:/sys/bus/i2c/devices# ls
0-006f i2c-0
root@zynq:/sys/bus/i2c/devices# cd /sys/class/rtc/
DTS File:
/*
* Device Tree Generator version: 1.1
*
* (C) Copyright 2007-2013 Xilinx, Inc.
* (C) Copyright 2007-2013 Michal Simek
* (C) Copyright 2007-2012 PetaLogix Qld Pty Ltd
*
* Michal SIMEK <monstr@monstr.eu>
*
* CAUTION: This file is automatically generated by libgen.
* Version: Xilinx EDK 14.5 EDK_P.58f
*
*/
/dts-v1/;
/ {
t#address-cells = <1>;
t#size-cells = <1>;
tcompatible = "xlnx,zynq-7000";
tmodel = "Xilinx Zynq";
taliases {
ttethernet0 = &ps7_ethernet_0;
ttserial0 = &ps7_uart_1;
ttspi0 = &ps7_qspi_0;
t} ;
tchosen {
ttbootargs = "console=ttyPS0,115200 root=/dev/ram rw earlyprintk";
ttlinux,stdout-path = "/amba@0/serial@e0001000";
t} ;
tcpus {
tt#address-cells = <1>;
tt#size-cells = <0>;
ttps7_cortexa9_0: cpu@0 {
tttbus-handle = <&ps7_axi_interconnect_0>;
tttclock-latency = <1000>;
tttclocks = <&clkc 3>;
tttcompatible = "arm,cortex-a9";
tttdevice_type = "cpu";
tttinterrupt-handle = <&ps7_scugic_0>;
tttoperating-points = <666667 1000000 333334 1000000 222223 1000000>;
tttreg = <0x0>;
tt} ;
ttps7_cortexa9_1: cpu@1 {
tttbus-handle = <&ps7_axi_interconnect_0>;
tttclocks = <&clkc 3>;
tttcompatible = "arm,cortex-a9";
tttdevice_type = "cpu";
tttinterrupt-handle = <&ps7_scugic_0>;
tttreg = <0x1>;
tt} ;
t} ;
tpmu {
ttcompatible = "arm,cortex-a9-pmu";
ttinterrupt-parent = <&ps7_scugic_0>;
ttinterrupts = <0 5 4>, <0 6 4>;
ttreg = <0xf8891000 0x1000>, <0xf8893000 0x1000>;
ttreg-names = "cpu0", "cpu1";
t} ;
tps7_ddr_0: memory@0 {
ttdevice_type = "memory";
ttreg = <0x0 0x20000000>;
t} ;
tps7_axi_interconnect_0: amba@0 {
tt#address-cells = <1>;
tt#size-cells = <1>;
ttcompatible = "xlnx,ps7-axi-interconnect-1.00.a", "simple-bus";
ttranges ;
ttps7_afi_0: ps7-afi@f8008000 {
tttcompatible = "xlnx,ps7-afi-1.00.a";
tttreg = <0xf8008000 0x1000>;
tt} ;
ttps7_afi_1: ps7-afi@f8009000 {
tttcompatible = "xlnx,ps7-afi-1.00.a";
tttreg = <0xf8009000 0x1000>;
tt} ;
ttps7_afi_2: ps7-afi@f800a000 {
tttcompatible = "xlnx,ps7-afi-1.00.a";
tttreg = <0xf800a000 0x1000>;
tt} ;
ttps7_afi_3: ps7-afi@f800b000 {
tttcompatible = "xlnx,ps7-afi-1.00.a";
tttreg = <0xf800b000 0x1000>;
tt} ;
ttps7_ddrc_0: ps7-ddrc@f8006000 {
tttcompatible = "xlnx,zynq-ddrc-1.0";
tttreg = <0xf8006000 0x1000>;
tttxlnx,has-ecc = <0x0>;
tt} ;
ttps7_dev_cfg_0: ps7-dev-cfg@f8007000 {
tttclock-names = "ref_clk", "fclk0", "fclk1", "fclk2", "fclk3";
tttclocks = <&clkc 12>, <&clkc 15>, <&clkc 16>, <&clkc 17>, <&clkc 18>;
tttcompatible = "xlnx,zynq-devcfg-1.0";
tttinterrupt-parent = <&ps7_scugic_0>;
tttinterrupts = <0 8 4>;
tttreg = <0xf8007000 0x100>;
tt} ;
ttps7_dma_s: ps7-dma@f8003000 {
ttt#dma-cells = <1>;
ttt#dma-channels = <8>;
ttt#dma-requests = <4>;
tttclock-names = "apb_pclk";
tttclocks = <&clkc 27>;
tttcompatible = "arm,primecell", "arm,pl330";
tttinterrupt-names = "abort", "dma0", "dma1", "dma2", "dma3",
tttt"dma4", "dma5", "dma6", "dma7";
tttinterrupt-parent = <&ps7_scugic_0>;
tttinterrupts = <0 13 4>, <0 14 4>, <0 15 4>, <0 16 4>, <0 17 4>, <0 40 4>, <0 41 4>, <0 42 4>, <0 43 4>;
tttreg = <0xf8003000 0x1000>;
tt} ;
ttps7_ethernet_0: ps7-ethernet@e000b000 {
ttt#address-cells = <1>;
ttt#size-cells = <0>;
tttclock-names = "ref_clk", "aper_clk";
tttclocks = <&clkc 13>, <&clkc 30>;
tttcompatible = "xlnx,ps7-ethernet-1.00.a";
tttinterrupt-parent = <&ps7_scugic_0>;
tttinterrupts = <0 22 4>;
tttlocal-mac-address = [00 0a 35 00 00 00];
tttphy-handle = <&phy0>;
tttphy-mode = "rgmii-id";
tttreg = <0xe000b000 0x1000>;
tttxlnx,eth-mode = <0x1>;
tttxlnx,has-mdio = <0x1>;
tttxlnx,ptp-enet-clock = <111111115>;
tttmdio {
tttt#address-cells = <1>;
tttt#size-cells = <0>;
ttttphy0: phy@0 {
tttttcompatible = "marvell,88e1510";
tttttdevice_type = "ethernet-phy";
tttttreg = <0>;
tttt} ;
ttt} ;
tt} ;
ttps7_globaltimer_0: ps7-globaltimer@f8f00200 {
tttclocks = <&clkc 4>;
tttcompatible = "arm,cortex-a9-global-timer";
tttinterrupt-parent = <&ps7_scugic_0>;
tttinterrupts = <1 11 0x301>;
tttreg = <0xf8f00200 0x100>;
tt} ;
ttps7_gpio_0: ps7-gpio@e000a000 {
ttt#gpio-cells = <2>;
tttclocks = <&clkc 42>;
tttcompatible = "xlnx,zynq-gpio-1.0";
tttemio-gpio-width = <64>;
tttgpio-controller ;
tttgpio-mask-high = <0xc0000>;
tttgpio-mask-low = <0xfe81>;
tttinterrupt-parent = <&ps7_scugic_0>;
tttinterrupts = <0 20 4>;
tttreg = <0xe000a000 0x1000>;
tt} ;
ttps7_iop_bus_config_0: ps7-iop-bus-config@e0200000 {
tttcompatible = "xlnx,ps7-iop-bus-config-1.00.a";
tttreg = <0xe0200000 0x1000>;
tt} ;
ttps7_ocmc_0: ps7-ocmc@f800c000 {
tttcompatible = "xlnx,zynq-ocmc-1.0";
tttinterrupt-parent = <&ps7_scugic_0>;
tttinterrupts = <0 3 4>;
tttreg = <0xf800c000 0x1000>;
tt} ;
ttps7_pl310_0: ps7-pl310@f8f02000 {
tttarm,data-latency = <3 2 2>;
tttarm,tag-latency = <2 2 2>;
tttcache-level = <2>;
tttcache-unified ;
tttcompatible = "arm,pl310-cache";
tttinterrupt-parent = <&ps7_scugic_0>;
tttinterrupts = <0 2 4>;
tttreg = <0xf8f02000 0x1000>;
tt} ;
ttps7_qspi_0: ps7-qspi@e000d000 {
tttclock-names = "ref_clk", "pclk";
tttclocks = <&clkc 10>, <&clkc 43>;
tttcompatible = "xlnx,zynq-qspi-1.0";
tttinterrupt-parent = <&ps7_scugic_0>;
tttinterrupts = <0 19 4>;
tttis-dual = <0>;
tttnum-cs = <1>;
tttreg = <0xe000d000 0x1000>;
tttxlnx,fb-clk = <0x1>;
tttxlnx,qspi-mode = <0x0>;
ttt#address-cells = <1>;
ttt#size-cells = <0>;
tttflash@0 {
ttttcompatible = "n25q128";
ttttreg = <0x0>;
ttttspi-tx-bus-width = <1>;
ttttspi-rx-bus-width = <4>;
ttttspi-max-frequency = <50000000>;
tttt#address-cells = <1>;
tttt#size-cells = <1>;
ttttpartition@qspi-fsbl-uboot {
tttttlabel = "qspi-fsbl-uboot";
tttttreg = <0x0 0x100000>;
tttt};
ttttpartition@qspi-linux {
tttttlabel = "qspi-linux";
tttttreg = <0x100000 0x500000>;
tttt};
ttttpartition@qspi-device-tree {
tttttlabel = "qspi-device-tree";
tttttreg = <0x600000 0x20000>;
tttt};
ttttpartition@qspi-rootfs {
tttttlabel = "qspi-rootfs";
tttttreg = <0x620000 0x5E0000>;
tttt};
ttttpartition@qspi-bitstream {
tttttlabel = "qspi-bitstream";
tttttreg = <0xC00000 0x400000>;
tttt};
ttt};
tt} ;
ttps7_qspi_linear_0: ps7-qspi-linear@fc000000 {
tttclock-names = "ref_clk", "aper_clk";
tttclocks = <&clkc 10>, <&clkc 43>;
tttcompatible = "xlnx,ps7-qspi-linear-1.00.a";
tttreg = <0xfc000000 0x1000000>;
tt} ;
ttps7_scugic_0: ps7-scugic@f8f01000 {
ttt#address-cells = <2>;
ttt#interrupt-cells = <3>;
ttt#size-cells = <1>;
tttcompatible = "arm,cortex-a9-gic", "arm,gic";
tttinterrupt-controller ;
tttnum_cpus = <2>;
tttnum_interrupts = <96>;
tttreg = <0xf8f01000 0x1000>, <0xf8f00100 0x100>;
tt} ;
ttps7_scutimer_0: ps7-scutimer@f8f00600 {
tttclocks = <&clkc 4>;
tttcompatible = "arm,cortex-a9-twd-timer";
tttinterrupt-parent = <&ps7_scugic_0>;
tttinterrupts = <1 13 0x301>;
tttreg = <0xf8f00600 0x20>;
tt} ;
ttps7_scuwdt_0: ps7-scuwdt@f8f00620 {
tttclocks = <&clkc 4>;
tttcompatible = "xlnx,ps7-scuwdt-1.00.a";
tttdevice_type = "watchdog";
tttinterrupt-parent = <&ps7_scugic_0>;
tttinterrupts = <1 14 0x301>;
tttreg = <0xf8f00620 0xe0>;
tt} ;
ttps7_sd_0: ps7-sdio@e0100000 {
tttclock-frequency = <50000000>;
tttclock-names = "clk_xin", "clk_ahb";
tttclocks = <&clkc 21>, <&clkc 32>;
tttcompatible = "arasan,sdhci-8.9a";
tttinterrupt-parent = <&ps7_scugic_0>;
tttinterrupts = <0 24 4>;
tttreg = <0xe0100000 0x1000>;
tttxlnx,has-cd = <0x1>;
tttxlnx,has-power = <0x0>;
tttxlnx,has-wp = <0x1>;
tt} ;
ttps7_slcr_0: ps7-slcr@f8000000 {
ttt#address-cells = <1>;
ttt#size-cells = <1>;
tttcompatible = "xlnx,zynq-slcr", "syscon";
tttranges ;
tttreg = <0xf8000000 0x1000>;
tttclkc: clkc@100 {
tttt#clock-cells = <1>;
ttttclock-output-names = "armpll", "ddrpll", "iopll", "cpu_6or4x", "cpu_3or2x",
ttttt"cpu_2x", "cpu_1x", "ddr2x", "ddr3x", "dci",
ttttt"lqspi", "smc", "pcap", "gem0", "gem1",
ttttt"fclk0", "fclk1", "fclk2", "fclk3", "can0",
ttttt"can1", "sdio0", "sdio1", "uart0", "uart1",
ttttt"spi0", "spi1", "dma", "usb0_aper", "usb1_aper",
ttttt"gem0_aper", "gem1_aper", "sdio0_aper", "sdio1_aper", "spi0_aper",
ttttt"spi1_aper", "can0_aper", "can1_aper", "i2c0_aper", "i2c1_aper",
ttttt"uart0_aper", "uart1_aper", "gpio_aper", "lqspi_aper", "smc_aper",
ttttt"swdt", "dbg_trc", "dbg_apb";
ttttcompatible = "xlnx,ps7-clkc";
ttttfclk-enable = <0xf>;
ttttps-clk-frequency = <33333333>;
ttttreg = <0x100 0x100>;
ttt} ;
tt} ;
ttps7_ttc_0: ps7-ttc@f8001000 {
tttclocks = <&clkc 6>;
tttcompatible = "cdns,ttc";
tttinterrupt-names = "ttc0", "ttc1", "ttc2";
tttinterrupt-parent = <&ps7_scugic_0>;
tttinterrupts = <0 10 4>, <0 11 4>, <0 12 4>;
tttreg = <0xf8001000 0x1000>;
tt} ;
ttps7_uart_1: serial@e0001000 {
tttclock-names = "uart_clk", "pclk";
tttclocks = <&clkc 24>, <&clkc 41>;
tttcompatible = "xlnx,xuartps", "cdns,uart-r1p8";
tttcurrent-speed = <115200>;
tttdevice_type = "serial";
tttinterrupt-parent = <&ps7_scugic_0>;
tttinterrupts = <0 50 4>;
tttport-number = <0>;
tttreg = <0xe0001000 0x1000>;
tttxlnx,has-modem = <0x0>;
tt} ;
ttps7_usb_0: ps7-usb@e0002000 {
tttclocks = <&clkc 28>;
tttcompatible = "xlnx,ps7-usb-1.00.a", "xlnx,zynq-usb-1.00.a";
tttdr_mode = "host";
tttinterrupt-parent = <&ps7_scugic_0>;
tttinterrupts = <0 21 4>;
tttphy_type = "ulpi";
tttreg = <0xe0002000 0x1000>;
tt} ;
ttps7_xadc: ps7-xadc@f8007100 {
tttclocks = <&clkc 12>;
tttcompatible = "xlnx,zynq-xadc-1.00.a";
tttinterrupt-parent = <&ps7_scugic_0>;
tttinterrupts = <0 7 4>;
tttreg = <0xf8007100 0x20>;
tt} ;
tt
ttps7_i2c_0: ps7-i2c@e0004000 {
tttclock-frequency = <400000>;
tttclocks = <&clkc 38>;
tttcompatible = "cdns,i2c-r1p10";
tttinterrupt-parent = <&ps7_scugic_0>;
tttinterrupts = <0 25 4>;
tttreg = <0xe0004000 0x1000>;
tttxlnx,has-interrupt = <0x0>;
ttt#address-cells = <1>;
ttt#size-cells = <0>;ttt
tttrtc0: rtc@6f {
tttt#compatible = "dallas,ds1307";
ttttcompatible = "microchip,mcp7941x";
ttttreg = <0x6f>;
ttt};
tt};
tt
tt
t} ;
} ;