blob: ff475f868249b9f28742938f758d62d8fe08e7be [file] [log] [blame]
Michal Simek71d84b42018-03-27 13:43:05 +02001// SPDX-License-Identifier: GPL-2.0+
Jagannadha Sutradharudu Tekifc0d22b2014-01-09 01:48:29 +05302/*
3 * Xilinx ZC770 XM010 board DTS
4 *
Michal Simek71d84b42018-03-27 13:43:05 +02005 * Copyright (C) 2013-2018 Xilinx, Inc.
Jagannadha Sutradharudu Tekifc0d22b2014-01-09 01:48:29 +05306 */
7/dts-v1/;
8#include "zynq-7000.dtsi"
9
10/ {
Luis Aranedaac891162018-07-12 00:10:20 -040011 model = "Xilinx ZC770 XM010 board";
Jagannadha Sutradharudu Tekifc0d22b2014-01-09 01:48:29 +053012 compatible = "xlnx,zynq-zc770-xm010", "xlnx,zynq-7000";
Masahiro Yamadad6367a22014-05-15 20:37:54 +090013
Masahiro Yamada87f645e2014-05-15 20:37:55 +090014 aliases {
Michal Simek1b27e662015-07-22 11:36:32 +020015 ethernet0 = &gem0;
16 i2c0 = &i2c0;
Masahiro Yamada87f645e2014-05-15 20:37:55 +090017 serial0 = &uart1;
Jagan Teki4d79f782015-09-04 12:49:49 +053018 spi0 = &qspi;
19 spi1 = &spi1;
Masahiro Yamada87f645e2014-05-15 20:37:55 +090020 };
21
Michal Simek1b27e662015-07-22 11:36:32 +020022 chosen {
Michal Simek8073b862016-04-07 11:15:00 +020023 bootargs = "";
Michal Simekc9af95a2016-01-12 13:56:44 +010024 stdout-path = "serial0:115200n8";
Michal Simek1b27e662015-07-22 11:36:32 +020025 };
26
Michal Simekb3585f42016-11-11 13:11:37 +010027 memory@0 {
Masahiro Yamadad6367a22014-05-15 20:37:54 +090028 device_type = "memory";
Michal Simek1b27e662015-07-22 11:36:32 +020029 reg = <0x0 0x40000000>;
30 };
31
32 usb_phy0: phy0 {
33 compatible = "usb-nop-xceiv";
34 #phy-cells = <0>;
Masahiro Yamadad6367a22014-05-15 20:37:54 +090035 };
Jagannadha Sutradharudu Tekifc0d22b2014-01-09 01:48:29 +053036};
Jagan Teki414595e2015-06-27 00:51:35 +053037
Michal Simek1b27e662015-07-22 11:36:32 +020038&can0 {
39 status = "okay";
40};
41
42&gem0 {
43 status = "okay";
44 phy-mode = "rgmii-id";
45 phy-handle = <&ethernet_phy>;
46
47 ethernet_phy: ethernet-phy@7 {
48 reg = <7>;
49 };
50};
51
52&i2c0 {
53 status = "okay";
54 clock-frequency = <400000>;
55
Michal Simekf69db102018-03-27 13:48:51 +020056 eeprom: eeprom@52 {
57 compatible = "atmel,24c02";
Michal Simek1b27e662015-07-22 11:36:32 +020058 reg = <0x52>;
59 };
Michal Simek1b27e662015-07-22 11:36:32 +020060};
61
Michal Simek6603e1c2016-04-07 13:04:15 +020062&qspi {
63 status = "okay";
Michal Simekeacca2f2021-08-06 13:30:19 +020064 num-cs = <1>;
65 flash@0 {
66 compatible = "n25q128a11", "jedec,spi-nor";
67 reg = <0x0>;
68 spi-tx-bus-width = <1>;
69 spi-rx-bus-width = <4>;
70 spi-max-frequency = <50000000>;
Michal Simek181c7632023-11-01 12:22:14 +010071 partitions {
72 compatible = "fixed-partitions";
73 #address-cells = <1>;
74 #size-cells = <1>;
75 partition@0 {
76 label = "qspi-fsbl-uboot";
77 reg = <0x0 0x100000>;
78 };
79 partition@100000 {
80 label = "qspi-linux";
81 reg = <0x100000 0x500000>;
82 };
83 partition@600000 {
84 label = "qspi-device-tree";
85 reg = <0x600000 0x20000>;
86 };
87 partition@620000 {
88 label = "qspi-rootfs";
89 reg = <0x620000 0x5e0000>;
90 };
91 partition@c00000 {
92 label = "qspi-bitstream";
93 reg = <0xc00000 0x400000>;
94 };
95 };
Michal Simekeacca2f2021-08-06 13:30:19 +020096 };
Michal Simek6603e1c2016-04-07 13:04:15 +020097};
98
Michal Simek1b27e662015-07-22 11:36:32 +020099&sdhci0 {
100 status = "okay";
101};
102
Michal Simek6603e1c2016-04-07 13:04:15 +0200103&spi1 {
104 status = "okay";
105 num-cs = <4>;
106 is-decoded-cs = <0>;
Michal Simek33eb79e2019-09-26 12:53:09 +0200107 flash@1 {
Michal Simeka50bd282018-03-27 13:49:05 +0200108 compatible = "sst25wf080", "jedec,spi-nor";
Michal Simek6603e1c2016-04-07 13:04:15 +0200109 reg = <1>;
110 spi-max-frequency = <1000000>;
Michal Simeka50bd282018-03-27 13:49:05 +0200111 partitions {
112 compatible = "fixed-partitions";
113 #address-cells = <1>;
114 #size-cells = <1>;
115 partition@0 {
116 label = "data";
117 reg = <0x0 0x100000>;
118 };
Michal Simek6603e1c2016-04-07 13:04:15 +0200119 };
120 };
121};
122
Michal Simek1b27e662015-07-22 11:36:32 +0200123&uart1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700124 bootph-all;
Michal Simek1b27e662015-07-22 11:36:32 +0200125 status = "okay";
126};
127
128&usb0 {
129 status = "okay";
130 dr_mode = "host";
131 usb-phy = <&usb_phy0>;
Jagan Teki414595e2015-06-27 00:51:35 +0530132};