Peter Crosthwaite | 9757b65 | 2014-08-28 21:16:39 +1000 | [diff] [blame] | 1 | /* |
2 | * Digilent ZYBO board DTS | ||||
3 | * | ||||
Michal Simek | 999667c | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 4 | * Copyright (C) 2011 - 2015 Xilinx |
5 | * Copyright (C) 2012 National Instruments Corp. | ||||
Peter Crosthwaite | 9757b65 | 2014-08-28 21:16:39 +1000 | [diff] [blame] | 6 | * |
7 | * SPDX-License-Identifier: GPL-2.0+ | ||||
8 | */ | ||||
9 | /dts-v1/; | ||||
10 | #include "zynq-7000.dtsi" | ||||
11 | |||||
12 | / { | ||||
Michal Simek | 999667c | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 13 | model = "Zynq ZYBO Development Board"; |
14 | compatible = "digilent,zynq-zybo", "xlnx,zynq-7000"; | ||||
Peter Crosthwaite | 9757b65 | 2014-08-28 21:16:39 +1000 | [diff] [blame] | 15 | |
16 | aliases { | ||||
Michal Simek | 999667c | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 17 | ethernet0 = &gem0; |
Peter Crosthwaite | 9757b65 | 2014-08-28 21:16:39 +1000 | [diff] [blame] | 18 | serial0 = &uart1; |
Nathan Rossi | 7bbf825 | 2015-12-09 00:44:42 +1000 | [diff] [blame] | 19 | spi0 = &qspi; |
Michal Simek | 8647219 | 2015-12-08 11:56:23 +0100 | [diff] [blame] | 20 | mmc0 = &sdhci0; |
Peter Crosthwaite | 9757b65 | 2014-08-28 21:16:39 +1000 | [diff] [blame] | 21 | }; |
22 | |||||
23 | memory { | ||||
24 | device_type = "memory"; | ||||
Michal Simek | 999667c | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 25 | reg = <0x0 0x20000000>; |
Peter Crosthwaite | 9757b65 | 2014-08-28 21:16:39 +1000 | [diff] [blame] | 26 | }; |
Michal Simek | 999667c | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 27 | |
28 | chosen { | ||||
29 | bootargs = "earlyprintk"; | ||||
30 | stdout-path = "serial0:115200n8"; | ||||
31 | }; | ||||
32 | |||||
Nathan Rossi | 7bbf825 | 2015-12-09 00:44:42 +1000 | [diff] [blame] | 33 | usb_phy0: phy0 { |
34 | compatible = "usb-nop-xceiv"; | ||||
35 | #phy-cells = <0>; | ||||
36 | }; | ||||
Michal Simek | 999667c | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 37 | }; |
38 | |||||
39 | &clkc { | ||||
40 | ps-clk-frequency = <50000000>; | ||||
41 | }; | ||||
42 | |||||
43 | &gem0 { | ||||
44 | status = "okay"; | ||||
45 | phy-mode = "rgmii-id"; | ||||
46 | phy-handle = <ðernet_phy>; | ||||
47 | |||||
48 | ethernet_phy: ethernet-phy@0 { | ||||
49 | reg = <0>; | ||||
50 | }; | ||||
51 | }; | ||||
52 | |||||
53 | &sdhci0 { | ||||
Michal Simek | 8647219 | 2015-12-08 11:56:23 +0100 | [diff] [blame] | 54 | u-boot,dm-pre-reloc; |
Michal Simek | 999667c | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 55 | status = "okay"; |
56 | }; | ||||
57 | |||||
58 | &uart1 { | ||||
Simon Glass | 035c6b2 | 2015-10-17 19:41:24 -0600 | [diff] [blame] | 59 | u-boot,dm-pre-reloc; |
Michal Simek | 999667c | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 60 | status = "okay"; |
Peter Crosthwaite | 9757b65 | 2014-08-28 21:16:39 +1000 | [diff] [blame] | 61 | }; |
Nathan Rossi | 7bbf825 | 2015-12-09 00:44:42 +1000 | [diff] [blame] | 62 | |
63 | &qspi { | ||||
64 | u-boot,dm-pre-reloc; | ||||
65 | status = "okay"; | ||||
66 | }; | ||||
67 | |||||
68 | &usb0 { | ||||
69 | status = "okay"; | ||||
70 | dr_mode = "host"; | ||||
71 | usb-phy = <&usb_phy0>; | ||||
72 | }; |