Loading...
1// SPDX-License-Identifier: GPL-2.0+
2/dts-v1/;
3#include "zynq-7000.dtsi"
4
5/ {
6 model = "Zynq ZYBO Z7 Development Board";
7 compatible = "digilent,zynq-zybo-z7", "xlnx,zynq-7000";
8
9 aliases {
10 ethernet0 = &gem0;
11 serial0 = &uart1;
12 };
13
14 memory@0 {
15 device_type = "memory";
16 reg = <0x0 0x20000000>;
17 };
18
19 chosen {
20 bootargs = "";
21 stdout-path = "serial0:115200n8";
22 };
23
24 usb_phy0: phy0 {
25 #phy-cells = <0>;
26 compatible = "usb-nop-xceiv";
27 reset-gpios = <&gpio0 46 1>;
28 };
29};
30
31&clkc {
32 ps-clk-frequency = <33333333>;
33};
34
35&gem0 {
36 status = "okay";
37 phy-mode = "rgmii-id";
38 phy-handle = <ðernet_phy>;
39
40 ethernet_phy: ethernet-phy@0 {
41 reg = <0>;
42 device_type = "ethernet-phy";
43 };
44};
45
46&sdhci0 {
47 status = "okay";
48};
49
50&uart1 {
51 status = "okay";
52};
53
54&usb0 {
55 status = "okay";
56 dr_mode = "host";
57 usb-phy = <&usb_phy0>;
58};
1// SPDX-License-Identifier: GPL-2.0+
2/dts-v1/;
3#include "zynq-7000.dtsi"
4#include <dt-bindings/gpio/gpio.h>
5
6/ {
7 model = "Digilent Zybo Z7 board";
8 compatible = "digilent,zynq-zybo-z7", "xlnx,zynq-7000";
9
10 aliases {
11 ethernet0 = &gem0;
12 serial0 = &uart1;
13 };
14
15 memory@0 {
16 device_type = "memory";
17 reg = <0x0 0x40000000>;
18 };
19
20 chosen {
21 bootargs = "";
22 stdout-path = "serial0:115200n8";
23 };
24
25 gpio-leds {
26 compatible = "gpio-leds";
27
28 led-ld4 {
29 label = "zynq-zybo-z7:green:ld4";
30 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
31 };
32 };
33
34 usb_phy0: phy0 {
35 #phy-cells = <0>;
36 compatible = "usb-nop-xceiv";
37 reset-gpios = <&gpio0 46 GPIO_ACTIVE_LOW>;
38 };
39};
40
41&clkc {
42 ps-clk-frequency = <33333333>;
43};
44
45&gem0 {
46 status = "okay";
47 phy-mode = "rgmii-id";
48 phy-handle = <ðernet_phy>;
49
50 ethernet_phy: ethernet-phy@0 {
51 reg = <0>;
52 device_type = "ethernet-phy";
53 };
54};
55
56&sdhci0 {
57 status = "okay";
58};
59
60&uart1 {
61 status = "okay";
62};
63
64&usb0 {
65 status = "okay";
66 dr_mode = "host";
67 usb-phy = <&usb_phy0>;
68};