Michal Simek | 090a2d7 | 2018-03-27 10:36:39 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Michal Simek | a335bd2 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 2 | /* |
| 3 | * dts file for Xilinx ZynqMP zc1751-xm015-dc1 |
| 4 | * |
Michal Simek | 4f1b7f6 | 2020-02-18 08:38:06 +0100 | [diff] [blame] | 5 | * (C) Copyright 2015 - 2020, Xilinx, Inc. |
Michal Simek | a335bd2 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 6 | * |
| 7 | * Michal Simek <michal.simek@xilinx.com> |
Michal Simek | a335bd2 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 8 | */ |
| 9 | |
| 10 | /dts-v1/; |
| 11 | |
| 12 | #include "zynqmp.dtsi" |
Michal Simek | a6604b6 | 2017-12-08 14:50:42 +0100 | [diff] [blame] | 13 | #include "zynqmp-clk-ccf.dtsi" |
Michal Simek | a335bd2 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 14 | |
| 15 | / { |
| 16 | model = "ZynqMP zc1751-xm015-dc1 RevA"; |
| 17 | compatible = "xlnx,zynqmp-zc1751", "xlnx,zynqmp"; |
| 18 | |
| 19 | aliases { |
| 20 | ethernet0 = &gem3; |
| 21 | gpio0 = &gpio; |
| 22 | i2c0 = &i2c1; |
| 23 | mmc0 = &sdhci0; |
| 24 | mmc1 = &sdhci1; |
| 25 | rtc0 = &rtc; |
| 26 | serial0 = &uart0; |
| 27 | spi0 = &qspi; |
| 28 | usb0 = &usb0; |
| 29 | }; |
| 30 | |
| 31 | chosen { |
| 32 | bootargs = "earlycon"; |
| 33 | stdout-path = "serial0:115200n8"; |
| 34 | }; |
| 35 | |
Michal Simek | 79c1cbf | 2016-11-11 13:21:04 +0100 | [diff] [blame] | 36 | memory@0 { |
Michal Simek | a335bd2 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 37 | device_type = "memory"; |
| 38 | reg = <0x0 0x0 0x0 0x80000000>, <0x8 0x00000000 0x0 0x80000000>; |
| 39 | }; |
| 40 | }; |
| 41 | |
Michal Simek | a335bd2 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 42 | &fpd_dma_chan1 { |
| 43 | status = "okay"; |
Michal Simek | a335bd2 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 44 | }; |
| 45 | |
| 46 | &fpd_dma_chan2 { |
| 47 | status = "okay"; |
Michal Simek | a335bd2 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 48 | }; |
| 49 | |
| 50 | &fpd_dma_chan3 { |
| 51 | status = "okay"; |
| 52 | }; |
| 53 | |
| 54 | &fpd_dma_chan4 { |
| 55 | status = "okay"; |
Michal Simek | a335bd2 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 56 | }; |
| 57 | |
| 58 | &fpd_dma_chan5 { |
| 59 | status = "okay"; |
| 60 | }; |
| 61 | |
| 62 | &fpd_dma_chan6 { |
| 63 | status = "okay"; |
Michal Simek | a335bd2 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 64 | }; |
| 65 | |
| 66 | &fpd_dma_chan7 { |
| 67 | status = "okay"; |
| 68 | }; |
| 69 | |
| 70 | &fpd_dma_chan8 { |
| 71 | status = "okay"; |
Michal Simek | a335bd2 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 72 | }; |
| 73 | |
| 74 | &gem3 { |
| 75 | status = "okay"; |
Michal Simek | a335bd2 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 76 | phy-handle = <&phy0>; |
| 77 | phy-mode = "rgmii-id"; |
Michal Simek | 393decf | 2019-08-08 12:44:22 +0200 | [diff] [blame] | 78 | phy0: ethernet-phy@0 { |
Michal Simek | a335bd2 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 79 | reg = <0>; |
| 80 | }; |
| 81 | }; |
| 82 | |
| 83 | &gpio { |
| 84 | status = "okay"; |
| 85 | }; |
| 86 | |
| 87 | &gpu { |
| 88 | status = "okay"; |
| 89 | }; |
| 90 | |
| 91 | &i2c1 { |
| 92 | status = "okay"; |
| 93 | clock-frequency = <400000>; |
Michal Simek | c454c6f | 2018-03-27 13:15:17 +0200 | [diff] [blame] | 94 | |
| 95 | eeprom: eeprom@55 { |
Michal Simek | 28cf3ba | 2018-03-27 10:54:25 +0200 | [diff] [blame] | 96 | compatible = "atmel,24c64"; /* 24AA64 */ |
Michal Simek | a335bd2 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 97 | reg = <0x55>; |
| 98 | }; |
| 99 | }; |
| 100 | |
| 101 | &qspi { |
| 102 | status = "okay"; |
| 103 | flash@0 { |
Neil Armstrong | a009fa7 | 2019-02-10 10:16:20 +0000 | [diff] [blame] | 104 | compatible = "m25p80", "jedec,spi-nor"; /* Micron MT25QU512ABB8ESF */ |
Michal Simek | a335bd2 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 105 | #address-cells = <1>; |
| 106 | #size-cells = <1>; |
| 107 | reg = <0x0>; |
| 108 | spi-tx-bus-width = <1>; |
| 109 | spi-rx-bus-width = <4>; |
| 110 | spi-max-frequency = <108000000>; /* Based on DC1 spec */ |
Michal Simek | 70fafdf | 2020-02-14 14:19:56 +0100 | [diff] [blame] | 111 | partition@0 { /* for testing purpose */ |
Michal Simek | a335bd2 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 112 | label = "qspi-fsbl-uboot"; |
| 113 | reg = <0x0 0x100000>; |
| 114 | }; |
Michal Simek | 70fafdf | 2020-02-14 14:19:56 +0100 | [diff] [blame] | 115 | partition@100000 { /* for testing purpose */ |
Michal Simek | a335bd2 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 116 | label = "qspi-linux"; |
| 117 | reg = <0x100000 0x500000>; |
| 118 | }; |
Michal Simek | 70fafdf | 2020-02-14 14:19:56 +0100 | [diff] [blame] | 119 | partition@600000 { /* for testing purpose */ |
Michal Simek | a335bd2 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 120 | label = "qspi-device-tree"; |
| 121 | reg = <0x600000 0x20000>; |
| 122 | }; |
Michal Simek | 70fafdf | 2020-02-14 14:19:56 +0100 | [diff] [blame] | 123 | partition@620000 { /* for testing purpose */ |
Michal Simek | a335bd2 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 124 | label = "qspi-rootfs"; |
| 125 | reg = <0x620000 0x5E0000>; |
| 126 | }; |
| 127 | }; |
| 128 | }; |
| 129 | |
| 130 | &rtc { |
| 131 | status = "okay"; |
| 132 | }; |
| 133 | |
| 134 | &sata { |
| 135 | status = "okay"; |
| 136 | /* SATA phy OOB timing settings */ |
| 137 | ceva,p0-cominit-params = /bits/ 8 <0x1B 0x4D 0x18 0x28>; |
| 138 | ceva,p0-comwake-params = /bits/ 8 <0x06 0x19 0x08 0x0E>; |
| 139 | ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>; |
| 140 | ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>; |
| 141 | ceva,p1-cominit-params = /bits/ 8 <0x1B 0x4D 0x18 0x28>; |
| 142 | ceva,p1-comwake-params = /bits/ 8 <0x06 0x19 0x08 0x0E>; |
| 143 | ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>; |
| 144 | ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>; |
| 145 | }; |
| 146 | |
| 147 | /* eMMC */ |
| 148 | &sdhci0 { |
| 149 | status = "okay"; |
| 150 | bus-width = <8>; |
Michal Simek | 3b66264 | 2020-07-22 17:42:43 +0200 | [diff] [blame] | 151 | xlnx,mio-bank = <0>; |
Michal Simek | a335bd2 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 152 | }; |
| 153 | |
| 154 | /* SD1 with level shifter */ |
| 155 | &sdhci1 { |
| 156 | status = "okay"; |
Manish Narani | e2ba093 | 2020-02-13 23:37:30 -0700 | [diff] [blame] | 157 | /* |
| 158 | * This property should be removed for supporting UHS mode |
| 159 | */ |
| 160 | no-1-8-v; |
Michal Simek | 3b66264 | 2020-07-22 17:42:43 +0200 | [diff] [blame] | 161 | xlnx,mio-bank = <1>; |
Michal Simek | a335bd2 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 162 | }; |
| 163 | |
| 164 | &uart0 { |
| 165 | status = "okay"; |
| 166 | }; |
| 167 | |
| 168 | /* ULPI SMSC USB3320 */ |
| 169 | &usb0 { |
| 170 | status = "okay"; |
Michal Simek | a411700 | 2016-04-05 12:01:16 +0200 | [diff] [blame] | 171 | }; |
| 172 | |
| 173 | &dwc3_0 { |
| 174 | status = "okay"; |
Michal Simek | a335bd2 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 175 | dr_mode = "host"; |
| 176 | }; |
| 177 | |
Michal Simek | 3767425 | 2020-02-18 09:24:08 +0100 | [diff] [blame] | 178 | &zynqmp_dpsub { |
Michal Simek | a335bd2 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 179 | status = "okay"; |
| 180 | }; |
| 181 | |
Michal Simek | 3767425 | 2020-02-18 09:24:08 +0100 | [diff] [blame] | 182 | &zynqmp_dp_snd_pcm0 { |
Michal Simek | a335bd2 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 183 | status = "okay"; |
| 184 | }; |
| 185 | |
Michal Simek | 3767425 | 2020-02-18 09:24:08 +0100 | [diff] [blame] | 186 | &zynqmp_dp_snd_pcm1 { |
Michal Simek | a335bd2 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 187 | status = "okay"; |
Michal Simek | a335bd2 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 188 | }; |
| 189 | |
Michal Simek | 3767425 | 2020-02-18 09:24:08 +0100 | [diff] [blame] | 190 | &zynqmp_dp_snd_card0 { |
Michal Simek | a335bd2 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 191 | status = "okay"; |
| 192 | }; |
| 193 | |
Michal Simek | 3767425 | 2020-02-18 09:24:08 +0100 | [diff] [blame] | 194 | &zynqmp_dp_snd_codec0 { |
Michal Simek | a335bd2 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 195 | status = "okay"; |
| 196 | }; |
| 197 | |
| 198 | &xlnx_dpdma { |
| 199 | status = "okay"; |
| 200 | }; |