Michal Simek | 64eb13b | 2019-04-12 12:19:22 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | /* |
| 3 | * dts file for Xilinx Versal a2197 RevA System Controller |
| 4 | * |
| 5 | * (C) Copyright 2019, Xilinx, Inc. |
| 6 | * |
| 7 | * Michal Simek <michal.simek@xilinx.com> |
| 8 | */ |
| 9 | /dts-v1/; |
| 10 | |
| 11 | #include "zynqmp.dtsi" |
| 12 | #include "zynqmp-clk-ccf.dtsi" |
| 13 | #include <dt-bindings/gpio/gpio.h> |
| 14 | |
| 15 | / { |
| 16 | model = "Versal System Controller on a2197 Memory Char board RevA"; |
Michal Simek | 50d9283 | 2019-06-28 13:16:10 +0200 | [diff] [blame] | 17 | compatible = "xlnx,zynqmp-m-a2197-01-revA", "xlnx,zynqmp-a2197-revA", |
Michal Simek | 64eb13b | 2019-04-12 12:19:22 +0200 | [diff] [blame] | 18 | "xlnx,zynqmp-a2197", "xlnx,zynqmp"; |
| 19 | |
| 20 | aliases { |
| 21 | ethernet0 = &gem0; |
| 22 | gpio0 = &gpio; |
| 23 | i2c0 = &i2c0; |
| 24 | i2c1 = &i2c1; |
| 25 | mmc0 = &sdhci0; |
| 26 | mmc1 = &sdhci1; |
Michal Simek | 531abcb | 2021-06-03 11:46:50 +0200 | [diff] [blame^] | 27 | nvmem0 = &eeprom; |
Michal Simek | 64eb13b | 2019-04-12 12:19:22 +0200 | [diff] [blame] | 28 | rtc0 = &rtc; |
| 29 | serial0 = &uart0; |
| 30 | serial1 = &uart1; |
| 31 | serial2 = &dcc; |
| 32 | usb0 = &usb0; |
| 33 | usb1 = &usb1; |
| 34 | spi0 = &qspi; |
| 35 | }; |
| 36 | |
| 37 | chosen { |
| 38 | bootargs = "earlycon"; |
| 39 | stdout-path = "serial0:115200n8"; |
Michal Simek | 64eb13b | 2019-04-12 12:19:22 +0200 | [diff] [blame] | 40 | }; |
| 41 | |
| 42 | memory@0 { |
| 43 | device_type = "memory"; |
| 44 | reg = <0x0 0x0 0x0 0x80000000>; /* FIXME don't know how big memory is there */ |
| 45 | }; |
Michal Simek | eaf96b1 | 2019-08-26 11:09:54 +0200 | [diff] [blame] | 46 | |
| 47 | ina226-vcc-aux { |
| 48 | compatible = "iio-hwmon"; |
| 49 | io-channels = <&vcc_aux 0>, <&vcc_aux 1>, <&vcc_aux 2>, <&vcc_aux 3>; |
| 50 | }; |
| 51 | ina226-vcc-ram { |
| 52 | compatible = "iio-hwmon"; |
| 53 | io-channels = <&vcc_ram 0>, <&vcc_ram 1>, <&vcc_ram 2>, <&vcc_ram 3>; |
| 54 | }; |
| 55 | ina226-vcc1v1-lp4 { |
| 56 | compatible = "iio-hwmon"; |
| 57 | io-channels = <&vcc1v1_lp4 0>, <&vcc1v1_lp4 1>, <&vcc1v1_lp4 2>, <&vcc1v1_lp4 3>; |
| 58 | }; |
| 59 | ina226-vcc1v2-lp4 { |
| 60 | compatible = "iio-hwmon"; |
| 61 | io-channels = <&vcc1v2_lp4 0>, <&vcc1v2_lp4 1>, <&vcc1v2_lp4 2>, <&vcc1v2_lp4 3>; |
| 62 | }; |
| 63 | ina226-vdd1-1v8-lp4 { |
| 64 | compatible = "iio-hwmon"; |
| 65 | io-channels = <&vdd1_1v8_lp4 0>, <&vdd1_1v8_lp4 1>, <&vdd1_1v8_lp4 2>, <&vdd1_1v8_lp4 3>; |
| 66 | }; |
| 67 | ina226-vcc0v6-lp4 { |
| 68 | compatible = "iio-hwmon"; |
| 69 | io-channels = <&vcc0v6_lp4 0>, <&vcc0v6_lp4 1>, <&vcc0v6_lp4 2>, <&vcc0v6_lp4 3>; |
| 70 | }; |
Michal Simek | 64eb13b | 2019-04-12 12:19:22 +0200 | [diff] [blame] | 71 | }; |
| 72 | |
| 73 | &qspi { |
| 74 | status = "okay"; |
| 75 | is-dual = <1>; |
| 76 | flash@0 { |
Michal Simek | b954e88 | 2019-08-07 09:58:29 +0200 | [diff] [blame] | 77 | compatible = "m25p80", "jedec,spi-nor"; /* 32MB */ |
Michal Simek | 64eb13b | 2019-04-12 12:19:22 +0200 | [diff] [blame] | 78 | #address-cells = <1>; |
| 79 | #size-cells = <1>; |
| 80 | reg = <0x0>; |
| 81 | spi-tx-bus-width = <1>; |
| 82 | spi-rx-bus-width = <4>; |
| 83 | spi-max-frequency = <108000000>; |
| 84 | }; |
| 85 | }; |
| 86 | |
| 87 | &sdhci0 { /* emmc MIO 13-23 - with some settings 16GB */ |
| 88 | status = "okay"; |
| 89 | non-removable; |
| 90 | disable-wp; |
| 91 | bus-width = <8>; |
Michal Simek | 01a6da1 | 2020-07-22 17:42:43 +0200 | [diff] [blame] | 92 | xlnx,mio-bank = <0>; /* FIXME tap delay */ |
Michal Simek | 64eb13b | 2019-04-12 12:19:22 +0200 | [diff] [blame] | 93 | }; |
| 94 | |
| 95 | &uart0 { /* uart0 MIO38-39 */ |
| 96 | status = "okay"; |
Michal Simek | 64eb13b | 2019-04-12 12:19:22 +0200 | [diff] [blame] | 97 | }; |
| 98 | |
| 99 | &uart1 { /* uart1 MIO40-41 */ |
| 100 | status = "okay"; |
Michal Simek | 64eb13b | 2019-04-12 12:19:22 +0200 | [diff] [blame] | 101 | }; |
| 102 | |
| 103 | &sdhci1 { /* sd1 MIO45-51 cd in place */ |
| 104 | status = "disable"; |
| 105 | no-1-8-v; |
| 106 | disable-wp; |
Michal Simek | 01a6da1 | 2020-07-22 17:42:43 +0200 | [diff] [blame] | 107 | xlnx,mio-bank = <1>; |
Michal Simek | 64eb13b | 2019-04-12 12:19:22 +0200 | [diff] [blame] | 108 | }; |
| 109 | |
| 110 | &gem0 { |
| 111 | status = "okay"; |
| 112 | phy-handle = <&phy0>; |
| 113 | phy-mode = "sgmii"; /* DTG generates this properly 1512 */ |
| 114 | phy-reset-gpios = <&gpio 142 GPIO_ACTIVE_LOW>; |
Michal Simek | 2975a42 | 2019-08-08 12:44:22 +0200 | [diff] [blame] | 115 | phy0: ethernet-phy@0 { /* marwell m88e1512 - SGMII */ |
Michal Simek | 64eb13b | 2019-04-12 12:19:22 +0200 | [diff] [blame] | 116 | reg = <0>; |
| 117 | /* xlnx,phy-type = <PHY_TYPE_SGMII>; */ |
| 118 | }; |
Michal Simek | 64eb13b | 2019-04-12 12:19:22 +0200 | [diff] [blame] | 119 | }; |
| 120 | |
| 121 | &gpio { |
| 122 | status = "okay"; |
| 123 | gpio-line-names = "SCLK_OUT", "MISO_MO1", "MO2", "MO3", "MOSI_MIO0", /* 0 - 4 */ |
| 124 | "N_SS_OUT", "", "SYS_CTRL0", "SYS_CTRL1", "SYS_CTRL2", /* 5 - 9 */ |
| 125 | "SYS_CTRL3", "SYS_CTRL4", "SYS_CTRL5", "EMMC_DAT0", "EMMC_DAT1", /* 10 - 14 */ |
| 126 | "EMMC_DAT2", "EMMC_DAT3", "EMMC_DAT4", "EMMC_DAT5", "EMMC_DAT6", /* 15 - 19 */ |
| 127 | "EMMC_DAT7", "EMMC_CMD", "EMMC_CLK", "EMMC_RST_B", "", /* 20 - 24 */ |
| 128 | "", "RXD0_IN", "TXD0_OUT", "TXD1_OUT", "RXD1_IN", /* 25 - 29 */ |
| 129 | "", "", "", "", "LP_I2C0_PMC_SCL", /* 30 - 34 */ |
| 130 | "LP_I2C0_PMC_SDA", "LP_I2C1_SCL", "LP_I2C1_SDA", "UART0_RXD_IN", "UART0_TXD_OUT", /* 35 - 39 */ |
| 131 | "UART1_TXD_OUT", "UART1_RXD_IN", "ETH_RESET_B", "", "", /* 40 - 44 */ |
| 132 | "SD1_CD_B", "SD1_DATA0", "SD1_DATA1", "SD1_DATA2", "SD1_DATA3", /* 45 - 49 */ |
| 133 | "SD1_CMD", "SD1_CLK", "USB0_CLK", "USB0_DIR", "USB0_DATA2", /* 50 - 54 */ |
| 134 | "USB0_NXT", "USB0_DATA0", "USB0_DATA1", "USB0_STP", "USB0_DATA3", /* 55 - 59 */ |
| 135 | "USB0_DATA4", "USB0_DATA5", "USB0_DATA6", "USB0_DATA7", "USB1_CLK", /* 60 - 64 */ |
| 136 | "USB1_DIR", "USB1_DATA2", "USB1_NXT", "USB1_DATA0", "USB1_DATA1", /* 65 - 69 */ |
| 137 | "USB1_STP", "USB1_DATA3", "USB1_DATA4", "USB1_DATA5", "USB1_DATA6", /* 70 - 74 */ |
| 138 | "USB1_DATA7", "ETH_MDC", "ETH_MDIO", /* 75 - 77, MIO end and EMIO start */ |
| 139 | "", "", "", "", "", /* 78 - 79 */ |
| 140 | "", "", "", "", "", /* 80 - 84 */ |
| 141 | "", "", "", "", "", /* 85 -89 */ |
| 142 | "", "", "", "", "", /* 90 - 94 */ |
| 143 | "", "", "", "", "", /* 95 - 99 */ |
| 144 | "", "", "", "", "", /* 100 - 104 */ |
| 145 | "", "", "", "", "", /* 105 - 109 */ |
| 146 | "", "", "", "", "", /* 110 - 114 */ |
| 147 | "", "", "", "", "", /* 115 - 119 */ |
| 148 | "", "", "", "", "", /* 120 - 124 */ |
| 149 | "", "", "", "", "", /* 125 - 129 */ |
| 150 | "", "", "", "", "", /* 130 - 134 */ |
| 151 | "", "", "", "", "", /* 135 - 139 */ |
| 152 | "", "", "", "", "", /* 140 - 144 */ |
| 153 | "", "", "", "", "", /* 145 - 149 */ |
| 154 | "", "", "", "", "", /* 150 - 154 */ |
| 155 | "", "", "", "", "", /* 155 - 159 */ |
| 156 | "", "", "", "", "", /* 160 - 164 */ |
| 157 | "", "", "", "", "", /* 165 - 169 */ |
| 158 | "", "", "", ""; /* 170 - 174 */ |
| 159 | }; |
| 160 | |
| 161 | &i2c0 { /* MIO 34-35 - can't stay here */ |
| 162 | status = "okay"; |
| 163 | clock-frequency = <400000>; |
| 164 | i2c-mux@74 { /* u46 */ |
| 165 | compatible = "nxp,pca9548"; |
| 166 | #address-cells = <1>; |
| 167 | #size-cells = <0>; |
| 168 | reg = <0x74>; |
| 169 | /* FIXME reset connected to SYSCTRL_IIC_MUX0_RESET */ |
| 170 | i2c@0 { /* PMBUS must be enabled via SW21 */ |
| 171 | #address-cells = <1>; |
| 172 | #size-cells = <0>; |
| 173 | reg = <0>; |
| 174 | reg_vcc1v2_lp4: tps544@15 { /* u97 */ |
| 175 | compatible = "ti,tps544b25"; |
| 176 | reg = <0x15>; |
| 177 | }; |
| 178 | reg_vcc1v1_lp4: tps544@16 { /* u95 */ |
| 179 | compatible = "ti,tps544b25"; |
| 180 | reg = <0x16>; |
| 181 | }; |
| 182 | reg_vdd1_1v8_lp4: tps544@17 { /* u99 */ |
| 183 | compatible = "ti,tps544b25"; |
| 184 | reg = <0x17>; |
| 185 | }; |
| 186 | /* UTIL_PMBUS connection */ |
| 187 | reg_vcc1v8: tps544@13 { /* u92 */ |
| 188 | compatible = "ti,tps544b25"; |
| 189 | reg = <0x13>; |
| 190 | }; |
| 191 | reg_vcc3v3: tps544@14 { /* u93 */ |
| 192 | compatible = "ti,tps544b25"; |
| 193 | reg = <0x14>; |
| 194 | }; |
| 195 | reg_vcc5v0: tps544@1e { /* u94 */ |
| 196 | compatible = "ti,tps544b25"; |
| 197 | reg = <0x1e>; |
| 198 | }; |
| 199 | }; |
| 200 | i2c@1 { /* PMBUS_INA226 */ |
| 201 | #address-cells = <1>; |
| 202 | #size-cells = <0>; |
| 203 | reg = <1>; |
| 204 | vcc_aux: ina226@42 { /* u86 */ |
| 205 | compatible = "ti,ina226"; |
Michal Simek | eaf96b1 | 2019-08-26 11:09:54 +0200 | [diff] [blame] | 206 | #io-channel-cells = <1>; |
Michal Simek | 33aaa09 | 2019-08-26 11:10:48 +0200 | [diff] [blame] | 207 | label = "ina226-vcc-aux"; |
Michal Simek | 64eb13b | 2019-04-12 12:19:22 +0200 | [diff] [blame] | 208 | reg = <0x42>; |
| 209 | shunt-resistor = <5000>; |
| 210 | }; |
| 211 | vcc_ram: ina226@43 { /* u81 */ |
| 212 | compatible = "ti,ina226"; |
Michal Simek | eaf96b1 | 2019-08-26 11:09:54 +0200 | [diff] [blame] | 213 | #io-channel-cells = <1>; |
Michal Simek | 33aaa09 | 2019-08-26 11:10:48 +0200 | [diff] [blame] | 214 | label = "ina226-vcc-ram"; |
Michal Simek | 64eb13b | 2019-04-12 12:19:22 +0200 | [diff] [blame] | 215 | reg = <0x43>; |
| 216 | shunt-resistor = <5000>; |
| 217 | }; |
| 218 | vcc1v1_lp4: ina226@46 { /* u96 */ |
| 219 | compatible = "ti,ina226"; |
Michal Simek | eaf96b1 | 2019-08-26 11:09:54 +0200 | [diff] [blame] | 220 | #io-channel-cells = <1>; |
Michal Simek | 33aaa09 | 2019-08-26 11:10:48 +0200 | [diff] [blame] | 221 | label = "ina226-vcc1v1-lp4"; |
Michal Simek | 64eb13b | 2019-04-12 12:19:22 +0200 | [diff] [blame] | 222 | reg = <0x46>; |
| 223 | shunt-resistor = <5000>; |
| 224 | }; |
| 225 | vcc1v2_lp4: ina226@47 { /* u98 */ |
| 226 | compatible = "ti,ina226"; |
Michal Simek | eaf96b1 | 2019-08-26 11:09:54 +0200 | [diff] [blame] | 227 | #io-channel-cells = <1>; |
Michal Simek | 33aaa09 | 2019-08-26 11:10:48 +0200 | [diff] [blame] | 228 | label = "ina226-vcc1v2-lp4"; |
Michal Simek | 64eb13b | 2019-04-12 12:19:22 +0200 | [diff] [blame] | 229 | reg = <0x47>; |
| 230 | shunt-resistor = <5000>; |
| 231 | }; |
| 232 | vdd1_1v8_lp4: ina226@48 { /* u100 */ |
| 233 | compatible = "ti,ina226"; |
Michal Simek | eaf96b1 | 2019-08-26 11:09:54 +0200 | [diff] [blame] | 234 | #io-channel-cells = <1>; |
Michal Simek | 33aaa09 | 2019-08-26 11:10:48 +0200 | [diff] [blame] | 235 | label = "ina226-vdd1-1v8-lp4"; |
Michal Simek | 64eb13b | 2019-04-12 12:19:22 +0200 | [diff] [blame] | 236 | reg = <0x48>; |
| 237 | shunt-resistor = <5000>; |
| 238 | }; |
| 239 | vcc0v6_lp4: ina226@49 { /* u101 */ |
| 240 | compatible = "ti,ina226"; |
Michal Simek | eaf96b1 | 2019-08-26 11:09:54 +0200 | [diff] [blame] | 241 | #io-channel-cells = <1>; |
Michal Simek | 33aaa09 | 2019-08-26 11:10:48 +0200 | [diff] [blame] | 242 | label = "ina226-vcc0v6-lp4"; |
Michal Simek | 64eb13b | 2019-04-12 12:19:22 +0200 | [diff] [blame] | 243 | reg = <0x49>; |
| 244 | shunt-resistor = <5000>; |
| 245 | }; |
| 246 | }; |
| 247 | i2c@2 { /* PMBUS1 */ |
| 248 | #address-cells = <1>; |
| 249 | #size-cells = <0>; |
| 250 | reg = <2>; |
| 251 | reg_vccint: tps53681@c0 { /* u69 */ |
Nishant Mittal | ebb28f2 | 2019-07-24 14:58:52 +0530 | [diff] [blame] | 252 | compatible = "ti,tps53681", "ti,tps53679"; |
Michal Simek | 64eb13b | 2019-04-12 12:19:22 +0200 | [diff] [blame] | 253 | reg = <0xc0>; |
| 254 | }; |
| 255 | reg_vcc_pmc: tps544@7 { /* u80 */ |
| 256 | compatible = "ti,tps544b25"; |
| 257 | reg = <0x7>; |
| 258 | }; |
| 259 | reg_vcc_ram: tps544@8 { /* u82 */ |
| 260 | compatible = "ti,tps544b25"; |
| 261 | reg = <0x8>; |
| 262 | }; |
| 263 | reg_vcc_pslp: tps544@9 { /* u83 */ |
| 264 | compatible = "ti,tps544b25"; |
| 265 | reg = <0x9>; |
| 266 | }; |
| 267 | reg_vcc_psfp: tps544@a { /* u84 */ |
| 268 | compatible = "ti,tps544b25"; |
| 269 | reg = <0xa>; |
| 270 | }; |
| 271 | reg_vccaux: tps544@d { /* u85 */ |
| 272 | compatible = "ti,tps544b25"; |
| 273 | reg = <0xd>; |
| 274 | }; |
| 275 | reg_vccaux_pmc: tps544@e { /* u87 */ |
| 276 | compatible = "ti,tps544b25"; |
| 277 | reg = <0xe>; |
| 278 | }; |
| 279 | reg_vcco_500: tps544@f { /* u88 */ |
| 280 | compatible = "ti,tps544b25"; |
| 281 | reg = <0xf>; |
| 282 | }; |
| 283 | reg_vcco_501: tps544@10 { /* u89 */ |
| 284 | compatible = "ti,tps544b25"; |
| 285 | reg = <0x10>; |
| 286 | }; |
| 287 | reg_vcco_502: tps544@11 { /* u90 */ |
| 288 | compatible = "ti,tps544b25"; |
| 289 | reg = <0x11>; |
| 290 | }; |
| 291 | reg_vcco_503: tps544@12 { /* u91 */ |
| 292 | compatible = "ti,tps544b25"; |
| 293 | reg = <0x12>; |
| 294 | }; |
| 295 | }; |
| 296 | i2c@3 { /* MEM PMBUS - FIXME bug in schematics */ |
| 297 | #address-cells = <1>; |
| 298 | #size-cells = <0>; |
| 299 | /* reg = <3>; */ |
| 300 | }; |
| 301 | i2c@4 { /* LP_I2C_SM */ |
| 302 | #address-cells = <1>; |
| 303 | #size-cells = <0>; |
| 304 | reg = <4>; |
| 305 | /* connected to U20G */ |
| 306 | }; |
| 307 | /* 5-7 unused */ |
| 308 | }; |
| 309 | }; |
| 310 | |
| 311 | /* TODO sysctrl via J239 */ |
| 312 | /* TODO samtec J212G/H via J242 */ |
| 313 | /* TODO teensy via U30 PCA9543A bus 1 */ |
| 314 | &i2c1 { /* i2c1 MIO 36-37 */ |
| 315 | status = "okay"; |
| 316 | clock-frequency = <400000>; |
| 317 | |
| 318 | /* Must be enabled via J242 */ |
| 319 | eeprom_versal: eeprom@51 { /* x-prc-01-revA u116, x-prc-02-revA u12 */ |
| 320 | compatible = "atmel,24c02"; |
| 321 | reg = <0x51>; |
| 322 | }; |
| 323 | |
Michal Simek | 2703d4b | 2019-06-28 13:52:09 +0200 | [diff] [blame] | 324 | i2c-mux@74 { /* u47 */ |
Michal Simek | 64eb13b | 2019-04-12 12:19:22 +0200 | [diff] [blame] | 325 | compatible = "nxp,pca9548"; |
| 326 | #address-cells = <1>; |
| 327 | #size-cells = <0>; |
| 328 | reg = <0x74>; |
| 329 | /* FIXME reset connected to SYSCTRL_IIC_MUX1_RESET */ |
| 330 | dc_i2c: i2c@0 { /* DC_I2C */ |
| 331 | #address-cells = <1>; |
| 332 | #size-cells = <0>; |
| 333 | reg = <0>; |
| 334 | /* Use for storing information about SC board */ |
| 335 | eeprom: eeprom@54 { /* u51 - m24128 16kB FIXME addr */ |
| 336 | compatible = "atmel,24c08"; |
| 337 | reg = <0x54>; |
| 338 | }; |
| 339 | si570_ref_clk: clock-generator@5d { /* u26 */ |
| 340 | #clock-cells = <0>; |
| 341 | compatible = "silabs,si570"; |
| 342 | reg = <0x5d>; /* FIXME addr */ |
| 343 | temperature-stability = <50>; |
Michal Simek | a34a12f | 2021-03-09 12:43:42 +0100 | [diff] [blame] | 344 | factory-fout = <33333333>; |
Michal Simek | 64eb13b | 2019-04-12 12:19:22 +0200 | [diff] [blame] | 345 | clock-frequency = <33333333>; |
| 346 | clock-output-names = "REF_CLK"; /* FIXME */ |
Michal Simek | a34a12f | 2021-03-09 12:43:42 +0100 | [diff] [blame] | 347 | silabs,skip-recall; |
Michal Simek | 64eb13b | 2019-04-12 12:19:22 +0200 | [diff] [blame] | 348 | }; |
| 349 | /* Connection via Samtec U20D */ |
| 350 | /* Use for storing information about X-PRC card */ |
| 351 | x_prc_eeprom: eeprom@52 { /* x-prc-01-revA u120, x-prc-02-revA u16 */ |
| 352 | compatible = "atmel,24c02"; |
| 353 | reg = <0x52>; |
| 354 | }; |
| 355 | |
| 356 | /* Use for setting up certain features on X-PRC card */ |
| 357 | x_prc_tca9534: gpio@22 { /* x-prc-01-revA u121, x-prc-02-revA u17 */ |
| 358 | compatible = "nxp,pca9534"; |
| 359 | reg = <0x22>; |
| 360 | gpio-controller; /* IRQ not connected */ |
| 361 | #gpio-cells = <2>; |
| 362 | gpio-line-names = "sw4_1", "sw4_2", "sw4_3", "sw4_4", |
| 363 | "", "", "", ""; |
| 364 | gtr_sel0 { |
| 365 | gpio-hog; |
| 366 | gpios = <0 0>; |
| 367 | input; /* FIXME add meaning */ |
| 368 | line-name = "sw4_1"; |
| 369 | }; |
| 370 | gtr_sel1 { |
| 371 | gpio-hog; |
| 372 | gpios = <1 0>; |
| 373 | input; /* FIXME add meaning */ |
| 374 | line-name = "sw4_2"; |
| 375 | }; |
| 376 | gtr_sel2 { |
| 377 | gpio-hog; |
| 378 | gpios = <2 0>; |
| 379 | input; /* FIXME add meaning */ |
| 380 | line-name = "sw4_3"; |
| 381 | }; |
| 382 | gtr_sel3 { |
| 383 | gpio-hog; |
| 384 | gpios = <3 0>; |
| 385 | input; /* FIXME add meaning */ |
| 386 | line-name = "sw4_4"; |
| 387 | }; |
| 388 | }; |
| 389 | }; |
Michal Simek | 64eb13b | 2019-04-12 12:19:22 +0200 | [diff] [blame] | 390 | i2c@2 { /* C0_LP4 */ |
| 391 | #address-cells = <1>; |
| 392 | #size-cells = <0>; |
| 393 | reg = <2>; |
Michal Simek | 2703d4b | 2019-06-28 13:52:09 +0200 | [diff] [blame] | 394 | si570_c0_lp4: clock-generator@55 { /* u10 */ |
Michal Simek | 64eb13b | 2019-04-12 12:19:22 +0200 | [diff] [blame] | 395 | #clock-cells = <0>; |
| 396 | compatible = "silabs,si570"; |
Michal Simek | 2703d4b | 2019-06-28 13:52:09 +0200 | [diff] [blame] | 397 | reg = <0x55>; |
Michal Simek | 64eb13b | 2019-04-12 12:19:22 +0200 | [diff] [blame] | 398 | temperature-stability = <50>; |
| 399 | factory-fout = <30000000>; |
| 400 | clock-frequency = <30000000>; |
| 401 | clock-output-names = "C0_LP4_SI570_CLK"; |
| 402 | }; |
| 403 | }; |
| 404 | i2c@3 { /* C1_LP4 */ |
| 405 | #address-cells = <1>; |
| 406 | #size-cells = <0>; |
| 407 | reg = <3>; |
| 408 | si570_c1_lp4: clock-generator@5d { /* u10 */ |
| 409 | #clock-cells = <0>; |
| 410 | compatible = "silabs,si570"; |
| 411 | reg = <0x5d>; /* FIXME addr */ |
| 412 | temperature-stability = <50>; |
| 413 | factory-fout = <30000000>; |
| 414 | clock-frequency = <30000000>; |
| 415 | clock-output-names = "C1_LP4_SI570_CLK"; |
| 416 | }; |
| 417 | }; |
| 418 | i2c@4 { /* C2_LP4 */ |
| 419 | #address-cells = <1>; |
| 420 | #size-cells = <0>; |
| 421 | reg = <4>; |
Michal Simek | 2703d4b | 2019-06-28 13:52:09 +0200 | [diff] [blame] | 422 | si570_c2_lp4: clock-generator@55 { /* u10 */ |
Michal Simek | 64eb13b | 2019-04-12 12:19:22 +0200 | [diff] [blame] | 423 | #clock-cells = <0>; |
| 424 | compatible = "silabs,si570"; |
Michal Simek | 2703d4b | 2019-06-28 13:52:09 +0200 | [diff] [blame] | 425 | reg = <0x55>; |
Michal Simek | 64eb13b | 2019-04-12 12:19:22 +0200 | [diff] [blame] | 426 | temperature-stability = <50>; |
| 427 | factory-fout = <30000000>; |
| 428 | clock-frequency = <30000000>; |
| 429 | clock-output-names = "C2_LP4_SI570_CLK"; |
| 430 | }; |
| 431 | }; |
| 432 | i2c@5 { /* C3_LP4 */ |
| 433 | #address-cells = <1>; |
| 434 | #size-cells = <0>; |
| 435 | reg = <5>; |
Michal Simek | 2703d4b | 2019-06-28 13:52:09 +0200 | [diff] [blame] | 436 | si570_c3_lp4: clock-generator@55 { /* u15 */ |
Michal Simek | 64eb13b | 2019-04-12 12:19:22 +0200 | [diff] [blame] | 437 | #clock-cells = <0>; |
| 438 | compatible = "silabs,si570"; |
Michal Simek | 2703d4b | 2019-06-28 13:52:09 +0200 | [diff] [blame] | 439 | reg = <0x55>; |
Michal Simek | 64eb13b | 2019-04-12 12:19:22 +0200 | [diff] [blame] | 440 | temperature-stability = <50>; |
| 441 | factory-fout = <30000000>; |
| 442 | clock-frequency = <30000000>; |
| 443 | clock-output-names = "C3_LP4_SI570_CLK"; |
| 444 | }; |
| 445 | }; |
| 446 | i2c@6 { /* HSDP_SI570 */ |
| 447 | #address-cells = <1>; |
| 448 | #size-cells = <0>; |
| 449 | reg = <6>; |
| 450 | si570_hsdp: clock-generator@5d { /* u19 */ |
| 451 | #clock-cells = <0>; |
| 452 | compatible = "silabs,si570"; |
| 453 | reg = <0x5d>; /* FIXME addr */ |
| 454 | temperature-stability = <50>; |
Michal Simek | 2703d4b | 2019-06-28 13:52:09 +0200 | [diff] [blame] | 455 | factory-fout = <156250000>; |
| 456 | clock-frequency = <156250000>; |
Michal Simek | 64eb13b | 2019-04-12 12:19:22 +0200 | [diff] [blame] | 457 | clock-output-names = "HSDP_SI570"; |
| 458 | }; |
| 459 | }; |
| 460 | }; |
| 461 | }; |
| 462 | |
| 463 | &usb0 { |
| 464 | status = "okay"; |
| 465 | xlnx,usb-polarity = <0>; |
| 466 | xlnx,usb-reset-mode = <0>; |
| 467 | }; |
| 468 | |
| 469 | &dwc3_0 { |
| 470 | status = "okay"; |
| 471 | dr_mode = "host"; |
| 472 | /* dr_mode = "peripheral"; */ |
| 473 | maximum-speed = "high-speed"; |
| 474 | }; |
| 475 | |
| 476 | &usb1 { |
| 477 | status = "disabled"; /* not at mem board */ |
| 478 | xlnx,usb-polarity = <0>; |
| 479 | xlnx,usb-reset-mode = <0>; |
| 480 | }; |
| 481 | |
| 482 | &dwc3_1 { |
| 483 | /delete-property/ phy-names ; |
| 484 | /delete-property/ phys ; |
| 485 | maximum-speed = "high-speed"; |
| 486 | snps,dis_u2_susphy_quirk ; |
| 487 | snps,dis_u3_susphy_quirk ; |
| 488 | status = "disabled"; |
| 489 | }; |