Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003  *  Copyright (C) 2011 - 2014 Xilinx
0004  *  Copyright (C) 2012 National Instruments Corp.
0005  */
0006 /dts-v1/;
0007 #include "zynq-7000.dtsi"
0008 
0009 / {
0010         model = "Digilent Zybo board";
0011         compatible = "digilent,zynq-zybo", "xlnx,zynq-7000";
0012 
0013         aliases {
0014                 ethernet0 = &gem0;
0015                 serial0 = &uart1;
0016                 mmc0 = &sdhci0;
0017         };
0018 
0019         memory@0 {
0020                 device_type = "memory";
0021                 reg = <0x0 0x20000000>;
0022         };
0023 
0024         chosen {
0025                 bootargs = "";
0026                 stdout-path = "serial0:115200n8";
0027         };
0028 
0029         usb_phy0: phy0 {
0030                 #phy-cells = <0>;
0031                 compatible = "usb-nop-xceiv";
0032                 reset-gpios = <&gpio0 46 1>;
0033         };
0034 };
0035 
0036 &clkc {
0037         ps-clk-frequency = <50000000>;
0038 };
0039 
0040 &gem0 {
0041         status = "okay";
0042         phy-mode = "rgmii-id";
0043         phy-handle = <&ethernet_phy>;
0044 
0045         ethernet_phy: ethernet-phy@0 {
0046                 reg = <0>;
0047                 device_type = "ethernet-phy";
0048         };
0049 };
0050 
0051 &sdhci0 {
0052         status = "okay";
0053 };
0054 
0055 &uart1 {
0056         status = "okay";
0057 };
0058 
0059 &usb0 {
0060         status = "okay";
0061         dr_mode = "host";
0062         usb-phy = <&usb_phy0>;
0063 };