1/*
2 * Xilinx ZC770 XM013 board DTS
3 *
4 * Copyright (C) 2013 Xilinx, Inc.
5 *
6 * SPDX-License-Identifier:	GPL-2.0+
7 */
8/dts-v1/;
9#include "zynq-7000.dtsi"
10
11/ {
12	compatible = "xlnx,zynq-zc770-xm013", "xlnx,zynq-7000";
13	model = "Xilinx Zynq";
14
15	aliases {
16		ethernet0 = &gem1;
17		i2c0 = &i2c1;
18		serial0 = &uart0;
19		spi0 = &spi0;
20	};
21
22	chosen {
23		bootargs = "root=/dev/ram rw earlyprintk";
24		stdout-path = "serial0:115200n8";
25	};
26
27	memory {
28		device_type = "memory";
29		reg = <0x0 0x40000000>;
30	};
31};
32
33&can1 {
34	status = "okay";
35};
36
37&gem1 {
38	status = "okay";
39	phy-mode = "rgmii-id";
40	phy-handle = <&ethernet_phy>;
41
42	ethernet_phy: ethernet-phy@7 {
43		reg = <7>;
44	};
45};
46
47&i2c1 {
48	status = "okay";
49	clock-frequency = <400000>;
50
51	si570: clock-generator@55 {
52		#clock-cells = <0>;
53		compatible = "silabs,si570";
54		temperature-stability = <50>;
55		reg = <0x55>;
56		factory-fout = <156250000>;
57		clock-frequency = <148500000>;
58	};
59};
60
61&spi0 {
62	status = "okay";
63	num-cs = <4>;
64	is-decoded-cs = <0>;
65	eeprom: at25@0 {
66		at25,byte-len = <8192>;
67		at25,addr-mode = <2>;
68		at25,page-size = <32>;
69
70		compatible = "atmel,at25";
71		reg = <2>;
72		spi-max-frequency = <1000000>;
73	};
74};
75
76&uart0 {
77	u-boot,dm-pre-reloc;
78	status = "okay";
79};
80