Michal Simek | 71d84b4 | 2018-03-27 13:43:05 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Peter Crosthwaite | 9d7740a | 2014-08-28 21:16:39 +1000 | [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. | ||||
Peter Crosthwaite | 9d7740a | 2014-08-28 21:16:39 +1000 | [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 = "Digilent Zybo board"; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 11 | compatible = "digilent,zynq-zybo", "xlnx,zynq-7000"; |
Peter Crosthwaite | 9d7740a | 2014-08-28 21:16:39 +1000 | [diff] [blame] | 12 | |
13 | aliases { | ||||
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 14 | ethernet0 = &gem0; |
Peter Crosthwaite | 9d7740a | 2014-08-28 21:16:39 +1000 | [diff] [blame] | 15 | serial0 = &uart1; |
Nathan Rossi | b13bb07 | 2015-12-09 00:44:42 +1000 | [diff] [blame] | 16 | spi0 = &qspi; |
Michal Simek | 1a03a52 | 2015-12-08 11:56:23 +0100 | [diff] [blame] | 17 | mmc0 = &sdhci0; |
Peter Crosthwaite | 9d7740a | 2014-08-28 21:16:39 +1000 | [diff] [blame] | 18 | }; |
19 | |||||
Michal Simek | b3585f4 | 2016-11-11 13:11:37 +0100 | [diff] [blame] | 20 | memory@0 { |
Peter Crosthwaite | 9d7740a | 2014-08-28 21:16:39 +1000 | [diff] [blame] | 21 | device_type = "memory"; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 22 | reg = <0x0 0x20000000>; |
Peter Crosthwaite | 9d7740a | 2014-08-28 21:16:39 +1000 | [diff] [blame] | 23 | }; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 24 | |
25 | chosen { | ||||
Michal Simek | 8073b86 | 2016-04-07 11:15:00 +0200 | [diff] [blame] | 26 | bootargs = ""; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 27 | stdout-path = "serial0:115200n8"; |
28 | }; | ||||
29 | |||||
Nathan Rossi | b13bb07 | 2015-12-09 00:44:42 +1000 | [diff] [blame] | 30 | usb_phy0: phy0 { |
Michal Simek | b46e95f | 2016-04-07 14:42:53 +0200 | [diff] [blame] | 31 | #phy-cells = <0>; |
Michal Simek | d69a70e | 2017-11-02 09:24:12 +0100 | [diff] [blame] | 32 | compatible = "usb-nop-xceiv"; |
Michal Simek | 18d0fa1 | 2016-02-13 10:38:08 +0100 | [diff] [blame] | 33 | reset-gpios = <&gpio0 46 1>; |
Nathan Rossi | b13bb07 | 2015-12-09 00:44:42 +1000 | [diff] [blame] | 34 | }; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 35 | }; |
36 | |||||
37 | &clkc { | ||||
38 | ps-clk-frequency = <50000000>; | ||||
39 | }; | ||||
40 | |||||
41 | &gem0 { | ||||
42 | status = "okay"; | ||||
43 | phy-mode = "rgmii-id"; | ||||
44 | phy-handle = <ðernet_phy>; | ||||
45 | |||||
46 | ethernet_phy: ethernet-phy@0 { | ||||
47 | reg = <0>; | ||||
Sai Pavan Boddu | b2ed84b | 2017-03-06 18:17:19 +0530 | [diff] [blame] | 48 | device_type = "ethernet-phy"; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 49 | }; |
50 | }; | ||||
51 | |||||
Michal Simek | 6603e1c | 2016-04-07 13:04:15 +0200 | [diff] [blame] | 52 | &qspi { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 53 | bootph-all; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 54 | status = "okay"; |
55 | }; | ||||
56 | |||||
Michal Simek | 6603e1c | 2016-04-07 13:04:15 +0200 | [diff] [blame] | 57 | &sdhci0 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 58 | bootph-all; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 59 | status = "okay"; |
Nathan Rossi | b13bb07 | 2015-12-09 00:44:42 +1000 | [diff] [blame] | 60 | }; |
61 | |||||
Michal Simek | 6603e1c | 2016-04-07 13:04:15 +0200 | [diff] [blame] | 62 | &uart1 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 63 | bootph-all; |
Nathan Rossi | b13bb07 | 2015-12-09 00:44:42 +1000 | [diff] [blame] | 64 | status = "okay"; |
65 | }; | ||||
66 | |||||
67 | &usb0 { | ||||
68 | status = "okay"; | ||||
69 | dr_mode = "host"; | ||||
70 | usb-phy = <&usb_phy0>; | ||||
Peter Crosthwaite | 9d7740a | 2014-08-28 21:16:39 +1000 | [diff] [blame] | 71 | }; |