blob: c4ec56138e1e4cac4d6844825f15a834bee18d00 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Mike Looijmans5ae48b12016-09-30 08:13:13 +02002/*
3 * Topic Miami board DTS
4 *
5 * Copyright (C) 2014-2016 Topic Embedded Products
Mike Looijmans5ae48b12016-09-30 08:13:13 +02006 */
7/dts-v1/;
8#include "zynq-7000.dtsi"
9
10/ {
11 model = "Topic Miami Zynq Board";
12 compatible = "topic,miami", "xlnx,zynq-7000";
13
14 aliases {
Mike Looijmans5ae48b12016-09-30 08:13:13 +020015 serial0 = &uart0;
16 spi0 = &qspi;
17 i2c0 = &i2c0;
18 i2c1 = &i2c1;
19 mmc0 = &sdhci0;
Mike Looijmans9b4a4392017-04-10 08:56:22 +020020 usbotg0 = &usb0;
Mike Looijmans5ae48b12016-09-30 08:13:13 +020021 };
22
Michal Simekb3585f42016-11-11 13:11:37 +010023 memory@0 {
Mike Looijmans5ae48b12016-09-30 08:13:13 +020024 device_type = "memory";
25 reg = <0x0 0x40000000>;
26 };
27
28 chosen {
29 stdout-path = "serial0:115200n8";
30 };
31};
32
33&qspi {
34 u-boot,dm-pre-reloc;
35 status = "okay";
36 is-dual = <0>;
37 num-cs = <1>;
38 flash@0 {
Raju Kumar Pothuraju8c6fdf62021-07-01 14:15:11 +053039 compatible = "st,m25p80", "n25q256a", "jedec,spi-nor";
Mike Looijmans5ae48b12016-09-30 08:13:13 +020040 m25p,fast-read;
41 reg = <0x0>;
42 spi-tx-bus-width = <1>;
43 spi-rx-bus-width = <4>;
44 spi-max-frequency = <100000000>;
45 #address-cells = <1>;
46 #size-cells = <1>;
Michal Simekcd8fafa2020-02-19 10:57:34 +010047 partition@0 {
Mike Looijmans5ae48b12016-09-30 08:13:13 +020048 label = "qspi-u-boot-spl";
49 reg = <0x00000 0x10000>;
50 };
Michal Simekcd8fafa2020-02-19 10:57:34 +010051 partition@10000 {
Mike Looijmans5ae48b12016-09-30 08:13:13 +020052 label = "qspi-u-boot-img";
53 reg = <0x10000 0x60000>;
54 };
Michal Simekcd8fafa2020-02-19 10:57:34 +010055 partition@70000 {
Mike Looijmans5ae48b12016-09-30 08:13:13 +020056 label = "qspi-device-tree";
57 reg = <0x70000 0x10000>;
58 };
Michal Simekcd8fafa2020-02-19 10:57:34 +010059 partition@80000 {
Mike Looijmans5ae48b12016-09-30 08:13:13 +020060 label = "qspi-linux";
61 reg = <0x80000 0x400000>;
62 };
Michal Simekcd8fafa2020-02-19 10:57:34 +010063 partition@480000 {
Mike Looijmans5ae48b12016-09-30 08:13:13 +020064 label = "qspi-rootfs";
65 reg = <0x480000 0x1b80000>;
66 };
67 };
68};
69
70&i2c0 {
71 status = "okay";
72 clock-frequency = <400000>;
73};
74
75&i2c1 {
76 status = "okay";
77 clock-frequency = <400000>;
78};
79
80&clkc {
81 ps-clk-frequency = <33333333>;
82};
83
84&sdhci0 {
85 u-boot,dm-pre-reloc;
86 status = "okay";
87};
88
89&uart0 {
90 u-boot,dm-pre-reloc;
91 status = "okay";
92};
93
94&usb0 {
95 status = "okay";
96};