15ab502cbSMasahiro Yamada/* 25ab502cbSMasahiro Yamada * Xilinx ZC702 board DTS 35ab502cbSMasahiro Yamada * 4999667caSMichal Simek * Copyright (C) 2011 - 2015 Xilinx 5999667caSMichal Simek * Copyright (C) 2012 National Instruments Corp. 65ab502cbSMasahiro Yamada * 75ab502cbSMasahiro Yamada * SPDX-License-Identifier: GPL-2.0+ 85ab502cbSMasahiro Yamada */ 95ab502cbSMasahiro Yamada/dts-v1/; 105ab502cbSMasahiro Yamada#include "zynq-7000.dtsi" 115ab502cbSMasahiro Yamada 125ab502cbSMasahiro Yamada/ { 13999667caSMichal Simek model = "Zynq ZC702 Development Board"; 145ab502cbSMasahiro Yamada compatible = "xlnx,zynq-zc702", "xlnx,zynq-7000"; 157d34c5deSMasahiro Yamada 169f9d41baSMasahiro Yamada aliases { 17999667caSMichal Simek ethernet0 = &gem0; 18999667caSMichal Simek i2c0 = &i2c0; 199f9d41baSMasahiro Yamada serial0 = &uart1; 20e9cf6ec5SJagan Teki spi0 = &qspi; 21d9ae52c8SMichal Simek mmc0 = &sdhci0; 229f9d41baSMasahiro Yamada }; 239f9d41baSMasahiro Yamada 24cc7978beSMichal Simek memory@0 { 257d34c5deSMasahiro Yamada device_type = "memory"; 26999667caSMichal Simek reg = <0x0 0x40000000>; 277d34c5deSMasahiro Yamada }; 28999667caSMichal Simek 29999667caSMichal Simek chosen { 30936bbc5dSMichal Simek bootargs = ""; 31999667caSMichal Simek stdout-path = "serial0:115200n8"; 32999667caSMichal Simek }; 33999667caSMichal Simek 3491f9f172SMichal Simek gpio-keys { 3591f9f172SMichal Simek compatible = "gpio-keys"; 3691f9f172SMichal Simek #address-cells = <1>; 3791f9f172SMichal Simek #size-cells = <0>; 3891f9f172SMichal Simek autorepeat; 3991f9f172SMichal Simek sw14 { 4091f9f172SMichal Simek label = "sw14"; 4191f9f172SMichal Simek gpios = <&gpio0 12 0>; 4291f9f172SMichal Simek linux,code = <108>; /* down */ 43a930ca57SSudeep Holla wakeup-source; 4491f9f172SMichal Simek autorepeat; 4591f9f172SMichal Simek }; 4691f9f172SMichal Simek sw13 { 4791f9f172SMichal Simek label = "sw13"; 4891f9f172SMichal Simek gpios = <&gpio0 14 0>; 4991f9f172SMichal Simek linux,code = <103>; /* up */ 50a930ca57SSudeep Holla wakeup-source; 5191f9f172SMichal Simek autorepeat; 5291f9f172SMichal Simek }; 5391f9f172SMichal Simek }; 5491f9f172SMichal Simek 55999667caSMichal Simek leds { 56999667caSMichal Simek compatible = "gpio-leds"; 57999667caSMichal Simek 58999667caSMichal Simek ds23 { 59999667caSMichal Simek label = "ds23"; 60999667caSMichal Simek gpios = <&gpio0 10 0>; 61999667caSMichal Simek linux,default-trigger = "heartbeat"; 62999667caSMichal Simek }; 63999667caSMichal Simek }; 64999667caSMichal Simek 65999667caSMichal Simek usb_phy0: phy0 { 66999667caSMichal Simek compatible = "usb-nop-xceiv"; 67999667caSMichal Simek #phy-cells = <0>; 68999667caSMichal Simek }; 69999667caSMichal Simek}; 70999667caSMichal Simek 71999667caSMichal Simek&amba { 72999667caSMichal Simek ocm: sram@fffc0000 { 73999667caSMichal Simek compatible = "mmio-sram"; 74999667caSMichal Simek reg = <0xfffc0000 0x10000>; 75999667caSMichal Simek }; 76999667caSMichal Simek}; 77999667caSMichal Simek 78999667caSMichal Simek&can0 { 79999667caSMichal Simek status = "okay"; 80999667caSMichal Simek pinctrl-names = "default"; 81999667caSMichal Simek pinctrl-0 = <&pinctrl_can0_default>; 82999667caSMichal Simek}; 83999667caSMichal Simek 84999667caSMichal Simek&clkc { 85999667caSMichal Simek ps-clk-frequency = <33333333>; 86999667caSMichal Simek}; 87999667caSMichal Simek 88999667caSMichal Simek&gem0 { 89999667caSMichal Simek status = "okay"; 90999667caSMichal Simek phy-mode = "rgmii-id"; 91999667caSMichal Simek phy-handle = <ðernet_phy>; 92999667caSMichal Simek pinctrl-names = "default"; 93999667caSMichal Simek pinctrl-0 = <&pinctrl_gem0_default>; 94c9132b1eSPunnaiah Choudary Kalluri phy-reset-gpio = <&gpio0 11 0>; 95c9132b1eSPunnaiah Choudary Kalluri phy-reset-active-low; 96999667caSMichal Simek 97999667caSMichal Simek ethernet_phy: ethernet-phy@7 { 98999667caSMichal Simek reg = <7>; 99*5fad1ab3SSai Pavan Boddu device_type = "ethernet-phy"; 100999667caSMichal Simek }; 101999667caSMichal Simek}; 102999667caSMichal Simek 103999667caSMichal Simek&gpio0 { 104999667caSMichal Simek pinctrl-names = "default"; 105999667caSMichal Simek pinctrl-0 = <&pinctrl_gpio0_default>; 106999667caSMichal Simek}; 107999667caSMichal Simek 108999667caSMichal Simek&i2c0 { 109999667caSMichal Simek status = "okay"; 110999667caSMichal Simek clock-frequency = <400000>; 11157bcc7fdSChirag Parekh pinctrl-names = "default", "gpio"; 112999667caSMichal Simek pinctrl-0 = <&pinctrl_i2c0_default>; 11357bcc7fdSChirag Parekh pinctrl-1 = <&pinctrl_i2c0_gpio>; 11457bcc7fdSChirag Parekh scl-gpios = <&gpio0 50 0>; 11557bcc7fdSChirag Parekh sda-gpios = <&gpio0 51 0>; 116999667caSMichal Simek 117999667caSMichal Simek i2cswitch@74 { 118999667caSMichal Simek compatible = "nxp,pca9548"; 119999667caSMichal Simek #address-cells = <1>; 120999667caSMichal Simek #size-cells = <0>; 121999667caSMichal Simek reg = <0x74>; 122999667caSMichal Simek 123999667caSMichal Simek i2c@0 { 124999667caSMichal Simek #address-cells = <1>; 125999667caSMichal Simek #size-cells = <0>; 126999667caSMichal Simek reg = <0>; 127999667caSMichal Simek si570: clock-generator@5d { 128999667caSMichal Simek #clock-cells = <0>; 129999667caSMichal Simek compatible = "silabs,si570"; 130999667caSMichal Simek temperature-stability = <50>; 131999667caSMichal Simek reg = <0x5d>; 132999667caSMichal Simek factory-fout = <156250000>; 133999667caSMichal Simek clock-frequency = <148500000>; 134999667caSMichal Simek }; 135999667caSMichal Simek }; 136999667caSMichal Simek 137169050e4SChristian Kohn i2c@1 { 138169050e4SChristian Kohn #address-cells = <1>; 139169050e4SChristian Kohn #size-cells = <0>; 140169050e4SChristian Kohn reg = <1>; 141169050e4SChristian Kohn adv7511: hdmi-tx@39 { 142169050e4SChristian Kohn compatible = "adi,adv7511"; 143169050e4SChristian Kohn reg = <0x39>; 144169050e4SChristian Kohn adi,input-depth = <8>; 145169050e4SChristian Kohn adi,input-colorspace = "yuv422"; 146169050e4SChristian Kohn adi,input-clock = "1x"; 147169050e4SChristian Kohn adi,input-style = <3>; 148169050e4SChristian Kohn adi,input-justification = "right"; 149169050e4SChristian Kohn }; 150169050e4SChristian Kohn }; 151169050e4SChristian Kohn 152999667caSMichal Simek i2c@2 { 153999667caSMichal Simek #address-cells = <1>; 154999667caSMichal Simek #size-cells = <0>; 155999667caSMichal Simek reg = <2>; 156999667caSMichal Simek eeprom@54 { 157999667caSMichal Simek compatible = "at,24c08"; 158999667caSMichal Simek reg = <0x54>; 159999667caSMichal Simek }; 160999667caSMichal Simek }; 161999667caSMichal Simek 162999667caSMichal Simek i2c@3 { 163999667caSMichal Simek #address-cells = <1>; 164999667caSMichal Simek #size-cells = <0>; 165999667caSMichal Simek reg = <3>; 166999667caSMichal Simek gpio@21 { 167999667caSMichal Simek compatible = "ti,tca6416"; 168999667caSMichal Simek reg = <0x21>; 169999667caSMichal Simek gpio-controller; 170999667caSMichal Simek #gpio-cells = <2>; 171999667caSMichal Simek }; 172999667caSMichal Simek }; 173999667caSMichal Simek 174999667caSMichal Simek i2c@4 { 175999667caSMichal Simek #address-cells = <1>; 176999667caSMichal Simek #size-cells = <0>; 177999667caSMichal Simek reg = <4>; 178999667caSMichal Simek rtc@51 { 179999667caSMichal Simek compatible = "nxp,pcf8563"; 180999667caSMichal Simek reg = <0x51>; 181999667caSMichal Simek }; 182999667caSMichal Simek }; 183999667caSMichal Simek 184999667caSMichal Simek i2c@7 { 185999667caSMichal Simek #address-cells = <1>; 186999667caSMichal Simek #size-cells = <0>; 187999667caSMichal Simek reg = <7>; 188999667caSMichal Simek hwmon@52 { 189999667caSMichal Simek compatible = "ti,ucd9248"; 190999667caSMichal Simek reg = <52>; 191999667caSMichal Simek }; 192999667caSMichal Simek hwmon@53 { 193999667caSMichal Simek compatible = "ti,ucd9248"; 194999667caSMichal Simek reg = <53>; 195999667caSMichal Simek }; 196999667caSMichal Simek hwmon@54 { 197999667caSMichal Simek compatible = "ti,ucd9248"; 198999667caSMichal Simek reg = <54>; 199999667caSMichal Simek }; 200999667caSMichal Simek }; 201999667caSMichal Simek }; 202999667caSMichal Simek}; 203999667caSMichal Simek 204999667caSMichal Simek&pinctrl0 { 205999667caSMichal Simek pinctrl_can0_default: can0-default { 206999667caSMichal Simek mux { 207999667caSMichal Simek function = "can0"; 208999667caSMichal Simek groups = "can0_9_grp"; 209999667caSMichal Simek }; 210999667caSMichal Simek 211999667caSMichal Simek conf { 212999667caSMichal Simek groups = "can0_9_grp"; 213999667caSMichal Simek slew-rate = <0>; 214999667caSMichal Simek io-standard = <1>; 215999667caSMichal Simek }; 216999667caSMichal Simek 217999667caSMichal Simek conf-rx { 218999667caSMichal Simek pins = "MIO46"; 219999667caSMichal Simek bias-high-impedance; 220999667caSMichal Simek }; 221999667caSMichal Simek 222999667caSMichal Simek conf-tx { 223999667caSMichal Simek pins = "MIO47"; 224999667caSMichal Simek bias-disable; 225999667caSMichal Simek }; 226999667caSMichal Simek }; 227999667caSMichal Simek 228999667caSMichal Simek pinctrl_gem0_default: gem0-default { 229999667caSMichal Simek mux { 230999667caSMichal Simek function = "ethernet0"; 231999667caSMichal Simek groups = "ethernet0_0_grp"; 232999667caSMichal Simek }; 233999667caSMichal Simek 234999667caSMichal Simek conf { 235999667caSMichal Simek groups = "ethernet0_0_grp"; 236999667caSMichal Simek slew-rate = <0>; 237999667caSMichal Simek io-standard = <4>; 238999667caSMichal Simek }; 239999667caSMichal Simek 240999667caSMichal Simek conf-rx { 241999667caSMichal Simek pins = "MIO22", "MIO23", "MIO24", "MIO25", "MIO26", "MIO27"; 242999667caSMichal Simek bias-high-impedance; 243999667caSMichal Simek low-power-disable; 244999667caSMichal Simek }; 245999667caSMichal Simek 246999667caSMichal Simek conf-tx { 247999667caSMichal Simek pins = "MIO16", "MIO17", "MIO18", "MIO19", "MIO20", "MIO21"; 248999667caSMichal Simek bias-disable; 249999667caSMichal Simek low-power-enable; 250999667caSMichal Simek }; 251999667caSMichal Simek 252999667caSMichal Simek mux-mdio { 253999667caSMichal Simek function = "mdio0"; 254999667caSMichal Simek groups = "mdio0_0_grp"; 255999667caSMichal Simek }; 256999667caSMichal Simek 257999667caSMichal Simek conf-mdio { 258999667caSMichal Simek groups = "mdio0_0_grp"; 259999667caSMichal Simek slew-rate = <0>; 260999667caSMichal Simek io-standard = <1>; 261999667caSMichal Simek bias-disable; 262999667caSMichal Simek }; 263999667caSMichal Simek }; 264999667caSMichal Simek 265999667caSMichal Simek pinctrl_gpio0_default: gpio0-default { 266999667caSMichal Simek mux { 267999667caSMichal Simek function = "gpio0"; 268999667caSMichal Simek groups = "gpio0_7_grp", "gpio0_8_grp", "gpio0_9_grp", 269999667caSMichal Simek "gpio0_10_grp", "gpio0_11_grp", "gpio0_12_grp", 270999667caSMichal Simek "gpio0_13_grp", "gpio0_14_grp"; 271999667caSMichal Simek }; 272999667caSMichal Simek 273999667caSMichal Simek conf { 274999667caSMichal Simek groups = "gpio0_7_grp", "gpio0_8_grp", "gpio0_9_grp", 275999667caSMichal Simek "gpio0_10_grp", "gpio0_11_grp", "gpio0_12_grp", 276999667caSMichal Simek "gpio0_13_grp", "gpio0_14_grp"; 277999667caSMichal Simek slew-rate = <0>; 278999667caSMichal Simek io-standard = <1>; 279999667caSMichal Simek }; 280999667caSMichal Simek 281999667caSMichal Simek conf-pull-up { 282999667caSMichal Simek pins = "MIO9", "MIO10", "MIO11", "MIO12", "MIO13", "MIO14"; 283999667caSMichal Simek bias-pull-up; 284999667caSMichal Simek }; 285999667caSMichal Simek 286999667caSMichal Simek conf-pull-none { 287999667caSMichal Simek pins = "MIO7", "MIO8"; 288999667caSMichal Simek bias-disable; 289999667caSMichal Simek }; 290999667caSMichal Simek }; 291999667caSMichal Simek 292999667caSMichal Simek pinctrl_i2c0_default: i2c0-default { 293999667caSMichal Simek mux { 294999667caSMichal Simek groups = "i2c0_10_grp"; 295999667caSMichal Simek function = "i2c0"; 296999667caSMichal Simek }; 297999667caSMichal Simek 298999667caSMichal Simek conf { 299999667caSMichal Simek groups = "i2c0_10_grp"; 300999667caSMichal Simek bias-pull-up; 301999667caSMichal Simek slew-rate = <0>; 302999667caSMichal Simek io-standard = <1>; 303999667caSMichal Simek }; 304999667caSMichal Simek }; 305999667caSMichal Simek 30657bcc7fdSChirag Parekh pinctrl_i2c0_gpio: i2c0-gpio { 30757bcc7fdSChirag Parekh mux { 30857bcc7fdSChirag Parekh groups = "gpio0_50_grp", "gpio0_51_grp"; 30957bcc7fdSChirag Parekh function = "gpio0"; 31057bcc7fdSChirag Parekh }; 31157bcc7fdSChirag Parekh 31257bcc7fdSChirag Parekh conf { 31357bcc7fdSChirag Parekh groups = "gpio0_50_grp", "gpio0_51_grp"; 31457bcc7fdSChirag Parekh slew-rate = <0>; 31557bcc7fdSChirag Parekh io-standard = <1>; 31657bcc7fdSChirag Parekh }; 31757bcc7fdSChirag Parekh }; 31857bcc7fdSChirag Parekh 319999667caSMichal Simek pinctrl_sdhci0_default: sdhci0-default { 320999667caSMichal Simek mux { 321999667caSMichal Simek groups = "sdio0_2_grp"; 322999667caSMichal Simek function = "sdio0"; 323999667caSMichal Simek }; 324999667caSMichal Simek 325999667caSMichal Simek conf { 326999667caSMichal Simek groups = "sdio0_2_grp"; 327999667caSMichal Simek slew-rate = <0>; 328999667caSMichal Simek io-standard = <1>; 329999667caSMichal Simek bias-disable; 330999667caSMichal Simek }; 331999667caSMichal Simek 332999667caSMichal Simek mux-cd { 333999667caSMichal Simek groups = "gpio0_0_grp"; 334999667caSMichal Simek function = "sdio0_cd"; 335999667caSMichal Simek }; 336999667caSMichal Simek 337999667caSMichal Simek conf-cd { 338999667caSMichal Simek groups = "gpio0_0_grp"; 339999667caSMichal Simek bias-high-impedance; 340999667caSMichal Simek bias-pull-up; 341999667caSMichal Simek slew-rate = <0>; 342999667caSMichal Simek io-standard = <1>; 343999667caSMichal Simek }; 344999667caSMichal Simek 345999667caSMichal Simek mux-wp { 346999667caSMichal Simek groups = "gpio0_15_grp"; 347999667caSMichal Simek function = "sdio0_wp"; 348999667caSMichal Simek }; 349999667caSMichal Simek 350999667caSMichal Simek conf-wp { 351999667caSMichal Simek groups = "gpio0_15_grp"; 352999667caSMichal Simek bias-high-impedance; 353999667caSMichal Simek bias-pull-up; 354999667caSMichal Simek slew-rate = <0>; 355999667caSMichal Simek io-standard = <1>; 356999667caSMichal Simek }; 357999667caSMichal Simek }; 358999667caSMichal Simek 359999667caSMichal Simek pinctrl_uart1_default: uart1-default { 360999667caSMichal Simek mux { 361999667caSMichal Simek groups = "uart1_10_grp"; 362999667caSMichal Simek function = "uart1"; 363999667caSMichal Simek }; 364999667caSMichal Simek 365999667caSMichal Simek conf { 366999667caSMichal Simek groups = "uart1_10_grp"; 367999667caSMichal Simek slew-rate = <0>; 368999667caSMichal Simek io-standard = <1>; 369999667caSMichal Simek }; 370999667caSMichal Simek 371999667caSMichal Simek conf-rx { 372999667caSMichal Simek pins = "MIO49"; 373999667caSMichal Simek bias-high-impedance; 374999667caSMichal Simek }; 375999667caSMichal Simek 376999667caSMichal Simek conf-tx { 377999667caSMichal Simek pins = "MIO48"; 378999667caSMichal Simek bias-disable; 379999667caSMichal Simek }; 380999667caSMichal Simek }; 381999667caSMichal Simek 382999667caSMichal Simek pinctrl_usb0_default: usb0-default { 383999667caSMichal Simek mux { 384999667caSMichal Simek groups = "usb0_0_grp"; 385999667caSMichal Simek function = "usb0"; 386999667caSMichal Simek }; 387999667caSMichal Simek 388999667caSMichal Simek conf { 389999667caSMichal Simek groups = "usb0_0_grp"; 390999667caSMichal Simek slew-rate = <0>; 391999667caSMichal Simek io-standard = <1>; 392999667caSMichal Simek }; 393999667caSMichal Simek 394999667caSMichal Simek conf-rx { 395999667caSMichal Simek pins = "MIO29", "MIO31", "MIO36"; 396999667caSMichal Simek bias-high-impedance; 397999667caSMichal Simek }; 398999667caSMichal Simek 399999667caSMichal Simek conf-tx { 400999667caSMichal Simek pins = "MIO28", "MIO30", "MIO32", "MIO33", "MIO34", 401999667caSMichal Simek "MIO35", "MIO37", "MIO38", "MIO39"; 402999667caSMichal Simek bias-disable; 403999667caSMichal Simek }; 404999667caSMichal Simek }; 405999667caSMichal Simek}; 406999667caSMichal Simek 407a95d54b4SMichal Simek&qspi { 408a95d54b4SMichal Simek u-boot,dm-pre-reloc; 409a95d54b4SMichal Simek status = "okay"; 410a95d54b4SMichal Simek}; 411a95d54b4SMichal Simek 412999667caSMichal Simek&sdhci0 { 413d9ae52c8SMichal Simek u-boot,dm-pre-reloc; 414999667caSMichal Simek status = "okay"; 415999667caSMichal Simek pinctrl-names = "default"; 416999667caSMichal Simek pinctrl-0 = <&pinctrl_sdhci0_default>; 417999667caSMichal Simek}; 418999667caSMichal Simek 419999667caSMichal Simek&uart1 { 420035c6b27SSimon Glass u-boot,dm-pre-reloc; 421999667caSMichal Simek status = "okay"; 422999667caSMichal Simek pinctrl-names = "default"; 423999667caSMichal Simek pinctrl-0 = <&pinctrl_uart1_default>; 424999667caSMichal Simek}; 425999667caSMichal Simek 426999667caSMichal Simek&usb0 { 427999667caSMichal Simek status = "okay"; 428999667caSMichal Simek dr_mode = "host"; 429999667caSMichal Simek usb-phy = <&usb_phy0>; 430999667caSMichal Simek pinctrl-names = "default"; 431999667caSMichal Simek pinctrl-0 = <&pinctrl_usb0_default>; 4325ab502cbSMasahiro Yamada}; 433