blob: 343033cc7e88d494950ff89482956ce25f915857 [file] [log] [blame]
Michal Simek8aad25c2018-03-28 15:09:32 +02001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * dts file for Xilinx ZynqMP ZC1254
4 *
Michal Simek4f1b7f62020-02-18 08:38:06 +01005 * (C) Copyright 2015 - 2020, Xilinx, Inc.
Michal Simek8aad25c2018-03-28 15:09:32 +02006 *
7 * Michal Simek <michal.simek@xilinx.com>
8 * Siva Durga Prasad Paladugu <sivadur@xilinx.com>
9 */
10
11/dts-v1/;
12
13#include "zynqmp.dtsi"
14#include "zynqmp-clk-ccf.dtsi"
15
16/ {
17 model = "ZynqMP ZC1254 RevA";
18 compatible = "xlnx,zynqmp-zc1254-revA", "xlnx,zynqmp-zc1254", "xlnx,zynqmp";
19
20 aliases {
21 serial0 = &uart0;
22 serial1 = &dcc;
23 spi0 = &qspi;
24 };
25
26 chosen {
27 bootargs = "earlycon";
28 stdout-path = "serial0:115200n8";
29 };
30
31 memory@0 {
32 device_type = "memory";
33 reg = <0x0 0x0 0x0 0x80000000>;
34 };
35};
36
37&dcc {
38 status = "okay";
39};
40
41&qspi {
42 status = "okay";
43 flash@0 {
Neil Armstronga009fa72019-02-10 10:16:20 +000044 compatible = "m25p80", "jedec,spi-nor"; /* 32MB */
Michal Simek8aad25c2018-03-28 15:09:32 +020045 #address-cells = <1>;
46 #size-cells = <1>;
47 reg = <0x0>;
Amit Kumar Mahapatraa02408b2022-05-10 16:33:01 +020048 spi-tx-bus-width = <4>;
Michal Simek8aad25c2018-03-28 15:09:32 +020049 spi-rx-bus-width = <4>; /* FIXME also DUAL configuration possible */
50 spi-max-frequency = <108000000>; /* Based on DC1 spec */
Michal Simek70fafdf2020-02-14 14:19:56 +010051 partition@0 { /* for testing purpose */
Michal Simek8aad25c2018-03-28 15:09:32 +020052 label = "qspi-fsbl-uboot";
53 reg = <0x0 0x100000>;
54 };
Michal Simek70fafdf2020-02-14 14:19:56 +010055 partition@100000 { /* for testing purpose */
Michal Simek8aad25c2018-03-28 15:09:32 +020056 label = "qspi-linux";
57 reg = <0x100000 0x500000>;
58 };
Michal Simek70fafdf2020-02-14 14:19:56 +010059 partition@600000 { /* for testing purpose */
Michal Simek8aad25c2018-03-28 15:09:32 +020060 label = "qspi-device-tree";
61 reg = <0x600000 0x20000>;
62 };
Michal Simek70fafdf2020-02-14 14:19:56 +010063 partition@620000 { /* for testing purpose */
Michal Simek8aad25c2018-03-28 15:09:32 +020064 label = "qspi-rootfs";
65 reg = <0x620000 0x5E0000>;
66 };
67 };
68};
69
70&uart0 {
71 status = "okay";
72};