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>; |
Luis Araneda | c1c763d | 2018-07-24 11:31:19 -0400 | [diff] [blame] | 58 | }; |
| 59 | }; |
| 60 | |
| 61 | &qspi { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 62 | bootph-all; |
Luis Araneda | c1c763d | 2018-07-24 11:31:19 -0400 | [diff] [blame] | 63 | status = "okay"; |
| 64 | }; |
| 65 | |
| 66 | &sdhci0 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 67 | bootph-all; |
Luis Araneda | c1c763d | 2018-07-24 11:31:19 -0400 | [diff] [blame] | 68 | status = "okay"; |
| 69 | }; |
| 70 | |
| 71 | &uart1 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 72 | bootph-all; |
Luis Araneda | c1c763d | 2018-07-24 11:31:19 -0400 | [diff] [blame] | 73 | status = "okay"; |
| 74 | }; |
| 75 | |
| 76 | &usb0 { |
| 77 | status = "okay"; |
| 78 | dr_mode = "host"; |
| 79 | usb-phy = <&usb_phy0>; |
| 80 | }; |