Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0+
0002 /dts-v1/;
0003 #include "zynq-7000.dtsi"
0004 #include <dt-bindings/gpio/gpio.h>
0005 
0006 / {
0007         model = "Digilent Zybo Z7 board";
0008         compatible = "digilent,zynq-zybo-z7", "xlnx,zynq-7000";
0009 
0010         aliases {
0011                 ethernet0 = &gem0;
0012                 serial0 = &uart1;
0013         };
0014 
0015         memory@0 {
0016                 device_type = "memory";
0017                 reg = <0x0 0x40000000>;
0018         };
0019 
0020         chosen {
0021                 bootargs = "";
0022                 stdout-path = "serial0:115200n8";
0023         };
0024 
0025         gpio-leds {
0026                 compatible = "gpio-leds";
0027 
0028                 led-ld4 {
0029                         label = "zynq-zybo-z7:green:ld4";
0030                         gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
0031                 };
0032         };
0033 
0034         usb_phy0: phy0 {
0035                 #phy-cells = <0>;
0036                 compatible = "usb-nop-xceiv";
0037                 reset-gpios = <&gpio0 46 GPIO_ACTIVE_LOW>;
0038         };
0039 };
0040 
0041 &clkc {
0042         ps-clk-frequency = <33333333>;
0043 };
0044 
0045 &gem0 {
0046         status = "okay";
0047         phy-mode = "rgmii-id";
0048         phy-handle = <&ethernet_phy>;
0049 
0050         ethernet_phy: ethernet-phy@0 {
0051                 reg = <0>;
0052                 device_type = "ethernet-phy";
0053         };
0054 };
0055 
0056 &sdhci0 {
0057         status = "okay";
0058 };
0059 
0060 &uart1 {
0061         status = "okay";
0062 };
0063 
0064 &usb0 {
0065         status = "okay";
0066         dr_mode = "host";
0067         usb-phy = <&usb_phy0>;
0068 };