2018-02-28 10:25:52 +08:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
|
|
|
/dts-v1/;
|
|
|
|
#include "zynq-7000.dtsi"
|
2018-07-12 13:50:47 +08:00
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
2018-02-28 10:25:52 +08:00
|
|
|
|
|
|
|
/ {
|
2018-07-12 12:10:20 +08:00
|
|
|
model = "Digilent Zybo Z7 board";
|
2018-02-28 10:25:52 +08:00
|
|
|
compatible = "digilent,zynq-zybo-z7", "xlnx,zynq-7000";
|
|
|
|
|
|
|
|
aliases {
|
|
|
|
ethernet0 = &gem0;
|
|
|
|
serial0 = &uart1;
|
|
|
|
};
|
|
|
|
|
|
|
|
memory@0 {
|
|
|
|
device_type = "memory";
|
2018-07-12 13:50:46 +08:00
|
|
|
reg = <0x0 0x40000000>;
|
2018-02-28 10:25:52 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
bootargs = "";
|
|
|
|
stdout-path = "serial0:115200n8";
|
|
|
|
};
|
|
|
|
|
2018-07-12 13:50:48 +08:00
|
|
|
gpio-leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
|
|
|
|
ld4 {
|
|
|
|
label = "zynq-zybo-z7:green:ld4";
|
|
|
|
gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-02-28 10:25:52 +08:00
|
|
|
usb_phy0: phy0 {
|
|
|
|
#phy-cells = <0>;
|
|
|
|
compatible = "usb-nop-xceiv";
|
2018-07-12 13:50:47 +08:00
|
|
|
reset-gpios = <&gpio0 46 GPIO_ACTIVE_LOW>;
|
2018-02-28 10:25:52 +08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&clkc {
|
|
|
|
ps-clk-frequency = <33333333>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&gem0 {
|
|
|
|
status = "okay";
|
|
|
|
phy-mode = "rgmii-id";
|
|
|
|
phy-handle = <ðernet_phy>;
|
|
|
|
|
|
|
|
ethernet_phy: ethernet-phy@0 {
|
|
|
|
reg = <0>;
|
|
|
|
device_type = "ethernet-phy";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&sdhci0 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&uart1 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&usb0 {
|
|
|
|
status = "okay";
|
|
|
|
dr_mode = "host";
|
|
|
|
usb-phy = <&usb_phy0>;
|
|
|
|
};
|