Michal Simek | 71d84b4 | 2018-03-27 13:43:05 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Jagannadha Sutradharudu Teki | 369ccb1 | 2014-01-09 01:48:26 +0530 | [diff] [blame] | 2 | /* |
Michal Simek | e2612e1 | 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 | 369ccb1 | 2014-01-09 01:48:26 +0530 | [diff] [blame] | 5 | */ |
6 | /dts-v1/; | ||||
7 | #include "zynq-7000.dtsi" | ||||
8 | |||||
9 | / { | ||||
Luis Araneda | ac89116 | 2018-07-12 00:10:20 -0400 | [diff] [blame] | 10 | model = "Avnet ZedBoard board"; |
Luis Araneda | 74897bf | 2018-07-12 00:10:19 -0400 | [diff] [blame] | 11 | compatible = "avnet,zynq-zed", "xlnx,zynq-zed", "xlnx,zynq-7000"; |
Masahiro Yamada | d6367a2 | 2014-05-15 20:37:54 +0900 | [diff] [blame] | 12 | |
Masahiro Yamada | 87f645e | 2014-05-15 20:37:55 +0900 | [diff] [blame] | 13 | aliases { |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 14 | ethernet0 = &gem0; |
Masahiro Yamada | 87f645e | 2014-05-15 20:37:55 +0900 | [diff] [blame] | 15 | serial0 = &uart1; |
Jagan Teki | de0fe09 | 2015-08-15 23:19:05 +0530 | [diff] [blame] | 16 | spi0 = &qspi; |
Michal Simek | 1a03a52 | 2015-12-08 11:56:23 +0100 | [diff] [blame] | 17 | mmc0 = &sdhci0; |
Masahiro Yamada | 87f645e | 2014-05-15 20:37:55 +0900 | [diff] [blame] | 18 | }; |
19 | |||||
Michal Simek | b3585f4 | 2016-11-11 13:11:37 +0100 | [diff] [blame] | 20 | memory@0 { |
Masahiro Yamada | d6367a2 | 2014-05-15 20:37:54 +0900 | [diff] [blame] | 21 | device_type = "memory"; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 22 | reg = <0x0 0x20000000>; |
Masahiro Yamada | d6367a2 | 2014-05-15 20:37:54 +0900 | [diff] [blame] | 23 | }; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 24 | |
25 | chosen { | ||||
Michal Simek | 8073b86 | 2016-04-07 11:15:00 +0200 | [diff] [blame] | 26 | bootargs = ""; |
Michal Simek | e2612e1 | 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>; | ||||
47 | }; | ||||
48 | }; | ||||
49 | |||||
Michal Simek | 6603e1c | 2016-04-07 13:04:15 +0200 | [diff] [blame] | 50 | &qspi { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 51 | bootph-all; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 52 | status = "okay"; |
Luis Araneda | 1f53aba | 2018-07-27 04:43:42 -0400 | [diff] [blame] | 53 | num-cs = <1>; |
54 | flash@0 { | ||||
Michal Simek | c2184a8 | 2021-09-15 16:22:31 +0200 | [diff] [blame] | 55 | compatible = "spansion,s25fl256s1", "jedec,spi-nor"; |
Luis Araneda | 1f53aba | 2018-07-27 04:43:42 -0400 | [diff] [blame] | 56 | reg = <0>; |
Michal Simek | 181c763 | 2023-11-01 12:22:14 +0100 | [diff] [blame] | 57 | spi-tx-bus-width = <1>; |
58 | spi-rx-bus-width = <4>; | ||||
59 | spi-max-frequency = <50000000>; | ||||
Luis Araneda | 1f53aba | 2018-07-27 04:43:42 -0400 | [diff] [blame] | 60 | m25p,fast-read; |
Michal Simek | 181c763 | 2023-11-01 12:22:14 +0100 | [diff] [blame] | 61 | partitions { |
62 | compatible = "fixed-partitions"; | ||||
63 | #address-cells = <1>; | ||||
64 | #size-cells = <1>; | ||||
65 | partition@0 { | ||||
66 | label = "qspi-fsbl-uboot"; | ||||
67 | reg = <0x0 0x100000>; | ||||
68 | }; | ||||
69 | partition@100000 { | ||||
70 | label = "qspi-linux"; | ||||
71 | reg = <0x100000 0x500000>; | ||||
72 | }; | ||||
73 | partition@600000 { | ||||
74 | label = "qspi-device-tree"; | ||||
75 | reg = <0x600000 0x20000>; | ||||
76 | }; | ||||
77 | partition@620000 { | ||||
78 | label = "qspi-rootfs"; | ||||
79 | reg = <0x620000 0x5e0000>; | ||||
80 | }; | ||||
81 | partition@c00000 { | ||||
82 | label = "qspi-bitstream"; | ||||
83 | reg = <0xc00000 0x400000>; | ||||
84 | }; | ||||
85 | }; | ||||
Luis Araneda | 1f53aba | 2018-07-27 04:43:42 -0400 | [diff] [blame] | 86 | }; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 87 | }; |
88 | |||||
Michal Simek | 6603e1c | 2016-04-07 13:04:15 +0200 | [diff] [blame] | 89 | &sdhci0 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 90 | bootph-all; |
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 91 | status = "okay"; |
92 | }; | ||||
93 | |||||
Michal Simek | 6603e1c | 2016-04-07 13:04:15 +0200 | [diff] [blame] | 94 | &uart1 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 95 | bootph-all; |
Jagan Teki | de0fe09 | 2015-08-15 23:19:05 +0530 | [diff] [blame] | 96 | status = "okay"; |
97 | }; | ||||
98 | |||||
Michal Simek | e2612e1 | 2015-07-22 11:12:10 +0200 | [diff] [blame] | 99 | &usb0 { |
100 | status = "okay"; | ||||
101 | dr_mode = "host"; | ||||
102 | usb-phy = <&usb_phy0>; | ||||
Jagannadha Sutradharudu Teki | 369ccb1 | 2014-01-09 01:48:26 +0530 | [diff] [blame] | 103 | }; |