1/*
2 * Topic Miami board DTS
3 *
4 * Copyright (C) 2014-2016 Topic Embedded Products
5 *
6 * SPDX-License-Identifier:	GPL-2.0+
7 */
8/dts-v1/;
9#include "zynq-7000.dtsi"
10
11/ {
12	model = "Topic Miami Zynq Board";
13	compatible = "topic,miami", "xlnx,zynq-7000";
14
15	aliases {
16		serial0 = &uart0;
17		spi0 = &qspi;
18		i2c0 = &i2c0;
19		i2c1 = &i2c1;
20		mmc0 = &sdhci0;
21		usbotg0 = &usb0;
22	};
23
24	memory@0 {
25		device_type = "memory";
26		reg = <0x0 0x40000000>;
27	};
28
29	chosen {
30		stdout-path = "serial0:115200n8";
31	};
32};
33
34&qspi {
35	u-boot,dm-pre-reloc;
36	status = "okay";
37	is-dual = <0>;
38	num-cs = <1>;
39	flash@0 {
40		compatible = "st,m25p80", "n25q256a";
41		m25p,fast-read;
42		reg = <0x0>;
43		spi-tx-bus-width = <1>;
44		spi-rx-bus-width = <4>;
45		spi-max-frequency = <100000000>;
46		#address-cells = <1>;
47		#size-cells = <1>;
48		partition@qspi-u-boot-spl {
49			label = "qspi-u-boot-spl";
50			reg = <0x00000 0x10000>;
51		};
52		partition@qspi-u-boot-img {
53			label = "qspi-u-boot-img";
54			reg = <0x10000 0x60000>;
55		};
56		partition@qspi-device-tree {
57			label = "qspi-device-tree";
58			reg = <0x70000 0x10000>;
59		};
60		partition@qspi-linux {
61			label = "qspi-linux";
62			reg = <0x80000 0x400000>;
63		};
64		partition@qspi-rootfs {
65			label = "qspi-rootfs";
66			reg = <0x480000 0x1b80000>;
67		};
68	};
69};
70
71&i2c0 {
72	status = "okay";
73	clock-frequency = <400000>;
74};
75
76&i2c1 {
77	status = "okay";
78	clock-frequency = <400000>;
79};
80
81&clkc {
82	ps-clk-frequency = <33333333>;
83};
84
85&sdhci0 {
86	u-boot,dm-pre-reloc;
87	status = "okay";
88};
89
90&uart0 {
91	u-boot,dm-pre-reloc;
92	status = "okay";
93};
94
95&usb0 {
96	status = "okay";
97};
98