xref: /openbmc/u-boot/arch/arm/dts/zynq-minized.dts (revision d6736689)
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@xilinx.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	is-dual = <0>;
43	num-cs = <1>;
44	flash@0 {
45		compatible = "micron,m25p128";
46		reg = <0x0>;
47		spi-tx-bus-width = <4>;
48		spi-rx-bus-width = <4>;
49		spi-max-frequency = <50000000>;
50		partitions {
51			compatible = "fixed-partitions";
52			#address-cells = <1>;
53			#size-cells = <1>;
54			partition@0 {
55				label = "boot";
56				reg = <0x0 0xff0000>;
57			};
58
59			partition@270000 {
60				label = "kernel";
61				reg = <0x270000 0xd80000>;
62			};
63
64			partition@ff0000 {
65				label = "bootenv";
66				reg = <0xff0000 0x10000>;
67			};
68
69			partition@1000000 {
70				label = "spare";
71				reg = <0x1000000 0x0>;
72			};
73		};
74	};
75};
76
77&uart0 {
78	status = "okay";
79};
80
81&uart1 {
82	u-boot,dm-pre-reloc;
83	status = "okay";
84};
85
86&usb0 {
87	status = "okay";
88	dr_mode = "host";
89	usb-phy = <&usb_phy0>;
90	usb-reset = <&gpio0 7 0>; /* USB_RST_N-MIO7 */
91};
92
93&sdhci1 {
94	status = "okay";
95	non-removable;
96	bus-width = <4>;
97	max-frequency = <12000000>;
98
99	#address-cells = <1>;
100	#size-cells = <0>;
101	mmccard: mmccard@0 {
102		compatible = "mmc-card";
103		reg = <0>;
104		broken-hpi;
105	};
106};
107