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; |
Michal Simek | 1b27e66 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 19 | spi0 = &spi1; |
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 { |
| 23 | bootargs = "console=ttyPS0,115200 root=/dev/ram rw earlyprintk"; |
| 24 | linux,stdout-path = &uart1; |
| 25 | stdout-path = &uart1; |
| 26 | }; |
| 27 | |
| 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 | |
| 39 | &spi1 { |
| 40 | status = "okay"; |
Michal Simek | 1b27e66 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 41 | num-cs = <4>; |
| 42 | is-decoded-cs = <0>; |
| 43 | flash@0 { |
| 44 | compatible = "sst25wf080"; |
| 45 | reg = <1>; |
| 46 | spi-max-frequency = <1000000>; |
| 47 | #address-cells = <1>; |
| 48 | #size-cells = <1>; |
| 49 | partition@test { |
| 50 | label = "spi-flash"; |
| 51 | reg = <0x0 0x100000>; |
| 52 | }; |
| 53 | }; |
| 54 | }; |
| 55 | |
| 56 | &can0 { |
| 57 | status = "okay"; |
| 58 | }; |
| 59 | |
| 60 | &gem0 { |
| 61 | status = "okay"; |
| 62 | phy-mode = "rgmii-id"; |
| 63 | phy-handle = <ðernet_phy>; |
| 64 | |
| 65 | ethernet_phy: ethernet-phy@7 { |
| 66 | reg = <7>; |
| 67 | }; |
| 68 | }; |
| 69 | |
| 70 | &i2c0 { |
| 71 | status = "okay"; |
| 72 | clock-frequency = <400000>; |
| 73 | |
| 74 | m24c02_eeprom@52 { |
| 75 | compatible = "at,24c02"; |
| 76 | reg = <0x52>; |
| 77 | }; |
| 78 | |
| 79 | }; |
| 80 | |
| 81 | &sdhci0 { |
| 82 | status = "okay"; |
| 83 | }; |
| 84 | |
| 85 | &uart1 { |
| 86 | status = "okay"; |
| 87 | }; |
| 88 | |
| 89 | &usb0 { |
| 90 | status = "okay"; |
| 91 | dr_mode = "host"; |
| 92 | usb-phy = <&usb_phy0>; |
Jagan Teki | 414595e | 2015-06-27 00:51:35 +0530 | [diff] [blame] | 93 | }; |