Michal Simek | dd7a329 | 2019-08-06 12:07:10 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * dts file for Xilinx ZynqMP ZCU216 |
| 4 | * |
Michal Simek | d31f1c9 | 2020-02-18 08:38:06 +0100 | [diff] [blame] | 5 | * (C) Copyright 2017 - 2020, Xilinx, Inc. |
Michal Simek | dd7a329 | 2019-08-06 12:07:10 +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 ZCU216 RevA"; |
| 20 | compatible = "xlnx,zynqmp-zcu216-revA", "xlnx,zynqmp-zcu216", "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"; |
| 38 | xlnx,eeprom = <&eeprom>; |
| 39 | }; |
| 40 | |
| 41 | memory@0 { |
| 42 | device_type = "memory"; |
| 43 | reg = <0x0 0x0 0x0 0x80000000>, <0x8 0x00000000 0x0 0x80000000>; |
| 44 | }; |
| 45 | |
| 46 | gpio-keys { |
| 47 | compatible = "gpio-keys"; |
| 48 | autorepeat; |
| 49 | sw19 { |
| 50 | label = "sw19"; |
| 51 | gpios = <&gpio 22 GPIO_ACTIVE_HIGH>; |
| 52 | linux,code = <KEY_DOWN>; |
Michal Simek | f695e1c | 2020-02-18 12:06:14 +0100 | [diff] [blame] | 53 | wakeup-source; |
Michal Simek | dd7a329 | 2019-08-06 12:07:10 +0200 | [diff] [blame] | 54 | autorepeat; |
| 55 | }; |
| 56 | }; |
| 57 | |
| 58 | leds { |
| 59 | compatible = "gpio-leds"; |
| 60 | heartbeat_led { |
| 61 | label = "heartbeat"; |
| 62 | gpios = <&gpio 23 GPIO_ACTIVE_HIGH>; |
| 63 | linux,default-trigger = "heartbeat"; |
| 64 | }; |
| 65 | }; |
| 66 | |
| 67 | ina226-vccint { |
| 68 | compatible = "iio-hwmon"; |
| 69 | io-channels = <&vccint 0>, <&vccint 1>, <&vccint 2>, <&vccint 3>; |
| 70 | }; |
| 71 | ina226-vccint-io-bram-ps { |
| 72 | compatible = "iio-hwmon"; |
| 73 | io-channels = <&vccint_io_bram_ps 0>, <&vccint_io_bram_ps 1>, <&vccint_io_bram_ps 2>, <&vccint_io_bram_ps 3>; |
| 74 | }; |
| 75 | ina226-vcc1v8 { |
| 76 | compatible = "iio-hwmon"; |
| 77 | io-channels = <&vcc1v8 0>, <&vcc1v8 1>, <&vcc1v8 2>, <&vcc1v8 3>; |
| 78 | }; |
| 79 | ina226-vcc1v2 { |
| 80 | compatible = "iio-hwmon"; |
| 81 | io-channels = <&vcc1v2 0>, <&vcc1v2 1>, <&vcc1v2 2>, <&vcc1v2 3>; |
| 82 | }; |
| 83 | ina226-vadj-fmc { |
| 84 | compatible = "iio-hwmon"; |
| 85 | io-channels = <&vadj_fmc 0>, <&vadj_fmc 1>, <&vadj_fmc 2>, <&vadj_fmc 3>; |
| 86 | }; |
| 87 | ina226-mgtavcc { |
| 88 | compatible = "iio-hwmon"; |
| 89 | io-channels = <&mgtavcc 0>, <&mgtavcc 1>, <&mgtavcc 2>, <&mgtavcc 3>; |
| 90 | }; |
| 91 | ina226-mgt1v2 { |
| 92 | compatible = "iio-hwmon"; |
| 93 | io-channels = <&mgt1v2 0>, <&mgt1v2 1>, <&mgt1v2 2>, <&mgt1v2 3>; |
| 94 | }; |
| 95 | ina226-mgt1v8 { |
| 96 | compatible = "iio-hwmon"; |
| 97 | io-channels = <&mgt1v8 0>, <&mgt1v8 1>, <&mgt1v8 2>, <&mgt1v8 3>; |
| 98 | }; |
| 99 | ina226-vccint-ams { |
| 100 | compatible = "iio-hwmon"; |
| 101 | io-channels = <&vccint_ams 0>, <&vccint_ams 1>, <&vccint_ams 2>, <&vccint_ams 3>; |
| 102 | }; |
| 103 | ina226-dac-avtt { |
| 104 | compatible = "iio-hwmon"; |
| 105 | io-channels = <&dac_avtt 0>, <&dac_avtt 1>, <&dac_avtt 2>, <&dac_avtt 3>; |
| 106 | }; |
| 107 | ina226-dac-avccaux { |
| 108 | compatible = "iio-hwmon"; |
| 109 | io-channels = <&dac_avccaux 0>, <&dac_avccaux 1>, <&dac_avccaux 2>, <&dac_avccaux 3>; |
| 110 | }; |
| 111 | ina226-adc-avcc { |
| 112 | compatible = "iio-hwmon"; |
| 113 | io-channels = <&adc_avcc 0>, <&adc_avcc 1>, <&adc_avcc 2>, <&adc_avcc 3>; |
| 114 | }; |
| 115 | ina226-adc-avccaux { |
| 116 | compatible = "iio-hwmon"; |
| 117 | io-channels = <&adc_avccaux 0>, <&adc_avccaux 1>, <&adc_avccaux 2>, <&adc_avccaux 3>; |
| 118 | }; |
| 119 | ina226-dac-avcc { |
| 120 | compatible = "iio-hwmon"; |
| 121 | io-channels = <&dac_avcc 0>, <&dac_avcc 1>, <&dac_avcc 2>, <&dac_avcc 3>; |
| 122 | }; |
Michal Simek | ce90654 | 2020-11-26 14:25:02 +0100 | [diff] [blame] | 123 | |
| 124 | /* 48MHz reference crystal */ |
| 125 | ref48: ref48M { |
| 126 | compatible = "fixed-clock"; |
| 127 | #clock-cells = <0>; |
| 128 | clock-frequency = <48000000>; |
| 129 | }; |
| 130 | }; |
| 131 | |
| 132 | &psgtr { |
| 133 | status = "okay"; |
| 134 | /* pcie, sata, usb3, dp */ |
| 135 | clocks = <&si5341 0 5>, <&si5341 0 3>, <&si5341 0 2>, <&si5341 0 0>; |
| 136 | clock-names = "ref0", "ref1", "ref2", "ref3"; |
Michal Simek | dd7a329 | 2019-08-06 12:07:10 +0200 | [diff] [blame] | 137 | }; |
| 138 | |
| 139 | &dcc { |
| 140 | status = "okay"; |
| 141 | }; |
| 142 | |
| 143 | &fpd_dma_chan1 { |
| 144 | status = "okay"; |
| 145 | }; |
| 146 | |
| 147 | &fpd_dma_chan2 { |
| 148 | status = "okay"; |
| 149 | }; |
| 150 | |
| 151 | &fpd_dma_chan3 { |
| 152 | status = "okay"; |
| 153 | }; |
| 154 | |
| 155 | &fpd_dma_chan4 { |
| 156 | status = "okay"; |
| 157 | }; |
| 158 | |
| 159 | &fpd_dma_chan5 { |
| 160 | status = "okay"; |
| 161 | }; |
| 162 | |
| 163 | &fpd_dma_chan6 { |
| 164 | status = "okay"; |
| 165 | }; |
| 166 | |
| 167 | &fpd_dma_chan7 { |
| 168 | status = "okay"; |
| 169 | }; |
| 170 | |
| 171 | &fpd_dma_chan8 { |
| 172 | status = "okay"; |
| 173 | }; |
| 174 | |
| 175 | &gem3 { |
| 176 | status = "okay"; |
| 177 | phy-handle = <&phy0>; |
| 178 | phy-mode = "rgmii-id"; |
| 179 | phy0: ethernet-phy@c { |
| 180 | reg = <0xc>; |
| 181 | ti,rx-internal-delay = <0x8>; |
| 182 | ti,tx-internal-delay = <0xa>; |
| 183 | ti,fifo-depth = <0x1>; |
| 184 | ti,dp83867-rxctrl-strap-quirk; |
| 185 | }; |
| 186 | }; |
| 187 | |
| 188 | &gpio { |
| 189 | status = "okay"; |
| 190 | gpio-line-names = "QSPI_LWR_CLK", "QSPI_LWR_DQ1", "QSPI_LWR_DQ2", "QSPI_LWR_DQ3", "QSPI_LWR_DQ0", /* 0 - 4 */ |
| 191 | "QSPI_LWR_CS_B", "", "QSPI_UPR_CS_B", "QSPI_UPR_DQ0", "QSPI_UPR_DQ1", /* 5 - 9 */ |
| 192 | "QSPI_UPR_DQ2", "QSPI_UPR_DQ3", "QSPI_UPR_CLK", "PS_GPIO2", "I2C0_SCL", /* 10 - 14 */ |
| 193 | "I2C0_SDA", "I2C1_SCL", "I2C1_SDA", "UART0_TXD", "UART0_RXD", /* 15 - 19 */ |
| 194 | "", "", "BUTTON", "LED", "", /* 20 - 24 */ |
| 195 | "", "PMU_INPUT", "", "", "", /* 25 - 29 */ |
| 196 | "", "", "PMU_GPO0", "PMU_GPO1", "PMU_GPO2", /* 30 - 34 */ |
| 197 | "PMU_GPO3", "PMU_GPO4", "PMU_GPO5", "PS_GPIO1", "SDIO_SEL", /* 35 - 39 */ |
| 198 | "SDIO_DIR_CMD", "SDIO_DIR_DAT0", "SDIO_DIR_DAT1", "", "", /* 40 - 44 */ |
| 199 | "SDIO_DETECT", "SDIO_DAT0", "SDIO_DAT1", "SDIO_DAT2", "SDIO_DAT3", /* 45 - 49 */ |
| 200 | "SDIO_CMD", "SDIO_CLK", "USB_CLK", "USB_DIR", "USB_DATA2", /* 50 - 54 */ |
| 201 | "USB_NXT", "USB_DATA0", "USB_DATA1", "USB_STP", "USB_DATA3", /* 55 - 59 */ |
| 202 | "USB_DATA4", "USB_DATA5", "USB_DATA6", "USB_DATA7", "ENET_TX_CLK", /* 60 - 64 */ |
| 203 | "ENET_TX_D0", "ENET_TX_D1", "ENET_TX_D2", "ENET_TX_D3", "ENET_TX_CTRL", /* 65 - 69 */ |
| 204 | "ENET_RX_CLK", "ENET_RX_D0", "ENET_RX_D1", "ENET_RX_D2", "ENET_RX_D3", /* 70 - 74 */ |
| 205 | "ENET_RX_CTRL", "ENET_MDC", "ENET_MDIO", /* 75 - 77, MIO end and EMIO start */ |
| 206 | "", "", /* 78 - 79 */ |
| 207 | "", "", "", "", "", /* 80 - 84 */ |
| 208 | "", "", "", "", "", /* 85 -89 */ |
| 209 | "", "", "", "", "", /* 90 - 94 */ |
| 210 | "", "", "", "", "", /* 95 - 99 */ |
| 211 | "", "", "", "", "", /* 100 - 104 */ |
| 212 | "", "", "", "", "", /* 105 - 109 */ |
| 213 | "", "", "", "", "", /* 110 - 114 */ |
| 214 | "", "", "", "", "", /* 115 - 119 */ |
| 215 | "", "", "", "", "", /* 120 - 124 */ |
| 216 | "", "", "", "", "", /* 125 - 129 */ |
| 217 | "", "", "", "", "", /* 130 - 134 */ |
| 218 | "", "", "", "", "", /* 135 - 139 */ |
| 219 | "", "", "", "", "", /* 140 - 144 */ |
| 220 | "", "", "", "", "", /* 145 - 149 */ |
| 221 | "", "", "", "", "", /* 150 - 154 */ |
| 222 | "", "", "", "", "", /* 155 - 159 */ |
| 223 | "", "", "", "", "", /* 160 - 164 */ |
| 224 | "", "", "", "", "", /* 165 - 169 */ |
| 225 | "", "", "", ""; /* 170 - 174 */ |
| 226 | }; |
| 227 | |
| 228 | &gpu { |
| 229 | status = "okay"; |
| 230 | }; |
| 231 | |
| 232 | &i2c0 { |
| 233 | status = "okay"; |
| 234 | clock-frequency = <400000>; |
| 235 | |
| 236 | tca6416_u15: gpio@20 { /* u15 */ |
| 237 | compatible = "ti,tca6416"; |
| 238 | reg = <0x20>; |
| 239 | gpio-controller; /* interrupt not connected */ |
| 240 | #gpio-cells = <2>; |
| 241 | gpio-line-names = "MAX6643_OT_B", "MAX6643_FANFAIL_B", "MIO26_PMU_INPUT_LS", "", /* 0 - 3 */ |
| 242 | "", "IIC_MUX_RESET_B", "GEM3_EXP_RESET_B", "MAX6643_FULL_SPEED", /* 4 - 7 */ |
| 243 | "FMCP_HSPC_PRSNT_M2C_B", "", "", "VCCINT_VRHOT_B", /* 10 - 13 */ |
| 244 | "", "8A34001_EXP_RST_B", "IRPS5401_ALERT_B", "INA226_PMBUS_ALERT"; /* 14 - 17 */ |
| 245 | }; |
| 246 | |
| 247 | i2c-mux@75 { /* u17 */ |
| 248 | compatible = "nxp,pca9544"; |
| 249 | #address-cells = <1>; |
| 250 | #size-cells = <0>; |
| 251 | reg = <0x75>; |
| 252 | i2c@0 { |
| 253 | #address-cells = <1>; |
| 254 | #size-cells = <0>; |
| 255 | reg = <0>; |
| 256 | /* PS_PMBUS */ |
| 257 | /* PMBUS_ALERT done via pca9544 */ |
| 258 | vccint: ina226@40 { /* u65 */ |
| 259 | compatible = "ti,ina226"; |
| 260 | #io-channel-cells = <1>; |
| 261 | label = "ina226-vccint"; |
| 262 | reg = <0x40>; |
| 263 | shunt-resistor = <5000>; |
| 264 | }; |
| 265 | vccint_io_bram_ps: ina226@41 { /* u57 */ |
| 266 | compatible = "ti,ina226"; |
| 267 | #io-channel-cells = <1>; |
| 268 | label = "ina226-vccint-io-bram-ps"; |
| 269 | reg = <0x41>; |
Michal Simek | 50e45b7 | 2019-11-25 09:55:28 +0100 | [diff] [blame] | 270 | shunt-resistor = <5000>; |
Michal Simek | dd7a329 | 2019-08-06 12:07:10 +0200 | [diff] [blame] | 271 | }; |
| 272 | vcc1v8: ina226@42 { /* u60 */ |
| 273 | compatible = "ti,ina226"; |
| 274 | #io-channel-cells = <1>; |
| 275 | label = "ina226-vcc1v8"; |
| 276 | reg = <0x42>; |
| 277 | shunt-resistor = <2000>; |
| 278 | }; |
| 279 | vcc1v2: ina226@43 { /* u58 */ |
| 280 | compatible = "ti,ina226"; |
| 281 | #io-channel-cells = <1>; |
| 282 | label = "ina226-vcc1v2"; |
| 283 | reg = <0x43>; |
| 284 | shunt-resistor = <5000>; |
| 285 | }; |
| 286 | vadj_fmc: ina226@45 { /* u62 */ |
| 287 | compatible = "ti,ina226"; |
| 288 | #io-channel-cells = <1>; |
| 289 | label = "ina226-vadj-fmc"; |
| 290 | reg = <0x45>; |
| 291 | shunt-resistor = <5000>; |
| 292 | }; |
| 293 | mgtavcc: ina226@46 { /* u67 */ |
| 294 | compatible = "ti,ina226"; |
| 295 | #io-channel-cells = <1>; |
| 296 | label = "ina226-mgtavcc"; |
| 297 | reg = <0x46>; |
| 298 | shunt-resistor = <2000>; |
| 299 | }; |
| 300 | mgt1v2: ina226@47 { /* u63 */ |
| 301 | compatible = "ti,ina226"; |
| 302 | #io-channel-cells = <1>; |
| 303 | label = "ina226-mgt1v2"; |
| 304 | reg = <0x47>; |
| 305 | shunt-resistor = <5000>; |
| 306 | }; |
| 307 | mgt1v8: ina226@48 { /* u64 */ |
| 308 | compatible = "ti,ina226"; |
| 309 | #io-channel-cells = <1>; |
| 310 | label = "ina226-mgt1v8"; |
| 311 | reg = <0x48>; |
| 312 | shunt-resistor = <5000>; |
| 313 | }; |
| 314 | vccint_ams: ina226@49 { /* u61 */ |
| 315 | compatible = "ti,ina226"; |
| 316 | #io-channel-cells = <1>; |
| 317 | label = "ina226-vccint-ams"; |
| 318 | reg = <0x49>; |
Michal Simek | 50e45b7 | 2019-11-25 09:55:28 +0100 | [diff] [blame] | 319 | shunt-resistor = <5000>; |
Michal Simek | dd7a329 | 2019-08-06 12:07:10 +0200 | [diff] [blame] | 320 | }; |
| 321 | dac_avtt: ina226@4a { /* u59 */ |
| 322 | compatible = "ti,ina226"; |
| 323 | #io-channel-cells = <1>; |
| 324 | label = "ina226-dac-avtt"; |
| 325 | reg = <0x4a>; |
| 326 | shunt-resistor = <5000>; |
| 327 | }; |
| 328 | dac_avccaux: ina226@4b { /* u124 */ |
| 329 | compatible = "ti,ina226"; |
| 330 | #io-channel-cells = <1>; |
| 331 | label = "ina226-dac-avccaux"; |
| 332 | reg = <0x4b>; |
| 333 | shunt-resistor = <5000>; |
| 334 | }; |
| 335 | adc_avcc: ina226@4c { /* u75 */ |
| 336 | compatible = "ti,ina226"; |
| 337 | #io-channel-cells = <1>; |
| 338 | label = "ina226-adc-avcc"; |
| 339 | reg = <0x4c>; |
| 340 | shunt-resistor = <5000>; |
| 341 | }; |
| 342 | adc_avccaux: ina226@4d { /* u71 */ |
| 343 | compatible = "ti,ina226"; |
| 344 | #io-channel-cells = <1>; |
| 345 | label = "ina226-adc-avccaux"; |
| 346 | reg = <0x4d>; |
| 347 | shunt-resistor = <5000>; |
| 348 | }; |
| 349 | dac_avcc: ina226@4e { /* u77 */ |
| 350 | compatible = "ti,ina226"; |
| 351 | #io-channel-cells = <1>; |
| 352 | label = "ina226-dac-avcc"; |
| 353 | reg = <0x4e>; |
| 354 | shunt-resistor = <5000>; |
| 355 | }; |
| 356 | }; |
| 357 | i2c@1 { |
| 358 | #address-cells = <1>; |
| 359 | #size-cells = <0>; |
| 360 | reg = <1>; |
| 361 | /* NC */ |
| 362 | }; |
| 363 | i2c@2 { |
| 364 | #address-cells = <1>; |
| 365 | #size-cells = <0>; |
| 366 | reg = <2>; |
| 367 | /* u104 - ir35215 0x10/0x40 */ |
| 368 | /* u127 - ir38164 0x1b/0x4b */ |
| 369 | /* u112 - ir38164 0x13/0x43 */ |
| 370 | /* u123 - ir38164 0x1c/0x4c */ |
| 371 | |
Michal Simek | 14c0fbb | 2020-03-30 11:35:38 +0200 | [diff] [blame] | 372 | irps5401_44: irps5401@44 { /* IRPS5401 - u53 */ |
Michal Simek | dd7a329 | 2019-08-06 12:07:10 +0200 | [diff] [blame] | 373 | compatible = "infineon,irps5401"; |
| 374 | reg = <0x44>; /* i2c addr 0x14 */ |
| 375 | }; |
Michal Simek | 14c0fbb | 2020-03-30 11:35:38 +0200 | [diff] [blame] | 376 | irps5401_45: irps5401@45 { /* IRPS5401 - u55 */ |
Michal Simek | dd7a329 | 2019-08-06 12:07:10 +0200 | [diff] [blame] | 377 | compatible = "infineon,irps5401"; |
| 378 | reg = <0x45>; /* i2c addr 0x15 */ |
| 379 | }; |
| 380 | /* J21 header too */ |
| 381 | |
| 382 | }; |
| 383 | i2c@3 { |
| 384 | #address-cells = <1>; |
| 385 | #size-cells = <0>; |
| 386 | reg = <3>; |
| 387 | /* SYSMON */ |
| 388 | }; |
| 389 | }; |
| 390 | /* u38 MPS430 */ |
| 391 | }; |
| 392 | |
| 393 | &i2c1 { |
| 394 | status = "okay"; |
| 395 | clock-frequency = <400000>; |
| 396 | |
| 397 | i2c-mux@74 { |
| 398 | compatible = "nxp,pca9548"; /* u20 */ |
| 399 | #address-cells = <1>; |
| 400 | #size-cells = <0>; |
| 401 | reg = <0x74>; |
Raviteja Narayanam | 486f25c | 2021-04-01 07:14:10 -0600 | [diff] [blame] | 402 | i2c-mux-idle-disconnect; |
Michal Simek | dd7a329 | 2019-08-06 12:07:10 +0200 | [diff] [blame] | 403 | /* FIXME reset-gpios = <&tca6416_u15 SYSCTLR_IIC_MUX0_RESET_B GPIO_ACTIVE_HIGH>; */ |
| 404 | i2c_eeprom: i2c@0 { |
| 405 | #address-cells = <1>; |
| 406 | #size-cells = <0>; |
| 407 | reg = <0>; |
| 408 | /* |
| 409 | * IIC_EEPROM 1kB memory which uses 256B blocks |
| 410 | * where every block has different address. |
| 411 | * 0 - 256B address 0x54 |
| 412 | * 256B - 512B address 0x55 |
| 413 | * 512B - 768B address 0x56 |
| 414 | * 768B - 1024B address 0x57 |
| 415 | */ |
| 416 | eeprom: eeprom@54 { /* u21 */ |
Raviteja Narayanam | 268695d | 2019-11-26 18:22:50 +0530 | [diff] [blame] | 417 | compatible = "atmel,24c128"; |
Michal Simek | dd7a329 | 2019-08-06 12:07:10 +0200 | [diff] [blame] | 418 | reg = <0x54>; |
| 419 | }; |
| 420 | }; |
| 421 | i2c_si5341: i2c@1 { |
| 422 | #address-cells = <1>; |
| 423 | #size-cells = <0>; |
| 424 | reg = <1>; |
| 425 | si5341: clock-generator@36 { /* SI5341 - u43 */ |
Michal Simek | ce90654 | 2020-11-26 14:25:02 +0100 | [diff] [blame] | 426 | compatible = "silabs,si5341"; |
Michal Simek | dd7a329 | 2019-08-06 12:07:10 +0200 | [diff] [blame] | 427 | reg = <0x36>; |
Michal Simek | ce90654 | 2020-11-26 14:25:02 +0100 | [diff] [blame] | 428 | #clock-cells = <2>; |
| 429 | #address-cells = <1>; |
| 430 | #size-cells = <0>; |
| 431 | clocks = <&ref48>; |
| 432 | clock-names = "xtal"; |
| 433 | clock-output-names = "si5341"; |
Michal Simek | dd7a329 | 2019-08-06 12:07:10 +0200 | [diff] [blame] | 434 | |
Michal Simek | ce90654 | 2020-11-26 14:25:02 +0100 | [diff] [blame] | 435 | si5341_2: out@2 { |
| 436 | /* refclk2 for PS-GT, used for USB3 */ |
| 437 | reg = <2>; |
Michal Simek | fddff68 | 2021-03-11 13:34:02 +0100 | [diff] [blame] | 438 | always-on; |
Michal Simek | ce90654 | 2020-11-26 14:25:02 +0100 | [diff] [blame] | 439 | }; |
| 440 | si5341_3: out@3 { |
| 441 | /* refclk3 for PS-GT, used for SATA */ |
| 442 | reg = <3>; |
Michal Simek | fddff68 | 2021-03-11 13:34:02 +0100 | [diff] [blame] | 443 | always-on; |
Michal Simek | ce90654 | 2020-11-26 14:25:02 +0100 | [diff] [blame] | 444 | }; |
| 445 | si5341_5: out@5 { |
| 446 | /* refclk5 PL CLK100 */ |
| 447 | reg = <5>; |
Michal Simek | fddff68 | 2021-03-11 13:34:02 +0100 | [diff] [blame] | 448 | always-on; |
Michal Simek | ce90654 | 2020-11-26 14:25:02 +0100 | [diff] [blame] | 449 | }; |
| 450 | si5341_6: out@6 { |
| 451 | /* refclk6 PL CLK125 */ |
| 452 | reg = <6>; |
Michal Simek | fddff68 | 2021-03-11 13:34:02 +0100 | [diff] [blame] | 453 | always-on; |
Michal Simek | ce90654 | 2020-11-26 14:25:02 +0100 | [diff] [blame] | 454 | }; |
| 455 | si5341_9: out@9 { |
| 456 | /* refclk9 used for PS_REF_CLK 33.3 MHz */ |
| 457 | reg = <9>; |
Michal Simek | fddff68 | 2021-03-11 13:34:02 +0100 | [diff] [blame] | 458 | always-on; |
Michal Simek | ce90654 | 2020-11-26 14:25:02 +0100 | [diff] [blame] | 459 | }; |
| 460 | }; |
Michal Simek | dd7a329 | 2019-08-06 12:07:10 +0200 | [diff] [blame] | 461 | }; |
| 462 | i2c_si570_user_c0: i2c@2 { |
| 463 | #address-cells = <1>; |
| 464 | #size-cells = <0>; |
| 465 | reg = <2>; |
| 466 | si570_1: clock-generator@5d { /* USER C0 SI570 - u47 */ |
| 467 | #clock-cells = <0>; |
| 468 | compatible = "silabs,si570"; |
| 469 | reg = <0x5d>; |
| 470 | temperature-stability = <50>; |
| 471 | factory-fout = <300000000>; |
| 472 | clock-frequency = <300000000>; |
| 473 | clock-output-names = "si570_user_c0"; |
| 474 | }; |
| 475 | }; |
| 476 | i2c_si570_mgt: i2c@3 { |
| 477 | #address-cells = <1>; |
| 478 | #size-cells = <0>; |
| 479 | reg = <3>; |
| 480 | si570_2: clock-generator@5d { /* USER MGT SI570 - u48 */ |
| 481 | #clock-cells = <0>; |
| 482 | compatible = "silabs,si570"; |
| 483 | reg = <0x5d>; |
| 484 | temperature-stability = <50>; |
| 485 | factory-fout = <156250000>; |
| 486 | clock-frequency = <148500000>; |
| 487 | clock-output-names = "si570_mgt"; |
| 488 | }; |
| 489 | }; |
| 490 | i2c_8a34001: i2c@4 { |
| 491 | #address-cells = <1>; |
| 492 | #size-cells = <0>; |
| 493 | reg = <4>; |
Michal Simek | 9577b2e | 2021-01-22 14:42:29 +0100 | [diff] [blame] | 494 | idt_8a34001: phc@5b { |
| 495 | compatible = "idt,8a34001"; /* u409B */ |
| 496 | reg = <0x5b>; |
| 497 | }; |
Michal Simek | dd7a329 | 2019-08-06 12:07:10 +0200 | [diff] [blame] | 498 | }; |
| 499 | i2c_clk104: i2c@5 { |
| 500 | #address-cells = <1>; |
| 501 | #size-cells = <0>; |
| 502 | reg = <5>; |
| 503 | /* CLK104_SDA */ |
| 504 | }; |
| 505 | i2c@6 { |
| 506 | #address-cells = <1>; |
| 507 | #size-cells = <0>; |
| 508 | reg = <6>; |
| 509 | /* RFMCP connector */ |
| 510 | }; |
| 511 | /* 7 NC */ |
| 512 | }; |
| 513 | |
| 514 | i2c-mux@75 { |
| 515 | compatible = "nxp,pca9548"; /* u22 */ |
| 516 | #address-cells = <1>; |
| 517 | #size-cells = <0>; |
| 518 | reg = <0x75>; |
Raviteja Narayanam | 486f25c | 2021-04-01 07:14:10 -0600 | [diff] [blame] | 519 | i2c-mux-idle-disconnect; |
Michal Simek | dd7a329 | 2019-08-06 12:07:10 +0200 | [diff] [blame] | 520 | /* FIXME reset-gpios = <&tca6416_u15 SYSCTLR_IIC_MUX0_RESET_B GPIO_ACTIVE_HIGH>; */ |
| 521 | i2c@0 { |
| 522 | #address-cells = <1>; |
| 523 | #size-cells = <0>; |
| 524 | reg = <0>; |
| 525 | /* FMCP_HSPC_IIC */ |
| 526 | }; |
| 527 | i2c_si570_user_c1: i2c@1 { |
| 528 | #address-cells = <1>; |
| 529 | #size-cells = <0>; |
| 530 | reg = <1>; |
| 531 | si570_3: clock-generator@5d { /* USER C1 SI570 - u130 */ |
| 532 | #clock-cells = <0>; |
| 533 | compatible = "silabs,si570"; |
| 534 | reg = <0x5d>; |
| 535 | temperature-stability = <50>; |
| 536 | factory-fout = <300000000>; |
| 537 | clock-frequency = <300000000>; |
| 538 | clock-output-names = "si570_user_c1"; |
| 539 | }; |
| 540 | }; |
| 541 | i2c@2 { |
| 542 | #address-cells = <1>; |
| 543 | #size-cells = <0>; |
| 544 | reg = <2>; |
| 545 | /* SYSMON */ |
| 546 | }; |
| 547 | i2c@3 { |
| 548 | #address-cells = <1>; |
| 549 | #size-cells = <0>; |
| 550 | reg = <3>; |
| 551 | /* DDR4 SODIMM */ |
| 552 | }; |
| 553 | i2c@4 { |
| 554 | #address-cells = <1>; |
| 555 | #size-cells = <0>; |
| 556 | reg = <4>; |
| 557 | /* SFP3 */ |
| 558 | }; |
| 559 | i2c@5 { |
| 560 | #address-cells = <1>; |
| 561 | #size-cells = <0>; |
| 562 | reg = <5>; |
| 563 | /* SFP2 */ |
| 564 | }; |
| 565 | i2c@6 { |
| 566 | #address-cells = <1>; |
| 567 | #size-cells = <0>; |
| 568 | reg = <6>; |
| 569 | /* SFP1 */ |
| 570 | }; |
| 571 | i2c@7 { |
| 572 | #address-cells = <1>; |
| 573 | #size-cells = <0>; |
| 574 | reg = <7>; |
| 575 | /* SFP0 */ |
| 576 | }; |
| 577 | }; |
| 578 | /* MSP430 */ |
| 579 | }; |
| 580 | |
| 581 | &qspi { |
| 582 | status = "okay"; |
| 583 | is-dual = <1>; |
| 584 | flash@0 { |
| 585 | compatible = "m25p80", "jedec,spi-nor"; /* U11 and U12 MT25QU02GCBBE12 1Gb */ |
| 586 | #address-cells = <1>; |
| 587 | #size-cells = <1>; |
| 588 | reg = <0x0>; |
| 589 | spi-tx-bus-width = <1>; |
| 590 | spi-rx-bus-width = <4>; /* FIXME also DUAL configuration possible */ |
| 591 | spi-max-frequency = <108000000>; /* Based on DC1 spec */ |
| 592 | }; |
| 593 | }; |
| 594 | |
| 595 | &rtc { |
| 596 | status = "okay"; |
| 597 | }; |
| 598 | |
| 599 | &sata { |
| 600 | status = "okay"; |
| 601 | /* SATA OOB timing settings */ |
| 602 | ceva,p0-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>; |
| 603 | ceva,p0-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>; |
| 604 | ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>; |
| 605 | ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>; |
| 606 | ceva,p1-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>; |
| 607 | ceva,p1-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>; |
| 608 | ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>; |
| 609 | ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>; |
Michal Simek | ce90654 | 2020-11-26 14:25:02 +0100 | [diff] [blame] | 610 | phys = <&psgtr 3 PHY_TYPE_SATA 1 3>; |
Michal Simek | dd7a329 | 2019-08-06 12:07:10 +0200 | [diff] [blame] | 611 | }; |
| 612 | |
| 613 | /* SD1 with level shifter */ |
| 614 | &sdhci1 { |
| 615 | status = "okay"; |
| 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 | dd7a329 | 2019-08-06 12:07:10 +0200 | [diff] [blame] | 622 | }; |
| 623 | |
Michal Simek | dd7a329 | 2019-08-06 12:07:10 +0200 | [diff] [blame] | 624 | &uart0 { |
| 625 | status = "okay"; |
| 626 | }; |
| 627 | |
| 628 | /* ULPI SMSC USB3320 */ |
| 629 | &usb0 { |
| 630 | status = "okay"; |
| 631 | }; |
| 632 | |
| 633 | &dwc3_0 { |
| 634 | status = "okay"; |
| 635 | dr_mode = "host"; |
| 636 | snps,usb3_lpm_capable; |
Michal Simek | dd7a329 | 2019-08-06 12:07:10 +0200 | [diff] [blame] | 637 | }; |