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