Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * dts file for Xilinx ZynqMP ZCU111 |
| 4 | * |
Michal Simek | d31f1c9 | 2020-02-18 08:38:06 +0100 | [diff] [blame] | 5 | * (C) Copyright 2017 - 2020, Xilinx, Inc. |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 6 | * |
| 7 | * Michal Simek <michal.simek@xilinx.com> |
| 8 | */ |
| 9 | |
| 10 | /dts-v1/; |
| 11 | |
| 12 | #include "zynqmp.dtsi" |
| 13 | #include "zynqmp-clk-ccf.dtsi" |
| 14 | #include <dt-bindings/input/input.h> |
| 15 | #include <dt-bindings/gpio/gpio.h> |
| 16 | #include <dt-bindings/phy/phy.h> |
| 17 | |
| 18 | / { |
| 19 | model = "ZynqMP ZCU111 RevA"; |
| 20 | compatible = "xlnx,zynqmp-zcu111-revA", "xlnx,zynqmp-zcu111", "xlnx,zynqmp"; |
| 21 | |
| 22 | aliases { |
| 23 | ethernet0 = &gem3; |
| 24 | gpio0 = &gpio; |
| 25 | i2c0 = &i2c0; |
| 26 | i2c1 = &i2c1; |
| 27 | mmc0 = &sdhci1; |
| 28 | rtc0 = &rtc; |
| 29 | serial0 = &uart0; |
| 30 | serial1 = &dcc; |
| 31 | spi0 = &qspi; |
| 32 | usb0 = &usb0; |
| 33 | }; |
| 34 | |
| 35 | chosen { |
| 36 | bootargs = "earlycon"; |
| 37 | stdout-path = "serial0:115200n8"; |
Michal Simek | 8bdad43 | 2019-01-18 09:10:39 +0100 | [diff] [blame] | 38 | xlnx,eeprom = &eeprom; |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 39 | }; |
| 40 | |
| 41 | memory@0 { |
| 42 | device_type = "memory"; |
| 43 | reg = <0x0 0x0 0x0 0x80000000>, <0x8 0x00000000 0x0 0x80000000>; |
| 44 | /* Another 4GB connected to PL */ |
| 45 | }; |
| 46 | |
| 47 | gpio-keys { |
| 48 | compatible = "gpio-keys"; |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 49 | autorepeat; |
| 50 | sw19 { |
| 51 | label = "sw19"; |
| 52 | gpios = <&gpio 22 GPIO_ACTIVE_HIGH>; |
| 53 | linux,code = <KEY_DOWN>; |
Sudeep Holla | ad967af | 2018-10-24 12:45:40 +0100 | [diff] [blame] | 54 | wakeup-source; |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 55 | autorepeat; |
| 56 | }; |
| 57 | }; |
| 58 | |
| 59 | leds { |
| 60 | compatible = "gpio-leds"; |
Michal Simek | 096d7f5 | 2018-11-08 10:06:53 +0100 | [diff] [blame] | 61 | heartbeat-led { |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 62 | label = "heartbeat"; |
| 63 | gpios = <&gpio 23 GPIO_ACTIVE_HIGH>; |
| 64 | linux,default-trigger = "heartbeat"; |
| 65 | }; |
| 66 | }; |
Michal Simek | 65c4c37 | 2019-08-26 09:45:03 +0200 | [diff] [blame] | 67 | |
| 68 | ina226-u67 { |
| 69 | compatible = "iio-hwmon"; |
| 70 | io-channels = <&u67 0>, <&u67 1>, <&u67 2>, <&u67 3>; |
| 71 | }; |
| 72 | ina226-u59 { |
| 73 | compatible = "iio-hwmon"; |
| 74 | io-channels = <&u59 0>, <&u59 1>, <&u59 2>, <&u59 3>; |
| 75 | }; |
| 76 | ina226-u61 { |
| 77 | compatible = "iio-hwmon"; |
| 78 | io-channels = <&u61 0>, <&u61 1>, <&u61 2>, <&u61 3>; |
| 79 | }; |
| 80 | ina226-u60 { |
| 81 | compatible = "iio-hwmon"; |
| 82 | io-channels = <&u60 0>, <&u60 1>, <&u60 2>, <&u60 3>; |
| 83 | }; |
| 84 | ina226-u64 { |
| 85 | compatible = "iio-hwmon"; |
| 86 | io-channels = <&u64 0>, <&u64 1>, <&u64 2>, <&u64 3>; |
| 87 | }; |
| 88 | ina226-u69 { |
| 89 | compatible = "iio-hwmon"; |
| 90 | io-channels = <&u69 0>, <&u69 1>, <&u69 2>, <&u69 3>; |
| 91 | }; |
| 92 | ina226-u66 { |
| 93 | compatible = "iio-hwmon"; |
| 94 | io-channels = <&u66 0>, <&u66 1>, <&u66 2>, <&u66 3>; |
| 95 | }; |
| 96 | ina226-u65 { |
| 97 | compatible = "iio-hwmon"; |
| 98 | io-channels = <&u65 0>, <&u65 1>, <&u65 2>, <&u65 3>; |
| 99 | }; |
| 100 | ina226-u63 { |
| 101 | compatible = "iio-hwmon"; |
| 102 | io-channels = <&u63 0>, <&u63 1>, <&u63 2>, <&u63 3>; |
| 103 | }; |
| 104 | ina226-u3 { |
| 105 | compatible = "iio-hwmon"; |
| 106 | io-channels = <&u3 0>, <&u3 1>, <&u3 2>, <&u3 3>; |
| 107 | }; |
| 108 | ina226-u71 { |
| 109 | compatible = "iio-hwmon"; |
| 110 | io-channels = <&u71 0>, <&u71 1>, <&u71 2>, <&u71 3>; |
| 111 | }; |
| 112 | ina226-u77 { |
| 113 | compatible = "iio-hwmon"; |
| 114 | io-channels = <&u77 0>, <&u77 1>, <&u77 2>, <&u77 3>; |
| 115 | }; |
| 116 | ina226-u73 { |
| 117 | compatible = "iio-hwmon"; |
| 118 | io-channels = <&u73 0>, <&u73 1>, <&u73 2>, <&u73 3>; |
| 119 | }; |
| 120 | ina226-u79 { |
| 121 | compatible = "iio-hwmon"; |
| 122 | io-channels = <&u79 0>, <&u79 1>, <&u79 2>, <&u79 3>; |
| 123 | }; |
Michal Simek | ce90654 | 2020-11-26 14:25:02 +0100 | [diff] [blame] | 124 | |
| 125 | /* 48MHz reference crystal */ |
| 126 | ref48: ref48M { |
| 127 | compatible = "fixed-clock"; |
| 128 | #clock-cells = <0>; |
| 129 | clock-frequency = <48000000>; |
| 130 | }; |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 131 | }; |
| 132 | |
| 133 | &dcc { |
| 134 | status = "okay"; |
| 135 | }; |
| 136 | |
| 137 | &fpd_dma_chan1 { |
| 138 | status = "okay"; |
| 139 | }; |
| 140 | |
| 141 | &fpd_dma_chan2 { |
| 142 | status = "okay"; |
| 143 | }; |
| 144 | |
| 145 | &fpd_dma_chan3 { |
| 146 | status = "okay"; |
| 147 | }; |
| 148 | |
| 149 | &fpd_dma_chan4 { |
| 150 | status = "okay"; |
| 151 | }; |
| 152 | |
| 153 | &fpd_dma_chan5 { |
| 154 | status = "okay"; |
| 155 | }; |
| 156 | |
| 157 | &fpd_dma_chan6 { |
| 158 | status = "okay"; |
| 159 | }; |
| 160 | |
| 161 | &fpd_dma_chan7 { |
| 162 | status = "okay"; |
| 163 | }; |
| 164 | |
| 165 | &fpd_dma_chan8 { |
| 166 | status = "okay"; |
| 167 | }; |
| 168 | |
| 169 | &gem3 { |
| 170 | status = "okay"; |
| 171 | phy-handle = <&phy0>; |
| 172 | phy-mode = "rgmii-id"; |
Michal Simek | 2975a42 | 2019-08-08 12:44:22 +0200 | [diff] [blame] | 173 | phy0: ethernet-phy@c { |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 174 | reg = <0xc>; |
| 175 | ti,rx-internal-delay = <0x8>; |
| 176 | ti,tx-internal-delay = <0xa>; |
| 177 | ti,fifo-depth = <0x1>; |
Harini Katakam | 631d9a9 | 2019-02-13 17:02:21 +0530 | [diff] [blame] | 178 | ti,dp83867-rxctrl-strap-quirk; |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 179 | }; |
| 180 | }; |
| 181 | |
| 182 | &gpio { |
| 183 | status = "okay"; |
| 184 | }; |
| 185 | |
| 186 | &gpu { |
| 187 | status = "okay"; |
| 188 | }; |
| 189 | |
| 190 | &i2c0 { |
| 191 | status = "okay"; |
| 192 | clock-frequency = <400000>; |
| 193 | |
| 194 | tca6416_u22: gpio@20 { |
| 195 | compatible = "ti,tca6416"; |
| 196 | reg = <0x20>; |
| 197 | gpio-controller; /* interrupt not connected */ |
| 198 | #gpio-cells = <2>; |
| 199 | /* |
| 200 | * IRQ not connected |
| 201 | * Lines: |
| 202 | * 0 - MAX6643_OT_B |
| 203 | * 1 - MAX6643_FANFAIL_B |
| 204 | * 2 - MIO26_PMU_INPUT_LS |
| 205 | * 4 - SFP_SI5382_INT_ALM |
| 206 | * 5 - IIC_MUX_RESET_B |
| 207 | * 6 - GEM3_EXP_RESET_B |
| 208 | * 10 - FMCP_HSPC_PRSNT_M2C_B |
| 209 | * 11 - CLK_SPI_MUX_SEL0 |
| 210 | * 12 - CLK_SPI_MUX_SEL1 |
| 211 | * 16 - IRPS5401_ALERT_B |
| 212 | * 17 - INA226_PMBUS_ALERT |
| 213 | * 3, 7, 13-15 - not connected |
| 214 | */ |
| 215 | }; |
| 216 | |
| 217 | i2c-mux@75 { /* u23 */ |
| 218 | compatible = "nxp,pca9544"; |
| 219 | #address-cells = <1>; |
| 220 | #size-cells = <0>; |
| 221 | reg = <0x75>; |
| 222 | i2c@0 { |
| 223 | #address-cells = <1>; |
| 224 | #size-cells = <0>; |
| 225 | reg = <0>; |
| 226 | /* PS_PMBUS */ |
| 227 | /* PMBUS_ALERT done via pca9544 */ |
Michal Simek | 65c4c37 | 2019-08-26 09:45:03 +0200 | [diff] [blame] | 228 | u67: ina226@40 { /* u67 */ |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 229 | compatible = "ti,ina226"; |
Michal Simek | 65c4c37 | 2019-08-26 09:45:03 +0200 | [diff] [blame] | 230 | #io-channel-cells = <1>; |
Michal Simek | b02ea93 | 2019-08-26 10:00:26 +0200 | [diff] [blame] | 231 | label = "ina226-u67"; |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 232 | reg = <0x40>; |
| 233 | shunt-resistor = <2000>; |
| 234 | }; |
Michal Simek | 65c4c37 | 2019-08-26 09:45:03 +0200 | [diff] [blame] | 235 | u59: ina226@41 { /* u59 */ |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 236 | compatible = "ti,ina226"; |
Michal Simek | 65c4c37 | 2019-08-26 09:45:03 +0200 | [diff] [blame] | 237 | #io-channel-cells = <1>; |
Michal Simek | b02ea93 | 2019-08-26 10:00:26 +0200 | [diff] [blame] | 238 | label = "ina226-u59"; |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 239 | reg = <0x41>; |
| 240 | shunt-resistor = <5000>; |
| 241 | }; |
Michal Simek | 65c4c37 | 2019-08-26 09:45:03 +0200 | [diff] [blame] | 242 | u61: ina226@42 { /* u61 */ |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 243 | compatible = "ti,ina226"; |
Michal Simek | 65c4c37 | 2019-08-26 09:45:03 +0200 | [diff] [blame] | 244 | #io-channel-cells = <1>; |
Michal Simek | b02ea93 | 2019-08-26 10:00:26 +0200 | [diff] [blame] | 245 | label = "ina226-u61"; |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 246 | reg = <0x42>; |
| 247 | shunt-resistor = <5000>; |
| 248 | }; |
Michal Simek | 65c4c37 | 2019-08-26 09:45:03 +0200 | [diff] [blame] | 249 | u60: ina226@43 { /* u60 */ |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 250 | compatible = "ti,ina226"; |
Michal Simek | 65c4c37 | 2019-08-26 09:45:03 +0200 | [diff] [blame] | 251 | #io-channel-cells = <1>; |
Michal Simek | b02ea93 | 2019-08-26 10:00:26 +0200 | [diff] [blame] | 252 | label = "ina226-u60"; |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 253 | reg = <0x43>; |
| 254 | shunt-resistor = <5000>; |
| 255 | }; |
Michal Simek | 65c4c37 | 2019-08-26 09:45:03 +0200 | [diff] [blame] | 256 | u64: ina226@45 { /* u64 */ |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 257 | compatible = "ti,ina226"; |
Michal Simek | 65c4c37 | 2019-08-26 09:45:03 +0200 | [diff] [blame] | 258 | #io-channel-cells = <1>; |
Michal Simek | b02ea93 | 2019-08-26 10:00:26 +0200 | [diff] [blame] | 259 | label = "ina226-u64"; |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 260 | reg = <0x45>; |
| 261 | shunt-resistor = <5000>; |
| 262 | }; |
Michal Simek | 65c4c37 | 2019-08-26 09:45:03 +0200 | [diff] [blame] | 263 | u69: ina226@46 { /* u69 */ |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 264 | compatible = "ti,ina226"; |
Michal Simek | 65c4c37 | 2019-08-26 09:45:03 +0200 | [diff] [blame] | 265 | #io-channel-cells = <1>; |
Michal Simek | b02ea93 | 2019-08-26 10:00:26 +0200 | [diff] [blame] | 266 | label = "ina226-u69"; |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 267 | reg = <0x46>; |
| 268 | shunt-resistor = <2000>; |
| 269 | }; |
Michal Simek | 65c4c37 | 2019-08-26 09:45:03 +0200 | [diff] [blame] | 270 | u66: ina226@47 { /* u66 */ |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 271 | compatible = "ti,ina226"; |
Michal Simek | 65c4c37 | 2019-08-26 09:45:03 +0200 | [diff] [blame] | 272 | #io-channel-cells = <1>; |
Michal Simek | b02ea93 | 2019-08-26 10:00:26 +0200 | [diff] [blame] | 273 | label = "ina226-u66"; |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 274 | reg = <0x47>; |
| 275 | shunt-resistor = <5000>; |
| 276 | }; |
Michal Simek | 65c4c37 | 2019-08-26 09:45:03 +0200 | [diff] [blame] | 277 | u65: ina226@48 { /* u65 */ |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 278 | compatible = "ti,ina226"; |
Michal Simek | 65c4c37 | 2019-08-26 09:45:03 +0200 | [diff] [blame] | 279 | #io-channel-cells = <1>; |
Michal Simek | b02ea93 | 2019-08-26 10:00:26 +0200 | [diff] [blame] | 280 | label = "ina226-u65"; |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 281 | reg = <0x48>; |
| 282 | shunt-resistor = <5000>; |
| 283 | }; |
Michal Simek | 65c4c37 | 2019-08-26 09:45:03 +0200 | [diff] [blame] | 284 | u63: ina226@49 { /* u63 */ |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 285 | compatible = "ti,ina226"; |
Michal Simek | 65c4c37 | 2019-08-26 09:45:03 +0200 | [diff] [blame] | 286 | #io-channel-cells = <1>; |
Michal Simek | b02ea93 | 2019-08-26 10:00:26 +0200 | [diff] [blame] | 287 | label = "ina226-u63"; |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 288 | reg = <0x49>; |
| 289 | shunt-resistor = <5000>; |
| 290 | }; |
Michal Simek | 65c4c37 | 2019-08-26 09:45:03 +0200 | [diff] [blame] | 291 | u3: ina226@4a { /* u3 */ |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 292 | compatible = "ti,ina226"; |
Michal Simek | 65c4c37 | 2019-08-26 09:45:03 +0200 | [diff] [blame] | 293 | #io-channel-cells = <1>; |
Michal Simek | b02ea93 | 2019-08-26 10:00:26 +0200 | [diff] [blame] | 294 | label = "ina226-u3"; |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 295 | reg = <0x4a>; |
| 296 | shunt-resistor = <5000>; |
| 297 | }; |
Michal Simek | 65c4c37 | 2019-08-26 09:45:03 +0200 | [diff] [blame] | 298 | u71: ina226@4b { /* u71 */ |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 299 | compatible = "ti,ina226"; |
Michal Simek | 65c4c37 | 2019-08-26 09:45:03 +0200 | [diff] [blame] | 300 | #io-channel-cells = <1>; |
Michal Simek | b02ea93 | 2019-08-26 10:00:26 +0200 | [diff] [blame] | 301 | label = "ina226-u71"; |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 302 | reg = <0x4b>; |
| 303 | shunt-resistor = <5000>; |
| 304 | }; |
Michal Simek | 65c4c37 | 2019-08-26 09:45:03 +0200 | [diff] [blame] | 305 | u77: ina226@4c { /* u77 */ |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 306 | compatible = "ti,ina226"; |
Michal Simek | 65c4c37 | 2019-08-26 09:45:03 +0200 | [diff] [blame] | 307 | #io-channel-cells = <1>; |
Michal Simek | b02ea93 | 2019-08-26 10:00:26 +0200 | [diff] [blame] | 308 | label = "ina226-u77"; |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 309 | reg = <0x4c>; |
| 310 | shunt-resistor = <5000>; |
| 311 | }; |
Michal Simek | 65c4c37 | 2019-08-26 09:45:03 +0200 | [diff] [blame] | 312 | u73: ina226@4d { /* u73 */ |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 313 | compatible = "ti,ina226"; |
Michal Simek | 65c4c37 | 2019-08-26 09:45:03 +0200 | [diff] [blame] | 314 | #io-channel-cells = <1>; |
Michal Simek | b02ea93 | 2019-08-26 10:00:26 +0200 | [diff] [blame] | 315 | label = "ina226-u73"; |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 316 | reg = <0x4d>; |
| 317 | shunt-resistor = <5000>; |
| 318 | }; |
Michal Simek | 65c4c37 | 2019-08-26 09:45:03 +0200 | [diff] [blame] | 319 | u79: ina226@4e { /* u79 */ |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 320 | compatible = "ti,ina226"; |
Michal Simek | 65c4c37 | 2019-08-26 09:45:03 +0200 | [diff] [blame] | 321 | #io-channel-cells = <1>; |
Michal Simek | b02ea93 | 2019-08-26 10:00:26 +0200 | [diff] [blame] | 322 | label = "ina226-u79"; |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 323 | reg = <0x4e>; |
| 324 | shunt-resistor = <5000>; |
| 325 | }; |
| 326 | }; |
| 327 | i2c@1 { |
| 328 | #address-cells = <1>; |
| 329 | #size-cells = <0>; |
| 330 | reg = <1>; |
| 331 | /* NC */ |
| 332 | }; |
| 333 | i2c@2 { |
| 334 | #address-cells = <1>; |
| 335 | #size-cells = <0>; |
| 336 | reg = <2>; |
Michal Simek | 14c0fbb | 2020-03-30 11:35:38 +0200 | [diff] [blame] | 337 | irps5401_43: irps5401@43 { /* IRPS5401 - u53 check these */ |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 338 | compatible = "infineon,irps5401"; |
| 339 | reg = <0x43>; |
| 340 | }; |
Michal Simek | 14c0fbb | 2020-03-30 11:35:38 +0200 | [diff] [blame] | 341 | irps5401_44: irps5401@44 { /* IRPS5401 - u55 */ |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 342 | compatible = "infineon,irps5401"; |
| 343 | reg = <0x44>; |
| 344 | }; |
Michal Simek | 14c0fbb | 2020-03-30 11:35:38 +0200 | [diff] [blame] | 345 | irps5401_45: irps5401@45 { /* IRPS5401 - u57 */ |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 346 | compatible = "infineon,irps5401"; |
| 347 | reg = <0x45>; |
| 348 | }; |
| 349 | /* u68 IR38064 +0 */ |
| 350 | /* u70 IR38060 +1 */ |
| 351 | /* u74 IR38060 +2 */ |
| 352 | /* u75 IR38060 +6 */ |
| 353 | /* J19 header too */ |
| 354 | |
| 355 | }; |
| 356 | i2c@3 { |
| 357 | #address-cells = <1>; |
| 358 | #size-cells = <0>; |
| 359 | reg = <3>; |
| 360 | /* SYSMON */ |
| 361 | }; |
| 362 | }; |
| 363 | }; |
| 364 | |
| 365 | &i2c1 { |
| 366 | status = "okay"; |
| 367 | clock-frequency = <400000>; |
| 368 | |
| 369 | i2c-mux@74 { /* u26 */ |
| 370 | compatible = "nxp,pca9548"; |
| 371 | #address-cells = <1>; |
| 372 | #size-cells = <0>; |
| 373 | reg = <0x74>; |
| 374 | i2c@0 { |
| 375 | #address-cells = <1>; |
| 376 | #size-cells = <0>; |
| 377 | reg = <0>; |
| 378 | /* |
| 379 | * IIC_EEPROM 1kB memory which uses 256B blocks |
| 380 | * where every block has different address. |
| 381 | * 0 - 256B address 0x54 |
| 382 | * 256B - 512B address 0x55 |
| 383 | * 512B - 768B address 0x56 |
| 384 | * 768B - 1024B address 0x57 |
| 385 | */ |
| 386 | eeprom: eeprom@54 { /* u88 */ |
| 387 | compatible = "atmel,24c08"; |
| 388 | reg = <0x54>; |
| 389 | }; |
| 390 | }; |
| 391 | i2c@1 { |
| 392 | #address-cells = <1>; |
| 393 | #size-cells = <0>; |
| 394 | reg = <1>; |
| 395 | si5341: clock-generator@36 { /* SI5341 - u46 */ |
Michal Simek | ce90654 | 2020-11-26 14:25:02 +0100 | [diff] [blame] | 396 | compatible = "silabs,si5341"; |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 397 | reg = <0x36>; |
Michal Simek | ce90654 | 2020-11-26 14:25:02 +0100 | [diff] [blame] | 398 | #clock-cells = <2>; |
| 399 | #address-cells = <1>; |
| 400 | #size-cells = <0>; |
| 401 | clocks = <&ref48>; |
| 402 | clock-names = "xtal"; |
| 403 | clock-output-names = "si5341"; |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 404 | |
Michal Simek | ce90654 | 2020-11-26 14:25:02 +0100 | [diff] [blame] | 405 | si5341_0: out@0 { |
| 406 | /* refclk0 for PS-GT, used for DP */ |
| 407 | reg = <0>; |
| 408 | always-on; |
| 409 | }; |
| 410 | si5341_2: out@2 { |
| 411 | /* refclk2 for PS-GT, used for USB3 */ |
| 412 | reg = <2>; |
| 413 | always-on; |
| 414 | }; |
| 415 | si5341_3: out@3 { |
| 416 | /* refclk3 for PS-GT, used for SATA */ |
| 417 | reg = <3>; |
| 418 | always-on; |
| 419 | }; |
| 420 | si5341_5: out@5 { |
| 421 | /* refclk5 PL CLK100 */ |
| 422 | reg = <5>; |
| 423 | always-on; |
| 424 | }; |
| 425 | si5341_6: out@6 { |
| 426 | /* refclk6 PL CLK125 */ |
| 427 | reg = <6>; |
| 428 | always-on; |
| 429 | }; |
| 430 | si5341_9: out@9 { |
| 431 | /* refclk9 used for PS_REF_CLK 33.3 MHz */ |
| 432 | reg = <9>; |
| 433 | always-on; |
| 434 | }; |
| 435 | }; |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 436 | }; |
| 437 | i2c@2 { |
| 438 | #address-cells = <1>; |
| 439 | #size-cells = <0>; |
| 440 | reg = <2>; |
| 441 | si570_1: clock-generator@5d { /* USER SI570 - u47 */ |
| 442 | #clock-cells = <0>; |
| 443 | compatible = "silabs,si570"; |
| 444 | reg = <0x5d>; |
| 445 | temperature-stability = <50>; |
| 446 | factory-fout = <300000000>; |
| 447 | clock-frequency = <300000000>; |
Michal Simek | 6bd13ee | 2018-07-18 12:10:02 +0200 | [diff] [blame] | 448 | clock-output-names = "si570_user"; |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 449 | }; |
| 450 | }; |
| 451 | i2c@3 { |
| 452 | #address-cells = <1>; |
| 453 | #size-cells = <0>; |
| 454 | reg = <3>; |
| 455 | si570_2: clock-generator@5d { /* USER MGT SI570 - u49 */ |
| 456 | #clock-cells = <0>; |
| 457 | compatible = "silabs,si570"; |
| 458 | reg = <0x5d>; |
| 459 | temperature-stability = <50>; |
| 460 | factory-fout = <156250000>; |
Venkatesh Yadav Abbarapu | 7e2bf38 | 2019-09-05 08:30:38 +0530 | [diff] [blame] | 461 | clock-frequency = <156250000>; |
Michal Simek | 6bd13ee | 2018-07-18 12:10:02 +0200 | [diff] [blame] | 462 | clock-output-names = "si570_mgt"; |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 463 | }; |
| 464 | }; |
| 465 | i2c@4 { |
| 466 | #address-cells = <1>; |
| 467 | #size-cells = <0>; |
| 468 | reg = <4>; |
Michal Simek | ce90654 | 2020-11-26 14:25:02 +0100 | [diff] [blame] | 469 | si5382: clock-generator@69 { /* SI5382 - u48 */ |
| 470 | compatible = "silabs,si5382"; |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 471 | reg = <0x69>; |
| 472 | }; |
| 473 | }; |
| 474 | i2c@5 { |
| 475 | #address-cells = <1>; |
| 476 | #size-cells = <0>; |
| 477 | reg = <5>; |
| 478 | sc18is603@2f { /* sc18is602 - u93 */ |
| 479 | compatible = "nxp,sc18is603"; |
| 480 | reg = <0x2f>; |
| 481 | /* 4 gpios for CS not handled by driver */ |
| 482 | /* |
| 483 | * USB2ANY cable or |
| 484 | * LMK04208 - u90 or |
| 485 | * LMX2594 - u102 or |
| 486 | * LMX2594 - u103 or |
| 487 | * LMX2594 - u104 |
| 488 | */ |
| 489 | }; |
| 490 | }; |
| 491 | i2c@6 { |
| 492 | #address-cells = <1>; |
| 493 | #size-cells = <0>; |
| 494 | reg = <6>; |
| 495 | /* FMC connector */ |
| 496 | }; |
| 497 | /* 7 NC */ |
| 498 | }; |
| 499 | |
| 500 | i2c-mux@75 { |
| 501 | compatible = "nxp,pca9548"; /* u27 */ |
| 502 | #address-cells = <1>; |
| 503 | #size-cells = <0>; |
| 504 | reg = <0x75>; |
| 505 | |
| 506 | i2c@0 { |
| 507 | #address-cells = <1>; |
| 508 | #size-cells = <0>; |
| 509 | reg = <0>; |
| 510 | /* FMCP_HSPC_IIC */ |
| 511 | }; |
| 512 | i2c@1 { |
| 513 | #address-cells = <1>; |
| 514 | #size-cells = <0>; |
| 515 | reg = <1>; |
| 516 | /* NC */ |
| 517 | }; |
| 518 | i2c@2 { |
| 519 | #address-cells = <1>; |
| 520 | #size-cells = <0>; |
| 521 | reg = <2>; |
| 522 | /* SYSMON */ |
| 523 | }; |
| 524 | i2c@3 { |
| 525 | #address-cells = <1>; |
| 526 | #size-cells = <0>; |
| 527 | reg = <3>; |
| 528 | /* DDR4 SODIMM */ |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 529 | }; |
| 530 | i2c@4 { |
| 531 | #address-cells = <1>; |
| 532 | #size-cells = <0>; |
| 533 | reg = <4>; |
| 534 | /* SFP3 */ |
| 535 | }; |
| 536 | i2c@5 { |
| 537 | #address-cells = <1>; |
| 538 | #size-cells = <0>; |
| 539 | reg = <5>; |
| 540 | /* SFP2 */ |
| 541 | }; |
| 542 | i2c@6 { |
| 543 | #address-cells = <1>; |
| 544 | #size-cells = <0>; |
| 545 | reg = <6>; |
| 546 | /* SFP1 */ |
| 547 | }; |
| 548 | i2c@7 { |
| 549 | #address-cells = <1>; |
| 550 | #size-cells = <0>; |
| 551 | reg = <7>; |
| 552 | /* SFP0 */ |
| 553 | }; |
| 554 | }; |
| 555 | }; |
| 556 | |
Michal Simek | ce90654 | 2020-11-26 14:25:02 +0100 | [diff] [blame] | 557 | &psgtr { |
| 558 | status = "okay"; |
| 559 | /* nc, sata, usb3, dp */ |
| 560 | clocks = <&si5341 0 3>, <&si5341 0 2>, <&si5341 0 0>; |
| 561 | clock-names = "ref1", "ref2", "ref3"; |
| 562 | }; |
| 563 | |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 564 | &qspi { |
| 565 | status = "okay"; |
| 566 | is-dual = <1>; |
| 567 | flash@0 { |
Neil Armstrong | ffd4c7c | 2019-02-10 10:16:20 +0000 | [diff] [blame] | 568 | compatible = "m25p80", "jedec,spi-nor"; /* 32MB */ |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 569 | #address-cells = <1>; |
| 570 | #size-cells = <1>; |
| 571 | reg = <0x0>; |
| 572 | spi-tx-bus-width = <1>; |
| 573 | spi-rx-bus-width = <4>; /* FIXME also DUAL configuration possible */ |
| 574 | spi-max-frequency = <108000000>; /* Based on DC1 spec */ |
Michal Simek | 5df63a6 | 2020-02-14 14:19:56 +0100 | [diff] [blame] | 575 | partition@0 { /* for testing purpose */ |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 576 | label = "qspi-fsbl-uboot"; |
| 577 | reg = <0x0 0x100000>; |
| 578 | }; |
Michal Simek | 5df63a6 | 2020-02-14 14:19:56 +0100 | [diff] [blame] | 579 | partition@100000 { /* for testing purpose */ |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 580 | label = "qspi-linux"; |
| 581 | reg = <0x100000 0x500000>; |
| 582 | }; |
Michal Simek | 5df63a6 | 2020-02-14 14:19:56 +0100 | [diff] [blame] | 583 | partition@600000 { /* for testing purpose */ |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 584 | label = "qspi-device-tree"; |
| 585 | reg = <0x600000 0x20000>; |
| 586 | }; |
Michal Simek | 5df63a6 | 2020-02-14 14:19:56 +0100 | [diff] [blame] | 587 | partition@620000 { /* for testing purpose */ |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 588 | label = "qspi-rootfs"; |
| 589 | reg = <0x620000 0x5E0000>; |
| 590 | }; |
| 591 | }; |
| 592 | }; |
| 593 | |
| 594 | &rtc { |
| 595 | status = "okay"; |
| 596 | }; |
| 597 | |
| 598 | &sata { |
| 599 | status = "okay"; |
| 600 | /* SATA OOB timing settings */ |
| 601 | ceva,p0-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>; |
| 602 | ceva,p0-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>; |
| 603 | ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>; |
| 604 | ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>; |
| 605 | ceva,p1-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>; |
| 606 | ceva,p1-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>; |
| 607 | ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>; |
| 608 | ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>; |
| 609 | phy-names = "sata-phy"; |
Michal Simek | ce90654 | 2020-11-26 14:25:02 +0100 | [diff] [blame] | 610 | phys = <&psgtr 3 PHY_TYPE_SATA 1 1>; |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 611 | }; |
| 612 | |
| 613 | /* SD1 with level shifter */ |
| 614 | &sdhci1 { |
| 615 | status = "okay"; |
Michal Simek | f0d5614 | 2018-04-04 14:08:24 +0200 | [diff] [blame] | 616 | disable-wp; |
Manish Narani | 12ffe75 | 2020-02-13 23:37:30 -0700 | [diff] [blame] | 617 | /* |
| 618 | * This property should be removed for supporting UHS mode |
| 619 | */ |
| 620 | no-1-8-v; |
Michal Simek | 01a6da1 | 2020-07-22 17:42:43 +0200 | [diff] [blame] | 621 | xlnx,mio-bank = <1>; |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 622 | }; |
| 623 | |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 624 | &uart0 { |
| 625 | status = "okay"; |
| 626 | }; |
| 627 | |
| 628 | /* ULPI SMSC USB3320 */ |
| 629 | &usb0 { |
| 630 | status = "okay"; |
Michal Simek | ce90654 | 2020-11-26 14:25:02 +0100 | [diff] [blame] | 631 | dr_mode = "host"; |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 632 | }; |
| 633 | |
Michal Simek | ce90654 | 2020-11-26 14:25:02 +0100 | [diff] [blame] | 634 | &zynqmp_dpdma { |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 635 | status = "okay"; |
Michal Simek | ce90654 | 2020-11-26 14:25:02 +0100 | [diff] [blame] | 636 | }; |
| 637 | |
| 638 | &zynqmp_dpsub { |
| 639 | status = "okay"; |
| 640 | phy-names = "dp-phy0", "dp-phy1"; |
| 641 | phys = <&psgtr 1 PHY_TYPE_DP 0 1>, |
| 642 | <&psgtr 0 PHY_TYPE_DP 1 1>; |
Michal Simek | f190eaf | 2018-03-28 15:55:27 +0200 | [diff] [blame] | 643 | }; |