Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * dts file for Xilinx ZynqMP ZCU106 |
| 4 | * |
Michal Simek | 821e32a | 2021-05-31 09:50:01 +0200 | [diff] [blame] | 5 | * (C) Copyright 2016 - 2021, Xilinx, Inc. |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +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> |
Michal Simek | f7b922a | 2021-05-10 13:14:02 +0200 | [diff] [blame] | 16 | #include <dt-bindings/pinctrl/pinctrl-zynqmp.h> |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 17 | #include <dt-bindings/phy/phy.h> |
| 18 | |
| 19 | / { |
| 20 | model = "ZynqMP ZCU106 RevA"; |
| 21 | compatible = "xlnx,zynqmp-zcu106-revA", "xlnx,zynqmp-zcu106", "xlnx,zynqmp"; |
| 22 | |
| 23 | aliases { |
| 24 | ethernet0 = &gem3; |
| 25 | gpio0 = &gpio; |
| 26 | i2c0 = &i2c0; |
| 27 | i2c1 = &i2c1; |
| 28 | mmc0 = &sdhci1; |
| 29 | rtc0 = &rtc; |
| 30 | serial0 = &uart0; |
| 31 | serial1 = &uart1; |
| 32 | serial2 = &dcc; |
| 33 | spi0 = &qspi; |
| 34 | usb0 = &usb0; |
| 35 | }; |
| 36 | |
| 37 | chosen { |
| 38 | bootargs = "earlycon"; |
| 39 | stdout-path = "serial0:115200n8"; |
Michal Simek | 53b97e6 | 2019-01-18 09:10:39 +0100 | [diff] [blame] | 40 | xlnx,eeprom = &eeprom; |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 41 | }; |
| 42 | |
| 43 | memory@0 { |
| 44 | device_type = "memory"; |
| 45 | reg = <0x0 0x0 0x0 0x80000000>, <0x8 0x00000000 0x0 0x80000000>; |
| 46 | }; |
| 47 | |
| 48 | gpio-keys { |
| 49 | compatible = "gpio-keys"; |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 50 | autorepeat; |
| 51 | sw19 { |
| 52 | label = "sw19"; |
| 53 | gpios = <&gpio 22 GPIO_ACTIVE_HIGH>; |
| 54 | linux,code = <KEY_DOWN>; |
Sudeep Holla | 13104ce | 2018-10-24 12:45:40 +0100 | [diff] [blame] | 55 | wakeup-source; |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 56 | autorepeat; |
| 57 | }; |
| 58 | }; |
| 59 | |
| 60 | leds { |
| 61 | compatible = "gpio-leds"; |
Michal Simek | 2ef5336 | 2018-11-08 10:06:53 +0100 | [diff] [blame] | 62 | heartbeat-led { |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 63 | label = "heartbeat"; |
| 64 | gpios = <&gpio 23 GPIO_ACTIVE_HIGH>; |
| 65 | linux,default-trigger = "heartbeat"; |
| 66 | }; |
| 67 | }; |
Michal Simek | 2ec41ef | 2019-08-26 09:46:36 +0200 | [diff] [blame] | 68 | |
| 69 | ina226-u76 { |
| 70 | compatible = "iio-hwmon"; |
| 71 | io-channels = <&u76 0>, <&u76 1>, <&u76 2>, <&u76 3>; |
| 72 | }; |
| 73 | ina226-u77 { |
| 74 | compatible = "iio-hwmon"; |
| 75 | io-channels = <&u77 0>, <&u77 1>, <&u77 2>, <&u77 3>; |
| 76 | }; |
| 77 | ina226-u78 { |
| 78 | compatible = "iio-hwmon"; |
| 79 | io-channels = <&u78 0>, <&u78 1>, <&u78 2>, <&u78 3>; |
| 80 | }; |
| 81 | ina226-u87 { |
| 82 | compatible = "iio-hwmon"; |
| 83 | io-channels = <&u87 0>, <&u87 1>, <&u87 2>, <&u87 3>; |
| 84 | }; |
| 85 | ina226-u85 { |
| 86 | compatible = "iio-hwmon"; |
| 87 | io-channels = <&u85 0>, <&u85 1>, <&u85 2>, <&u85 3>; |
| 88 | }; |
| 89 | ina226-u86 { |
| 90 | compatible = "iio-hwmon"; |
| 91 | io-channels = <&u86 0>, <&u86 1>, <&u86 2>, <&u86 3>; |
| 92 | }; |
| 93 | ina226-u93 { |
| 94 | compatible = "iio-hwmon"; |
| 95 | io-channels = <&u93 0>, <&u93 1>, <&u93 2>, <&u93 3>; |
| 96 | }; |
| 97 | ina226-u88 { |
| 98 | compatible = "iio-hwmon"; |
| 99 | io-channels = <&u88 0>, <&u88 1>, <&u88 2>, <&u88 3>; |
| 100 | }; |
| 101 | ina226-u15 { |
| 102 | compatible = "iio-hwmon"; |
| 103 | io-channels = <&u15 0>, <&u15 1>, <&u15 2>, <&u15 3>; |
| 104 | }; |
| 105 | ina226-u92 { |
| 106 | compatible = "iio-hwmon"; |
| 107 | io-channels = <&u92 0>, <&u92 1>, <&u92 2>, <&u92 3>; |
| 108 | }; |
| 109 | ina226-u79 { |
| 110 | compatible = "iio-hwmon"; |
| 111 | io-channels = <&u79 0>, <&u79 1>, <&u79 2>, <&u79 3>; |
| 112 | }; |
| 113 | ina226-u81 { |
| 114 | compatible = "iio-hwmon"; |
| 115 | io-channels = <&u81 0>, <&u81 1>, <&u81 2>, <&u81 3>; |
| 116 | }; |
| 117 | ina226-u80 { |
| 118 | compatible = "iio-hwmon"; |
| 119 | io-channels = <&u80 0>, <&u80 1>, <&u80 2>, <&u80 3>; |
| 120 | }; |
| 121 | ina226-u84 { |
| 122 | compatible = "iio-hwmon"; |
| 123 | io-channels = <&u84 0>, <&u84 1>, <&u84 2>, <&u84 3>; |
| 124 | }; |
| 125 | ina226-u16 { |
| 126 | compatible = "iio-hwmon"; |
| 127 | io-channels = <&u16 0>, <&u16 1>, <&u16 2>, <&u16 3>; |
| 128 | }; |
| 129 | ina226-u65 { |
| 130 | compatible = "iio-hwmon"; |
| 131 | io-channels = <&u65 0>, <&u65 1>, <&u65 2>, <&u65 3>; |
| 132 | }; |
| 133 | ina226-u74 { |
| 134 | compatible = "iio-hwmon"; |
| 135 | io-channels = <&u74 0>, <&u74 1>, <&u74 2>, <&u74 3>; |
| 136 | }; |
| 137 | ina226-u75 { |
| 138 | compatible = "iio-hwmon"; |
| 139 | io-channels = <&u75 0>, <&u75 1>, <&u75 2>, <&u75 3>; |
| 140 | }; |
Michal Simek | 958c0e9 | 2020-11-26 14:25:02 +0100 | [diff] [blame] | 141 | |
| 142 | /* 48MHz reference crystal */ |
| 143 | ref48: ref48M { |
| 144 | compatible = "fixed-clock"; |
| 145 | #clock-cells = <0>; |
| 146 | clock-frequency = <48000000>; |
| 147 | }; |
| 148 | |
| 149 | refhdmi: refhdmi { |
| 150 | compatible = "fixed-clock"; |
| 151 | #clock-cells = <0>; |
| 152 | clock-frequency = <114285000>; |
| 153 | }; |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 154 | }; |
| 155 | |
| 156 | &can1 { |
| 157 | status = "okay"; |
Michal Simek | f7b922a | 2021-05-10 13:14:02 +0200 | [diff] [blame] | 158 | pinctrl-names = "default"; |
| 159 | pinctrl-0 = <&pinctrl_can1_default>; |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 160 | }; |
| 161 | |
| 162 | &dcc { |
| 163 | status = "okay"; |
Michal Simek | 958c0e9 | 2020-11-26 14:25:02 +0100 | [diff] [blame] | 164 | }; |
| 165 | |
Michal Simek | 958c0e9 | 2020-11-26 14:25:02 +0100 | [diff] [blame] | 166 | /* fpd_dma clk 667MHz, lpd_dma 500MHz */ |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 167 | &fpd_dma_chan1 { |
| 168 | status = "okay"; |
| 169 | }; |
| 170 | |
| 171 | &fpd_dma_chan2 { |
| 172 | status = "okay"; |
| 173 | }; |
| 174 | |
| 175 | &fpd_dma_chan3 { |
| 176 | status = "okay"; |
| 177 | }; |
| 178 | |
| 179 | &fpd_dma_chan4 { |
| 180 | status = "okay"; |
| 181 | }; |
| 182 | |
| 183 | &fpd_dma_chan5 { |
| 184 | status = "okay"; |
| 185 | }; |
| 186 | |
| 187 | &fpd_dma_chan6 { |
| 188 | status = "okay"; |
| 189 | }; |
| 190 | |
| 191 | &fpd_dma_chan7 { |
| 192 | status = "okay"; |
| 193 | }; |
| 194 | |
| 195 | &fpd_dma_chan8 { |
| 196 | status = "okay"; |
| 197 | }; |
| 198 | |
| 199 | &gem3 { |
| 200 | status = "okay"; |
| 201 | phy-handle = <&phy0>; |
| 202 | phy-mode = "rgmii-id"; |
Michal Simek | f7b922a | 2021-05-10 13:14:02 +0200 | [diff] [blame] | 203 | pinctrl-names = "default"; |
| 204 | pinctrl-0 = <&pinctrl_gem3_default>; |
Michal Simek | 393decf | 2019-08-08 12:44:22 +0200 | [diff] [blame] | 205 | phy0: ethernet-phy@c { |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 206 | reg = <0xc>; |
| 207 | ti,rx-internal-delay = <0x8>; |
| 208 | ti,tx-internal-delay = <0xa>; |
| 209 | ti,fifo-depth = <0x1>; |
Harini Katakam | 991a161 | 2019-02-13 17:02:21 +0530 | [diff] [blame] | 210 | ti,dp83867-rxctrl-strap-quirk; |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 211 | }; |
| 212 | }; |
| 213 | |
| 214 | &gpio { |
| 215 | status = "okay"; |
Michal Simek | f7b922a | 2021-05-10 13:14:02 +0200 | [diff] [blame] | 216 | pinctrl-names = "default"; |
| 217 | pinctrl-0 = <&pinctrl_gpio_default>; |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 218 | }; |
| 219 | |
| 220 | &gpu { |
| 221 | status = "okay"; |
| 222 | }; |
| 223 | |
| 224 | &i2c0 { |
| 225 | status = "okay"; |
| 226 | clock-frequency = <400000>; |
Michal Simek | f7b922a | 2021-05-10 13:14:02 +0200 | [diff] [blame] | 227 | pinctrl-names = "default", "gpio"; |
| 228 | pinctrl-0 = <&pinctrl_i2c0_default>; |
| 229 | pinctrl-1 = <&pinctrl_i2c0_gpio>; |
| 230 | scl-gpios = <&gpio 14 GPIO_ACTIVE_HIGH>; |
| 231 | sda-gpios = <&gpio 15 GPIO_ACTIVE_HIGH>; |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 232 | |
| 233 | tca6416_u97: gpio@20 { |
| 234 | compatible = "ti,tca6416"; |
| 235 | reg = <0x20>; |
| 236 | gpio-controller; /* interrupt not connected */ |
| 237 | #gpio-cells = <2>; |
| 238 | /* |
| 239 | * IRQ not connected |
| 240 | * Lines: |
| 241 | * 0 - SFP_SI5328_INT_ALM |
| 242 | * 1 - HDMI_SI5328_INT_ALM |
| 243 | * 5 - IIC_MUX_RESET_B |
| 244 | * 6 - GEM3_EXP_RESET_B |
| 245 | * 10 - FMC_HPC0_PRSNT_M2C_B |
| 246 | * 11 - FMC_HPC1_PRSNT_M2C_B |
| 247 | * 2-4, 7, 12-17 - not connected |
| 248 | */ |
| 249 | }; |
| 250 | |
| 251 | tca6416_u61: gpio@21 { |
| 252 | compatible = "ti,tca6416"; |
| 253 | reg = <0x21>; |
| 254 | gpio-controller; |
| 255 | #gpio-cells = <2>; |
| 256 | /* |
| 257 | * IRQ not connected |
| 258 | * Lines: |
| 259 | * 0 - VCCPSPLL_EN |
| 260 | * 1 - MGTRAVCC_EN |
| 261 | * 2 - MGTRAVTT_EN |
| 262 | * 3 - VCCPSDDRPLL_EN |
| 263 | * 4 - MIO26_PMU_INPUT_LS |
| 264 | * 5 - PL_PMBUS_ALERT |
| 265 | * 6 - PS_PMBUS_ALERT |
| 266 | * 7 - MAXIM_PMBUS_ALERT |
| 267 | * 10 - PL_DDR4_VTERM_EN |
| 268 | * 11 - PL_DDR4_VPP_2V5_EN |
| 269 | * 12 - PS_DIMM_VDDQ_TO_PSVCCO_ON |
| 270 | * 13 - PS_DIMM_SUSPEND_EN |
| 271 | * 14 - PS_DDR4_VTERM_EN |
| 272 | * 15 - PS_DDR4_VPP_2V5_EN |
| 273 | * 16 - 17 - not connected |
| 274 | */ |
| 275 | }; |
| 276 | |
| 277 | i2c-mux@75 { /* u60 */ |
| 278 | compatible = "nxp,pca9544"; |
| 279 | #address-cells = <1>; |
| 280 | #size-cells = <0>; |
| 281 | reg = <0x75>; |
| 282 | i2c@0 { |
| 283 | #address-cells = <1>; |
| 284 | #size-cells = <0>; |
| 285 | reg = <0>; |
| 286 | /* PS_PMBUS */ |
Michal Simek | 2ec41ef | 2019-08-26 09:46:36 +0200 | [diff] [blame] | 287 | u76: ina226@40 { /* u76 */ |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 288 | compatible = "ti,ina226"; |
Michal Simek | 2ec41ef | 2019-08-26 09:46:36 +0200 | [diff] [blame] | 289 | #io-channel-cells = <1>; |
Michal Simek | 9df54d1 | 2019-08-26 10:18:13 +0200 | [diff] [blame] | 290 | label = "ina226-u76"; |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 291 | reg = <0x40>; |
| 292 | shunt-resistor = <5000>; |
| 293 | }; |
Michal Simek | 2ec41ef | 2019-08-26 09:46:36 +0200 | [diff] [blame] | 294 | u77: ina226@41 { /* u77 */ |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 295 | compatible = "ti,ina226"; |
Michal Simek | 2ec41ef | 2019-08-26 09:46:36 +0200 | [diff] [blame] | 296 | #io-channel-cells = <1>; |
Michal Simek | 9df54d1 | 2019-08-26 10:18:13 +0200 | [diff] [blame] | 297 | label = "ina226-u77"; |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 298 | reg = <0x41>; |
| 299 | shunt-resistor = <5000>; |
| 300 | }; |
Michal Simek | 2ec41ef | 2019-08-26 09:46:36 +0200 | [diff] [blame] | 301 | u78: ina226@42 { /* u78 */ |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 302 | compatible = "ti,ina226"; |
Michal Simek | 2ec41ef | 2019-08-26 09:46:36 +0200 | [diff] [blame] | 303 | #io-channel-cells = <1>; |
Michal Simek | 9df54d1 | 2019-08-26 10:18:13 +0200 | [diff] [blame] | 304 | label = "ina226-u78"; |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 305 | reg = <0x42>; |
| 306 | shunt-resistor = <5000>; |
| 307 | }; |
Michal Simek | 2ec41ef | 2019-08-26 09:46:36 +0200 | [diff] [blame] | 308 | u87: ina226@43 { /* u87 */ |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 309 | compatible = "ti,ina226"; |
Michal Simek | 2ec41ef | 2019-08-26 09:46:36 +0200 | [diff] [blame] | 310 | #io-channel-cells = <1>; |
Michal Simek | 9df54d1 | 2019-08-26 10:18:13 +0200 | [diff] [blame] | 311 | label = "ina226-u87"; |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 312 | reg = <0x43>; |
| 313 | shunt-resistor = <5000>; |
| 314 | }; |
Michal Simek | 2ec41ef | 2019-08-26 09:46:36 +0200 | [diff] [blame] | 315 | u85: ina226@44 { /* u85 */ |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 316 | compatible = "ti,ina226"; |
Michal Simek | 2ec41ef | 2019-08-26 09:46:36 +0200 | [diff] [blame] | 317 | #io-channel-cells = <1>; |
Michal Simek | 9df54d1 | 2019-08-26 10:18:13 +0200 | [diff] [blame] | 318 | label = "ina226-u85"; |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 319 | reg = <0x44>; |
| 320 | shunt-resistor = <5000>; |
| 321 | }; |
Michal Simek | 2ec41ef | 2019-08-26 09:46:36 +0200 | [diff] [blame] | 322 | u86: ina226@45 { /* u86 */ |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 323 | compatible = "ti,ina226"; |
Michal Simek | 2ec41ef | 2019-08-26 09:46:36 +0200 | [diff] [blame] | 324 | #io-channel-cells = <1>; |
Michal Simek | 9df54d1 | 2019-08-26 10:18:13 +0200 | [diff] [blame] | 325 | label = "ina226-u86"; |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 326 | reg = <0x45>; |
| 327 | shunt-resistor = <5000>; |
| 328 | }; |
Michal Simek | 2ec41ef | 2019-08-26 09:46:36 +0200 | [diff] [blame] | 329 | u93: ina226@46 { /* u93 */ |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 330 | compatible = "ti,ina226"; |
Michal Simek | 2ec41ef | 2019-08-26 09:46:36 +0200 | [diff] [blame] | 331 | #io-channel-cells = <1>; |
Michal Simek | 9df54d1 | 2019-08-26 10:18:13 +0200 | [diff] [blame] | 332 | label = "ina226-u93"; |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 333 | reg = <0x46>; |
| 334 | shunt-resistor = <5000>; |
| 335 | }; |
Michal Simek | 2ec41ef | 2019-08-26 09:46:36 +0200 | [diff] [blame] | 336 | u88: ina226@47 { /* u88 */ |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 337 | compatible = "ti,ina226"; |
Michal Simek | 2ec41ef | 2019-08-26 09:46:36 +0200 | [diff] [blame] | 338 | #io-channel-cells = <1>; |
Michal Simek | 9df54d1 | 2019-08-26 10:18:13 +0200 | [diff] [blame] | 339 | label = "ina226-u88"; |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 340 | reg = <0x47>; |
| 341 | shunt-resistor = <5000>; |
| 342 | }; |
Michal Simek | 2ec41ef | 2019-08-26 09:46:36 +0200 | [diff] [blame] | 343 | u15: ina226@4a { /* u15 */ |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 344 | compatible = "ti,ina226"; |
Michal Simek | 2ec41ef | 2019-08-26 09:46:36 +0200 | [diff] [blame] | 345 | #io-channel-cells = <1>; |
Michal Simek | 9df54d1 | 2019-08-26 10:18:13 +0200 | [diff] [blame] | 346 | label = "ina226-u15"; |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 347 | reg = <0x4a>; |
| 348 | shunt-resistor = <5000>; |
| 349 | }; |
Michal Simek | 2ec41ef | 2019-08-26 09:46:36 +0200 | [diff] [blame] | 350 | u92: ina226@4b { /* u92 */ |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 351 | compatible = "ti,ina226"; |
Michal Simek | 2ec41ef | 2019-08-26 09:46:36 +0200 | [diff] [blame] | 352 | #io-channel-cells = <1>; |
Michal Simek | 9df54d1 | 2019-08-26 10:18:13 +0200 | [diff] [blame] | 353 | label = "ina226-u92"; |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 354 | reg = <0x4b>; |
| 355 | shunt-resistor = <5000>; |
| 356 | }; |
| 357 | }; |
| 358 | i2c@1 { |
| 359 | #address-cells = <1>; |
| 360 | #size-cells = <0>; |
| 361 | reg = <1>; |
| 362 | /* PL_PMBUS */ |
Michal Simek | 2ec41ef | 2019-08-26 09:46:36 +0200 | [diff] [blame] | 363 | u79: ina226@40 { /* u79 */ |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 364 | compatible = "ti,ina226"; |
Michal Simek | 2ec41ef | 2019-08-26 09:46:36 +0200 | [diff] [blame] | 365 | #io-channel-cells = <1>; |
Michal Simek | 9df54d1 | 2019-08-26 10:18:13 +0200 | [diff] [blame] | 366 | label = "ina226-u79"; |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 367 | reg = <0x40>; |
| 368 | shunt-resistor = <2000>; |
| 369 | }; |
Michal Simek | 2ec41ef | 2019-08-26 09:46:36 +0200 | [diff] [blame] | 370 | u81: ina226@41 { /* u81 */ |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 371 | compatible = "ti,ina226"; |
Michal Simek | 2ec41ef | 2019-08-26 09:46:36 +0200 | [diff] [blame] | 372 | #io-channel-cells = <1>; |
Michal Simek | 9df54d1 | 2019-08-26 10:18:13 +0200 | [diff] [blame] | 373 | label = "ina226-u81"; |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 374 | reg = <0x41>; |
| 375 | shunt-resistor = <5000>; |
| 376 | }; |
Michal Simek | 2ec41ef | 2019-08-26 09:46:36 +0200 | [diff] [blame] | 377 | u80: ina226@42 { /* u80 */ |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 378 | compatible = "ti,ina226"; |
Michal Simek | 2ec41ef | 2019-08-26 09:46:36 +0200 | [diff] [blame] | 379 | #io-channel-cells = <1>; |
Michal Simek | 9df54d1 | 2019-08-26 10:18:13 +0200 | [diff] [blame] | 380 | label = "ina226-u80"; |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 381 | reg = <0x42>; |
| 382 | shunt-resistor = <5000>; |
| 383 | }; |
Michal Simek | 2ec41ef | 2019-08-26 09:46:36 +0200 | [diff] [blame] | 384 | u84: ina226@43 { /* u84 */ |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 385 | compatible = "ti,ina226"; |
Michal Simek | 2ec41ef | 2019-08-26 09:46:36 +0200 | [diff] [blame] | 386 | #io-channel-cells = <1>; |
Michal Simek | 9df54d1 | 2019-08-26 10:18:13 +0200 | [diff] [blame] | 387 | label = "ina226-u84"; |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 388 | reg = <0x43>; |
| 389 | shunt-resistor = <5000>; |
| 390 | }; |
Michal Simek | 2ec41ef | 2019-08-26 09:46:36 +0200 | [diff] [blame] | 391 | u16: ina226@44 { /* u16 */ |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 392 | compatible = "ti,ina226"; |
Michal Simek | 2ec41ef | 2019-08-26 09:46:36 +0200 | [diff] [blame] | 393 | #io-channel-cells = <1>; |
Michal Simek | 9df54d1 | 2019-08-26 10:18:13 +0200 | [diff] [blame] | 394 | label = "ina226-u16"; |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 395 | reg = <0x44>; |
| 396 | shunt-resistor = <5000>; |
| 397 | }; |
Michal Simek | 2ec41ef | 2019-08-26 09:46:36 +0200 | [diff] [blame] | 398 | u65: ina226@45 { /* u65 */ |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 399 | compatible = "ti,ina226"; |
Michal Simek | 2ec41ef | 2019-08-26 09:46:36 +0200 | [diff] [blame] | 400 | #io-channel-cells = <1>; |
Michal Simek | 9df54d1 | 2019-08-26 10:18:13 +0200 | [diff] [blame] | 401 | label = "ina226-u65"; |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 402 | reg = <0x45>; |
| 403 | shunt-resistor = <5000>; |
| 404 | }; |
Michal Simek | 2ec41ef | 2019-08-26 09:46:36 +0200 | [diff] [blame] | 405 | u74: ina226@46 { /* u74 */ |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 406 | compatible = "ti,ina226"; |
Michal Simek | 2ec41ef | 2019-08-26 09:46:36 +0200 | [diff] [blame] | 407 | #io-channel-cells = <1>; |
Michal Simek | 9df54d1 | 2019-08-26 10:18:13 +0200 | [diff] [blame] | 408 | label = "ina226-u74"; |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 409 | reg = <0x46>; |
| 410 | shunt-resistor = <5000>; |
| 411 | }; |
Michal Simek | 2ec41ef | 2019-08-26 09:46:36 +0200 | [diff] [blame] | 412 | u75: ina226@47 { /* u75 */ |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 413 | compatible = "ti,ina226"; |
Michal Simek | 2ec41ef | 2019-08-26 09:46:36 +0200 | [diff] [blame] | 414 | #io-channel-cells = <1>; |
Michal Simek | 9df54d1 | 2019-08-26 10:18:13 +0200 | [diff] [blame] | 415 | label = "ina226-u75"; |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 416 | reg = <0x47>; |
| 417 | shunt-resistor = <5000>; |
| 418 | }; |
| 419 | }; |
| 420 | i2c@2 { |
| 421 | #address-cells = <1>; |
| 422 | #size-cells = <0>; |
| 423 | reg = <2>; |
| 424 | /* MAXIM_PMBUS - 00 */ |
| 425 | max15301@a { /* u46 */ |
| 426 | compatible = "maxim,max15301"; |
| 427 | reg = <0xa>; |
| 428 | }; |
| 429 | max15303@b { /* u4 */ |
| 430 | compatible = "maxim,max15303"; |
| 431 | reg = <0xb>; |
| 432 | }; |
| 433 | max15303@10 { /* u13 */ |
| 434 | compatible = "maxim,max15303"; |
| 435 | reg = <0x10>; |
| 436 | }; |
| 437 | max15301@13 { /* u47 */ |
| 438 | compatible = "maxim,max15301"; |
| 439 | reg = <0x13>; |
| 440 | }; |
| 441 | max15303@14 { /* u7 */ |
| 442 | compatible = "maxim,max15303"; |
| 443 | reg = <0x14>; |
| 444 | }; |
| 445 | max15303@15 { /* u6 */ |
| 446 | compatible = "maxim,max15303"; |
| 447 | reg = <0x15>; |
| 448 | }; |
| 449 | max15303@16 { /* u10 */ |
| 450 | compatible = "maxim,max15303"; |
| 451 | reg = <0x16>; |
| 452 | }; |
| 453 | max15303@17 { /* u9 */ |
| 454 | compatible = "maxim,max15303"; |
| 455 | reg = <0x17>; |
| 456 | }; |
| 457 | max15301@18 { /* u63 */ |
| 458 | compatible = "maxim,max15301"; |
| 459 | reg = <0x18>; |
| 460 | }; |
| 461 | max15303@1a { /* u49 */ |
| 462 | compatible = "maxim,max15303"; |
| 463 | reg = <0x1a>; |
| 464 | }; |
| 465 | max15303@1b { /* u8 */ |
| 466 | compatible = "maxim,max15303"; |
| 467 | reg = <0x1b>; |
| 468 | }; |
| 469 | max15303@1d { /* u18 */ |
| 470 | compatible = "maxim,max15303"; |
| 471 | reg = <0x1d>; |
| 472 | }; |
| 473 | |
| 474 | max20751@72 { /* u95 */ |
| 475 | compatible = "maxim,max20751"; |
| 476 | reg = <0x72>; |
| 477 | }; |
| 478 | max20751@73 { /* u96 */ |
| 479 | compatible = "maxim,max20751"; |
| 480 | reg = <0x73>; |
| 481 | }; |
| 482 | }; |
| 483 | /* Bus 3 is not connected */ |
| 484 | }; |
| 485 | }; |
| 486 | |
| 487 | &i2c1 { |
| 488 | status = "okay"; |
| 489 | clock-frequency = <400000>; |
Michal Simek | f7b922a | 2021-05-10 13:14:02 +0200 | [diff] [blame] | 490 | pinctrl-names = "default", "gpio"; |
| 491 | pinctrl-0 = <&pinctrl_i2c1_default>; |
| 492 | pinctrl-1 = <&pinctrl_i2c1_gpio>; |
| 493 | scl-gpios = <&gpio 16 GPIO_ACTIVE_HIGH>; |
| 494 | sda-gpios = <&gpio 17 GPIO_ACTIVE_HIGH>; |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 495 | |
| 496 | /* PL i2c via PCA9306 - u45 */ |
| 497 | i2c-mux@74 { /* u34 */ |
| 498 | compatible = "nxp,pca9548"; |
| 499 | #address-cells = <1>; |
| 500 | #size-cells = <0>; |
| 501 | reg = <0x74>; |
| 502 | i2c@0 { |
| 503 | #address-cells = <1>; |
| 504 | #size-cells = <0>; |
| 505 | reg = <0>; |
| 506 | /* |
| 507 | * IIC_EEPROM 1kB memory which uses 256B blocks |
| 508 | * where every block has different address. |
| 509 | * 0 - 256B address 0x54 |
| 510 | * 256B - 512B address 0x55 |
| 511 | * 512B - 768B address 0x56 |
| 512 | * 768B - 1024B address 0x57 |
| 513 | */ |
| 514 | eeprom: eeprom@54 { /* u23 */ |
| 515 | compatible = "atmel,24c08"; |
| 516 | reg = <0x54>; |
| 517 | }; |
| 518 | }; |
| 519 | i2c@1 { |
| 520 | #address-cells = <1>; |
| 521 | #size-cells = <0>; |
| 522 | reg = <1>; |
| 523 | si5341: clock-generator@36 { /* SI5341 - u69 */ |
Michal Simek | 958c0e9 | 2020-11-26 14:25:02 +0100 | [diff] [blame] | 524 | compatible = "silabs,si5341"; |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 525 | reg = <0x36>; |
Michal Simek | 958c0e9 | 2020-11-26 14:25:02 +0100 | [diff] [blame] | 526 | #clock-cells = <2>; |
| 527 | #address-cells = <1>; |
| 528 | #size-cells = <0>; |
| 529 | clocks = <&ref48>; |
| 530 | clock-names = "xtal"; |
| 531 | clock-output-names = "si5341"; |
| 532 | |
| 533 | si5341_0: out@0 { |
| 534 | /* refclk0 for PS-GT, used for DP */ |
| 535 | reg = <0>; |
| 536 | always-on; |
| 537 | }; |
| 538 | si5341_2: out@2 { |
| 539 | /* refclk2 for PS-GT, used for USB3 */ |
| 540 | reg = <2>; |
| 541 | always-on; |
| 542 | }; |
| 543 | si5341_3: out@3 { |
| 544 | /* refclk3 for PS-GT, used for SATA */ |
| 545 | reg = <3>; |
| 546 | always-on; |
| 547 | }; |
| 548 | si5341_6: out@6 { |
| 549 | /* refclk6 PL CLK125 */ |
| 550 | reg = <6>; |
| 551 | always-on; |
| 552 | }; |
| 553 | si5341_7: out@7 { |
| 554 | /* refclk7 PL CLK74 */ |
| 555 | reg = <7>; |
| 556 | always-on; |
| 557 | }; |
| 558 | si5341_9: out@9 { |
| 559 | /* refclk9 used for PS_REF_CLK 33.3 MHz */ |
| 560 | reg = <9>; |
| 561 | always-on; |
| 562 | }; |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 563 | }; |
| 564 | |
| 565 | }; |
| 566 | i2c@2 { |
| 567 | #address-cells = <1>; |
| 568 | #size-cells = <0>; |
| 569 | reg = <2>; |
| 570 | si570_1: clock-generator@5d { /* USER SI570 - u42 */ |
| 571 | #clock-cells = <0>; |
| 572 | compatible = "silabs,si570"; |
| 573 | reg = <0x5d>; |
| 574 | temperature-stability = <50>; |
| 575 | factory-fout = <300000000>; |
| 576 | clock-frequency = <300000000>; |
Michal Simek | 3cf07bf | 2018-07-18 12:10:02 +0200 | [diff] [blame] | 577 | clock-output-names = "si570_user"; |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 578 | }; |
| 579 | }; |
| 580 | i2c@3 { |
| 581 | #address-cells = <1>; |
| 582 | #size-cells = <0>; |
| 583 | reg = <3>; |
| 584 | si570_2: clock-generator@5d { /* USER MGT SI570 - u56 */ |
| 585 | #clock-cells = <0>; |
| 586 | compatible = "silabs,si570"; |
| 587 | reg = <0x5d>; |
| 588 | temperature-stability = <50>; /* copy from zc702 */ |
| 589 | factory-fout = <156250000>; |
| 590 | clock-frequency = <148500000>; |
Michal Simek | 3cf07bf | 2018-07-18 12:10:02 +0200 | [diff] [blame] | 591 | clock-output-names = "si570_mgt"; |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 592 | }; |
| 593 | }; |
| 594 | i2c@4 { |
| 595 | #address-cells = <1>; |
| 596 | #size-cells = <0>; |
| 597 | reg = <4>; |
| 598 | si5328: clock-generator@69 {/* SI5328 - u20 */ |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 599 | reg = <0x69>; |
Michal Simek | 958c0e9 | 2020-11-26 14:25:02 +0100 | [diff] [blame] | 600 | /* |
| 601 | * Chip has interrupt present connected to PL |
| 602 | * interrupt-parent = <&>; |
| 603 | * interrupts = <>; |
| 604 | */ |
| 605 | #address-cells = <1>; |
| 606 | #size-cells = <0>; |
| 607 | #clock-cells = <1>; |
| 608 | clocks = <&refhdmi>; |
| 609 | clock-names = "xtal"; |
| 610 | clock-output-names = "si5328"; |
| 611 | |
| 612 | si5328_clk: clk0@0 { |
| 613 | reg = <0>; |
| 614 | clock-frequency = <27000000>; |
| 615 | }; |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 616 | }; |
| 617 | }; |
| 618 | i2c@5 { |
| 619 | #address-cells = <1>; |
| 620 | #size-cells = <0>; |
| 621 | reg = <5>; /* FAN controller */ |
| 622 | temp@4c {/* lm96163 - u128 */ |
| 623 | compatible = "national,lm96163"; |
| 624 | reg = <0x4c>; |
| 625 | }; |
| 626 | }; |
| 627 | /* 6 - 7 unconnected */ |
| 628 | }; |
| 629 | |
| 630 | i2c-mux@75 { |
| 631 | compatible = "nxp,pca9548"; /* u135 */ |
| 632 | #address-cells = <1>; |
| 633 | #size-cells = <0>; |
| 634 | reg = <0x75>; |
| 635 | |
| 636 | i2c@0 { |
| 637 | #address-cells = <1>; |
| 638 | #size-cells = <0>; |
| 639 | reg = <0>; |
| 640 | /* HPC0_IIC */ |
| 641 | }; |
| 642 | i2c@1 { |
| 643 | #address-cells = <1>; |
| 644 | #size-cells = <0>; |
| 645 | reg = <1>; |
| 646 | /* HPC1_IIC */ |
| 647 | }; |
| 648 | i2c@2 { |
| 649 | #address-cells = <1>; |
| 650 | #size-cells = <0>; |
| 651 | reg = <2>; |
| 652 | /* SYSMON */ |
| 653 | }; |
| 654 | i2c@3 { |
| 655 | #address-cells = <1>; |
| 656 | #size-cells = <0>; |
| 657 | reg = <3>; |
| 658 | /* DDR4 SODIMM */ |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 659 | }; |
| 660 | i2c@4 { |
| 661 | #address-cells = <1>; |
| 662 | #size-cells = <0>; |
| 663 | reg = <4>; |
| 664 | /* SEP 3 */ |
| 665 | }; |
| 666 | i2c@5 { |
| 667 | #address-cells = <1>; |
| 668 | #size-cells = <0>; |
| 669 | reg = <5>; |
| 670 | /* SEP 2 */ |
| 671 | }; |
| 672 | i2c@6 { |
| 673 | #address-cells = <1>; |
| 674 | #size-cells = <0>; |
| 675 | reg = <6>; |
| 676 | /* SEP 1 */ |
| 677 | }; |
| 678 | i2c@7 { |
| 679 | #address-cells = <1>; |
| 680 | #size-cells = <0>; |
| 681 | reg = <7>; |
| 682 | /* SEP 0 */ |
| 683 | }; |
| 684 | }; |
| 685 | }; |
| 686 | |
Michal Simek | f7b922a | 2021-05-10 13:14:02 +0200 | [diff] [blame] | 687 | &pinctrl0 { |
| 688 | status = "okay"; |
| 689 | pinctrl_i2c0_default: i2c0-default { |
| 690 | mux { |
| 691 | groups = "i2c0_3_grp"; |
| 692 | function = "i2c0"; |
| 693 | }; |
| 694 | |
| 695 | conf { |
| 696 | groups = "i2c0_3_grp"; |
| 697 | bias-pull-up; |
| 698 | slew-rate = <SLEW_RATE_SLOW>; |
| 699 | power-source = <IO_STANDARD_LVCMOS18>; |
| 700 | }; |
| 701 | }; |
| 702 | |
| 703 | pinctrl_i2c0_gpio: i2c0-gpio { |
| 704 | mux { |
| 705 | groups = "gpio0_14_grp", "gpio0_15_grp"; |
| 706 | function = "gpio0"; |
| 707 | }; |
| 708 | |
| 709 | conf { |
| 710 | groups = "gpio0_14_grp", "gpio0_15_grp"; |
| 711 | slew-rate = <SLEW_RATE_SLOW>; |
| 712 | power-source = <IO_STANDARD_LVCMOS18>; |
| 713 | }; |
| 714 | }; |
| 715 | |
| 716 | pinctrl_i2c1_default: i2c1-default { |
| 717 | mux { |
| 718 | groups = "i2c1_4_grp"; |
| 719 | function = "i2c1"; |
| 720 | }; |
| 721 | |
| 722 | conf { |
| 723 | groups = "i2c1_4_grp"; |
| 724 | bias-pull-up; |
| 725 | slew-rate = <SLEW_RATE_SLOW>; |
| 726 | power-source = <IO_STANDARD_LVCMOS18>; |
| 727 | }; |
| 728 | }; |
| 729 | |
| 730 | pinctrl_i2c1_gpio: i2c1-gpio { |
| 731 | mux { |
| 732 | groups = "gpio0_16_grp", "gpio0_17_grp"; |
| 733 | function = "gpio0"; |
| 734 | }; |
| 735 | |
| 736 | conf { |
| 737 | groups = "gpio0_16_grp", "gpio0_17_grp"; |
| 738 | slew-rate = <SLEW_RATE_SLOW>; |
| 739 | power-source = <IO_STANDARD_LVCMOS18>; |
| 740 | }; |
| 741 | }; |
| 742 | |
| 743 | pinctrl_uart0_default: uart0-default { |
| 744 | mux { |
| 745 | groups = "uart0_4_grp"; |
| 746 | function = "uart0"; |
| 747 | }; |
| 748 | |
| 749 | conf { |
| 750 | groups = "uart0_4_grp"; |
| 751 | slew-rate = <SLEW_RATE_SLOW>; |
| 752 | power-source = <IO_STANDARD_LVCMOS18>; |
| 753 | }; |
| 754 | |
| 755 | conf-rx { |
| 756 | pins = "MIO18"; |
| 757 | bias-high-impedance; |
| 758 | }; |
| 759 | |
| 760 | conf-tx { |
| 761 | pins = "MIO19"; |
| 762 | bias-disable; |
| 763 | }; |
| 764 | }; |
| 765 | |
| 766 | pinctrl_uart1_default: uart1-default { |
| 767 | mux { |
| 768 | groups = "uart1_5_grp"; |
| 769 | function = "uart1"; |
| 770 | }; |
| 771 | |
| 772 | conf { |
| 773 | groups = "uart1_5_grp"; |
| 774 | slew-rate = <SLEW_RATE_SLOW>; |
| 775 | power-source = <IO_STANDARD_LVCMOS18>; |
| 776 | }; |
| 777 | |
| 778 | conf-rx { |
| 779 | pins = "MIO21"; |
| 780 | bias-high-impedance; |
| 781 | }; |
| 782 | |
| 783 | conf-tx { |
| 784 | pins = "MIO20"; |
| 785 | bias-disable; |
| 786 | }; |
| 787 | }; |
| 788 | |
| 789 | pinctrl_usb0_default: usb0-default { |
| 790 | mux { |
| 791 | groups = "usb0_0_grp"; |
| 792 | function = "usb0"; |
| 793 | }; |
| 794 | |
| 795 | conf { |
| 796 | groups = "usb0_0_grp"; |
| 797 | slew-rate = <SLEW_RATE_SLOW>; |
| 798 | power-source = <IO_STANDARD_LVCMOS18>; |
| 799 | }; |
| 800 | |
| 801 | conf-rx { |
| 802 | pins = "MIO52", "MIO53", "MIO55"; |
| 803 | bias-high-impedance; |
| 804 | }; |
| 805 | |
| 806 | conf-tx { |
| 807 | pins = "MIO54", "MIO56", "MIO57", "MIO58", "MIO59", |
| 808 | "MIO60", "MIO61", "MIO62", "MIO63"; |
| 809 | bias-disable; |
| 810 | }; |
| 811 | }; |
| 812 | |
| 813 | pinctrl_gem3_default: gem3-default { |
| 814 | mux { |
| 815 | function = "ethernet3"; |
| 816 | groups = "ethernet3_0_grp"; |
| 817 | }; |
| 818 | |
| 819 | conf { |
| 820 | groups = "ethernet3_0_grp"; |
| 821 | slew-rate = <SLEW_RATE_SLOW>; |
| 822 | power-source = <IO_STANDARD_LVCMOS18>; |
| 823 | }; |
| 824 | |
| 825 | conf-rx { |
| 826 | pins = "MIO70", "MIO71", "MIO72", "MIO73", "MIO74", |
| 827 | "MIO75"; |
| 828 | bias-high-impedance; |
| 829 | low-power-disable; |
| 830 | }; |
| 831 | |
| 832 | conf-tx { |
| 833 | pins = "MIO64", "MIO65", "MIO66", "MIO67", "MIO68", |
| 834 | "MIO69"; |
| 835 | bias-disable; |
| 836 | low-power-enable; |
| 837 | }; |
| 838 | |
| 839 | mux-mdio { |
| 840 | function = "mdio3"; |
| 841 | groups = "mdio3_0_grp"; |
| 842 | }; |
| 843 | |
| 844 | conf-mdio { |
| 845 | groups = "mdio3_0_grp"; |
| 846 | slew-rate = <SLEW_RATE_SLOW>; |
| 847 | power-source = <IO_STANDARD_LVCMOS18>; |
| 848 | bias-disable; |
| 849 | }; |
| 850 | }; |
| 851 | |
| 852 | pinctrl_can1_default: can1-default { |
| 853 | mux { |
| 854 | function = "can1"; |
| 855 | groups = "can1_6_grp"; |
| 856 | }; |
| 857 | |
| 858 | conf { |
| 859 | groups = "can1_6_grp"; |
| 860 | slew-rate = <SLEW_RATE_SLOW>; |
| 861 | power-source = <IO_STANDARD_LVCMOS18>; |
| 862 | }; |
| 863 | |
| 864 | conf-rx { |
| 865 | pins = "MIO25"; |
| 866 | bias-high-impedance; |
| 867 | }; |
| 868 | |
| 869 | conf-tx { |
| 870 | pins = "MIO24"; |
| 871 | bias-disable; |
| 872 | }; |
| 873 | }; |
| 874 | |
| 875 | pinctrl_sdhci1_default: sdhci1-default { |
| 876 | mux { |
| 877 | groups = "sdio1_0_grp"; |
| 878 | function = "sdio1"; |
| 879 | }; |
| 880 | |
| 881 | conf { |
| 882 | groups = "sdio1_0_grp"; |
| 883 | slew-rate = <SLEW_RATE_SLOW>; |
| 884 | power-source = <IO_STANDARD_LVCMOS18>; |
| 885 | bias-disable; |
| 886 | }; |
| 887 | |
| 888 | mux-cd { |
| 889 | groups = "sdio1_cd_0_grp"; |
| 890 | function = "sdio1_cd"; |
| 891 | }; |
| 892 | |
| 893 | conf-cd { |
| 894 | groups = "sdio1_cd_0_grp"; |
| 895 | bias-high-impedance; |
| 896 | bias-pull-up; |
| 897 | slew-rate = <SLEW_RATE_SLOW>; |
| 898 | power-source = <IO_STANDARD_LVCMOS18>; |
| 899 | }; |
| 900 | |
| 901 | mux-wp { |
| 902 | groups = "sdio1_wp_0_grp"; |
| 903 | function = "sdio1_wp"; |
| 904 | }; |
| 905 | |
| 906 | conf-wp { |
| 907 | groups = "sdio1_wp_0_grp"; |
| 908 | bias-high-impedance; |
| 909 | bias-pull-up; |
| 910 | slew-rate = <SLEW_RATE_SLOW>; |
| 911 | power-source = <IO_STANDARD_LVCMOS18>; |
| 912 | }; |
| 913 | }; |
| 914 | |
| 915 | pinctrl_gpio_default: gpio-default { |
| 916 | mux { |
| 917 | function = "gpio0"; |
| 918 | groups = "gpio0_22_grp", "gpio0_23_grp"; |
| 919 | }; |
| 920 | |
| 921 | conf { |
| 922 | groups = "gpio0_22_grp", "gpio0_23_grp"; |
| 923 | slew-rate = <SLEW_RATE_SLOW>; |
| 924 | power-source = <IO_STANDARD_LVCMOS18>; |
| 925 | }; |
| 926 | |
| 927 | mux-msp { |
| 928 | function = "gpio0"; |
| 929 | groups = "gpio0_13_grp", "gpio0_38_grp"; |
| 930 | }; |
| 931 | |
| 932 | conf-msp { |
| 933 | groups = "gpio0_13_grp", "gpio0_38_grp"; |
| 934 | slew-rate = <SLEW_RATE_SLOW>; |
| 935 | power-source = <IO_STANDARD_LVCMOS18>; |
| 936 | }; |
| 937 | |
| 938 | conf-pull-up { |
| 939 | pins = "MIO22"; |
| 940 | bias-pull-up; |
| 941 | }; |
| 942 | |
| 943 | conf-pull-none { |
| 944 | pins = "MIO13", "MIO23", "MIO38"; |
| 945 | bias-disable; |
| 946 | }; |
| 947 | }; |
| 948 | }; |
| 949 | |
Michal Simek | 93a89f3 | 2021-06-01 16:42:50 +0200 | [diff] [blame^] | 950 | &psgtr { |
| 951 | status = "okay"; |
| 952 | /* nc, sata, usb3, dp */ |
| 953 | clocks = <&si5341 0 3>, <&si5341 0 2>, <&si5341 0 0>; |
| 954 | clock-names = "ref1", "ref2", "ref3"; |
| 955 | }; |
| 956 | |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 957 | &qspi { |
| 958 | status = "okay"; |
| 959 | is-dual = <1>; |
| 960 | flash@0 { |
Neil Armstrong | a009fa7 | 2019-02-10 10:16:20 +0000 | [diff] [blame] | 961 | compatible = "m25p80", "jedec,spi-nor"; /* 32MB */ |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 962 | #address-cells = <1>; |
| 963 | #size-cells = <1>; |
| 964 | reg = <0x0>; |
| 965 | spi-tx-bus-width = <1>; |
| 966 | spi-rx-bus-width = <4>; /* FIXME also DUAL configuration possible */ |
| 967 | spi-max-frequency = <108000000>; /* Based on DC1 spec */ |
Michal Simek | 70fafdf | 2020-02-14 14:19:56 +0100 | [diff] [blame] | 968 | partition@0 { /* for testing purpose */ |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 969 | label = "qspi-fsbl-uboot"; |
| 970 | reg = <0x0 0x100000>; |
| 971 | }; |
Michal Simek | 70fafdf | 2020-02-14 14:19:56 +0100 | [diff] [blame] | 972 | partition@100000 { /* for testing purpose */ |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 973 | label = "qspi-linux"; |
| 974 | reg = <0x100000 0x500000>; |
| 975 | }; |
Michal Simek | 70fafdf | 2020-02-14 14:19:56 +0100 | [diff] [blame] | 976 | partition@600000 { /* for testing purpose */ |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 977 | label = "qspi-device-tree"; |
| 978 | reg = <0x600000 0x20000>; |
| 979 | }; |
Michal Simek | 70fafdf | 2020-02-14 14:19:56 +0100 | [diff] [blame] | 980 | partition@620000 { /* for testing purpose */ |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 981 | label = "qspi-rootfs"; |
| 982 | reg = <0x620000 0x5E0000>; |
| 983 | }; |
| 984 | }; |
| 985 | }; |
| 986 | |
| 987 | &rtc { |
| 988 | status = "okay"; |
| 989 | }; |
| 990 | |
| 991 | &sata { |
| 992 | status = "okay"; |
| 993 | /* SATA OOB timing settings */ |
| 994 | ceva,p0-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>; |
| 995 | ceva,p0-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>; |
| 996 | ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>; |
| 997 | ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>; |
| 998 | ceva,p1-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>; |
| 999 | ceva,p1-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>; |
| 1000 | ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>; |
| 1001 | ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>; |
| 1002 | phy-names = "sata-phy"; |
Michal Simek | 958c0e9 | 2020-11-26 14:25:02 +0100 | [diff] [blame] | 1003 | phys = <&psgtr 3 PHY_TYPE_SATA 1 1>; |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 1004 | }; |
| 1005 | |
| 1006 | /* SD1 with level shifter */ |
| 1007 | &sdhci1 { |
| 1008 | status = "okay"; |
Manish Narani | e2ba093 | 2020-02-13 23:37:30 -0700 | [diff] [blame] | 1009 | /* |
| 1010 | * This property should be removed for supporting UHS mode |
| 1011 | */ |
| 1012 | no-1-8-v; |
Michal Simek | f7b922a | 2021-05-10 13:14:02 +0200 | [diff] [blame] | 1013 | pinctrl-names = "default"; |
| 1014 | pinctrl-0 = <&pinctrl_sdhci1_default>; |
Michal Simek | 3b66264 | 2020-07-22 17:42:43 +0200 | [diff] [blame] | 1015 | xlnx,mio-bank = <1>; |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 1016 | }; |
| 1017 | |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 1018 | &uart0 { |
| 1019 | status = "okay"; |
Michal Simek | f7b922a | 2021-05-10 13:14:02 +0200 | [diff] [blame] | 1020 | pinctrl-names = "default"; |
| 1021 | pinctrl-0 = <&pinctrl_uart0_default>; |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 1022 | }; |
| 1023 | |
| 1024 | &uart1 { |
| 1025 | status = "okay"; |
Michal Simek | f7b922a | 2021-05-10 13:14:02 +0200 | [diff] [blame] | 1026 | pinctrl-names = "default"; |
| 1027 | pinctrl-0 = <&pinctrl_uart1_default>; |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 1028 | }; |
| 1029 | |
| 1030 | /* ULPI SMSC USB3320 */ |
| 1031 | &usb0 { |
| 1032 | status = "okay"; |
Michal Simek | f7b922a | 2021-05-10 13:14:02 +0200 | [diff] [blame] | 1033 | pinctrl-names = "default"; |
| 1034 | pinctrl-0 = <&pinctrl_usb0_default>; |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 1035 | }; |
| 1036 | |
| 1037 | &dwc3_0 { |
| 1038 | status = "okay"; |
| 1039 | dr_mode = "host"; |
| 1040 | snps,usb3_lpm_capable; |
Michal Simek | fe8cb0c | 2021-05-10 14:55:34 +0200 | [diff] [blame] | 1041 | phy-names = "usb3-phy"; |
| 1042 | phys = <&psgtr 2 PHY_TYPE_USB3 0 2>; |
Michal Simek | eb4b55c | 2021-05-31 17:51:58 +0200 | [diff] [blame] | 1043 | maximum-speed = "super-speed"; |
Michal Simek | 1a79c27 | 2018-03-28 15:43:51 +0200 | [diff] [blame] | 1044 | }; |
| 1045 | |
| 1046 | &watchdog0 { |
| 1047 | status = "okay"; |
| 1048 | }; |
Michal Simek | 6412f60 | 2021-05-27 13:44:35 +0200 | [diff] [blame] | 1049 | |
| 1050 | &zynqmp_dpdma { |
| 1051 | status = "okay"; |
| 1052 | }; |
| 1053 | |
| 1054 | &zynqmp_dpsub { |
| 1055 | status = "okay"; |
| 1056 | phy-names = "dp-phy0", "dp-phy1"; |
| 1057 | phys = <&psgtr 1 PHY_TYPE_DP 0 3>, |
| 1058 | <&psgtr 0 PHY_TYPE_DP 1 3>; |
| 1059 | }; |