Siva Durga Prasad Paladugu | 4c9e59a | 2018-04-11 14:13:05 +0530 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | /* |
Michal Simek | ea76656 | 2019-05-21 12:07:23 +0200 | [diff] [blame] | 3 | * dts file for Xilinx ZynqMP ZCU1275 RevB |
Siva Durga Prasad Paladugu | 4c9e59a | 2018-04-11 14:13:05 +0530 | [diff] [blame] | 4 | * |
Michal Simek | 821e32a | 2021-05-31 09:50:01 +0200 | [diff] [blame] | 5 | * (C) Copyright 2018 - 2021, Xilinx, Inc. |
Siva Durga Prasad Paladugu | 4c9e59a | 2018-04-11 14:13:05 +0530 | [diff] [blame] | 6 | * |
Michal Simek | a8c9436 | 2023-07-10 14:35:49 +0200 | [diff] [blame] | 7 | * Michal Simek <michal.simek@amd.com> |
| 8 | * Siva Durga Prasad Paladugu <siva.durga.prasad.paladugu@amd.com>> |
Siva Durga Prasad Paladugu | 4c9e59a | 2018-04-11 14:13:05 +0530 | [diff] [blame] | 9 | */ |
| 10 | |
| 11 | /dts-v1/; |
| 12 | |
| 13 | #include "zynqmp.dtsi" |
| 14 | #include "zynqmp-clk-ccf.dtsi" |
| 15 | |
| 16 | / { |
Michal Simek | ea76656 | 2019-05-21 12:07:23 +0200 | [diff] [blame] | 17 | model = "ZynqMP ZCU1275 RevB"; |
| 18 | compatible = "xlnx,zynqmp-zcu1275-revB", "xlnx,zynqmp-zcu1275", |
| 19 | "xlnx,zynqmp"; |
Siva Durga Prasad Paladugu | 4c9e59a | 2018-04-11 14:13:05 +0530 | [diff] [blame] | 20 | |
| 21 | aliases { |
| 22 | serial0 = &uart0; |
| 23 | serial1 = &dcc; |
| 24 | spi0 = &qspi; |
| 25 | mmc0 = &sdhci1; |
Siva Durga Prasad Paladugu | 436339a | 2018-10-12 16:55:36 +0530 | [diff] [blame] | 26 | ethernet0 = &gem1; |
Siva Durga Prasad Paladugu | 4c9e59a | 2018-04-11 14:13:05 +0530 | [diff] [blame] | 27 | }; |
| 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 Paladugu | 436339a | 2018-10-12 16:55:36 +0530 | [diff] [blame] | 44 | &gem1 { |
| 45 | status = "okay"; |
| 46 | mdio { |
| 47 | #address-cells = <1>; |
| 48 | #size-cells = <0>; |
| 49 | phy1: ethernet-phy@1 { |
| 50 | reg = <1>; /* KSZ9031RNXIC on AES-FMC-NETW1-G */ |
| 51 | rxc-skew-ps = <1800>; /* Skew control of RX_CLK pad output */ |
| 52 | txc-skew-ps = <1800>; /* Skew control of GTX_CLK pad input */ |
| 53 | txen-skew-ps = <900>; /* Skew control of TX_CTL pad input */ |
| 54 | rxdv-skew-ps = <0>; /* Skew control of RX_CTL pad output */ |
| 55 | rxd0-skew-ps = <0>; /* Skew control of RXD0 pad output */ |
| 56 | rxd1-skew-ps = <0>; /* Skew control of RXD1 pad output */ |
| 57 | rxd2-skew-ps = <0>; /* Skew control of RXD2 pad output */ |
| 58 | rxd3-skew-ps = <0>; /* Skew control of RXD3 pad output */ |
| 59 | txd0-skew-ps = <900>; /* Skew control of TXD0 pad input */ |
| 60 | txd1-skew-ps = <900>; /* Skew control of TXD1 pad input */ |
| 61 | txd2-skew-ps = <900>; /* Skew control of TXD2 pad input */ |
| 62 | txd3-skew-ps = <900>; /* Skew control of TXD3 pad input */ |
| 63 | }; |
| 64 | }; |
| 65 | }; |
| 66 | |
Michal Simek | 52dc821 | 2021-05-11 13:59:01 +0200 | [diff] [blame] | 67 | &gpio { |
| 68 | status = "okay"; |
| 69 | }; |
| 70 | |
Siva Durga Prasad Paladugu | 4c9e59a | 2018-04-11 14:13:05 +0530 | [diff] [blame] | 71 | &qspi { |
| 72 | status = "okay"; |
| 73 | flash@0 { |
Neil Armstrong | a009fa7 | 2019-02-10 10:16:20 +0000 | [diff] [blame] | 74 | compatible = "m25p80", "jedec,spi-nor"; /* 32MB */ |
Siva Durga Prasad Paladugu | 4c9e59a | 2018-04-11 14:13:05 +0530 | [diff] [blame] | 75 | #address-cells = <1>; |
| 76 | #size-cells = <1>; |
| 77 | reg = <0x0>; |
| 78 | spi-tx-bus-width = <1>; |
Venkatesh Yadav Abbarapu | 472355f | 2018-11-14 17:20:18 +0530 | [diff] [blame] | 79 | spi-rx-bus-width = <1>; |
Siva Durga Prasad Paladugu | 4c9e59a | 2018-04-11 14:13:05 +0530 | [diff] [blame] | 80 | spi-max-frequency = <108000000>; /* Based on DC1 spec */ |
Michal Simek | 70fafdf | 2020-02-14 14:19:56 +0100 | [diff] [blame] | 81 | partition@0 { /* for testing purpose */ |
Siva Durga Prasad Paladugu | 4c9e59a | 2018-04-11 14:13:05 +0530 | [diff] [blame] | 82 | label = "qspi-fsbl-uboot"; |
| 83 | reg = <0x0 0x100000>; |
| 84 | }; |
Michal Simek | 70fafdf | 2020-02-14 14:19:56 +0100 | [diff] [blame] | 85 | partition@100000 { /* for testing purpose */ |
Siva Durga Prasad Paladugu | 4c9e59a | 2018-04-11 14:13:05 +0530 | [diff] [blame] | 86 | label = "qspi-linux"; |
| 87 | reg = <0x100000 0x500000>; |
| 88 | }; |
Michal Simek | 70fafdf | 2020-02-14 14:19:56 +0100 | [diff] [blame] | 89 | partition@600000 { /* for testing purpose */ |
Siva Durga Prasad Paladugu | 4c9e59a | 2018-04-11 14:13:05 +0530 | [diff] [blame] | 90 | label = "qspi-device-tree"; |
| 91 | reg = <0x600000 0x20000>; |
| 92 | }; |
Michal Simek | 70fafdf | 2020-02-14 14:19:56 +0100 | [diff] [blame] | 93 | partition@620000 { /* for testing purpose */ |
Siva Durga Prasad Paladugu | 4c9e59a | 2018-04-11 14:13:05 +0530 | [diff] [blame] | 94 | label = "qspi-rootfs"; |
| 95 | reg = <0x620000 0x5E0000>; |
| 96 | }; |
| 97 | }; |
| 98 | }; |
| 99 | |
| 100 | &uart0 { |
| 101 | status = "okay"; |
| 102 | }; |
| 103 | |
| 104 | &sdhci1 { |
| 105 | status = "okay"; |
T Karthik Reddy | c0ee5c1 | 2019-08-07 14:08:50 +0530 | [diff] [blame] | 106 | /* |
| 107 | * 1.0 revision has level shifter and this property should be |
| 108 | * removed for supporting UHS mode |
| 109 | */ |
Siva Durga Prasad Paladugu | 4c9e59a | 2018-04-11 14:13:05 +0530 | [diff] [blame] | 110 | no-1-8-v; |
Michal Simek | 3b66264 | 2020-07-22 17:42:43 +0200 | [diff] [blame] | 111 | xlnx,mio-bank = <1>; |
Siva Durga Prasad Paladugu | 4c9e59a | 2018-04-11 14:13:05 +0530 | [diff] [blame] | 112 | }; |