1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Xilinx ZC770 XM012 board DTS
4 *
5 * Copyright (C) 2013-2018 Xilinx, Inc.
6 */
7/dts-v1/;
8#include "zynq-7000.dtsi"
9
10/ {
11	model = "Xilinx ZC770 XM012 board";
12	compatible = "xlnx,zynq-zc770-xm012", "xlnx,zynq-7000";
13
14	aliases {
15		i2c0 = &i2c0;
16		i2c1 = &i2c1;
17		serial0 = &uart1;
18		spi0 = &spi1;
19	};
20
21	chosen {
22		bootargs = "";
23		stdout-path = "serial0:115200n8";
24	};
25
26	memory@0 {
27		device_type = "memory";
28		reg = <0x0 0x40000000>;
29	};
30};
31
32&can1 {
33	status = "okay";
34};
35
36&i2c0 {
37	status = "okay";
38	clock-frequency = <400000>;
39
40	eeprom0: eeprom@52 {
41		compatible = "atmel,24c02";
42		reg = <0x52>;
43	};
44};
45
46&i2c1 {
47	status = "okay";
48	clock-frequency = <400000>;
49
50	eeprom1: eeprom@52 {
51		compatible = "atmel,24c02";
52		reg = <0x52>;
53	};
54};
55
56&nor0 {
57	status = "okay";
58	bank-width = <1>;
59	partitions {
60		compatible = "fixed-partitions";
61		#address-cells = <1>;
62		#size-cells = <1>;
63		partition@0 {
64			label = "nor-fsbl-uboot";
65			reg = <0x0 0x100000>;
66		};
67		partition@100000 {
68			label = "nor-linux";
69			reg = <0x100000 0x500000>;
70		};
71		partition@600000 {
72			label = "nor-device-tree";
73			reg = <0x600000 0x20000>;
74		};
75		partition@620000 {
76			label = "nor-rootfs";
77			reg = <0x620000 0x5e0000>;
78		};
79		partition@c00000 {
80			label = "nor-bitstream";
81			reg = <0xc00000 0x400000>;
82		};
83	};
84};
85
86&smcc {
87	status = "okay";
88};
89
90&spi1 {
91	status = "okay";
92	num-cs = <4>;
93	is-decoded-cs = <0>;
94};
95
96&uart1 {
97	bootph-all;
98	status = "okay";
99};
100