Revert "Revert "clocksource: tegra: use the device_node pointer passed to init""
[linux-3.10.git] / arch / arm / boot / dts / tegra124-soc.dtsi
1 / {
2         aliases {
3                 i2c0 = &i2c1;
4                 i2c1 = &i2c2;
5                 i2c2 = &i2c3;
6                 i2c3 = &i2c4;
7                 i2c4 = &i2c5;
8                 i2c5 = &i2c6;
9                 serial0 = &uarta;
10                 serial1 = &uartb;
11                 serial2 = &uartc;
12                 serial3 = &uartd;
13                 spi0 = &spi0;
14                 spi1 = &spi1;
15                 spi2 = &spi2;
16                 spi3 = &spi3;
17                 spi4 = &spi4;
18                 spi5 = &spi5;
19         };
20
21         gpio: gpio@6000d000 {
22                 compatible = "nvidia,tegra124-gpio", "nvidia,tegra30-gpio";
23                 reg = <0x6000d000 0x1000>;
24                 interrupts = <0 32 0x04
25                                 0 33 0x04
26                                 0 34 0x04
27                                 0 35 0x04
28                                 0 55 0x04
29                                 0 87 0x04
30                                 0 89 0x04
31                                 0 125 0x04>;
32                 #gpio-cells = <2>;
33                 gpio-controller;
34                 #interrupt-cells = <2>;
35                 interrupt-controller;
36         };
37
38         tegra_car: clock {
39                 compatible = "nvidia,tegra124-car";
40                 reg = <0x60006000 0x1000>;
41                 #clock-cells = <1>;
42         };
43
44         apbdma: dma@60020000 {
45                 compatible = "nvidia,tegra124-apbdma";
46                 reg = <0x60020000 0x1400>;
47                 interrupts = <0 104 0x04
48                               0 105 0x04
49                               0 106 0x04
50                               0 107 0x04
51                               0 108 0x04
52                               0 109 0x04
53                               0 110 0x04
54                               0 111 0x04
55                               0 112 0x04
56                               0 113 0x04
57                               0 114 0x04
58                               0 115 0x04
59                               0 116 0x04
60                               0 117 0x04
61                               0 118 0x04
62                               0 119 0x04
63                               0 128 0x04
64                               0 129 0x04
65                               0 130 0x04
66                               0 131 0x04
67                               0 132 0x04
68                               0 133 0x04
69                               0 134 0x04
70                               0 135 0x04
71                               0 136 0x04
72                               0 137 0x04
73                               0 138 0x04
74                               0 139 0x04
75                               0 140 0x04
76                               0 141 0x04
77                               0 142 0x04
78                               0 143 0x04>;
79         };
80
81         /*
82          * There are two serial driver i.e. 8250 based simple serial
83          * driver and APB DMA based serial driver for higher baudrate
84          * and performace. To enable the 8250 based driver, the compatible
85          * is "nvidia,tegra114-uart", "nvidia,tegra20-uart" and to enable
86          * the APB DMA based serial driver, the comptible is
87          * "nvidia,tegra114-hsuart", "nvidia,tegra30-hsuart".
88          */
89         uarta: serial@70006000 {
90                 compatible = "nvidia,tegra114-uart", "nvidia,tegra20-uart";
91                 reg = <0x70006000 0x40>;
92                 reg-shift = <2>;
93                 interrupts = <0 36 0x04>;
94                 nvidia,dma-request-selector = <&apbdma 8>;
95                 nvidia,memory-clients = <14>;
96                 status = "disabled";
97         };
98
99         uartb: serial@70006040 {
100                 compatible = "nvidia,tegra114-uart", "nvidia,tegra20-uart";
101                 reg = <0x70006040 0x40>;
102                 reg-shift = <2>;
103                 interrupts = <0 37 0x04>;
104                 nvidia,dma-request-selector = <&apbdma 9>;
105                 nvidia,memory-clients = <14>;
106                 status = "disabled";
107         };
108
109         uartc: serial@70006200 {
110                 compatible = "nvidia,tegra114-uart", "nvidia,tegra20-uart";
111                 reg = <0x70006200 0x40>;
112                 reg-shift = <2>;
113                 interrupts = <0 46 0x04>;
114                 nvidia,dma-request-selector = <&apbdma 10>;
115                 nvidia,memory-clients = <14>;
116                 status = "disabled";
117         };
118
119         uartd: serial@70006300 {
120                 compatible = "nvidia,tegra114-uart", "nvidia,tegra20-uart";
121                 reg = <0x70006300 0x40>;
122                 reg-shift = <2>;
123                 interrupts = <0 90 0x04>;
124                 nvidia,dma-request-selector = <&apbdma 19>;
125                 nvidia,memory-clients = <14>;
126                 status = "disabled";
127         };
128
129         i2c1: i2c@7000c000 {
130                 #address-cells = <1>;
131                 #size-cells = <0>;
132                 compatible = "nvidia,tegra124-i2c";
133                 reg = <0x7000c000 0x100>;
134                 interrupts = <0 38 0x04>;
135                 scl-gpio = <&gpio 20 0>; /* gpio PC4 */
136                 sda-gpio = <&gpio 21 0>; /* gpio PC5 */
137                 nvidia,memory-clients = <14>;
138                 status = "disable";
139         };
140
141         i2c2: i2c@7000c400 {
142                 #address-cells = <1>;
143                 #size-cells = <0>;
144                 compatible = "nvidia,tegra124-i2c";
145                 reg = <0x7000c400 0x100>;
146                 interrupts = <0 84 0x04>;
147                 scl-gpio = <&gpio 157 0>; /* gpio PT5 */
148                 sda-gpio = <&gpio 158 0>; /* gpio PT6 */
149                 nvidia,memory-clients = <14>;
150                 status = "disable";
151         };
152
153         i2c3: i2c@7000c500 {
154                 #address-cells = <1>;
155                 #size-cells = <0>;
156                 compatible = "nvidia,tegra124-i2c";
157                 reg = <0x7000c500 0x100>;
158                 interrupts = <0 92 0x04>;
159                 scl-gpio = <&gpio 217 0>; /* gpio PBB1 */
160                 sda-gpio = <&gpio 218 0>; /* gpio PBB2 */
161                 nvidia,memory-clients = <14>;
162                 status = "disable";
163         };
164
165         i2c4: i2c@7000c700 {
166                 #address-cells = <1>;
167                 #size-cells = <0>;
168                 compatible = "nvidia,tegra124-i2c";
169                 reg = <0x7000c700 0x100>;
170                 interrupts = <0 120 0x04>;
171                 scl-gpio = <&gpio 172 0>; /* gpio PV4 */
172                 sda-gpio = <&gpio 173 0>; /* gpio PV5 */
173                 nvidia,memory-clients = <14>;
174                 status = "disable";
175         };
176
177         i2c5: i2c@7000d000 {
178                 #address-cells = <1>;
179                 #size-cells = <0>;
180                 compatible = "nvidia,tegra124-i2c";
181                 reg = <0x7000d000 0x100>;
182                 interrupts = <0 53 0x04>;
183                 scl-gpio = <&gpio 206 0>; /* gpio PZ6 */
184                 sda-gpio = <&gpio 207 0>; /* gpio PZ7 */
185                 nvidia,memory-clients = <14>;
186                 status = "disable";
187         };
188
189         i2c6: i2c@7000d100 {
190                 #address-cells = <1>;
191                 #size-cells = <0>;
192                 compatible = "nvidia,tegra124-i2c";
193                 reg = <0x7000d100 0x100>;
194                 interrupts = <0 63 0x04>;
195                 nvidia,memory-clients = <14>;
196                 status = "disable";
197         };
198
199         spi0: spi@7000d400 {
200                 compatible = "nvidia,tegra114-spi";
201                 reg = <0x7000d400 0x200>;
202                 interrupts = <0 59 0x04>;
203                 nvidia,dma-request-selector = <&apbdma 15>;
204                 nvidia,memory-clients = <14>;
205                 #address-cells = <1>;
206                 #size-cells = <0>;
207                 status = "disabled";
208         };
209
210         spi1: spi@7000d600 {
211                 compatible = "nvidia,tegra114-spi";
212                 reg = <0x7000d600 0x200>;
213                 interrupts = <0 82 0x04>;
214                 nvidia,dma-request-selector = <&apbdma 16>;
215                 nvidia,memory-clients = <14>;
216                 #address-cells = <1>;
217                 #size-cells = <0>;
218                 status = "disabled";
219         };
220
221         spi2: spi@7000d800 {
222                 compatible = "nvidia,tegra114-spi";
223                 reg = <0x7000d800 0x200>;
224                 interrupts = <0 83 0x04>;
225                 nvidia,dma-request-selector = <&apbdma 17>;
226                 nvidia,memory-clients = <14>;
227                 #address-cells = <1>;
228                 #size-cells = <0>;
229                 status = "disabled";
230         };
231
232         spi3: spi@7000da00 {
233                 compatible = "nvidia,tegra114-spi";
234                 reg = <0x7000da00 0x200>;
235                 interrupts = <0 93 0x04>;
236                 nvidia,dma-request-selector = <&apbdma 18>;
237                 nvidia,memory-clients = <14>;
238                 #address-cells = <1>;
239                 #size-cells = <0>;
240                 status = "disabled";
241         };
242
243         spi4: spi@7000dc00 {
244                 compatible = "nvidia,tegra114-spi";
245                 reg = <0x7000dc00 0x200>;
246                 interrupts = <0 94 0x04>;
247                 nvidia,dma-request-selector = <&apbdma 27>;
248                 nvidia,memory-clients = <14>;
249                 #address-cells = <1>;
250                 #size-cells = <0>;
251                 status = "disabled";
252         };
253
254         spi5: spi@7000de00 {
255                 compatible = "nvidia,tegra114-spi";
256                 reg = <0x7000de00 0x200>;
257                 interrupts = <0 79 0x04>;
258                 nvidia,dma-request-selector = <&apbdma 28>;
259                 nvidia,memory-clients = <14>;
260                 #address-cells = <1>;
261                 #size-cells = <0>;
262                 status = "disabled";
263         };
264
265         pmc {
266                 compatible = "nvidia,tegra124-pmc";
267                 reg = <0x7000e400 0x400>;
268                 clocks = <&tegra_car 261>, <&clk32k_in>;
269                 clock-names = "pclk", "clk32k_in";
270         };
271
272         clocks {
273                 compatible = "simple-bus";
274                 #address-cells = <1>;
275                 #size-cells = <0>;
276
277                 clk32k_in: clock {
278                         compatible = "fixed-clock";
279                         reg=<0>;
280                         #clock-cells = <0>;
281                         clock-frequency = <32768>;
282                 };
283         };
284
285         timer@60005000 {
286                 compatible = "nvidia,tegra-nvtimer";
287                 reg = <0x60005000 0x400>;
288                 interrupts = <0 0 0x04
289                               0 1 0x04
290                               0 41 0x04
291                               0 42 0x04
292                               0 121 0x04
293                               0 151 0x04
294                               0 152 0x04
295                               0 153 0x04
296                               0 154 0x04
297                               0 155 0x04
298                               0 122 0x04>;
299                 clocks = <&tegra_car 5>;
300         };
301
302         timer@700f0000 {
303                 compatible = "nvidia,tegra-rtc";
304                 reg = <0x700f0000 0x00010000>;
305         };
306
307         rtc {
308                 compatible = "nvidia,tegra-rtc";
309                 reg = <0x7000e000 0x100>;
310                 interrupts = <0 2 0x04>;
311                 clocks = <&tegra_car 4>;
312         };
313 };