Michal Simek | 051a8ad | 2018-03-27 13:43:05 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Jagannadha Sutradharudu Teki | 9e0802b | 2014-01-09 01:48:29 +0530 | [diff] [blame] | 2 | /* |
3 | * Xilinx ZC770 XM010 board DTS | ||||
4 | * | ||||
Michal Simek | 051a8ad | 2018-03-27 13:43:05 +0200 | [diff] [blame] | 5 | * Copyright (C) 2013-2018 Xilinx, Inc. |
Jagannadha Sutradharudu Teki | 9e0802b | 2014-01-09 01:48:29 +0530 | [diff] [blame] | 6 | */ |
7 | /dts-v1/; | ||||
8 | #include "zynq-7000.dtsi" | ||||
9 | |||||
10 | / { | ||||
Jagannadha Sutradharudu Teki | 9e0802b | 2014-01-09 01:48:29 +0530 | [diff] [blame] | 11 | compatible = "xlnx,zynq-zc770-xm010", "xlnx,zynq-7000"; |
Michal Simek | 5c45b16 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 12 | model = "Xilinx Zynq"; |
Masahiro Yamada | 7d34c5d | 2014-05-15 20:37:54 +0900 | [diff] [blame] | 13 | |
Masahiro Yamada | 9f9d41b | 2014-05-15 20:37:55 +0900 | [diff] [blame] | 14 | aliases { |
Michal Simek | 5c45b16 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 15 | ethernet0 = &gem0; |
16 | i2c0 = &i2c0; | ||||
Masahiro Yamada | 9f9d41b | 2014-05-15 20:37:55 +0900 | [diff] [blame] | 17 | serial0 = &uart1; |
Jagan Teki | 7b0d345 | 2015-09-04 12:49:49 +0530 | [diff] [blame] | 18 | spi0 = &qspi; |
19 | spi1 = &spi1; | ||||
Masahiro Yamada | 9f9d41b | 2014-05-15 20:37:55 +0900 | [diff] [blame] | 20 | }; |
21 | |||||
Michal Simek | 5c45b16 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 22 | chosen { |
Michal Simek | 936bbc5 | 2016-04-07 11:15:00 +0200 | [diff] [blame] | 23 | bootargs = ""; |
Michal Simek | 4691941 | 2016-01-12 13:56:44 +0100 | [diff] [blame] | 24 | stdout-path = "serial0:115200n8"; |
Michal Simek | 5c45b16 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 25 | }; |
26 | |||||
Michal Simek | cc7978b | 2016-11-11 13:11:37 +0100 | [diff] [blame] | 27 | memory@0 { |
Masahiro Yamada | 7d34c5d | 2014-05-15 20:37:54 +0900 | [diff] [blame] | 28 | device_type = "memory"; |
Michal Simek | 5c45b16 | 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 | 7d34c5d | 2014-05-15 20:37:54 +0900 | [diff] [blame] | 35 | }; |
Jagannadha Sutradharudu Teki | 9e0802b | 2014-01-09 01:48:29 +0530 | [diff] [blame] | 36 | }; |
Jagan Teki | 89cab97 | 2015-06-27 00:51:35 +0530 | [diff] [blame] | 37 | |
Michal Simek | 5c45b16 | 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 | 5fad1ab | 2017-03-06 18:17:19 +0530 | [diff] [blame] | 49 | device_type = "ethernet-phy"; |
Michal Simek | 5c45b16 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 50 | }; |
51 | }; | ||||
52 | |||||
53 | &i2c0 { | ||||
54 | status = "okay"; | ||||
55 | clock-frequency = <400000>; | ||||
56 | |||||
Michal Simek | 99a2e34 | 2018-03-27 13:48:51 +0200 | [diff] [blame] | 57 | eeprom: eeprom@52 { |
58 | compatible = "atmel,24c02"; | ||||
Michal Simek | 5c45b16 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 59 | reg = <0x52>; |
60 | }; | ||||
61 | |||||
62 | }; | ||||
63 | |||||
Michal Simek | a95d54b | 2016-04-07 13:04:15 +0200 | [diff] [blame] | 64 | &qspi { |
65 | status = "okay"; | ||||
66 | }; | ||||
67 | |||||
Michal Simek | 5c45b16 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 68 | &sdhci0 { |
69 | status = "okay"; | ||||
70 | }; | ||||
71 | |||||
Michal Simek | a95d54b | 2016-04-07 13:04:15 +0200 | [diff] [blame] | 72 | &spi1 { |
73 | status = "okay"; | ||||
74 | num-cs = <4>; | ||||
75 | is-decoded-cs = <0>; | ||||
76 | flash@0 { | ||||
Michal Simek | 5510d63 | 2018-03-27 13:49:05 +0200 | [diff] [blame] | 77 | compatible = "sst25wf080", "jedec,spi-nor"; |
Michal Simek | a95d54b | 2016-04-07 13:04:15 +0200 | [diff] [blame] | 78 | reg = <1>; |
79 | spi-max-frequency = <1000000>; | ||||
Michal Simek | 5510d63 | 2018-03-27 13:49:05 +0200 | [diff] [blame] | 80 | partitions { |
81 | compatible = "fixed-partitions"; | ||||
82 | #address-cells = <1>; | ||||
83 | #size-cells = <1>; | ||||
84 | partition@0 { | ||||
85 | label = "data"; | ||||
86 | reg = <0x0 0x100000>; | ||||
87 | }; | ||||
Michal Simek | a95d54b | 2016-04-07 13:04:15 +0200 | [diff] [blame] | 88 | }; |
89 | }; | ||||
90 | }; | ||||
91 | |||||
Michal Simek | 5c45b16 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 92 | &uart1 { |
Simon Glass | 035c6b2 | 2015-10-17 19:41:24 -0600 | [diff] [blame] | 93 | u-boot,dm-pre-reloc; |
Michal Simek | 5c45b16 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 94 | status = "okay"; |
95 | }; | ||||
96 | |||||
97 | &usb0 { | ||||
98 | status = "okay"; | ||||
99 | dr_mode = "host"; | ||||
100 | usb-phy = <&usb_phy0>; | ||||
Jagan Teki | 89cab97 | 2015-06-27 00:51:35 +0530 | [diff] [blame] | 101 | }; |