blob: 0d96c6f9f041e137d7177f5a9b1bf8a87b52a17a [file] [log] [blame]
Mike Looijmans28740282019-06-06 09:47:41 +02001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * dts file for Topic XDP (Xilinx Drone Platform)
4 *
5 * (C) Copyright 2016, Topic Embedded Products BV
6 * Mike Looijmans <mike.looijmans@topic.nl>
7 */
8
9/dts-v1/;
10
11#include "zynqmp.dtsi"
12#include "zynqmp-clk-ccf.dtsi"
13#include <dt-bindings/gpio/gpio.h>
14#include <dt-bindings/phy/phy.h>
15
16/ {
17 model = "Topic Miamimp ZynqMP XDP v1r1";
18 compatible = "topic,miamimp-xdp-v1r1", "topic,miamimp-xdp",
19 "topic,miamimp", "xlnx,zynqmp";
20
21 aliases {
Mike Looijmans28740282019-06-06 09:47:41 +020022 i2c0 = &i2c0;
23 i2c1 = &i2c1;
24 mmc0 = &sdhci0;
25 mmc1 = &sdhci1;
26 rtc0 = &rtc;
27 serial0 = &uart1;
28 serial1 = &uart0;
29 serial2 = &dcc;
30 spi0 = &qspi;
31 usb0 = &usb0;
32 };
33
34 chosen {
35 bootargs = "earlycon";
36 stdout-path = "serial0:115200n8";
37 };
38
39 memory@0 {
40 device_type = "memory";
41 reg = <0x0 0x0 0x0 0x80000000>, <0x8 0x00000000 0x0 0x80000000>;
42 };
43};
44
45&dcc {
46 status = "okay";
47};
48
49&gpio {
50 status = "okay";
51};
52
53&gpu {
54 status = "okay";
55};
56
57&qspi {
58 status = "okay";
Mike Looijmans28740282019-06-06 09:47:41 +020059 flash@0 {
Raju Kumar Pothuraju8c6fdf62021-07-01 14:15:11 +053060 compatible = "st,m25p80", "n25q256a", "jedec,spi-nor";
Mike Looijmans28740282019-06-06 09:47:41 +020061 m25p,fast-read;
62 reg = <0x0>;
Amit Kumar Mahapatraa02408b2022-05-10 16:33:01 +020063 spi-tx-bus-width = <4>;
Mike Looijmans28740282019-06-06 09:47:41 +020064 spi-rx-bus-width = <4>;
65 spi-max-frequency = <166000000>;
66 #address-cells = <1>;
67 #size-cells = <1>;
Mike Looijmans28740282019-06-06 09:47:41 +020068 partition@0 {
69 label = "qspi-boot-bin";
70 reg = <0x00000 0x60000>;
71 };
72 partition@60000 {
73 label = "qspi-u-boot-itb";
74 reg = <0x60000 0x100000>;
75 };
76 partition@160000 {
77 label = "qspi-u-boot-env";
78 reg = <0x160000 0x20000>;
79 };
80 partition@200000 {
81 label = "qspi-rootfs";
82 reg = <0x200000 0x1e00000>;
83 };
84 };
85};
86
87&rtc {
88 status = "okay";
89};
90
91/* eMMC device */
92&sdhci0 {
93 status = "okay";
94 non-removable;
95 disable-wp; /* We don't have a write-protect detection */
96 bus-width = <8>;
Michal Simek3b662642020-07-22 17:42:43 +020097 xlnx,mio-bank = <0>;
Mike Looijmans28740282019-06-06 09:47:41 +020098};
99
100/* SD1 with level shifter */
101&sdhci1 {
102 status = "okay";
Michal Simek3b662642020-07-22 17:42:43 +0200103 xlnx,mio-bank = <1>;
Mike Looijmans28740282019-06-06 09:47:41 +0200104 disable-wp; /* We don't have a write-protect detection */
105 bus-width = <4>;
106};
107
108&uart0 {
109 status = "okay";
110};
111
112&uart1 {
113 status = "okay";
114};