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