Michal Simek | 051a8ad | 2018-03-27 13:43:05 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Jagannadha Sutradharudu Teki | f8f36c5 | 2014-01-09 01:48:26 +0530 | [diff] [blame] | 2 | /* |
Michal Simek | 999667c | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 3 | * Copyright (C) 2011 - 2015 Xilinx |
| 4 | * Copyright (C) 2012 National Instruments Corp. |
Jagannadha Sutradharudu Teki | f8f36c5 | 2014-01-09 01:48:26 +0530 | [diff] [blame] | 5 | */ |
| 6 | /dts-v1/; |
| 7 | #include "zynq-7000.dtsi" |
| 8 | |
| 9 | / { |
Luis Araneda | 9896dc6 | 2018-07-12 00:10:20 -0400 | [diff] [blame] | 10 | model = "Avnet ZedBoard board"; |
Luis Araneda | cd6160b | 2018-07-12 00:10:19 -0400 | [diff] [blame] | 11 | compatible = "avnet,zynq-zed", "xlnx,zynq-zed", "xlnx,zynq-7000"; |
Masahiro Yamada | 7d34c5d | 2014-05-15 20:37:54 +0900 | [diff] [blame] | 12 | |
Masahiro Yamada | 9f9d41b | 2014-05-15 20:37:55 +0900 | [diff] [blame] | 13 | aliases { |
Michal Simek | 999667c | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 14 | ethernet0 = &gem0; |
Masahiro Yamada | 9f9d41b | 2014-05-15 20:37:55 +0900 | [diff] [blame] | 15 | serial0 = &uart1; |
Jagan Teki | 976dfb0 | 2015-08-15 23:19:05 +0530 | [diff] [blame] | 16 | spi0 = &qspi; |
Michal Simek | 8647219 | 2015-12-08 11:56:23 +0100 | [diff] [blame] | 17 | mmc0 = &sdhci0; |
Masahiro Yamada | 9f9d41b | 2014-05-15 20:37:55 +0900 | [diff] [blame] | 18 | }; |
| 19 | |
Michal Simek | cc7978b | 2016-11-11 13:11:37 +0100 | [diff] [blame] | 20 | memory@0 { |
Masahiro Yamada | 7d34c5d | 2014-05-15 20:37:54 +0900 | [diff] [blame] | 21 | device_type = "memory"; |
Michal Simek | 999667c | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 22 | reg = <0x0 0x20000000>; |
Masahiro Yamada | 7d34c5d | 2014-05-15 20:37:54 +0900 | [diff] [blame] | 23 | }; |
Michal Simek | 999667c | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 24 | |
| 25 | chosen { |
Michal Simek | 936bbc5 | 2016-04-07 11:15:00 +0200 | [diff] [blame] | 26 | bootargs = ""; |
Michal Simek | 999667c | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 27 | stdout-path = "serial0:115200n8"; |
| 28 | }; |
| 29 | |
| 30 | usb_phy0: phy0 { |
| 31 | compatible = "usb-nop-xceiv"; |
| 32 | #phy-cells = <0>; |
| 33 | }; |
| 34 | }; |
| 35 | |
| 36 | &clkc { |
| 37 | ps-clk-frequency = <33333333>; |
| 38 | }; |
| 39 | |
| 40 | &gem0 { |
| 41 | status = "okay"; |
| 42 | phy-mode = "rgmii-id"; |
| 43 | phy-handle = <ðernet_phy>; |
| 44 | |
| 45 | ethernet_phy: ethernet-phy@0 { |
| 46 | reg = <0>; |
Sai Pavan Boddu | 5fad1ab | 2017-03-06 18:17:19 +0530 | [diff] [blame] | 47 | device_type = "ethernet-phy"; |
Michal Simek | 999667c | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 48 | }; |
| 49 | }; |
| 50 | |
Michal Simek | a95d54b | 2016-04-07 13:04:15 +0200 | [diff] [blame] | 51 | &qspi { |
| 52 | u-boot,dm-pre-reloc; |
| 53 | status = "okay"; |
Luis Araneda | a492fdf | 2018-07-27 04:43:42 -0400 | [diff] [blame] | 54 | num-cs = <1>; |
| 55 | flash@0 { |
Neil Armstrong | ffd4c7c | 2019-02-10 10:16:20 +0000 | [diff] [blame] | 56 | compatible = "spansion,s25fl256s", "jedec,spi-nor"; |
Luis Araneda | a492fdf | 2018-07-27 04:43:42 -0400 | [diff] [blame] | 57 | reg = <0>; |
| 58 | spi-max-frequency = <30000000>; |
| 59 | m25p,fast-read; |
| 60 | }; |
Michal Simek | a95d54b | 2016-04-07 13:04:15 +0200 | [diff] [blame] | 61 | }; |
| 62 | |
Michal Simek | 999667c | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 63 | &sdhci0 { |
Michal Simek | 8647219 | 2015-12-08 11:56:23 +0100 | [diff] [blame] | 64 | u-boot,dm-pre-reloc; |
Michal Simek | 999667c | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 65 | status = "okay"; |
| 66 | }; |
| 67 | |
| 68 | &uart1 { |
Simon Glass | 035c6b2 | 2015-10-17 19:41:24 -0600 | [diff] [blame] | 69 | u-boot,dm-pre-reloc; |
Michal Simek | 999667c | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 70 | status = "okay"; |
| 71 | }; |
| 72 | |
| 73 | &usb0 { |
| 74 | status = "okay"; |
| 75 | dr_mode = "host"; |
| 76 | usb-phy = <&usb_phy0>; |
Jagannadha Sutradharudu Teki | f8f36c5 | 2014-01-09 01:48:26 +0530 | [diff] [blame] | 77 | }; |