Peter Crosthwaite | 9d7740a | 2014-08-28 21:16:39 +1000 | [diff] [blame] | 1 | /* |
2 | * Digilent ZYBO board DTS | ||||
3 | * | ||||
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 4 | * Copyright (C) 2011 - 2015 Xilinx |
5 | * Copyright (C) 2012 National Instruments Corp. | ||||
Peter Crosthwaite | 9d7740a | 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 | e2612e1 | 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 | 9d7740a | 2014-08-28 21:16:39 +1000 | [diff] [blame] | 15 | |
16 | aliases { | ||||
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 17 | ethernet0 = &gem0; |
Peter Crosthwaite | 9d7740a | 2014-08-28 21:16:39 +1000 | [diff] [blame] | 18 | serial0 = &uart1; |
Nathan Rossi | b13bb07 | 2015-12-09 00:44:42 +1000 | [diff] [blame] | 19 | spi0 = &qspi; |
Michal Simek | 1a03a52 | 2015-12-08 11:56:23 +0100 | [diff] [blame] | 20 | mmc0 = &sdhci0; |
Peter Crosthwaite | 9d7740a | 2014-08-28 21:16:39 +1000 | [diff] [blame] | 21 | }; |
22 | |||||
23 | memory { | ||||
24 | device_type = "memory"; | ||||
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 25 | reg = <0x0 0x20000000>; |
Peter Crosthwaite | 9d7740a | 2014-08-28 21:16:39 +1000 | [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 | |||||
Nathan Rossi | b13bb07 | 2015-12-09 00:44:42 +1000 | [diff] [blame] | 33 | usb_phy0: phy0 { |
Michal Simek | 18d0fa1 | 2016-02-13 10:38:08 +0100 | [diff] [blame] | 34 | compatible = "usb-nop-xceiv"; |
Michal Simek | b46e95f | 2016-04-07 14:42:53 +0200 | [diff] [blame] | 35 | #phy-cells = <0>; |
Michal Simek | 18d0fa1 | 2016-02-13 10:38:08 +0100 | [diff] [blame] | 36 | reset-gpios = <&gpio0 46 1>; |
Nathan Rossi | b13bb07 | 2015-12-09 00:44:42 +1000 | [diff] [blame] | 37 | }; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 38 | }; |
39 | |||||
40 | &clkc { | ||||
41 | ps-clk-frequency = <50000000>; | ||||
42 | }; | ||||
43 | |||||
44 | &gem0 { | ||||
45 | status = "okay"; | ||||
46 | phy-mode = "rgmii-id"; | ||||
47 | phy-handle = <ðernet_phy>; | ||||
48 | |||||
49 | ethernet_phy: ethernet-phy@0 { | ||||
50 | reg = <0>; | ||||
51 | }; | ||||
52 | }; | ||||
53 | |||||
Michal Simek | 6603e1c | 2016-04-07 13:04:15 +0200 | [diff] [blame] | 54 | &qspi { |
Michal Simek | 1a03a52 | 2015-12-08 11:56:23 +0100 | [diff] [blame] | 55 | u-boot,dm-pre-reloc; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 56 | status = "okay"; |
57 | }; | ||||
58 | |||||
Michal Simek | 6603e1c | 2016-04-07 13:04:15 +0200 | [diff] [blame] | 59 | &sdhci0 { |
Simon Glass | 8c7323a | 2015-10-17 19:41:24 -0600 | [diff] [blame] | 60 | u-boot,dm-pre-reloc; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 61 | status = "okay"; |
Nathan Rossi | b13bb07 | 2015-12-09 00:44:42 +1000 | [diff] [blame] | 62 | }; |
63 | |||||
Michal Simek | 6603e1c | 2016-04-07 13:04:15 +0200 | [diff] [blame] | 64 | &uart1 { |
Nathan Rossi | b13bb07 | 2015-12-09 00:44:42 +1000 | [diff] [blame] | 65 | u-boot,dm-pre-reloc; |
66 | status = "okay"; | ||||
67 | }; | ||||
68 | |||||
69 | &usb0 { | ||||
70 | status = "okay"; | ||||
71 | dr_mode = "host"; | ||||
72 | usb-phy = <&usb_phy0>; | ||||
Peter Crosthwaite | 9d7740a | 2014-08-28 21:16:39 +1000 | [diff] [blame] | 73 | }; |