Jagannadha Sutradharudu Teki | fc0d22b | 2014-01-09 01:48:29 +0530 | [diff] [blame] | 1 | /* |
2 | * Xilinx ZC770 XM010 board DTS | ||||
3 | * | ||||
Michal Simek | 1b27e66 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 4 | * Copyright (C) 2013 - 2015 Xilinx, Inc. |
Jagannadha Sutradharudu Teki | fc0d22b | 2014-01-09 01:48:29 +0530 | [diff] [blame] | 5 | * |
6 | * SPDX-License-Identifier: GPL-2.0+ | ||||
7 | */ | ||||
8 | /dts-v1/; | ||||
9 | #include "zynq-7000.dtsi" | ||||
10 | |||||
11 | / { | ||||
Jagannadha Sutradharudu Teki | fc0d22b | 2014-01-09 01:48:29 +0530 | [diff] [blame] | 12 | compatible = "xlnx,zynq-zc770-xm010", "xlnx,zynq-7000"; |
Michal Simek | 1b27e66 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 13 | model = "Xilinx Zynq"; |
Masahiro Yamada | d6367a2 | 2014-05-15 20:37:54 +0900 | [diff] [blame] | 14 | |
Masahiro Yamada | 87f645e | 2014-05-15 20:37:55 +0900 | [diff] [blame] | 15 | aliases { |
Michal Simek | 1b27e66 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 16 | ethernet0 = &gem0; |
17 | i2c0 = &i2c0; | ||||
Masahiro Yamada | 87f645e | 2014-05-15 20:37:55 +0900 | [diff] [blame] | 18 | serial0 = &uart1; |
Jagan Teki | 4d79f78 | 2015-09-04 12:49:49 +0530 | [diff] [blame] | 19 | spi0 = &qspi; |
20 | spi1 = &spi1; | ||||
Masahiro Yamada | 87f645e | 2014-05-15 20:37:55 +0900 | [diff] [blame] | 21 | }; |
22 | |||||
Michal Simek | 1b27e66 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 23 | chosen { |
Michal Simek | 8073b86 | 2016-04-07 11:15:00 +0200 | [diff] [blame] | 24 | bootargs = ""; |
Michal Simek | c9af95a | 2016-01-12 13:56:44 +0100 | [diff] [blame] | 25 | stdout-path = "serial0:115200n8"; |
Michal Simek | 1b27e66 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 26 | }; |
27 | |||||
Michal Simek | b3585f4 | 2016-11-11 13:11:37 +0100 | [diff] [blame] | 28 | memory@0 { |
Masahiro Yamada | d6367a2 | 2014-05-15 20:37:54 +0900 | [diff] [blame] | 29 | device_type = "memory"; |
Michal Simek | 1b27e66 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 30 | reg = <0x0 0x40000000>; |
31 | }; | ||||
32 | |||||
33 | usb_phy0: phy0 { | ||||
34 | compatible = "usb-nop-xceiv"; | ||||
35 | #phy-cells = <0>; | ||||
Masahiro Yamada | d6367a2 | 2014-05-15 20:37:54 +0900 | [diff] [blame] | 36 | }; |
Jagannadha Sutradharudu Teki | fc0d22b | 2014-01-09 01:48:29 +0530 | [diff] [blame] | 37 | }; |
Jagan Teki | 414595e | 2015-06-27 00:51:35 +0530 | [diff] [blame] | 38 | |
Michal Simek | 1b27e66 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 39 | &can0 { |
40 | status = "okay"; | ||||
41 | }; | ||||
42 | |||||
43 | &gem0 { | ||||
44 | status = "okay"; | ||||
45 | phy-mode = "rgmii-id"; | ||||
46 | phy-handle = <ðernet_phy>; | ||||
47 | |||||
48 | ethernet_phy: ethernet-phy@7 { | ||||
49 | reg = <7>; | ||||
Sai Pavan Boddu | b2ed84b | 2017-03-06 18:17:19 +0530 | [diff] [blame] | 50 | device_type = "ethernet-phy"; |
Michal Simek | 1b27e66 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 51 | }; |
52 | }; | ||||
53 | |||||
54 | &i2c0 { | ||||
55 | status = "okay"; | ||||
56 | clock-frequency = <400000>; | ||||
57 | |||||
58 | m24c02_eeprom@52 { | ||||
59 | compatible = "at,24c02"; | ||||
60 | reg = <0x52>; | ||||
61 | }; | ||||
62 | |||||
63 | }; | ||||
64 | |||||
Michal Simek | 6603e1c | 2016-04-07 13:04:15 +0200 | [diff] [blame] | 65 | &qspi { |
66 | status = "okay"; | ||||
67 | }; | ||||
68 | |||||
Michal Simek | 1b27e66 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 69 | &sdhci0 { |
70 | status = "okay"; | ||||
71 | }; | ||||
72 | |||||
Michal Simek | 6603e1c | 2016-04-07 13:04:15 +0200 | [diff] [blame] | 73 | &spi1 { |
74 | status = "okay"; | ||||
75 | num-cs = <4>; | ||||
76 | is-decoded-cs = <0>; | ||||
77 | flash@0 { | ||||
78 | compatible = "sst25wf080"; | ||||
79 | reg = <1>; | ||||
80 | spi-max-frequency = <1000000>; | ||||
81 | #address-cells = <1>; | ||||
82 | #size-cells = <1>; | ||||
83 | partition@test { | ||||
84 | label = "spi-flash"; | ||||
85 | reg = <0x0 0x100000>; | ||||
86 | }; | ||||
87 | }; | ||||
88 | }; | ||||
89 | |||||
Michal Simek | 1b27e66 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 90 | &uart1 { |
Simon Glass | 8c7323a | 2015-10-17 19:41:24 -0600 | [diff] [blame] | 91 | u-boot,dm-pre-reloc; |
Michal Simek | 1b27e66 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 92 | status = "okay"; |
93 | }; | ||||
94 | |||||
95 | &usb0 { | ||||
96 | status = "okay"; | ||||
97 | dr_mode = "host"; | ||||
98 | usb-phy = <&usb_phy0>; | ||||
Jagan Teki | 414595e | 2015-06-27 00:51:35 +0530 | [diff] [blame] | 99 | }; |