GNU Linux-libre 4.19.264-gnu1
[releases.git] / arch / arm / boot / dts / zynq-zybo.dts
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3  *  Copyright (C) 2011 - 2014 Xilinx
4  *  Copyright (C) 2012 National Instruments Corp.
5  */
6 /dts-v1/;
7 #include "zynq-7000.dtsi"
8
9 / {
10         model = "Digilent Zybo board";
11         compatible = "digilent,zynq-zybo", "xlnx,zynq-7000";
12
13         aliases {
14                 ethernet0 = &gem0;
15                 serial0 = &uart1;
16                 mmc0 = &sdhci0;
17         };
18
19         memory@0 {
20                 device_type = "memory";
21                 reg = <0x0 0x20000000>;
22         };
23
24         chosen {
25                 bootargs = "";
26                 stdout-path = "serial0:115200n8";
27         };
28
29         usb_phy0: phy0 {
30                 #phy-cells = <0>;
31                 compatible = "usb-nop-xceiv";
32                 reset-gpios = <&gpio0 46 1>;
33         };
34 };
35
36 &clkc {
37         ps-clk-frequency = <50000000>;
38 };
39
40 &gem0 {
41         status = "okay";
42         phy-mode = "rgmii-id";
43         phy-handle = <&ethernet_phy>;
44
45         ethernet_phy: ethernet-phy@0 {
46                 reg = <0>;
47                 device_type = "ethernet-phy";
48         };
49 };
50
51 &sdhci0 {
52         status = "okay";
53 };
54
55 &uart1 {
56         status = "okay";
57 };
58
59 &usb0 {
60         status = "okay";
61         dr_mode = "host";
62         usb-phy = <&usb_phy0>;
63 };