Michal Simek | 71d84b4 | 2018-03-27 13:43:05 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Jagannadha Sutradharudu Teki | fc0d22b | 2014-01-09 01:48:29 +0530 | [diff] [blame] | 2 | /* |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 3 | * Copyright (C) 2011 - 2015 Xilinx |
| 4 | * Copyright (C) 2012 National Instruments Corp. |
Jagannadha Sutradharudu Teki | fc0d22b | 2014-01-09 01:48:29 +0530 | [diff] [blame] | 5 | */ |
| 6 | /dts-v1/; |
| 7 | #include "zynq-7000.dtsi" |
| 8 | |
| 9 | / { |
Luis Araneda | ac89116 | 2018-07-12 00:10:20 -0400 | [diff] [blame] | 10 | model = "Xilinx ZC706 board"; |
Jagannadha Sutradharudu Teki | fc0d22b | 2014-01-09 01:48:29 +0530 | [diff] [blame] | 11 | compatible = "xlnx,zynq-zc706", "xlnx,zynq-7000"; |
Masahiro Yamada | d6367a2 | 2014-05-15 20:37:54 +0900 | [diff] [blame] | 12 | |
Masahiro Yamada | 87f645e | 2014-05-15 20:37:55 +0900 | [diff] [blame] | 13 | aliases { |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 14 | ethernet0 = &gem0; |
| 15 | i2c0 = &i2c0; |
Masahiro Yamada | 87f645e | 2014-05-15 20:37:55 +0900 | [diff] [blame] | 16 | serial0 = &uart1; |
Jagan Teki | dd45632 | 2015-08-15 23:16:21 +0530 | [diff] [blame] | 17 | spi0 = &qspi; |
Michal Simek | 1a03a52 | 2015-12-08 11:56:23 +0100 | [diff] [blame] | 18 | mmc0 = &sdhci0; |
Michal Simek | 865bb3b | 2022-09-27 09:55:12 +0200 | [diff] [blame] | 19 | nvmem0 = &eeprom; |
Michal Simek | e42a039 | 2022-09-27 13:50:26 +0200 | [diff] [blame] | 20 | rtc0 = &rtc; |
Masahiro Yamada | 87f645e | 2014-05-15 20:37:55 +0900 | [diff] [blame] | 21 | }; |
| 22 | |
Michal Simek | b3585f4 | 2016-11-11 13:11:37 +0100 | [diff] [blame] | 23 | memory@0 { |
Masahiro Yamada | d6367a2 | 2014-05-15 20:37:54 +0900 | [diff] [blame] | 24 | device_type = "memory"; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 25 | reg = <0x0 0x40000000>; |
Masahiro Yamada | d6367a2 | 2014-05-15 20:37:54 +0900 | [diff] [blame] | 26 | }; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 27 | |
| 28 | chosen { |
Michal Simek | 8073b86 | 2016-04-07 11:15:00 +0200 | [diff] [blame] | 29 | bootargs = ""; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 30 | stdout-path = "serial0:115200n8"; |
| 31 | }; |
| 32 | |
| 33 | usb_phy0: phy0 { |
| 34 | compatible = "usb-nop-xceiv"; |
| 35 | #phy-cells = <0>; |
| 36 | }; |
| 37 | }; |
| 38 | |
| 39 | &clkc { |
| 40 | ps-clk-frequency = <33333333>; |
| 41 | }; |
| 42 | |
| 43 | &gem0 { |
| 44 | status = "okay"; |
| 45 | phy-mode = "rgmii-id"; |
| 46 | phy-handle = <ðernet_phy>; |
| 47 | pinctrl-names = "default"; |
| 48 | pinctrl-0 = <&pinctrl_gem0_default>; |
| 49 | |
| 50 | ethernet_phy: ethernet-phy@7 { |
| 51 | reg = <7>; |
Sai Pavan Boddu | b2ed84b | 2017-03-06 18:17:19 +0530 | [diff] [blame] | 52 | device_type = "ethernet-phy"; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 53 | }; |
| 54 | }; |
| 55 | |
| 56 | &gpio0 { |
| 57 | pinctrl-names = "default"; |
| 58 | pinctrl-0 = <&pinctrl_gpio0_default>; |
| 59 | }; |
| 60 | |
| 61 | &i2c0 { |
| 62 | status = "okay"; |
| 63 | clock-frequency = <400000>; |
| 64 | pinctrl-names = "default"; |
| 65 | pinctrl-0 = <&pinctrl_i2c0_default>; |
| 66 | |
Michal Simek | f6fd3f2 | 2018-02-06 14:00:30 +0100 | [diff] [blame] | 67 | i2c-mux@74 { |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 68 | compatible = "nxp,pca9548"; |
| 69 | #address-cells = <1>; |
| 70 | #size-cells = <0>; |
| 71 | reg = <0x74>; |
| 72 | |
| 73 | i2c@0 { |
| 74 | #address-cells = <1>; |
| 75 | #size-cells = <0>; |
| 76 | reg = <0>; |
| 77 | si570: clock-generator@5d { |
| 78 | #clock-cells = <0>; |
| 79 | compatible = "silabs,si570"; |
| 80 | temperature-stability = <50>; |
| 81 | reg = <0x5d>; |
| 82 | factory-fout = <156250000>; |
| 83 | clock-frequency = <148500000>; |
| 84 | }; |
| 85 | }; |
| 86 | |
Christian Kohn | e6ba900 | 2015-11-12 15:53:36 -0800 | [diff] [blame] | 87 | i2c@1 { |
| 88 | #address-cells = <1>; |
| 89 | #size-cells = <0>; |
| 90 | reg = <1>; |
| 91 | adv7511: hdmi-tx@39 { |
| 92 | compatible = "adi,adv7511"; |
| 93 | reg = <0x39>; |
| 94 | adi,input-depth = <8>; |
| 95 | adi,input-colorspace = "yuv422"; |
| 96 | adi,input-clock = "1x"; |
| 97 | adi,input-style = <3>; |
| 98 | adi,input-justification = "evenly"; |
| 99 | }; |
| 100 | }; |
| 101 | |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 102 | i2c@2 { |
| 103 | #address-cells = <1>; |
| 104 | #size-cells = <0>; |
| 105 | reg = <2>; |
Michal Simek | 865bb3b | 2022-09-27 09:55:12 +0200 | [diff] [blame] | 106 | eeprom: eeprom@54 { |
Javier Martinez Canillas | a2ce272 | 2017-06-15 20:54:12 +0200 | [diff] [blame] | 107 | compatible = "atmel,24c08"; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 108 | reg = <0x54>; |
| 109 | }; |
| 110 | }; |
| 111 | |
| 112 | i2c@3 { |
| 113 | #address-cells = <1>; |
| 114 | #size-cells = <0>; |
| 115 | reg = <3>; |
| 116 | gpio@21 { |
| 117 | compatible = "ti,tca6416"; |
| 118 | reg = <0x21>; |
| 119 | gpio-controller; |
| 120 | #gpio-cells = <2>; |
| 121 | }; |
| 122 | }; |
| 123 | |
| 124 | i2c@4 { |
| 125 | #address-cells = <1>; |
| 126 | #size-cells = <0>; |
| 127 | reg = <4>; |
Michal Simek | e42a039 | 2022-09-27 13:50:26 +0200 | [diff] [blame] | 128 | rtc: rtc@51 { |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 129 | compatible = "nxp,pcf8563"; |
| 130 | reg = <0x51>; |
| 131 | }; |
| 132 | }; |
| 133 | |
| 134 | i2c@7 { |
| 135 | #address-cells = <1>; |
| 136 | #size-cells = <0>; |
| 137 | reg = <7>; |
| 138 | ucd90120@65 { |
| 139 | compatible = "ti,ucd90120"; |
| 140 | reg = <0x65>; |
| 141 | }; |
| 142 | }; |
| 143 | }; |
| 144 | }; |
| 145 | |
| 146 | &pinctrl0 { |
| 147 | pinctrl_gem0_default: gem0-default { |
| 148 | mux { |
| 149 | function = "ethernet0"; |
| 150 | groups = "ethernet0_0_grp"; |
| 151 | }; |
| 152 | |
| 153 | conf { |
| 154 | groups = "ethernet0_0_grp"; |
| 155 | slew-rate = <0>; |
Sai Krishna Potthuri | a735bc8 | 2021-08-06 01:41:46 -0600 | [diff] [blame] | 156 | power-source = <4>; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 157 | }; |
| 158 | |
| 159 | conf-rx { |
| 160 | pins = "MIO22", "MIO23", "MIO24", "MIO25", "MIO26", "MIO27"; |
| 161 | bias-high-impedance; |
| 162 | low-power-disable; |
| 163 | }; |
| 164 | |
| 165 | conf-tx { |
| 166 | pins = "MIO16", "MIO17", "MIO18", "MIO19", "MIO20", "MIO21"; |
| 167 | low-power-enable; |
| 168 | bias-disable; |
| 169 | }; |
| 170 | |
| 171 | mux-mdio { |
| 172 | function = "mdio0"; |
| 173 | groups = "mdio0_0_grp"; |
| 174 | }; |
| 175 | |
| 176 | conf-mdio { |
| 177 | groups = "mdio0_0_grp"; |
| 178 | slew-rate = <0>; |
Sai Krishna Potthuri | a735bc8 | 2021-08-06 01:41:46 -0600 | [diff] [blame] | 179 | power-source = <1>; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 180 | bias-disable; |
| 181 | }; |
| 182 | }; |
| 183 | |
| 184 | pinctrl_gpio0_default: gpio0-default { |
| 185 | mux { |
| 186 | function = "gpio0"; |
| 187 | groups = "gpio0_7_grp", "gpio0_46_grp", "gpio0_47_grp"; |
| 188 | }; |
| 189 | |
| 190 | conf { |
| 191 | groups = "gpio0_7_grp", "gpio0_46_grp", "gpio0_47_grp"; |
| 192 | slew-rate = <0>; |
Sai Krishna Potthuri | a735bc8 | 2021-08-06 01:41:46 -0600 | [diff] [blame] | 193 | power-source = <1>; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 194 | }; |
| 195 | |
| 196 | conf-pull-up { |
| 197 | pins = "MIO46", "MIO47"; |
| 198 | bias-pull-up; |
| 199 | }; |
| 200 | |
| 201 | conf-pull-none { |
| 202 | pins = "MIO7"; |
| 203 | bias-disable; |
| 204 | }; |
| 205 | }; |
| 206 | |
| 207 | pinctrl_i2c0_default: i2c0-default { |
| 208 | mux { |
| 209 | groups = "i2c0_10_grp"; |
| 210 | function = "i2c0"; |
| 211 | }; |
| 212 | |
| 213 | conf { |
| 214 | groups = "i2c0_10_grp"; |
| 215 | bias-pull-up; |
| 216 | slew-rate = <0>; |
Sai Krishna Potthuri | a735bc8 | 2021-08-06 01:41:46 -0600 | [diff] [blame] | 217 | power-source = <1>; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 218 | }; |
| 219 | }; |
| 220 | |
| 221 | pinctrl_sdhci0_default: sdhci0-default { |
| 222 | mux { |
| 223 | groups = "sdio0_2_grp"; |
| 224 | function = "sdio0"; |
| 225 | }; |
| 226 | |
| 227 | conf { |
| 228 | groups = "sdio0_2_grp"; |
| 229 | slew-rate = <0>; |
Sai Krishna Potthuri | a735bc8 | 2021-08-06 01:41:46 -0600 | [diff] [blame] | 230 | power-source = <1>; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 231 | bias-disable; |
| 232 | }; |
| 233 | |
| 234 | mux-cd { |
| 235 | groups = "gpio0_14_grp"; |
| 236 | function = "sdio0_cd"; |
| 237 | }; |
| 238 | |
| 239 | conf-cd { |
| 240 | groups = "gpio0_14_grp"; |
| 241 | bias-high-impedance; |
| 242 | bias-pull-up; |
| 243 | slew-rate = <0>; |
Sai Krishna Potthuri | a735bc8 | 2021-08-06 01:41:46 -0600 | [diff] [blame] | 244 | power-source = <1>; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 245 | }; |
| 246 | |
| 247 | mux-wp { |
| 248 | groups = "gpio0_15_grp"; |
| 249 | function = "sdio0_wp"; |
| 250 | }; |
| 251 | |
| 252 | conf-wp { |
| 253 | groups = "gpio0_15_grp"; |
| 254 | bias-high-impedance; |
| 255 | bias-pull-up; |
| 256 | slew-rate = <0>; |
Sai Krishna Potthuri | a735bc8 | 2021-08-06 01:41:46 -0600 | [diff] [blame] | 257 | power-source = <1>; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 258 | }; |
| 259 | }; |
| 260 | |
| 261 | pinctrl_uart1_default: uart1-default { |
| 262 | mux { |
| 263 | groups = "uart1_10_grp"; |
| 264 | function = "uart1"; |
| 265 | }; |
| 266 | |
| 267 | conf { |
| 268 | groups = "uart1_10_grp"; |
| 269 | slew-rate = <0>; |
Sai Krishna Potthuri | a735bc8 | 2021-08-06 01:41:46 -0600 | [diff] [blame] | 270 | power-source = <1>; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 271 | }; |
| 272 | |
| 273 | conf-rx { |
| 274 | pins = "MIO49"; |
| 275 | bias-high-impedance; |
| 276 | }; |
| 277 | |
| 278 | conf-tx { |
| 279 | pins = "MIO48"; |
| 280 | bias-disable; |
| 281 | }; |
| 282 | }; |
| 283 | |
| 284 | pinctrl_usb0_default: usb0-default { |
| 285 | mux { |
| 286 | groups = "usb0_0_grp"; |
| 287 | function = "usb0"; |
| 288 | }; |
| 289 | |
| 290 | conf { |
| 291 | groups = "usb0_0_grp"; |
| 292 | slew-rate = <0>; |
Sai Krishna Potthuri | a735bc8 | 2021-08-06 01:41:46 -0600 | [diff] [blame] | 293 | power-source = <1>; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 294 | }; |
| 295 | |
| 296 | conf-rx { |
| 297 | pins = "MIO29", "MIO31", "MIO36"; |
| 298 | bias-high-impedance; |
| 299 | }; |
| 300 | |
| 301 | conf-tx { |
| 302 | pins = "MIO28", "MIO30", "MIO32", "MIO33", "MIO34", |
| 303 | "MIO35", "MIO37", "MIO38", "MIO39"; |
| 304 | bias-disable; |
| 305 | }; |
| 306 | }; |
| 307 | }; |
| 308 | |
Michal Simek | 6603e1c | 2016-04-07 13:04:15 +0200 | [diff] [blame] | 309 | &qspi { |
| 310 | u-boot,dm-pre-reloc; |
| 311 | status = "okay"; |
Michal Simek | eacca2f | 2021-08-06 13:30:19 +0200 | [diff] [blame] | 312 | num-cs = <1>; |
| 313 | flash@0 { |
| 314 | compatible = "n25q128a11", "jedec,spi-nor"; |
| 315 | reg = <0x0>; |
| 316 | spi-tx-bus-width = <1>; |
| 317 | spi-rx-bus-width = <4>; |
| 318 | spi-max-frequency = <50000000>; |
| 319 | }; |
Michal Simek | 6603e1c | 2016-04-07 13:04:15 +0200 | [diff] [blame] | 320 | }; |
| 321 | |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 322 | &sdhci0 { |
Michal Simek | 1a03a52 | 2015-12-08 11:56:23 +0100 | [diff] [blame] | 323 | u-boot,dm-pre-reloc; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 324 | status = "okay"; |
| 325 | pinctrl-names = "default"; |
| 326 | pinctrl-0 = <&pinctrl_sdhci0_default>; |
| 327 | }; |
| 328 | |
| 329 | &uart1 { |
Simon Glass | 8c7323a | 2015-10-17 19:41:24 -0600 | [diff] [blame] | 330 | u-boot,dm-pre-reloc; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 331 | status = "okay"; |
| 332 | pinctrl-names = "default"; |
| 333 | pinctrl-0 = <&pinctrl_uart1_default>; |
| 334 | }; |
| 335 | |
| 336 | &usb0 { |
| 337 | status = "okay"; |
| 338 | dr_mode = "host"; |
| 339 | usb-phy = <&usb_phy0>; |
| 340 | pinctrl-names = "default"; |
| 341 | pinctrl-0 = <&pinctrl_usb0_default>; |
Jagannadha Sutradharudu Teki | fc0d22b | 2014-01-09 01:48:29 +0530 | [diff] [blame] | 342 | }; |
Michal Simek | 6e5c019 | 2018-02-21 17:03:55 +0100 | [diff] [blame] | 343 | |
| 344 | &watchdog0 { |
| 345 | reset-on-timeout; |
| 346 | }; |