blob: ed83ba327916e56aa0cda5d8ef77fcd8a708daff [file] [log] [blame]
Siva Durga Prasad Paladugu4c9e59a2018-04-11 14:13:05 +05301// SPDX-License-Identifier: GPL-2.0
2/*
Michal Simekea766562019-05-21 12:07:23 +02003 * dts file for Xilinx ZynqMP ZCU1275 RevB
Siva Durga Prasad Paladugu4c9e59a2018-04-11 14:13:05 +05304 *
Michal Simek821e32a2021-05-31 09:50:01 +02005 * (C) Copyright 2018 - 2021, Xilinx, Inc.
Siva Durga Prasad Paladugu4c9e59a2018-04-11 14:13:05 +05306 *
Michal Simeka8c94362023-07-10 14:35:49 +02007 * Michal Simek <michal.simek@amd.com>
Michal Simek7359cc22023-09-22 12:35:35 +02008 * Siva Durga Prasad Paladugu <siva.durga.prasad.paladugu@amd.com>
Siva Durga Prasad Paladugu4c9e59a2018-04-11 14:13:05 +05309 */
10
11/dts-v1/;
12
13#include "zynqmp.dtsi"
14#include "zynqmp-clk-ccf.dtsi"
15
16/ {
Michal Simekea766562019-05-21 12:07:23 +020017 model = "ZynqMP ZCU1275 RevB";
18 compatible = "xlnx,zynqmp-zcu1275-revB", "xlnx,zynqmp-zcu1275",
19 "xlnx,zynqmp";
Siva Durga Prasad Paladugu4c9e59a2018-04-11 14:13:05 +053020
21 aliases {
22 serial0 = &uart0;
23 serial1 = &dcc;
24 spi0 = &qspi;
25 mmc0 = &sdhci1;
Siva Durga Prasad Paladugu436339a2018-10-12 16:55:36 +053026 ethernet0 = &gem1;
Siva Durga Prasad Paladugu4c9e59a2018-04-11 14:13:05 +053027 };
28
29 chosen {
30 bootargs = "earlycon";
31 stdout-path = "serial0:115200n8";
32 };
33
34 memory@0 {
35 device_type = "memory";
36 reg = <0x0 0x0 0x0 0x80000000>;
37 };
38};
39
40&dcc {
41 status = "okay";
42};
43
Siva Durga Prasad Paladugu436339a2018-10-12 16:55:36 +053044&gem1 {
45 status = "okay";
Michal Simekff0752d2024-09-13 11:28:49 +020046 phy-mode = "rgmii-id";
Siva Durga Prasad Paladugu436339a2018-10-12 16:55:36 +053047 mdio {
48 #address-cells = <1>;
49 #size-cells = <0>;
50 phy1: ethernet-phy@1 {
51 reg = <1>; /* KSZ9031RNXIC on AES-FMC-NETW1-G */
52 rxc-skew-ps = <1800>; /* Skew control of RX_CLK pad output */
53 txc-skew-ps = <1800>; /* Skew control of GTX_CLK pad input */
54 txen-skew-ps = <900>; /* Skew control of TX_CTL pad input */
55 rxdv-skew-ps = <0>; /* Skew control of RX_CTL pad output */
56 rxd0-skew-ps = <0>; /* Skew control of RXD0 pad output */
57 rxd1-skew-ps = <0>; /* Skew control of RXD1 pad output */
58 rxd2-skew-ps = <0>; /* Skew control of RXD2 pad output */
59 rxd3-skew-ps = <0>; /* Skew control of RXD3 pad output */
60 txd0-skew-ps = <900>; /* Skew control of TXD0 pad input */
61 txd1-skew-ps = <900>; /* Skew control of TXD1 pad input */
62 txd2-skew-ps = <900>; /* Skew control of TXD2 pad input */
63 txd3-skew-ps = <900>; /* Skew control of TXD3 pad input */
64 };
65 };
66};
67
Michal Simek52dc8212021-05-11 13:59:01 +020068&gpio {
69 status = "okay";
70};
71
Siva Durga Prasad Paladugu4c9e59a2018-04-11 14:13:05 +053072&qspi {
73 status = "okay";
74 flash@0 {
Neil Armstronga009fa72019-02-10 10:16:20 +000075 compatible = "m25p80", "jedec,spi-nor"; /* 32MB */
Siva Durga Prasad Paladugu4c9e59a2018-04-11 14:13:05 +053076 #address-cells = <1>;
77 #size-cells = <1>;
78 reg = <0x0>;
79 spi-tx-bus-width = <1>;
Venkatesh Yadav Abbarapu472355f2018-11-14 17:20:18 +053080 spi-rx-bus-width = <1>;
Siva Durga Prasad Paladugu4c9e59a2018-04-11 14:13:05 +053081 spi-max-frequency = <108000000>; /* Based on DC1 spec */
Michal Simek70fafdf2020-02-14 14:19:56 +010082 partition@0 { /* for testing purpose */
Siva Durga Prasad Paladugu4c9e59a2018-04-11 14:13:05 +053083 label = "qspi-fsbl-uboot";
84 reg = <0x0 0x100000>;
85 };
Michal Simek70fafdf2020-02-14 14:19:56 +010086 partition@100000 { /* for testing purpose */
Siva Durga Prasad Paladugu4c9e59a2018-04-11 14:13:05 +053087 label = "qspi-linux";
88 reg = <0x100000 0x500000>;
89 };
Michal Simek70fafdf2020-02-14 14:19:56 +010090 partition@600000 { /* for testing purpose */
Siva Durga Prasad Paladugu4c9e59a2018-04-11 14:13:05 +053091 label = "qspi-device-tree";
92 reg = <0x600000 0x20000>;
93 };
Michal Simek70fafdf2020-02-14 14:19:56 +010094 partition@620000 { /* for testing purpose */
Siva Durga Prasad Paladugu4c9e59a2018-04-11 14:13:05 +053095 label = "qspi-rootfs";
96 reg = <0x620000 0x5E0000>;
97 };
98 };
99};
100
101&uart0 {
102 status = "okay";
103};
104
105&sdhci1 {
106 status = "okay";
T Karthik Reddyc0ee5c12019-08-07 14:08:50 +0530107 /*
108 * 1.0 revision has level shifter and this property should be
109 * removed for supporting UHS mode
110 */
Siva Durga Prasad Paladugu4c9e59a2018-04-11 14:13:05 +0530111 no-1-8-v;
Michal Simek3b662642020-07-22 17:42:43 +0200112 xlnx,mio-bank = <1>;
Siva Durga Prasad Paladugu4c9e59a2018-04-11 14:13:05 +0530113};