]> git.karo-electronics.de Git - karo-tx-linux.git/blob - arch/arm/boot/dts/zynq-7000.dtsi
ARM: zynq: DT: Add DDRC node
[karo-tx-linux.git] / arch / arm / boot / dts / zynq-7000.dtsi
1 /*
2  *  Copyright (C) 2011 - 2014 Xilinx
3  *
4  * This software is licensed under the terms of the GNU General Public
5  * License version 2, as published by the Free Software Foundation, and
6  * may be copied, distributed, and modified under those terms.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11  * GNU General Public License for more details.
12  */
13 /include/ "skeleton.dtsi"
14
15 / {
16         compatible = "xlnx,zynq-7000";
17
18         cpus {
19                 #address-cells = <1>;
20                 #size-cells = <0>;
21
22                 cpu@0 {
23                         compatible = "arm,cortex-a9";
24                         device_type = "cpu";
25                         reg = <0>;
26                         clocks = <&clkc 3>;
27                         clock-latency = <1000>;
28                         cpu0-supply = <&regulator_vccpint>;
29                         operating-points = <
30                                 /* kHz    uV */
31                                 666667  1000000
32                                 333334  1000000
33                                 222223  1000000
34                         >;
35                 };
36
37                 cpu@1 {
38                         compatible = "arm,cortex-a9";
39                         device_type = "cpu";
40                         reg = <1>;
41                         clocks = <&clkc 3>;
42                 };
43         };
44
45         pmu {
46                 compatible = "arm,cortex-a9-pmu";
47                 interrupts = <0 5 4>, <0 6 4>;
48                 interrupt-parent = <&intc>;
49                 reg = < 0xf8891000 0x1000 0xf8893000 0x1000 >;
50         };
51
52         regulator_vccpint: fixedregulator@0 {
53                 compatible = "regulator-fixed";
54                 regulator-name = "VCCPINT";
55                 regulator-min-microvolt = <1000000>;
56                 regulator-max-microvolt = <1000000>;
57                 regulator-boot-on;
58                 regulator-always-on;
59         };
60
61         amba {
62                 compatible = "simple-bus";
63                 #address-cells = <1>;
64                 #size-cells = <1>;
65                 interrupt-parent = <&intc>;
66                 ranges;
67
68                 adc@f8007100 {
69                         compatible = "xlnx,zynq-xadc-1.00.a";
70                         reg = <0xf8007100 0x20>;
71                         interrupts = <0 7 4>;
72                         interrupt-parent = <&intc>;
73                         clocks = <&clkc 12>;
74                 };
75
76                 can0: can@e0008000 {
77                         compatible = "xlnx,zynq-can-1.0";
78                         status = "disabled";
79                         clocks = <&clkc 19>, <&clkc 36>;
80                         clock-names = "can_clk", "pclk";
81                         reg = <0xe0008000 0x1000>;
82                         interrupts = <0 28 4>;
83                         interrupt-parent = <&intc>;
84                         tx-fifo-depth = <0x40>;
85                         rx-fifo-depth = <0x40>;
86                 };
87
88                 can1: can@e0009000 {
89                         compatible = "xlnx,zynq-can-1.0";
90                         status = "disabled";
91                         clocks = <&clkc 20>, <&clkc 37>;
92                         clock-names = "can_clk", "pclk";
93                         reg = <0xe0009000 0x1000>;
94                         interrupts = <0 51 4>;
95                         interrupt-parent = <&intc>;
96                         tx-fifo-depth = <0x40>;
97                         rx-fifo-depth = <0x40>;
98                 };
99
100                 gpio0: gpio@e000a000 {
101                         compatible = "xlnx,zynq-gpio-1.0";
102                         #gpio-cells = <2>;
103                         clocks = <&clkc 42>;
104                         gpio-controller;
105                         interrupt-parent = <&intc>;
106                         interrupts = <0 20 4>;
107                         reg = <0xe000a000 0x1000>;
108                 };
109
110                 i2c0: i2c@e0004000 {
111                         compatible = "cdns,i2c-r1p10";
112                         status = "disabled";
113                         clocks = <&clkc 38>;
114                         interrupt-parent = <&intc>;
115                         interrupts = <0 25 4>;
116                         reg = <0xe0004000 0x1000>;
117                         #address-cells = <1>;
118                         #size-cells = <0>;
119                 };
120
121                 i2c1: i2c@e0005000 {
122                         compatible = "cdns,i2c-r1p10";
123                         status = "disabled";
124                         clocks = <&clkc 39>;
125                         interrupt-parent = <&intc>;
126                         interrupts = <0 48 4>;
127                         reg = <0xe0005000 0x1000>;
128                         #address-cells = <1>;
129                         #size-cells = <0>;
130                 };
131
132                 intc: interrupt-controller@f8f01000 {
133                         compatible = "arm,cortex-a9-gic";
134                         #interrupt-cells = <3>;
135                         interrupt-controller;
136                         reg = <0xF8F01000 0x1000>,
137                               <0xF8F00100 0x100>;
138                 };
139
140                 L2: cache-controller {
141                         compatible = "arm,pl310-cache";
142                         reg = <0xF8F02000 0x1000>;
143                         arm,data-latency = <3 2 2>;
144                         arm,tag-latency = <2 2 2>;
145                         cache-unified;
146                         cache-level = <2>;
147                 };
148
149                 memory-controller@f8006000 {
150                         compatible = "xlnx,zynq-ddrc-a05";
151                         reg = <0xf8006000 0x1000>;
152                 } ;
153
154                 uart0: serial@e0000000 {
155                         compatible = "xlnx,xuartps", "cdns,uart-r1p8";
156                         status = "disabled";
157                         clocks = <&clkc 23>, <&clkc 40>;
158                         clock-names = "uart_clk", "pclk";
159                         reg = <0xE0000000 0x1000>;
160                         interrupts = <0 27 4>;
161                 };
162
163                 uart1: serial@e0001000 {
164                         compatible = "xlnx,xuartps", "cdns,uart-r1p8";
165                         status = "disabled";
166                         clocks = <&clkc 24>, <&clkc 41>;
167                         clock-names = "uart_clk", "pclk";
168                         reg = <0xE0001000 0x1000>;
169                         interrupts = <0 50 4>;
170                 };
171
172                 spi0: spi@e0006000 {
173                         compatible = "xlnx,zynq-spi-r1p6";
174                         reg = <0xe0006000 0x1000>;
175                         status = "disabled";
176                         interrupt-parent = <&intc>;
177                         interrupts = <0 26 4>;
178                         clocks = <&clkc 25>, <&clkc 34>;
179                         clock-names = "ref_clk", "pclk";
180                         #address-cells = <1>;
181                         #size-cells = <0>;
182                 };
183
184                 spi1: spi@e0007000 {
185                         compatible = "xlnx,zynq-spi-r1p6";
186                         reg = <0xe0007000 0x1000>;
187                         status = "disabled";
188                         interrupt-parent = <&intc>;
189                         interrupts = <0 49 4>;
190                         clocks = <&clkc 26>, <&clkc 35>;
191                         clock-names = "ref_clk", "pclk";
192                         #address-cells = <1>;
193                         #size-cells = <0>;
194                 };
195
196                 gem0: ethernet@e000b000 {
197                         compatible = "cdns,gem";
198                         reg = <0xe000b000 0x4000>;
199                         status = "disabled";
200                         interrupts = <0 22 4>;
201                         clocks = <&clkc 30>, <&clkc 30>, <&clkc 13>;
202                         clock-names = "pclk", "hclk", "tx_clk";
203                 };
204
205                 gem1: ethernet@e000c000 {
206                         compatible = "cdns,gem";
207                         reg = <0xe000c000 0x4000>;
208                         status = "disabled";
209                         interrupts = <0 45 4>;
210                         clocks = <&clkc 31>, <&clkc 31>, <&clkc 14>;
211                         clock-names = "pclk", "hclk", "tx_clk";
212                 };
213
214                 sdhci0: sdhci@e0100000 {
215                         compatible = "arasan,sdhci-8.9a";
216                         status = "disabled";
217                         clock-names = "clk_xin", "clk_ahb";
218                         clocks = <&clkc 21>, <&clkc 32>;
219                         interrupt-parent = <&intc>;
220                         interrupts = <0 24 4>;
221                         reg = <0xe0100000 0x1000>;
222                 } ;
223
224                 sdhci1: sdhci@e0101000 {
225                         compatible = "arasan,sdhci-8.9a";
226                         status = "disabled";
227                         clock-names = "clk_xin", "clk_ahb";
228                         clocks = <&clkc 22>, <&clkc 33>;
229                         interrupt-parent = <&intc>;
230                         interrupts = <0 47 4>;
231                         reg = <0xe0101000 0x1000>;
232                 } ;
233
234                 slcr: slcr@f8000000 {
235                         #address-cells = <1>;
236                         #size-cells = <1>;
237                         compatible = "xlnx,zynq-slcr", "syscon";
238                         reg = <0xF8000000 0x1000>;
239                         ranges;
240                         clkc: clkc@100 {
241                                 #clock-cells = <1>;
242                                 compatible = "xlnx,ps7-clkc";
243                                 ps-clk-frequency = <33333333>;
244                                 fclk-enable = <0>;
245                                 clock-output-names = "armpll", "ddrpll", "iopll", "cpu_6or4x",
246                                                 "cpu_3or2x", "cpu_2x", "cpu_1x", "ddr2x", "ddr3x",
247                                                 "dci", "lqspi", "smc", "pcap", "gem0", "gem1",
248                                                 "fclk0", "fclk1", "fclk2", "fclk3", "can0", "can1",
249                                                 "sdio0", "sdio1", "uart0", "uart1", "spi0", "spi1",
250                                                 "dma", "usb0_aper", "usb1_aper", "gem0_aper",
251                                                 "gem1_aper", "sdio0_aper", "sdio1_aper",
252                                                 "spi0_aper", "spi1_aper", "can0_aper", "can1_aper",
253                                                 "i2c0_aper", "i2c1_aper", "uart0_aper", "uart1_aper",
254                                                 "gpio_aper", "lqspi_aper", "smc_aper", "swdt",
255                                                 "dbg_trc", "dbg_apb";
256                                 reg = <0x100 0x100>;
257                         };
258                 };
259
260                 dmac_s: dmac@f8003000 {
261                         compatible = "arm,pl330", "arm,primecell";
262                         reg = <0xf8003000 0x1000>;
263                         interrupt-parent = <&intc>;
264                         interrupts = <0 13 4>,
265                                      <0 14 4>, <0 15 4>,
266                                      <0 16 4>, <0 17 4>,
267                                      <0 40 4>, <0 41 4>,
268                                      <0 42 4>, <0 43 4>;
269                         #dma-cells = <1>;
270                         #dma-channels = <8>;
271                         #dma-requests = <4>;
272                         clocks = <&clkc 27>;
273                         clock-names = "apb_pclk";
274                 };
275
276                 devcfg: devcfg@f8007000 {
277                         compatible = "xlnx,zynq-devcfg-1.0";
278                         reg = <0xf8007000 0x100>;
279                 } ;
280
281                 global_timer: timer@f8f00200 {
282                         compatible = "arm,cortex-a9-global-timer";
283                         reg = <0xf8f00200 0x20>;
284                         interrupts = <1 11 0x301>;
285                         interrupt-parent = <&intc>;
286                         clocks = <&clkc 4>;
287                 };
288
289                 ttc0: timer@f8001000 {
290                         interrupt-parent = <&intc>;
291                         interrupts = <0 10 4>, <0 11 4>, <0 12 4>;
292                         compatible = "cdns,ttc";
293                         clocks = <&clkc 6>;
294                         reg = <0xF8001000 0x1000>;
295                 };
296
297                 ttc1: timer@f8002000 {
298                         interrupt-parent = <&intc>;
299                         interrupts = <0 37 4>, <0 38 4>, <0 39 4>;
300                         compatible = "cdns,ttc";
301                         clocks = <&clkc 6>;
302                         reg = <0xF8002000 0x1000>;
303                 };
304
305                 scutimer: timer@f8f00600 {
306                         interrupt-parent = <&intc>;
307                         interrupts = <1 13 0x301>;
308                         compatible = "arm,cortex-a9-twd-timer";
309                         reg = <0xf8f00600 0x20>;
310                         clocks = <&clkc 4>;
311                 } ;
312         };
313 };