Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / zynq-zc702.dts
1 /*
2  *  Copyright (C) 2011 - 2014 Xilinx
3  *  Copyright (C) 2012 National Instruments Corp.
4  *
5  * This software is licensed under the terms of the GNU General Public
6  * License version 2, as published by the Free Software Foundation, and
7  * may be copied, distributed, and modified under those terms.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  */
14 /dts-v1/;
15 /include/ "zynq-7000.dtsi"
16
17 / {
18         model = "Zynq ZC702 Development Board";
19         compatible = "xlnx,zynq-zc702", "xlnx,zynq-7000";
20
21         memory {
22                 device_type = "memory";
23                 reg = <0x0 0x40000000>;
24         };
25
26         chosen {
27                 bootargs = "console=ttyPS0,115200 earlyprintk";
28         };
29
30         leds {
31                 compatible = "gpio-leds";
32
33                 ds23 {
34                         label = "ds23";
35                         gpios = <&gpio0 10 0>;
36                         linux,default-trigger = "heartbeat";
37                 };
38         };
39 };
40
41 &can0 {
42         status = "okay";
43 };
44
45 &gem0 {
46         status = "okay";
47         phy-mode = "rgmii-id";
48         phy-handle = <&ethernet_phy>;
49
50         ethernet_phy: ethernet-phy@7 {
51                 reg = <7>;
52         };
53 };
54
55 &i2c0 {
56         status = "okay";
57         clock-frequency = <400000>;
58
59         i2cswitch@74 {
60                 compatible = "nxp,pca9548";
61                 #address-cells = <1>;
62                 #size-cells = <0>;
63                 reg = <0x74>;
64
65                 i2c@0 {
66                         #address-cells = <1>;
67                         #size-cells = <0>;
68                         reg = <0>;
69                         si570: clock-generator@5d {
70                                 #clock-cells = <0>;
71                                 compatible = "silabs,si570";
72                                 temperature-stability = <50>;
73                                 reg = <0x5d>;
74                                 factory-fout = <156250000>;
75                                 clock-frequency = <148500000>;
76                         };
77                 };
78
79                 i2c@2 {
80                         #address-cells = <1>;
81                         #size-cells = <0>;
82                         reg = <2>;
83                         eeprom@54 {
84                                 compatible = "at,24c08";
85                                 reg = <0x54>;
86                         };
87                 };
88
89                 i2c@3 {
90                         #address-cells = <1>;
91                         #size-cells = <0>;
92                         reg = <3>;
93                         gpio@21 {
94                                 compatible = "ti,tca6416";
95                                 reg = <0x21>;
96                                 gpio-controller;
97                                 #gpio-cells = <2>;
98                         };
99                 };
100
101                 i2c@4 {
102                         #address-cells = <1>;
103                         #size-cells = <0>;
104                         reg = <4>;
105                         rtc@51 {
106                                 compatible = "nxp,pcf8563";
107                                 reg = <0x51>;
108                         };
109                 };
110
111                 i2c@7 {
112                         #address-cells = <1>;
113                         #size-cells = <0>;
114                         reg = <7>;
115                         hwmon@52 {
116                                 compatible = "ti,ucd9248";
117                                 reg = <52>;
118                         };
119                         hwmon@53 {
120                                 compatible = "ti,ucd9248";
121                                 reg = <53>;
122                         };
123                         hwmon@54 {
124                                 compatible = "ti,ucd9248";
125                                 reg = <54>;
126                         };
127                 };
128         };
129 };
130
131 &sdhci0 {
132         status = "okay";
133 };
134
135 &uart1 {
136         status = "okay";
137 };