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>; |
| 52 | }; |
| 53 | }; |
| 54 | |
| 55 | &gpio0 { |
| 56 | pinctrl-names = "default"; |
| 57 | pinctrl-0 = <&pinctrl_gpio0_default>; |
| 58 | }; |
| 59 | |
| 60 | &i2c0 { |
| 61 | status = "okay"; |
| 62 | clock-frequency = <400000>; |
| 63 | pinctrl-names = "default"; |
| 64 | pinctrl-0 = <&pinctrl_i2c0_default>; |
| 65 | |
Michal Simek | f6fd3f2 | 2018-02-06 14:00:30 +0100 | [diff] [blame] | 66 | i2c-mux@74 { |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 67 | compatible = "nxp,pca9548"; |
| 68 | #address-cells = <1>; |
| 69 | #size-cells = <0>; |
| 70 | reg = <0x74>; |
| 71 | |
| 72 | i2c@0 { |
| 73 | #address-cells = <1>; |
| 74 | #size-cells = <0>; |
| 75 | reg = <0>; |
| 76 | si570: clock-generator@5d { |
| 77 | #clock-cells = <0>; |
| 78 | compatible = "silabs,si570"; |
| 79 | temperature-stability = <50>; |
| 80 | reg = <0x5d>; |
| 81 | factory-fout = <156250000>; |
| 82 | clock-frequency = <148500000>; |
| 83 | }; |
| 84 | }; |
| 85 | |
Christian Kohn | e6ba900 | 2015-11-12 15:53:36 -0800 | [diff] [blame] | 86 | i2c@1 { |
| 87 | #address-cells = <1>; |
| 88 | #size-cells = <0>; |
| 89 | reg = <1>; |
| 90 | adv7511: hdmi-tx@39 { |
| 91 | compatible = "adi,adv7511"; |
| 92 | reg = <0x39>; |
| 93 | adi,input-depth = <8>; |
| 94 | adi,input-colorspace = "yuv422"; |
| 95 | adi,input-clock = "1x"; |
| 96 | adi,input-style = <3>; |
| 97 | adi,input-justification = "evenly"; |
| 98 | }; |
| 99 | }; |
| 100 | |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 101 | i2c@2 { |
| 102 | #address-cells = <1>; |
| 103 | #size-cells = <0>; |
| 104 | reg = <2>; |
Michal Simek | 865bb3b | 2022-09-27 09:55:12 +0200 | [diff] [blame] | 105 | eeprom: eeprom@54 { |
Javier Martinez Canillas | a2ce272 | 2017-06-15 20:54:12 +0200 | [diff] [blame] | 106 | compatible = "atmel,24c08"; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 107 | reg = <0x54>; |
| 108 | }; |
| 109 | }; |
| 110 | |
| 111 | i2c@3 { |
| 112 | #address-cells = <1>; |
| 113 | #size-cells = <0>; |
| 114 | reg = <3>; |
| 115 | gpio@21 { |
| 116 | compatible = "ti,tca6416"; |
| 117 | reg = <0x21>; |
| 118 | gpio-controller; |
| 119 | #gpio-cells = <2>; |
| 120 | }; |
| 121 | }; |
| 122 | |
| 123 | i2c@4 { |
| 124 | #address-cells = <1>; |
| 125 | #size-cells = <0>; |
| 126 | reg = <4>; |
Michal Simek | e42a039 | 2022-09-27 13:50:26 +0200 | [diff] [blame] | 127 | rtc: rtc@51 { |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 128 | compatible = "nxp,pcf8563"; |
| 129 | reg = <0x51>; |
| 130 | }; |
| 131 | }; |
| 132 | |
| 133 | i2c@7 { |
| 134 | #address-cells = <1>; |
| 135 | #size-cells = <0>; |
| 136 | reg = <7>; |
| 137 | ucd90120@65 { |
| 138 | compatible = "ti,ucd90120"; |
| 139 | reg = <0x65>; |
| 140 | }; |
| 141 | }; |
| 142 | }; |
| 143 | }; |
| 144 | |
| 145 | &pinctrl0 { |
| 146 | pinctrl_gem0_default: gem0-default { |
| 147 | mux { |
| 148 | function = "ethernet0"; |
| 149 | groups = "ethernet0_0_grp"; |
| 150 | }; |
| 151 | |
| 152 | conf { |
| 153 | groups = "ethernet0_0_grp"; |
| 154 | slew-rate = <0>; |
Sai Krishna Potthuri | a735bc8 | 2021-08-06 01:41:46 -0600 | [diff] [blame] | 155 | power-source = <4>; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 156 | }; |
| 157 | |
| 158 | conf-rx { |
| 159 | pins = "MIO22", "MIO23", "MIO24", "MIO25", "MIO26", "MIO27"; |
| 160 | bias-high-impedance; |
| 161 | low-power-disable; |
| 162 | }; |
| 163 | |
| 164 | conf-tx { |
| 165 | pins = "MIO16", "MIO17", "MIO18", "MIO19", "MIO20", "MIO21"; |
| 166 | low-power-enable; |
| 167 | bias-disable; |
| 168 | }; |
| 169 | |
| 170 | mux-mdio { |
| 171 | function = "mdio0"; |
| 172 | groups = "mdio0_0_grp"; |
| 173 | }; |
| 174 | |
| 175 | conf-mdio { |
| 176 | groups = "mdio0_0_grp"; |
| 177 | slew-rate = <0>; |
Sai Krishna Potthuri | a735bc8 | 2021-08-06 01:41:46 -0600 | [diff] [blame] | 178 | power-source = <1>; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 179 | bias-disable; |
| 180 | }; |
| 181 | }; |
| 182 | |
| 183 | pinctrl_gpio0_default: gpio0-default { |
| 184 | mux { |
| 185 | function = "gpio0"; |
| 186 | groups = "gpio0_7_grp", "gpio0_46_grp", "gpio0_47_grp"; |
| 187 | }; |
| 188 | |
| 189 | conf { |
| 190 | groups = "gpio0_7_grp", "gpio0_46_grp", "gpio0_47_grp"; |
| 191 | slew-rate = <0>; |
Sai Krishna Potthuri | a735bc8 | 2021-08-06 01:41:46 -0600 | [diff] [blame] | 192 | power-source = <1>; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 193 | }; |
| 194 | |
| 195 | conf-pull-up { |
| 196 | pins = "MIO46", "MIO47"; |
| 197 | bias-pull-up; |
| 198 | }; |
| 199 | |
| 200 | conf-pull-none { |
| 201 | pins = "MIO7"; |
| 202 | bias-disable; |
| 203 | }; |
| 204 | }; |
| 205 | |
| 206 | pinctrl_i2c0_default: i2c0-default { |
| 207 | mux { |
| 208 | groups = "i2c0_10_grp"; |
| 209 | function = "i2c0"; |
| 210 | }; |
| 211 | |
| 212 | conf { |
| 213 | groups = "i2c0_10_grp"; |
| 214 | bias-pull-up; |
| 215 | slew-rate = <0>; |
Sai Krishna Potthuri | a735bc8 | 2021-08-06 01:41:46 -0600 | [diff] [blame] | 216 | power-source = <1>; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 217 | }; |
| 218 | }; |
| 219 | |
| 220 | pinctrl_sdhci0_default: sdhci0-default { |
| 221 | mux { |
| 222 | groups = "sdio0_2_grp"; |
| 223 | function = "sdio0"; |
| 224 | }; |
| 225 | |
| 226 | conf { |
| 227 | groups = "sdio0_2_grp"; |
| 228 | slew-rate = <0>; |
Sai Krishna Potthuri | a735bc8 | 2021-08-06 01:41:46 -0600 | [diff] [blame] | 229 | power-source = <1>; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 230 | bias-disable; |
| 231 | }; |
| 232 | |
| 233 | mux-cd { |
| 234 | groups = "gpio0_14_grp"; |
| 235 | function = "sdio0_cd"; |
| 236 | }; |
| 237 | |
| 238 | conf-cd { |
| 239 | groups = "gpio0_14_grp"; |
| 240 | bias-high-impedance; |
| 241 | bias-pull-up; |
| 242 | slew-rate = <0>; |
Sai Krishna Potthuri | a735bc8 | 2021-08-06 01:41:46 -0600 | [diff] [blame] | 243 | power-source = <1>; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 244 | }; |
| 245 | |
| 246 | mux-wp { |
| 247 | groups = "gpio0_15_grp"; |
| 248 | function = "sdio0_wp"; |
| 249 | }; |
| 250 | |
| 251 | conf-wp { |
| 252 | groups = "gpio0_15_grp"; |
| 253 | bias-high-impedance; |
| 254 | bias-pull-up; |
| 255 | slew-rate = <0>; |
Sai Krishna Potthuri | a735bc8 | 2021-08-06 01:41:46 -0600 | [diff] [blame] | 256 | power-source = <1>; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 257 | }; |
| 258 | }; |
| 259 | |
| 260 | pinctrl_uart1_default: uart1-default { |
| 261 | mux { |
| 262 | groups = "uart1_10_grp"; |
| 263 | function = "uart1"; |
| 264 | }; |
| 265 | |
| 266 | conf { |
| 267 | groups = "uart1_10_grp"; |
| 268 | slew-rate = <0>; |
Sai Krishna Potthuri | a735bc8 | 2021-08-06 01:41:46 -0600 | [diff] [blame] | 269 | power-source = <1>; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 270 | }; |
| 271 | |
| 272 | conf-rx { |
| 273 | pins = "MIO49"; |
| 274 | bias-high-impedance; |
| 275 | }; |
| 276 | |
| 277 | conf-tx { |
| 278 | pins = "MIO48"; |
| 279 | bias-disable; |
| 280 | }; |
| 281 | }; |
| 282 | |
| 283 | pinctrl_usb0_default: usb0-default { |
| 284 | mux { |
| 285 | groups = "usb0_0_grp"; |
| 286 | function = "usb0"; |
| 287 | }; |
| 288 | |
| 289 | conf { |
| 290 | groups = "usb0_0_grp"; |
| 291 | slew-rate = <0>; |
Sai Krishna Potthuri | a735bc8 | 2021-08-06 01:41:46 -0600 | [diff] [blame] | 292 | power-source = <1>; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 293 | }; |
| 294 | |
| 295 | conf-rx { |
| 296 | pins = "MIO29", "MIO31", "MIO36"; |
| 297 | bias-high-impedance; |
| 298 | }; |
| 299 | |
| 300 | conf-tx { |
| 301 | pins = "MIO28", "MIO30", "MIO32", "MIO33", "MIO34", |
| 302 | "MIO35", "MIO37", "MIO38", "MIO39"; |
| 303 | bias-disable; |
| 304 | }; |
| 305 | }; |
| 306 | }; |
| 307 | |
Michal Simek | 6603e1c | 2016-04-07 13:04:15 +0200 | [diff] [blame] | 308 | &qspi { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 309 | bootph-all; |
Michal Simek | 6603e1c | 2016-04-07 13:04:15 +0200 | [diff] [blame] | 310 | status = "okay"; |
Michal Simek | ad20032 | 2023-10-23 09:21:53 +0200 | [diff] [blame] | 311 | num-cs = <2>; |
Michal Simek | eacca2f | 2021-08-06 13:30:19 +0200 | [diff] [blame] | 312 | flash@0 { |
| 313 | compatible = "n25q128a11", "jedec,spi-nor"; |
Michal Simek | ad20032 | 2023-10-23 09:21:53 +0200 | [diff] [blame] | 314 | reg = <0>, <1>; |
| 315 | parallel-memories = /bits/ 64 <0x1000000 0x1000000>; /* 16MB */ |
Michal Simek | eacca2f | 2021-08-06 13:30:19 +0200 | [diff] [blame] | 316 | spi-tx-bus-width = <1>; |
| 317 | spi-rx-bus-width = <4>; |
| 318 | spi-max-frequency = <50000000>; |
Michal Simek | 181c763 | 2023-11-01 12:22:14 +0100 | [diff] [blame] | 319 | partitions { |
| 320 | compatible = "fixed-partitions"; |
| 321 | #address-cells = <1>; |
| 322 | #size-cells = <1>; |
| 323 | partition@0 { |
| 324 | label = "qspi-fsbl-uboot"; |
| 325 | reg = <0x0 0x100000>; |
| 326 | }; |
| 327 | partition@100000 { |
| 328 | label = "qspi-linux"; |
| 329 | reg = <0x100000 0x500000>; |
| 330 | }; |
| 331 | partition@600000 { |
| 332 | label = "qspi-device-tree"; |
| 333 | reg = <0x600000 0x20000>; |
| 334 | }; |
| 335 | partition@620000 { |
| 336 | label = "qspi-rootfs"; |
| 337 | reg = <0x620000 0x5e0000>; |
| 338 | }; |
| 339 | partition@c00000 { |
| 340 | label = "qspi-bitstream"; |
| 341 | reg = <0xc00000 0x400000>; |
| 342 | }; |
| 343 | }; |
Michal Simek | eacca2f | 2021-08-06 13:30:19 +0200 | [diff] [blame] | 344 | }; |
Michal Simek | 6603e1c | 2016-04-07 13:04:15 +0200 | [diff] [blame] | 345 | }; |
| 346 | |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 347 | &sdhci0 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 348 | bootph-all; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 349 | status = "okay"; |
| 350 | pinctrl-names = "default"; |
| 351 | pinctrl-0 = <&pinctrl_sdhci0_default>; |
| 352 | }; |
| 353 | |
| 354 | &uart1 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 355 | bootph-all; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 356 | status = "okay"; |
| 357 | pinctrl-names = "default"; |
| 358 | pinctrl-0 = <&pinctrl_uart1_default>; |
| 359 | }; |
| 360 | |
| 361 | &usb0 { |
| 362 | status = "okay"; |
| 363 | dr_mode = "host"; |
| 364 | usb-phy = <&usb_phy0>; |
| 365 | pinctrl-names = "default"; |
| 366 | pinctrl-0 = <&pinctrl_usb0_default>; |
Jagannadha Sutradharudu Teki | fc0d22b | 2014-01-09 01:48:29 +0530 | [diff] [blame] | 367 | }; |
Michal Simek | 6e5c019 | 2018-02-21 17:03:55 +0100 | [diff] [blame] | 368 | |
| 369 | &watchdog0 { |
| 370 | reset-on-timeout; |
| 371 | }; |