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 XM013 board DTS | ||||
4 | * | ||||
5 | * Copyright (C) 2013 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 XM013 board"; |
Jagannadha Sutradharudu Teki | fc0d22b | 2014-01-09 01:48:29 +0530 | [diff] [blame] | 12 | compatible = "xlnx,zynq-zc770-xm013", "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 = &gem1; |
16 | i2c0 = &i2c1; | ||||
Masahiro Yamada | 87f645e | 2014-05-15 20:37:55 +0900 | [diff] [blame] | 17 | serial0 = &uart0; |
Michal Simek | 48d4def | 2016-04-07 13:08:35 +0200 | [diff] [blame] | 18 | spi0 = &qspi; |
19 | spi1 = &spi0; | ||||
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>; |
Masahiro Yamada | d6367a2 | 2014-05-15 20:37:54 +0900 | [diff] [blame] | 30 | }; |
Jagannadha Sutradharudu Teki | fc0d22b | 2014-01-09 01:48:29 +0530 | [diff] [blame] | 31 | }; |
Michal Simek | 1b27e66 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 32 | |
Michal Simek | 1b27e66 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 33 | &can1 { |
34 | status = "okay"; | ||||
35 | }; | ||||
36 | |||||
37 | &gem1 { | ||||
38 | status = "okay"; | ||||
39 | phy-mode = "rgmii-id"; | ||||
40 | phy-handle = <ðernet_phy>; | ||||
41 | |||||
42 | ethernet_phy: ethernet-phy@7 { | ||||
43 | reg = <7>; | ||||
Sai Pavan Boddu | b2ed84b | 2017-03-06 18:17:19 +0530 | [diff] [blame] | 44 | device_type = "ethernet-phy"; |
Michal Simek | 1b27e66 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 45 | }; |
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 Simek | 48d4def | 2016-04-07 13:08:35 +0200 | [diff] [blame] | 62 | &qspi { |
63 | status = "okay"; | ||||
Michal Simek | ad20032 | 2023-10-23 09:21:53 +0200 | [diff] [blame] | 64 | num-cs = <2>; |
Michal Simek | eacca2f | 2021-08-06 13:30:19 +0200 | [diff] [blame] | 65 | flash@0 { |
66 | compatible = "n25q128a11", "jedec,spi-nor"; | ||||
Michal Simek | ad20032 | 2023-10-23 09:21:53 +0200 | [diff] [blame] | 67 | reg = <0>, <1>; |
68 | parallel-memories = /bits/ 64 <0x1000000 0x1000000>; /* 16MB */ | ||||
Michal Simek | eacca2f | 2021-08-06 13:30:19 +0200 | [diff] [blame] | 69 | spi-tx-bus-width = <1>; |
70 | spi-rx-bus-width = <4>; | ||||
71 | spi-max-frequency = <50000000>; | ||||
72 | }; | ||||
Michal Simek | 48d4def | 2016-04-07 13:08:35 +0200 | [diff] [blame] | 73 | }; |
74 | |||||
Michal Simek | 49f44b9 | 2016-01-14 13:09:16 +0100 | [diff] [blame] | 75 | &spi0 { |
76 | status = "okay"; | ||||
77 | num-cs = <4>; | ||||
78 | is-decoded-cs = <0>; | ||||
Michal Simek | 33eb79e | 2019-09-26 12:53:09 +0200 | [diff] [blame] | 79 | eeprom: eeprom@2 { |
Michal Simek | 49f44b9 | 2016-01-14 13:09:16 +0100 | [diff] [blame] | 80 | compatible = "atmel,at25"; |
81 | reg = <2>; | ||||
82 | spi-max-frequency = <1000000>; | ||||
Michal Simek | 6e88c23 | 2020-11-26 14:25:04 +0100 | [diff] [blame] | 83 | size = <8192>; |
84 | address-width = <16>; | ||||
85 | pagesize = <32>; | ||||
Michal Simek | 49f44b9 | 2016-01-14 13:09:16 +0100 | [diff] [blame] | 86 | }; |
87 | }; | ||||
88 | |||||
Michal Simek | 1b27e66 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 89 | &uart0 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 90 | bootph-all; |
Michal Simek | 1b27e66 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 91 | status = "okay"; |
92 | }; |