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" |
Manikanta Guntupalli | cc45c9c | 2023-07-10 14:37:28 +0200 | [diff] [blame] | 8 | #include <dt-bindings/gpio/gpio.h> |
Jagannadha Sutradharudu Teki | fc0d22b | 2014-01-09 01:48:29 +0530 | [diff] [blame] | 9 | |
| 10 | / { |
Luis Araneda | ac89116 | 2018-07-12 00:10:20 -0400 | [diff] [blame] | 11 | model = "Xilinx ZC702 board"; |
Jagannadha Sutradharudu Teki | fc0d22b | 2014-01-09 01:48:29 +0530 | [diff] [blame] | 12 | compatible = "xlnx,zynq-zc702", "xlnx,zynq-7000"; |
Masahiro Yamada | d6367a2 | 2014-05-15 20:37:54 +0900 | [diff] [blame] | 13 | |
Masahiro Yamada | 87f645e | 2014-05-15 20:37:55 +0900 | [diff] [blame] | 14 | aliases { |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 15 | ethernet0 = &gem0; |
| 16 | i2c0 = &i2c0; |
Masahiro Yamada | 87f645e | 2014-05-15 20:37:55 +0900 | [diff] [blame] | 17 | serial0 = &uart1; |
Jagan Teki | 0ac0ffb | 2015-08-15 23:15:21 +0530 | [diff] [blame] | 18 | spi0 = &qspi; |
Michal Simek | 9ecd268 | 2015-11-30 16:13:03 +0100 | [diff] [blame] | 19 | mmc0 = &sdhci0; |
Vipul Kumar | dd3f8dc | 2018-08-07 16:30:04 +0530 | [diff] [blame] | 20 | usb0 = &usb0; |
Michal Simek | 865bb3b | 2022-09-27 09:55:12 +0200 | [diff] [blame] | 21 | nvmem0 = &eeprom; |
Michal Simek | e42a039 | 2022-09-27 13:50:26 +0200 | [diff] [blame] | 22 | rtc0 = &rtc; |
Masahiro Yamada | 87f645e | 2014-05-15 20:37:55 +0900 | [diff] [blame] | 23 | }; |
| 24 | |
Michal Simek | b3585f4 | 2016-11-11 13:11:37 +0100 | [diff] [blame] | 25 | memory@0 { |
Masahiro Yamada | d6367a2 | 2014-05-15 20:37:54 +0900 | [diff] [blame] | 26 | device_type = "memory"; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 27 | reg = <0x0 0x40000000>; |
Masahiro Yamada | d6367a2 | 2014-05-15 20:37:54 +0900 | [diff] [blame] | 28 | }; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 29 | |
| 30 | chosen { |
Michal Simek | 8073b86 | 2016-04-07 11:15:00 +0200 | [diff] [blame] | 31 | bootargs = ""; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 32 | stdout-path = "serial0:115200n8"; |
| 33 | }; |
| 34 | |
Michal Simek | 064be10 | 2015-07-22 11:41:11 +0200 | [diff] [blame] | 35 | gpio-keys { |
| 36 | compatible = "gpio-keys"; |
Michal Simek | 064be10 | 2015-07-22 11:41:11 +0200 | [diff] [blame] | 37 | autorepeat; |
Krzysztof Kozlowski | 32c25c8 | 2022-06-15 17:53:24 -0700 | [diff] [blame] | 38 | switch-14 { |
Michal Simek | 064be10 | 2015-07-22 11:41:11 +0200 | [diff] [blame] | 39 | label = "sw14"; |
| 40 | gpios = <&gpio0 12 0>; |
| 41 | linux,code = <108>; /* down */ |
Sudeep Holla | 4652157 | 2015-10-21 11:10:16 +0100 | [diff] [blame] | 42 | wakeup-source; |
Michal Simek | 064be10 | 2015-07-22 11:41:11 +0200 | [diff] [blame] | 43 | autorepeat; |
| 44 | }; |
Krzysztof Kozlowski | 32c25c8 | 2022-06-15 17:53:24 -0700 | [diff] [blame] | 45 | switch-13 { |
Michal Simek | 064be10 | 2015-07-22 11:41:11 +0200 | [diff] [blame] | 46 | label = "sw13"; |
| 47 | gpios = <&gpio0 14 0>; |
| 48 | linux,code = <103>; /* up */ |
Sudeep Holla | 4652157 | 2015-10-21 11:10:16 +0100 | [diff] [blame] | 49 | wakeup-source; |
Michal Simek | 064be10 | 2015-07-22 11:41:11 +0200 | [diff] [blame] | 50 | autorepeat; |
| 51 | }; |
| 52 | }; |
| 53 | |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 54 | leds { |
| 55 | compatible = "gpio-leds"; |
| 56 | |
Michal Simek | 958c0e9 | 2020-11-26 14:25:02 +0100 | [diff] [blame] | 57 | led-ds23 { |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 58 | label = "ds23"; |
| 59 | gpios = <&gpio0 10 0>; |
| 60 | linux,default-trigger = "heartbeat"; |
| 61 | }; |
| 62 | }; |
| 63 | |
| 64 | usb_phy0: phy0 { |
| 65 | compatible = "usb-nop-xceiv"; |
| 66 | #phy-cells = <0>; |
| 67 | }; |
| 68 | }; |
| 69 | |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 70 | &can0 { |
| 71 | status = "okay"; |
| 72 | pinctrl-names = "default"; |
| 73 | pinctrl-0 = <&pinctrl_can0_default>; |
| 74 | }; |
| 75 | |
| 76 | &clkc { |
| 77 | ps-clk-frequency = <33333333>; |
| 78 | }; |
| 79 | |
| 80 | &gem0 { |
| 81 | status = "okay"; |
| 82 | phy-mode = "rgmii-id"; |
| 83 | phy-handle = <ðernet_phy>; |
| 84 | pinctrl-names = "default"; |
| 85 | pinctrl-0 = <&pinctrl_gem0_default>; |
Punnaiah Choudary Kalluri | b3d1531 | 2016-02-03 15:27:18 +0530 | [diff] [blame] | 86 | phy-reset-gpio = <&gpio0 11 0>; |
| 87 | phy-reset-active-low; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 88 | |
| 89 | ethernet_phy: ethernet-phy@7 { |
| 90 | reg = <7>; |
| 91 | }; |
| 92 | }; |
| 93 | |
| 94 | &gpio0 { |
| 95 | pinctrl-names = "default"; |
| 96 | pinctrl-0 = <&pinctrl_gpio0_default>; |
| 97 | }; |
| 98 | |
| 99 | &i2c0 { |
| 100 | status = "okay"; |
| 101 | clock-frequency = <400000>; |
Chirag Parekh | 0d7fcb1 | 2016-12-27 22:07:58 +0530 | [diff] [blame] | 102 | pinctrl-names = "default", "gpio"; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 103 | pinctrl-0 = <&pinctrl_i2c0_default>; |
Chirag Parekh | 0d7fcb1 | 2016-12-27 22:07:58 +0530 | [diff] [blame] | 104 | pinctrl-1 = <&pinctrl_i2c0_gpio>; |
Manikanta Guntupalli | cc45c9c | 2023-07-10 14:37:28 +0200 | [diff] [blame] | 105 | scl-gpios = <&gpio0 50 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; |
| 106 | sda-gpios = <&gpio0 51 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 107 | |
Michal Simek | f6fd3f2 | 2018-02-06 14:00:30 +0100 | [diff] [blame] | 108 | i2c-mux@74 { |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 109 | compatible = "nxp,pca9548"; |
| 110 | #address-cells = <1>; |
| 111 | #size-cells = <0>; |
| 112 | reg = <0x74>; |
| 113 | |
| 114 | i2c@0 { |
| 115 | #address-cells = <1>; |
| 116 | #size-cells = <0>; |
| 117 | reg = <0>; |
| 118 | si570: clock-generator@5d { |
| 119 | #clock-cells = <0>; |
| 120 | compatible = "silabs,si570"; |
| 121 | temperature-stability = <50>; |
| 122 | reg = <0x5d>; |
| 123 | factory-fout = <156250000>; |
| 124 | clock-frequency = <148500000>; |
| 125 | }; |
| 126 | }; |
| 127 | |
Christian Kohn | 9d979ac | 2015-11-12 15:53:35 -0800 | [diff] [blame] | 128 | i2c@1 { |
| 129 | #address-cells = <1>; |
| 130 | #size-cells = <0>; |
| 131 | reg = <1>; |
| 132 | adv7511: hdmi-tx@39 { |
| 133 | compatible = "adi,adv7511"; |
| 134 | reg = <0x39>; |
| 135 | adi,input-depth = <8>; |
| 136 | adi,input-colorspace = "yuv422"; |
| 137 | adi,input-clock = "1x"; |
| 138 | adi,input-style = <3>; |
| 139 | adi,input-justification = "right"; |
| 140 | }; |
| 141 | }; |
| 142 | |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 143 | i2c@2 { |
| 144 | #address-cells = <1>; |
| 145 | #size-cells = <0>; |
| 146 | reg = <2>; |
Michal Simek | 865bb3b | 2022-09-27 09:55:12 +0200 | [diff] [blame] | 147 | eeprom: eeprom@54 { |
Javier Martinez Canillas | a2ce272 | 2017-06-15 20:54:12 +0200 | [diff] [blame] | 148 | compatible = "atmel,24c08"; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 149 | reg = <0x54>; |
| 150 | }; |
| 151 | }; |
| 152 | |
| 153 | i2c@3 { |
| 154 | #address-cells = <1>; |
| 155 | #size-cells = <0>; |
| 156 | reg = <3>; |
| 157 | gpio@21 { |
| 158 | compatible = "ti,tca6416"; |
| 159 | reg = <0x21>; |
| 160 | gpio-controller; |
| 161 | #gpio-cells = <2>; |
| 162 | }; |
| 163 | }; |
| 164 | |
| 165 | i2c@4 { |
| 166 | #address-cells = <1>; |
| 167 | #size-cells = <0>; |
| 168 | reg = <4>; |
Michal Simek | e42a039 | 2022-09-27 13:50:26 +0200 | [diff] [blame] | 169 | rtc: rtc@51 { |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 170 | compatible = "nxp,pcf8563"; |
| 171 | reg = <0x51>; |
| 172 | }; |
| 173 | }; |
| 174 | |
| 175 | i2c@7 { |
| 176 | #address-cells = <1>; |
| 177 | #size-cells = <0>; |
| 178 | reg = <7>; |
Quanyang Wang | 8242d1d | 2019-09-23 17:47:08 +0800 | [diff] [blame] | 179 | hwmon@34 { |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 180 | compatible = "ti,ucd9248"; |
Quanyang Wang | 8242d1d | 2019-09-23 17:47:08 +0800 | [diff] [blame] | 181 | reg = <0x34>; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 182 | }; |
Quanyang Wang | 8242d1d | 2019-09-23 17:47:08 +0800 | [diff] [blame] | 183 | hwmon@35 { |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 184 | compatible = "ti,ucd9248"; |
Quanyang Wang | 8242d1d | 2019-09-23 17:47:08 +0800 | [diff] [blame] | 185 | reg = <0x35>; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 186 | }; |
Quanyang Wang | 8242d1d | 2019-09-23 17:47:08 +0800 | [diff] [blame] | 187 | hwmon@36 { |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 188 | compatible = "ti,ucd9248"; |
Quanyang Wang | 8242d1d | 2019-09-23 17:47:08 +0800 | [diff] [blame] | 189 | reg = <0x36>; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 190 | }; |
| 191 | }; |
| 192 | }; |
| 193 | }; |
| 194 | |
| 195 | &pinctrl0 { |
| 196 | pinctrl_can0_default: can0-default { |
| 197 | mux { |
| 198 | function = "can0"; |
| 199 | groups = "can0_9_grp"; |
| 200 | }; |
| 201 | |
| 202 | conf { |
| 203 | groups = "can0_9_grp"; |
| 204 | slew-rate = <0>; |
Sai Krishna Potthuri | a735bc8 | 2021-08-06 01:41:46 -0600 | [diff] [blame] | 205 | power-source = <1>; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 206 | }; |
| 207 | |
| 208 | conf-rx { |
| 209 | pins = "MIO46"; |
| 210 | bias-high-impedance; |
| 211 | }; |
| 212 | |
| 213 | conf-tx { |
| 214 | pins = "MIO47"; |
| 215 | bias-disable; |
| 216 | }; |
| 217 | }; |
| 218 | |
| 219 | pinctrl_gem0_default: gem0-default { |
| 220 | mux { |
| 221 | function = "ethernet0"; |
| 222 | groups = "ethernet0_0_grp"; |
| 223 | }; |
| 224 | |
| 225 | conf { |
| 226 | groups = "ethernet0_0_grp"; |
| 227 | slew-rate = <0>; |
Sai Krishna Potthuri | a735bc8 | 2021-08-06 01:41:46 -0600 | [diff] [blame] | 228 | power-source = <4>; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 229 | }; |
| 230 | |
| 231 | conf-rx { |
| 232 | pins = "MIO22", "MIO23", "MIO24", "MIO25", "MIO26", "MIO27"; |
| 233 | bias-high-impedance; |
| 234 | low-power-disable; |
| 235 | }; |
| 236 | |
| 237 | conf-tx { |
| 238 | pins = "MIO16", "MIO17", "MIO18", "MIO19", "MIO20", "MIO21"; |
| 239 | bias-disable; |
| 240 | low-power-enable; |
| 241 | }; |
| 242 | |
| 243 | mux-mdio { |
| 244 | function = "mdio0"; |
| 245 | groups = "mdio0_0_grp"; |
| 246 | }; |
| 247 | |
| 248 | conf-mdio { |
| 249 | groups = "mdio0_0_grp"; |
| 250 | slew-rate = <0>; |
Sai Krishna Potthuri | a735bc8 | 2021-08-06 01:41:46 -0600 | [diff] [blame] | 251 | power-source = <1>; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 252 | bias-disable; |
| 253 | }; |
| 254 | }; |
| 255 | |
| 256 | pinctrl_gpio0_default: gpio0-default { |
| 257 | mux { |
| 258 | function = "gpio0"; |
| 259 | groups = "gpio0_7_grp", "gpio0_8_grp", "gpio0_9_grp", |
| 260 | "gpio0_10_grp", "gpio0_11_grp", "gpio0_12_grp", |
| 261 | "gpio0_13_grp", "gpio0_14_grp"; |
| 262 | }; |
| 263 | |
| 264 | conf { |
| 265 | groups = "gpio0_7_grp", "gpio0_8_grp", "gpio0_9_grp", |
| 266 | "gpio0_10_grp", "gpio0_11_grp", "gpio0_12_grp", |
| 267 | "gpio0_13_grp", "gpio0_14_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-pull-up { |
| 273 | pins = "MIO9", "MIO10", "MIO11", "MIO12", "MIO13", "MIO14"; |
| 274 | bias-pull-up; |
| 275 | }; |
| 276 | |
| 277 | conf-pull-none { |
| 278 | pins = "MIO7", "MIO8"; |
| 279 | bias-disable; |
| 280 | }; |
| 281 | }; |
| 282 | |
| 283 | pinctrl_i2c0_default: i2c0-default { |
| 284 | mux { |
| 285 | groups = "i2c0_10_grp"; |
| 286 | function = "i2c0"; |
| 287 | }; |
| 288 | |
| 289 | conf { |
| 290 | groups = "i2c0_10_grp"; |
| 291 | bias-pull-up; |
| 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 | |
Chirag Parekh | 0d7fcb1 | 2016-12-27 22:07:58 +0530 | [diff] [blame] | 297 | pinctrl_i2c0_gpio: i2c0-gpio { |
| 298 | mux { |
| 299 | groups = "gpio0_50_grp", "gpio0_51_grp"; |
| 300 | function = "gpio0"; |
| 301 | }; |
| 302 | |
| 303 | conf { |
| 304 | groups = "gpio0_50_grp", "gpio0_51_grp"; |
| 305 | slew-rate = <0>; |
Sai Krishna Potthuri | a735bc8 | 2021-08-06 01:41:46 -0600 | [diff] [blame] | 306 | power-source = <1>; |
Chirag Parekh | 0d7fcb1 | 2016-12-27 22:07:58 +0530 | [diff] [blame] | 307 | }; |
| 308 | }; |
| 309 | |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 310 | pinctrl_sdhci0_default: sdhci0-default { |
| 311 | mux { |
| 312 | groups = "sdio0_2_grp"; |
| 313 | function = "sdio0"; |
| 314 | }; |
| 315 | |
| 316 | conf { |
| 317 | groups = "sdio0_2_grp"; |
| 318 | slew-rate = <0>; |
Sai Krishna Potthuri | a735bc8 | 2021-08-06 01:41:46 -0600 | [diff] [blame] | 319 | power-source = <1>; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 320 | bias-disable; |
| 321 | }; |
| 322 | |
| 323 | mux-cd { |
| 324 | groups = "gpio0_0_grp"; |
| 325 | function = "sdio0_cd"; |
| 326 | }; |
| 327 | |
| 328 | conf-cd { |
| 329 | groups = "gpio0_0_grp"; |
| 330 | bias-high-impedance; |
| 331 | bias-pull-up; |
| 332 | slew-rate = <0>; |
Sai Krishna Potthuri | a735bc8 | 2021-08-06 01:41:46 -0600 | [diff] [blame] | 333 | power-source = <1>; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 334 | }; |
| 335 | |
| 336 | mux-wp { |
| 337 | groups = "gpio0_15_grp"; |
| 338 | function = "sdio0_wp"; |
| 339 | }; |
| 340 | |
| 341 | conf-wp { |
| 342 | groups = "gpio0_15_grp"; |
| 343 | bias-high-impedance; |
| 344 | bias-pull-up; |
| 345 | slew-rate = <0>; |
Sai Krishna Potthuri | a735bc8 | 2021-08-06 01:41:46 -0600 | [diff] [blame] | 346 | power-source = <1>; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 347 | }; |
| 348 | }; |
| 349 | |
| 350 | pinctrl_uart1_default: uart1-default { |
| 351 | mux { |
| 352 | groups = "uart1_10_grp"; |
| 353 | function = "uart1"; |
| 354 | }; |
| 355 | |
| 356 | conf { |
| 357 | groups = "uart1_10_grp"; |
| 358 | slew-rate = <0>; |
Sai Krishna Potthuri | a735bc8 | 2021-08-06 01:41:46 -0600 | [diff] [blame] | 359 | power-source = <1>; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 360 | }; |
| 361 | |
| 362 | conf-rx { |
| 363 | pins = "MIO49"; |
| 364 | bias-high-impedance; |
| 365 | }; |
| 366 | |
| 367 | conf-tx { |
| 368 | pins = "MIO48"; |
| 369 | bias-disable; |
| 370 | }; |
| 371 | }; |
| 372 | |
| 373 | pinctrl_usb0_default: usb0-default { |
| 374 | mux { |
| 375 | groups = "usb0_0_grp"; |
| 376 | function = "usb0"; |
| 377 | }; |
| 378 | |
| 379 | conf { |
| 380 | groups = "usb0_0_grp"; |
| 381 | slew-rate = <0>; |
Sai Krishna Potthuri | a735bc8 | 2021-08-06 01:41:46 -0600 | [diff] [blame] | 382 | power-source = <1>; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 383 | }; |
| 384 | |
| 385 | conf-rx { |
| 386 | pins = "MIO29", "MIO31", "MIO36"; |
| 387 | bias-high-impedance; |
| 388 | }; |
| 389 | |
| 390 | conf-tx { |
| 391 | pins = "MIO28", "MIO30", "MIO32", "MIO33", "MIO34", |
| 392 | "MIO35", "MIO37", "MIO38", "MIO39"; |
| 393 | bias-disable; |
| 394 | }; |
| 395 | }; |
| 396 | }; |
| 397 | |
Michal Simek | 6603e1c | 2016-04-07 13:04:15 +0200 | [diff] [blame] | 398 | &qspi { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 399 | bootph-all; |
Michal Simek | 6603e1c | 2016-04-07 13:04:15 +0200 | [diff] [blame] | 400 | status = "okay"; |
Michal Simek | eacca2f | 2021-08-06 13:30:19 +0200 | [diff] [blame] | 401 | num-cs = <1>; |
| 402 | flash@0 { |
| 403 | compatible = "n25q128a11", "jedec,spi-nor"; |
| 404 | reg = <0x0>; |
| 405 | spi-tx-bus-width = <1>; |
| 406 | spi-rx-bus-width = <4>; |
| 407 | spi-max-frequency = <50000000>; |
Michal Simek | 181c763 | 2023-11-01 12:22:14 +0100 | [diff] [blame] | 408 | partitions { |
| 409 | compatible = "fixed-partitions"; |
| 410 | #address-cells = <1>; |
| 411 | #size-cells = <1>; |
| 412 | partition@0 { |
| 413 | label = "qspi-fsbl-uboot"; |
| 414 | reg = <0x0 0x100000>; |
| 415 | }; |
| 416 | partition@100000 { |
| 417 | label = "qspi-linux"; |
| 418 | reg = <0x100000 0x500000>; |
| 419 | }; |
| 420 | partition@600000 { |
| 421 | label = "qspi-device-tree"; |
| 422 | reg = <0x600000 0x20000>; |
| 423 | }; |
| 424 | partition@620000 { |
| 425 | label = "qspi-rootfs"; |
| 426 | reg = <0x620000 0x5e0000>; |
| 427 | }; |
| 428 | partition@c00000 { |
| 429 | label = "qspi-bitstream"; |
| 430 | reg = <0xc00000 0x400000>; |
| 431 | }; |
| 432 | }; |
Michal Simek | eacca2f | 2021-08-06 13:30:19 +0200 | [diff] [blame] | 433 | }; |
Michal Simek | 6603e1c | 2016-04-07 13:04:15 +0200 | [diff] [blame] | 434 | }; |
| 435 | |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 436 | &sdhci0 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 437 | bootph-all; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 438 | status = "okay"; |
| 439 | pinctrl-names = "default"; |
| 440 | pinctrl-0 = <&pinctrl_sdhci0_default>; |
| 441 | }; |
| 442 | |
| 443 | &uart1 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 444 | bootph-all; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 445 | status = "okay"; |
| 446 | pinctrl-names = "default"; |
| 447 | pinctrl-0 = <&pinctrl_uart1_default>; |
| 448 | }; |
| 449 | |
| 450 | &usb0 { |
| 451 | status = "okay"; |
| 452 | dr_mode = "host"; |
| 453 | usb-phy = <&usb_phy0>; |
| 454 | pinctrl-names = "default"; |
| 455 | pinctrl-0 = <&pinctrl_usb0_default>; |
Jagannadha Sutradharudu Teki | fc0d22b | 2014-01-09 01:48:29 +0530 | [diff] [blame] | 456 | }; |