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