1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * dts file for Avnet MiniZed board
4 *
5 * (C) Copyright 2017 - 2018, Xilinx, Inc.
6 *
7 * Ibai Erkiaga <ibai.erkiaga-elorza@amd.com>
8 */
9
10/dts-v1/;
11#include "zynq-7000.dtsi"
12
13/ {
14	model = "Avnet Zynq MiniZed Development Board";
15	compatible = "avnet,minized", "xlnx,zynq-7000";
16
17	aliases {
18		serial0 = &uart1;
19		serial1 = &uart0;
20		spi0 = &qspi;
21		mmc0 = &sdhci0;
22	};
23
24	memory@0 {
25		device_type = "memory";
26		reg = <0x0 0x20000000>;
27	};
28
29	chosen {
30		bootargs = "";
31		stdout-path = "serial0:115200n8";
32	};
33
34	usb_phy0: phy0 {
35		compatible = "usb-nop-xceiv";
36		#phy-cells = <0>;
37	};
38};
39
40&qspi {
41	status = "okay";
42	num-cs = <1>;
43	flash@0 {
44		compatible = "micron,m25p128";
45		reg = <0x0>;
46		spi-tx-bus-width = <4>;
47		spi-rx-bus-width = <4>;
48		spi-max-frequency = <50000000>;
49		partitions {
50			compatible = "fixed-partitions";
51			#address-cells = <1>;
52			#size-cells = <1>;
53			partition@0 {
54				label = "boot";
55				reg = <0x0 0xff0000>;
56			};
57
58			partition@270000 {
59				label = "kernel";
60				reg = <0x270000 0xd80000>;
61			};
62
63			partition@ff0000 {
64				label = "bootenv";
65				reg = <0xff0000 0x10000>;
66			};
67
68			partition@1000000 {
69				label = "spare";
70				reg = <0x1000000 0x0>;
71			};
72		};
73	};
74};
75
76&uart0 {
77	status = "okay";
78};
79
80&uart1 {
81	bootph-all;
82	status = "okay";
83};
84
85&usb0 {
86	status = "okay";
87	dr_mode = "host";
88	usb-phy = <&usb_phy0>;
89	usb-reset = <&gpio0 7 0>; /* USB_RST_N-MIO7 */
90};
91
92&sdhci1 {
93	status = "okay";
94	non-removable;
95	no-sd;
96	no-sdio;
97	cap-mmc-hw-reset;
98	bus-width = <4>;
99	max-frequency = <12000000>;
100
101	#address-cells = <1>;
102	#size-cells = <0>;
103	mmccard: mmccard@0 {
104		compatible = "mmc-card";
105		reg = <0>;
106		broken-hpi;
107	};
108};
109