1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Xilinx ZC770 XM011 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 XM011 board";
12	compatible = "xlnx,zynq-zc770-xm011", "xlnx,zynq-7000";
13
14	aliases {
15		i2c0 = &i2c1;
16		serial0 = &uart1;
17		spi0 = &spi0;
18	};
19
20	chosen {
21		bootargs = "";
22		stdout-path = "serial0:115200n8";
23	};
24
25	memory@0 {
26		device_type = "memory";
27		reg = <0x0 0x40000000>;
28	};
29
30	usb_phy1: phy1 {
31		compatible = "usb-nop-xceiv";
32		#phy-cells = <0>;
33	};
34};
35
36&can0 {
37	status = "okay";
38};
39
40&i2c1 {
41	status = "okay";
42	clock-frequency = <400000>;
43
44	eeprom: eeprom@52 {
45		compatible = "atmel,24c02";
46		reg = <0x52>;
47	};
48};
49
50&nfc0 {
51	status = "okay";
52	#address-cells = <1>;
53	#size-cells = <0>;
54	nand@0 {
55		reg = <0>;
56		partitions {
57			compatible = "fixed-partitions";
58			#address-cells = <1>;
59			#size-cells = <1>;
60			partition@0 {
61				label = "nand-fsbl-uboot";
62				reg = <0x0 0x1000000>;
63			};
64			partition@1000000 {
65				label = "nand-linux";
66				reg = <0x1000000 0x2000000>;
67			};
68			partition@3000000 {
69				label = "nand-rootfs";
70				reg = <0x3000000 0x200000>;
71			};
72		};
73	};
74};
75
76&smcc {
77	status = "okay";
78};
79
80&spi0 {
81	status = "okay";
82	num-cs = <4>;
83	is-decoded-cs = <0>;
84};
85
86&uart1 {
87	bootph-all;
88	status = "okay";
89};
90
91&usb1 {
92	status = "okay";
93	dr_mode = "host";
94	usb-phy = <&usb_phy1>;
95};
96