Luis Araneda | c1c763d | 2018-07-24 11:31:19 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * Copyright (C) 2011 - 2015 Xilinx |
| 4 | * Copyright (C) 2012 National Instruments Corp. |
| 5 | */ |
| 6 | /dts-v1/; |
| 7 | #include "zynq-7000.dtsi" |
| 8 | #include <dt-bindings/gpio/gpio.h> |
| 9 | |
| 10 | / { |
| 11 | model = "Digilent Zybo Z7 board"; |
| 12 | compatible = "digilent,zynq-zybo-z7", "xlnx,zynq-7000"; |
| 13 | |
| 14 | aliases { |
| 15 | ethernet0 = &gem0; |
| 16 | serial0 = &uart1; |
| 17 | spi0 = &qspi; |
| 18 | mmc0 = &sdhci0; |
| 19 | }; |
| 20 | |
| 21 | memory@0 { |
| 22 | device_type = "memory"; |
| 23 | reg = <0x0 0x40000000>; |
| 24 | }; |
| 25 | |
| 26 | chosen { |
| 27 | bootargs = ""; |
| 28 | stdout-path = "serial0:115200n8"; |
| 29 | }; |
| 30 | |
| 31 | gpio-leds { |
| 32 | compatible = "gpio-leds"; |
| 33 | |
Michal Simek | 958c0e9 | 2020-11-26 14:25:02 +0100 | [diff] [blame] | 34 | led-ld4 { |
Luis Araneda | c1c763d | 2018-07-24 11:31:19 -0400 | [diff] [blame] | 35 | label = "zynq-zybo-z7:green:ld4"; |
| 36 | gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>; |
| 37 | }; |
| 38 | }; |
| 39 | |
| 40 | usb_phy0: phy0 { |
| 41 | #phy-cells = <0>; |
| 42 | compatible = "usb-nop-xceiv"; |
| 43 | reset-gpios = <&gpio0 46 GPIO_ACTIVE_LOW>; |
| 44 | }; |
| 45 | }; |
| 46 | |
| 47 | &clkc { |
| 48 | ps-clk-frequency = <33333333>; |
| 49 | }; |
| 50 | |
| 51 | &gem0 { |
| 52 | status = "okay"; |
| 53 | phy-mode = "rgmii-id"; |
| 54 | phy-handle = <ðernet_phy>; |
| 55 | |
| 56 | ethernet_phy: ethernet-phy@0 { |
| 57 | reg = <0>; |
| 58 | device_type = "ethernet-phy"; |
| 59 | }; |
| 60 | }; |
| 61 | |
| 62 | &qspi { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 63 | bootph-all; |
Luis Araneda | c1c763d | 2018-07-24 11:31:19 -0400 | [diff] [blame] | 64 | status = "okay"; |
| 65 | }; |
| 66 | |
| 67 | &sdhci0 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 68 | bootph-all; |
Luis Araneda | c1c763d | 2018-07-24 11:31:19 -0400 | [diff] [blame] | 69 | status = "okay"; |
| 70 | }; |
| 71 | |
| 72 | &uart1 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 73 | bootph-all; |
Luis Araneda | c1c763d | 2018-07-24 11:31:19 -0400 | [diff] [blame] | 74 | status = "okay"; |
| 75 | }; |
| 76 | |
| 77 | &usb0 { |
| 78 | status = "okay"; |
| 79 | dr_mode = "host"; |
| 80 | usb-phy = <&usb_phy0>; |
| 81 | }; |