Jagannadha Sutradharudu Teki | 9e0802b | 2014-01-09 01:48:29 +0530 | [diff] [blame] | 1 | /* |
| 2 | * Xilinx ZC770 XM010 board DTS |
| 3 | * |
Michal Simek | 5c45b16 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 4 | * Copyright (C) 2013 - 2015 Xilinx, Inc. |
Jagannadha Sutradharudu Teki | 9e0802b | 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 | 9e0802b | 2014-01-09 01:48:29 +0530 | [diff] [blame] | 12 | compatible = "xlnx,zynq-zc770-xm010", "xlnx,zynq-7000"; |
Michal Simek | 5c45b16 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 13 | model = "Xilinx Zynq"; |
Masahiro Yamada | 7d34c5d | 2014-05-15 20:37:54 +0900 | [diff] [blame] | 14 | |
Masahiro Yamada | 9f9d41b | 2014-05-15 20:37:55 +0900 | [diff] [blame] | 15 | aliases { |
Michal Simek | 5c45b16 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 16 | ethernet0 = &gem0; |
| 17 | i2c0 = &i2c0; |
Masahiro Yamada | 9f9d41b | 2014-05-15 20:37:55 +0900 | [diff] [blame] | 18 | serial0 = &uart1; |
Jagan Teki | 7b0d345 | 2015-09-04 12:49:49 +0530 | [diff] [blame] | 19 | spi0 = &qspi; |
| 20 | spi1 = &spi1; |
Masahiro Yamada | 9f9d41b | 2014-05-15 20:37:55 +0900 | [diff] [blame] | 21 | }; |
| 22 | |
Michal Simek | 5c45b16 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 23 | chosen { |
| 24 | bootargs = "console=ttyPS0,115200 root=/dev/ram rw earlyprintk"; |
| 25 | linux,stdout-path = &uart1; |
| 26 | stdout-path = &uart1; |
| 27 | }; |
| 28 | |
Michal Simek | f0600af | 2015-08-12 11:25:05 +0200 | [diff] [blame] | 29 | memory { |
Masahiro Yamada | 7d34c5d | 2014-05-15 20:37:54 +0900 | [diff] [blame] | 30 | device_type = "memory"; |
Michal Simek | 5c45b16 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 31 | reg = <0x0 0x40000000>; |
| 32 | }; |
| 33 | |
| 34 | usb_phy0: phy0 { |
| 35 | compatible = "usb-nop-xceiv"; |
| 36 | #phy-cells = <0>; |
Masahiro Yamada | 7d34c5d | 2014-05-15 20:37:54 +0900 | [diff] [blame] | 37 | }; |
Jagannadha Sutradharudu Teki | 9e0802b | 2014-01-09 01:48:29 +0530 | [diff] [blame] | 38 | }; |
Jagan Teki | 89cab97 | 2015-06-27 00:51:35 +0530 | [diff] [blame] | 39 | |
| 40 | &spi1 { |
| 41 | status = "okay"; |
Michal Simek | 5c45b16 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 42 | num-cs = <4>; |
| 43 | is-decoded-cs = <0>; |
| 44 | flash@0 { |
| 45 | compatible = "sst25wf080"; |
| 46 | reg = <1>; |
| 47 | spi-max-frequency = <1000000>; |
| 48 | #address-cells = <1>; |
| 49 | #size-cells = <1>; |
| 50 | partition@test { |
| 51 | label = "spi-flash"; |
| 52 | reg = <0x0 0x100000>; |
| 53 | }; |
| 54 | }; |
| 55 | }; |
| 56 | |
Jagan Teki | 7b0d345 | 2015-09-04 12:49:49 +0530 | [diff] [blame] | 57 | &qspi { |
| 58 | status = "okay"; |
| 59 | }; |
| 60 | |
Michal Simek | 5c45b16 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 61 | &can0 { |
| 62 | status = "okay"; |
| 63 | }; |
| 64 | |
| 65 | &gem0 { |
| 66 | status = "okay"; |
| 67 | phy-mode = "rgmii-id"; |
| 68 | phy-handle = <ðernet_phy>; |
| 69 | |
| 70 | ethernet_phy: ethernet-phy@7 { |
| 71 | reg = <7>; |
| 72 | }; |
| 73 | }; |
| 74 | |
| 75 | &i2c0 { |
| 76 | status = "okay"; |
| 77 | clock-frequency = <400000>; |
| 78 | |
| 79 | m24c02_eeprom@52 { |
| 80 | compatible = "at,24c02"; |
| 81 | reg = <0x52>; |
| 82 | }; |
| 83 | |
| 84 | }; |
| 85 | |
| 86 | &sdhci0 { |
| 87 | status = "okay"; |
| 88 | }; |
| 89 | |
| 90 | &uart1 { |
Simon Glass | 035c6b2 | 2015-10-17 19:41:24 -0600 | [diff] [blame] | 91 | u-boot,dm-pre-reloc; |
Michal Simek | 5c45b16 | 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 | 89cab97 | 2015-06-27 00:51:35 +0530 | [diff] [blame] | 99 | }; |