Michal Simek | 18a952c | 2018-03-27 10:36:39 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Michal Simek | 6c0c958 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 2 | /* |
| 3 | * dts file for Xilinx ZynqMP zc1751-xm016-dc2 |
| 4 | * |
Michal Simek | d31f1c9 | 2020-02-18 08:38:06 +0100 | [diff] [blame] | 5 | * (C) Copyright 2015 - 2020, Xilinx, Inc. |
Michal Simek | 6c0c958 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 6 | * |
| 7 | * Michal Simek <michal.simek@xilinx.com> |
Michal Simek | 6c0c958 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 8 | */ |
| 9 | |
| 10 | /dts-v1/; |
| 11 | |
| 12 | #include "zynqmp.dtsi" |
Michal Simek | ee4983f | 2017-12-08 14:50:42 +0100 | [diff] [blame] | 13 | #include "zynqmp-clk-ccf.dtsi" |
Michal Simek | 6c0c958 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 14 | |
| 15 | / { |
| 16 | model = "ZynqMP zc1751-xm016-dc2 RevA"; |
| 17 | compatible = "xlnx,zynqmp-zc1751", "xlnx,zynqmp"; |
| 18 | |
| 19 | aliases { |
| 20 | can0 = &can0; |
| 21 | can1 = &can1; |
| 22 | ethernet0 = &gem2; |
| 23 | gpio0 = &gpio; |
| 24 | i2c0 = &i2c0; |
| 25 | rtc0 = &rtc; |
| 26 | serial0 = &uart0; |
| 27 | serial1 = &uart1; |
| 28 | spi0 = &spi0; |
| 29 | spi1 = &spi1; |
| 30 | usb0 = &usb1; |
| 31 | }; |
| 32 | |
| 33 | chosen { |
| 34 | bootargs = "earlycon"; |
| 35 | stdout-path = "serial0:115200n8"; |
| 36 | }; |
| 37 | |
Michal Simek | c926e6f | 2016-11-11 13:21:04 +0100 | [diff] [blame] | 38 | memory@0 { |
Michal Simek | 6c0c958 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 39 | device_type = "memory"; |
| 40 | reg = <0x0 0x0 0x0 0x80000000>, <0x8 0x00000000 0x0 0x80000000>; |
| 41 | }; |
| 42 | }; |
| 43 | |
| 44 | &can0 { |
| 45 | status = "okay"; |
| 46 | }; |
| 47 | |
| 48 | &can1 { |
| 49 | status = "okay"; |
| 50 | }; |
| 51 | |
Michal Simek | 6c0c958 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 52 | &fpd_dma_chan1 { |
| 53 | status = "okay"; |
Michal Simek | 6c0c958 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 54 | }; |
| 55 | |
| 56 | &fpd_dma_chan2 { |
| 57 | status = "okay"; |
Michal Simek | 6c0c958 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 58 | }; |
| 59 | |
| 60 | &fpd_dma_chan3 { |
| 61 | status = "okay"; |
| 62 | }; |
| 63 | |
| 64 | &fpd_dma_chan4 { |
| 65 | status = "okay"; |
Michal Simek | 6c0c958 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 66 | }; |
| 67 | |
| 68 | &fpd_dma_chan5 { |
| 69 | status = "okay"; |
| 70 | }; |
| 71 | |
| 72 | &fpd_dma_chan6 { |
| 73 | status = "okay"; |
Michal Simek | 6c0c958 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 74 | }; |
| 75 | |
| 76 | &fpd_dma_chan7 { |
| 77 | status = "okay"; |
| 78 | }; |
| 79 | |
| 80 | &fpd_dma_chan8 { |
| 81 | status = "okay"; |
Michal Simek | 6c0c958 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 82 | }; |
| 83 | |
| 84 | &gem2 { |
| 85 | status = "okay"; |
Michal Simek | 6c0c958 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 86 | phy-handle = <&phy0>; |
| 87 | phy-mode = "rgmii-id"; |
Michal Simek | 2975a42 | 2019-08-08 12:44:22 +0200 | [diff] [blame] | 88 | phy0: ethernet-phy@5 { |
Michal Simek | 6c0c958 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 89 | reg = <5>; |
| 90 | ti,rx-internal-delay = <0x8>; |
| 91 | ti,tx-internal-delay = <0xa>; |
| 92 | ti,fifo-depth = <0x1>; |
Harini Katakam | 631d9a9 | 2019-02-13 17:02:21 +0530 | [diff] [blame] | 93 | ti,dp83867-rxctrl-strap-quirk; |
Michal Simek | 6c0c958 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 94 | }; |
| 95 | }; |
| 96 | |
| 97 | &gpio { |
| 98 | status = "okay"; |
| 99 | }; |
| 100 | |
| 101 | &i2c0 { |
| 102 | status = "okay"; |
| 103 | clock-frequency = <400000>; |
| 104 | |
| 105 | tca6416_u26: gpio@20 { |
| 106 | compatible = "ti,tca6416"; |
| 107 | reg = <0x20>; |
| 108 | gpio-controller; |
| 109 | #gpio-cells = <2>; |
| 110 | /* IRQ not connected */ |
| 111 | }; |
| 112 | |
| 113 | rtc@68 { |
| 114 | compatible = "dallas,ds1339"; |
| 115 | reg = <0x68>; |
| 116 | }; |
| 117 | }; |
| 118 | |
| 119 | &nand0 { |
| 120 | status = "okay"; |
| 121 | arasan,has-mdma; |
Michal Simek | 6c0c958 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 122 | |
Naga Sureshkumar Relli | c3a34b8 | 2017-01-23 16:20:37 +0530 | [diff] [blame] | 123 | nand@0 { |
| 124 | reg = <0x0>; |
| 125 | #address-cells = <0x2>; |
| 126 | #size-cells = <0x1>; |
Amit Kumar Mahapatra | fbf043d | 2021-02-18 00:50:21 -0700 | [diff] [blame] | 127 | nand-ecc-mode = "soft"; |
| 128 | nand-ecc-algo = "bch"; |
| 129 | nand-rb = <0>; |
| 130 | label = "main-storage-0"; |
Michal Simek | 6c0c958 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 131 | |
Naga Sureshkumar Relli | c3a34b8 | 2017-01-23 16:20:37 +0530 | [diff] [blame] | 132 | partition@0 { /* for testing purpose */ |
| 133 | label = "nand-fsbl-uboot"; |
| 134 | reg = <0x0 0x0 0x400000>; |
| 135 | }; |
| 136 | partition@1 { /* for testing purpose */ |
| 137 | label = "nand-linux"; |
| 138 | reg = <0x0 0x400000 0x1400000>; |
| 139 | }; |
| 140 | partition@2 { /* for testing purpose */ |
| 141 | label = "nand-device-tree"; |
| 142 | reg = <0x0 0x1800000 0x400000>; |
| 143 | }; |
| 144 | partition@3 { /* for testing purpose */ |
| 145 | label = "nand-rootfs"; |
| 146 | reg = <0x0 0x1c00000 0x1400000>; |
| 147 | }; |
| 148 | partition@4 { /* for testing purpose */ |
| 149 | label = "nand-bitstream"; |
| 150 | reg = <0x0 0x3000000 0x400000>; |
| 151 | }; |
| 152 | partition@5 { /* for testing purpose */ |
| 153 | label = "nand-misc"; |
| 154 | reg = <0x0 0x3400000 0xfcc00000>; |
| 155 | }; |
Michal Simek | 6c0c958 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 156 | }; |
Naga Sureshkumar Relli | c3a34b8 | 2017-01-23 16:20:37 +0530 | [diff] [blame] | 157 | nand@1 { |
| 158 | reg = <0x1>; |
| 159 | #address-cells = <0x2>; |
| 160 | #size-cells = <0x1>; |
Amit Kumar Mahapatra | fbf043d | 2021-02-18 00:50:21 -0700 | [diff] [blame] | 161 | nand-ecc-mode = "soft"; |
| 162 | nand-ecc-algo = "bch"; |
| 163 | nand-rb = <0>; |
| 164 | label = "main-storage-1"; |
Naga Sureshkumar Relli | c3a34b8 | 2017-01-23 16:20:37 +0530 | [diff] [blame] | 165 | |
| 166 | partition@0 { /* for testing purpose */ |
| 167 | label = "nand1-fsbl-uboot"; |
| 168 | reg = <0x0 0x0 0x400000>; |
| 169 | }; |
| 170 | partition@1 { /* for testing purpose */ |
| 171 | label = "nand1-linux"; |
| 172 | reg = <0x0 0x400000 0x1400000>; |
| 173 | }; |
| 174 | partition@2 { /* for testing purpose */ |
| 175 | label = "nand1-device-tree"; |
| 176 | reg = <0x0 0x1800000 0x400000>; |
| 177 | }; |
| 178 | partition@3 { /* for testing purpose */ |
| 179 | label = "nand1-rootfs"; |
| 180 | reg = <0x0 0x1c00000 0x1400000>; |
| 181 | }; |
| 182 | partition@4 { /* for testing purpose */ |
| 183 | label = "nand1-bitstream"; |
| 184 | reg = <0x0 0x3000000 0x400000>; |
| 185 | }; |
| 186 | partition@5 { /* for testing purpose */ |
| 187 | label = "nand1-misc"; |
| 188 | reg = <0x0 0x3400000 0xfcc00000>; |
| 189 | }; |
Michal Simek | 6c0c958 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 190 | }; |
| 191 | }; |
| 192 | |
| 193 | &rtc { |
| 194 | status = "okay"; |
| 195 | }; |
| 196 | |
| 197 | &spi0 { |
| 198 | status = "okay"; |
| 199 | num-cs = <1>; |
Michal Simek | ba9da60 | 2018-03-27 13:09:15 +0200 | [diff] [blame] | 200 | spi0_flash0: flash@0 { |
Michal Simek | 6c0c958 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 201 | #address-cells = <1>; |
| 202 | #size-cells = <1>; |
Michal Simek | ba9da60 | 2018-03-27 13:09:15 +0200 | [diff] [blame] | 203 | compatible = "sst,sst25wf080", "jedec,spi-nor"; |
Michal Simek | 6c0c958 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 204 | spi-max-frequency = <50000000>; |
| 205 | reg = <0>; |
| 206 | |
Michal Simek | ba9da60 | 2018-03-27 13:09:15 +0200 | [diff] [blame] | 207 | partition@0 { |
Amit Kumar Mahapatra | 0546b1a | 2020-02-17 07:50:05 -0700 | [diff] [blame] | 208 | label = "spi0-data"; |
Michal Simek | 6c0c958 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 209 | reg = <0x0 0x100000>; |
| 210 | }; |
| 211 | }; |
| 212 | }; |
| 213 | |
| 214 | &spi1 { |
| 215 | status = "okay"; |
| 216 | num-cs = <1>; |
Michal Simek | ba9da60 | 2018-03-27 13:09:15 +0200 | [diff] [blame] | 217 | spi1_flash0: flash@0 { |
Michal Simek | 6c0c958 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 218 | #address-cells = <1>; |
| 219 | #size-cells = <1>; |
Michal Simek | ba9da60 | 2018-03-27 13:09:15 +0200 | [diff] [blame] | 220 | compatible = "atmel,at45db041e", "atmel,at45", "atmel,dataflash"; |
Michal Simek | 6c0c958 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 221 | spi-max-frequency = <20000000>; |
| 222 | reg = <0>; |
| 223 | |
Michal Simek | ba9da60 | 2018-03-27 13:09:15 +0200 | [diff] [blame] | 224 | partition@0 { |
Amit Kumar Mahapatra | 0546b1a | 2020-02-17 07:50:05 -0700 | [diff] [blame] | 225 | label = "spi1-data"; |
Michal Simek | 6c0c958 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 226 | reg = <0x0 0x84000>; |
| 227 | }; |
| 228 | }; |
| 229 | }; |
| 230 | |
| 231 | /* ULPI SMSC USB3320 */ |
| 232 | &usb1 { |
| 233 | status = "okay"; |
Michal Simek | 8925e59 | 2016-04-05 12:01:16 +0200 | [diff] [blame] | 234 | }; |
| 235 | |
| 236 | &dwc3_1 { |
| 237 | status = "okay"; |
Michal Simek | 6c0c958 | 2016-04-07 16:00:11 +0200 | [diff] [blame] | 238 | dr_mode = "host"; |
| 239 | }; |
| 240 | |
| 241 | &uart0 { |
| 242 | status = "okay"; |
| 243 | }; |
| 244 | |
| 245 | &uart1 { |
| 246 | status = "okay"; |
| 247 | }; |