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