blob: add75999f47a614a2f25aabfe1cd05edd55c01c6 [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 XM013 board DTS
4 *
5 * Copyright (C) 2013 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 XM013 board";
Jagannadha Sutradharudu Tekifc0d22b2014-01-09 01:48:29 +053012 compatible = "xlnx,zynq-zc770-xm013", "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 = &gem1;
16 i2c0 = &i2c1;
Masahiro Yamada87f645e2014-05-15 20:37:55 +090017 serial0 = &uart0;
Michal Simek48d4def2016-04-07 13:08:35 +020018 spi0 = &qspi;
19 spi1 = &spi0;
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>;
Masahiro Yamadad6367a22014-05-15 20:37:54 +090030 };
Jagannadha Sutradharudu Tekifc0d22b2014-01-09 01:48:29 +053031};
Michal Simek1b27e662015-07-22 11:36:32 +020032
Michal Simek1b27e662015-07-22 11:36:32 +020033&can1 {
34 status = "okay";
35};
36
37&gem1 {
38 status = "okay";
39 phy-mode = "rgmii-id";
40 phy-handle = <&ethernet_phy>;
41
42 ethernet_phy: ethernet-phy@7 {
43 reg = <7>;
Sai Pavan Boddub2ed84b2017-03-06 18:17:19 +053044 device_type = "ethernet-phy";
Michal Simek1b27e662015-07-22 11:36:32 +020045 };
46};
47
48&i2c1 {
49 status = "okay";
50 clock-frequency = <400000>;
51
52 si570: clock-generator@55 {
53 #clock-cells = <0>;
54 compatible = "silabs,si570";
55 temperature-stability = <50>;
56 reg = <0x55>;
57 factory-fout = <156250000>;
58 clock-frequency = <148500000>;
59 };
60};
61
Michal Simek48d4def2016-04-07 13:08:35 +020062&qspi {
63 status = "okay";
Michal Simekad200322023-10-23 09:21:53 +020064 num-cs = <2>;
Michal Simekeacca2f2021-08-06 13:30:19 +020065 flash@0 {
66 compatible = "n25q128a11", "jedec,spi-nor";
Michal Simekad200322023-10-23 09:21:53 +020067 reg = <0>, <1>;
68 parallel-memories = /bits/ 64 <0x1000000 0x1000000>; /* 16MB */
Michal Simekeacca2f2021-08-06 13:30:19 +020069 spi-tx-bus-width = <1>;
70 spi-rx-bus-width = <4>;
71 spi-max-frequency = <50000000>;
Michal Simek181c7632023-11-01 12:22:14 +010072 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 Simekeacca2f2021-08-06 13:30:19 +020097 };
Michal Simek48d4def2016-04-07 13:08:35 +020098};
99
Michal Simek49f44b92016-01-14 13:09:16 +0100100&spi0 {
101 status = "okay";
102 num-cs = <4>;
103 is-decoded-cs = <0>;
Michal Simek33eb79e2019-09-26 12:53:09 +0200104 eeprom: eeprom@2 {
Michal Simek49f44b92016-01-14 13:09:16 +0100105 compatible = "atmel,at25";
106 reg = <2>;
107 spi-max-frequency = <1000000>;
Michal Simek6e88c232020-11-26 14:25:04 +0100108 size = <8192>;
109 address-width = <16>;
110 pagesize = <32>;
Michal Simek49f44b92016-01-14 13:09:16 +0100111 };
112};
113
Michal Simek1b27e662015-07-22 11:36:32 +0200114&uart0 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700115 bootph-all;
Michal Simek1b27e662015-07-22 11:36:32 +0200116 status = "okay";
117};