Michal Simek | 71d84b4 | 2018-03-27 13:43:05 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Jagannadha Sutradharudu Teki | fc0d22b | 2014-01-09 01:48:29 +0530 | [diff] [blame] | 2 | /* |
3 | * Xilinx ZC770 XM010 board DTS | ||||
4 | * | ||||
Michal Simek | 71d84b4 | 2018-03-27 13:43:05 +0200 | [diff] [blame] | 5 | * Copyright (C) 2013-2018 Xilinx, Inc. |
Jagannadha Sutradharudu Teki | fc0d22b | 2014-01-09 01:48:29 +0530 | [diff] [blame] | 6 | */ |
7 | /dts-v1/; | ||||
8 | #include "zynq-7000.dtsi" | ||||
9 | |||||
10 | / { | ||||
Luis Araneda | ac89116 | 2018-07-12 00:10:20 -0400 | [diff] [blame] | 11 | model = "Xilinx ZC770 XM010 board"; |
Jagannadha Sutradharudu Teki | fc0d22b | 2014-01-09 01:48:29 +0530 | [diff] [blame] | 12 | compatible = "xlnx,zynq-zc770-xm010", "xlnx,zynq-7000"; |
Masahiro Yamada | d6367a2 | 2014-05-15 20:37:54 +0900 | [diff] [blame] | 13 | |
Masahiro Yamada | 87f645e | 2014-05-15 20:37:55 +0900 | [diff] [blame] | 14 | aliases { |
Michal Simek | 1b27e66 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 15 | ethernet0 = &gem0; |
16 | i2c0 = &i2c0; | ||||
Masahiro Yamada | 87f645e | 2014-05-15 20:37:55 +0900 | [diff] [blame] | 17 | serial0 = &uart1; |
Jagan Teki | 4d79f78 | 2015-09-04 12:49:49 +0530 | [diff] [blame] | 18 | spi0 = &qspi; |
19 | spi1 = &spi1; | ||||
Masahiro Yamada | 87f645e | 2014-05-15 20:37:55 +0900 | [diff] [blame] | 20 | }; |
21 | |||||
Michal Simek | 1b27e66 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 22 | chosen { |
Michal Simek | 8073b86 | 2016-04-07 11:15:00 +0200 | [diff] [blame] | 23 | bootargs = ""; |
Michal Simek | c9af95a | 2016-01-12 13:56:44 +0100 | [diff] [blame] | 24 | stdout-path = "serial0:115200n8"; |
Michal Simek | 1b27e66 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 25 | }; |
26 | |||||
Michal Simek | b3585f4 | 2016-11-11 13:11:37 +0100 | [diff] [blame] | 27 | memory@0 { |
Masahiro Yamada | d6367a2 | 2014-05-15 20:37:54 +0900 | [diff] [blame] | 28 | device_type = "memory"; |
Michal Simek | 1b27e66 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 29 | reg = <0x0 0x40000000>; |
30 | }; | ||||
31 | |||||
32 | usb_phy0: phy0 { | ||||
33 | compatible = "usb-nop-xceiv"; | ||||
34 | #phy-cells = <0>; | ||||
Masahiro Yamada | d6367a2 | 2014-05-15 20:37:54 +0900 | [diff] [blame] | 35 | }; |
Jagannadha Sutradharudu Teki | fc0d22b | 2014-01-09 01:48:29 +0530 | [diff] [blame] | 36 | }; |
Jagan Teki | 414595e | 2015-06-27 00:51:35 +0530 | [diff] [blame] | 37 | |
Michal Simek | 1b27e66 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 38 | &can0 { |
39 | status = "okay"; | ||||
40 | }; | ||||
41 | |||||
42 | &gem0 { | ||||
43 | status = "okay"; | ||||
44 | phy-mode = "rgmii-id"; | ||||
45 | phy-handle = <ðernet_phy>; | ||||
46 | |||||
47 | ethernet_phy: ethernet-phy@7 { | ||||
48 | reg = <7>; | ||||
Sai Pavan Boddu | b2ed84b | 2017-03-06 18:17:19 +0530 | [diff] [blame] | 49 | device_type = "ethernet-phy"; |
Michal Simek | 1b27e66 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 50 | }; |
51 | }; | ||||
52 | |||||
53 | &i2c0 { | ||||
54 | status = "okay"; | ||||
55 | clock-frequency = <400000>; | ||||
56 | |||||
Michal Simek | f69db10 | 2018-03-27 13:48:51 +0200 | [diff] [blame] | 57 | eeprom: eeprom@52 { |
58 | compatible = "atmel,24c02"; | ||||
Michal Simek | 1b27e66 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 59 | reg = <0x52>; |
60 | }; | ||||
Michal Simek | 1b27e66 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 61 | }; |
62 | |||||
Michal Simek | 6603e1c | 2016-04-07 13:04:15 +0200 | [diff] [blame] | 63 | &qspi { |
64 | status = "okay"; | ||||
Michal Simek | eacca2f | 2021-08-06 13:30:19 +0200 | [diff] [blame] | 65 | num-cs = <1>; |
66 | flash@0 { | ||||
67 | compatible = "n25q128a11", "jedec,spi-nor"; | ||||
68 | reg = <0x0>; | ||||
69 | spi-tx-bus-width = <1>; | ||||
70 | spi-rx-bus-width = <4>; | ||||
71 | spi-max-frequency = <50000000>; | ||||
Michal Simek | 181c763 | 2023-11-01 12:22:14 +0100 | [diff] [blame] | 72 | partitions { |
73 | compatible = "fixed-partitions"; | ||||
74 | #address-cells = <1>; | ||||
75 | #size-cells = <1>; | ||||
76 | partition@0 { | ||||
77 | label = "qspi-fsbl-uboot"; | ||||
78 | reg = <0x0 0x100000>; | ||||
79 | }; | ||||
80 | partition@100000 { | ||||
81 | label = "qspi-linux"; | ||||
82 | reg = <0x100000 0x500000>; | ||||
83 | }; | ||||
84 | partition@600000 { | ||||
85 | label = "qspi-device-tree"; | ||||
86 | reg = <0x600000 0x20000>; | ||||
87 | }; | ||||
88 | partition@620000 { | ||||
89 | label = "qspi-rootfs"; | ||||
90 | reg = <0x620000 0x5e0000>; | ||||
91 | }; | ||||
92 | partition@c00000 { | ||||
93 | label = "qspi-bitstream"; | ||||
94 | reg = <0xc00000 0x400000>; | ||||
95 | }; | ||||
96 | }; | ||||
Michal Simek | eacca2f | 2021-08-06 13:30:19 +0200 | [diff] [blame] | 97 | }; |
Michal Simek | 6603e1c | 2016-04-07 13:04:15 +0200 | [diff] [blame] | 98 | }; |
99 | |||||
Michal Simek | 1b27e66 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 100 | &sdhci0 { |
101 | status = "okay"; | ||||
102 | }; | ||||
103 | |||||
Michal Simek | 6603e1c | 2016-04-07 13:04:15 +0200 | [diff] [blame] | 104 | &spi1 { |
105 | status = "okay"; | ||||
106 | num-cs = <4>; | ||||
107 | is-decoded-cs = <0>; | ||||
Michal Simek | 33eb79e | 2019-09-26 12:53:09 +0200 | [diff] [blame] | 108 | flash@1 { |
Michal Simek | a50bd28 | 2018-03-27 13:49:05 +0200 | [diff] [blame] | 109 | compatible = "sst25wf080", "jedec,spi-nor"; |
Michal Simek | 6603e1c | 2016-04-07 13:04:15 +0200 | [diff] [blame] | 110 | reg = <1>; |
111 | spi-max-frequency = <1000000>; | ||||
Michal Simek | a50bd28 | 2018-03-27 13:49:05 +0200 | [diff] [blame] | 112 | partitions { |
113 | compatible = "fixed-partitions"; | ||||
114 | #address-cells = <1>; | ||||
115 | #size-cells = <1>; | ||||
116 | partition@0 { | ||||
117 | label = "data"; | ||||
118 | reg = <0x0 0x100000>; | ||||
119 | }; | ||||
Michal Simek | 6603e1c | 2016-04-07 13:04:15 +0200 | [diff] [blame] | 120 | }; |
121 | }; | ||||
122 | }; | ||||
123 | |||||
Michal Simek | 1b27e66 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 124 | &uart1 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 125 | bootph-all; |
Michal Simek | 1b27e66 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 126 | status = "okay"; |
127 | }; | ||||
128 | |||||
129 | &usb0 { | ||||
130 | status = "okay"; | ||||
131 | dr_mode = "host"; | ||||
132 | usb-phy = <&usb_phy0>; | ||||
Jagan Teki | 414595e | 2015-06-27 00:51:35 +0530 | [diff] [blame] | 133 | }; |