Peter Crosthwaite | 7b01abb | 2014-12-01 10:25:50 +1000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2011 - 2014 Xilinx |
| 3 | * Copyright (C) 2012 National Instruments Corp. |
| 4 | * |
| 5 | * This software is licensed under the terms of the GNU General Public |
| 6 | * License version 2, as published by the Free Software Foundation, and |
| 7 | * may be copied, distributed, and modified under those terms. |
| 8 | * |
| 9 | * This program is distributed in the hope that it will be useful, |
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 | * GNU General Public License for more details. |
| 13 | */ |
| 14 | /dts-v1/; |
| 15 | /include/ "zynq-7000.dtsi" |
| 16 | |
| 17 | / { |
| 18 | model = "Zynq ZYBO Development Board"; |
| 19 | compatible = "digilent,zynq-zybo", "xlnx,zynq-7000"; |
| 20 | |
Michal Simek | 1b654bc | 2015-02-11 13:05:11 +0100 | [diff] [blame] | 21 | aliases { |
| 22 | ethernet0 = &gem0; |
| 23 | serial0 = &uart1; |
| 24 | }; |
| 25 | |
Peter Crosthwaite | 7b01abb | 2014-12-01 10:25:50 +1000 | [diff] [blame] | 26 | memory { |
| 27 | device_type = "memory"; |
| 28 | reg = <0x0 0x20000000>; |
| 29 | }; |
| 30 | |
| 31 | chosen { |
Michal Simek | 07bf429 | 2016-02-15 16:36:11 +0100 | [diff] [blame] | 32 | bootargs = "earlycon"; |
Michal Simek | 2221043 | 2015-02-11 13:06:36 +0100 | [diff] [blame] | 33 | stdout-path = "serial0:115200n8"; |
Peter Crosthwaite | 7b01abb | 2014-12-01 10:25:50 +1000 | [diff] [blame] | 34 | }; |
| 35 | |
Nathan Rossi | b977025 | 2016-02-03 22:41:05 +1000 | [diff] [blame] | 36 | usb_phy0: phy0 { |
| 37 | #phy-cells = <0>; |
| 38 | compatible = "usb-nop-xceiv"; |
| 39 | reset-gpios = <&gpio0 46 1>; |
| 40 | }; |
Peter Crosthwaite | 7b01abb | 2014-12-01 10:25:50 +1000 | [diff] [blame] | 41 | }; |
| 42 | |
| 43 | &clkc { |
| 44 | ps-clk-frequency = <50000000>; |
| 45 | }; |
| 46 | |
| 47 | &gem0 { |
| 48 | status = "okay"; |
| 49 | phy-mode = "rgmii-id"; |
| 50 | phy-handle = <ðernet_phy>; |
| 51 | |
| 52 | ethernet_phy: ethernet-phy@0 { |
| 53 | reg = <0>; |
| 54 | }; |
| 55 | }; |
| 56 | |
| 57 | &sdhci0 { |
| 58 | status = "okay"; |
| 59 | }; |
| 60 | |
| 61 | &uart1 { |
| 62 | status = "okay"; |
| 63 | }; |
Nathan Rossi | b977025 | 2016-02-03 22:41:05 +1000 | [diff] [blame] | 64 | |
| 65 | &usb0 { |
| 66 | status = "okay"; |
| 67 | dr_mode = "host"; |
| 68 | usb-phy = <&usb_phy0>; |
| 69 | }; |