blob: 1e75a0f556d44c6f74b71a8577412f7615b513ac [file] [log] [blame]
Heiko Stuebner2ab557b2014-07-15 20:16:19 +02001/*
2 * This program is free software; you can redistribute it and/or modify
3 * it under the terms of the GNU General Public License as published by
4 * the Free Software Foundation; either version 2 of the License, or
5 * (at your option) any later version.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 */
12
13#include <dt-bindings/gpio/gpio.h>
14#include <dt-bindings/interrupt-controller/irq.h>
15#include <dt-bindings/interrupt-controller/arm-gic.h>
16#include <dt-bindings/pinctrl/rockchip.h>
17#include <dt-bindings/clock/rk3288-cru.h>
Caesar Wangb67d6bc2014-11-24 12:59:01 +080018#include <dt-bindings/thermal/thermal.h>
Heiko Stuebner2ab557b2014-07-15 20:16:19 +020019#include "skeleton.dtsi"
20
21/ {
22 compatible = "rockchip,rk3288";
23
24 interrupt-parent = <&gic>;
25
26 aliases {
27 i2c0 = &i2c0;
28 i2c1 = &i2c1;
29 i2c2 = &i2c2;
30 i2c3 = &i2c3;
31 i2c4 = &i2c4;
32 i2c5 = &i2c5;
Doug Andersond7f9a382014-09-03 16:05:23 -070033 mshc0 = &emmc;
34 mshc1 = &sdmmc;
35 mshc2 = &sdio0;
36 mshc3 = &sdio1;
Heiko Stuebner2ab557b2014-07-15 20:16:19 +020037 serial0 = &uart0;
38 serial1 = &uart1;
39 serial2 = &uart2;
40 serial3 = &uart3;
41 serial4 = &uart4;
huang lin1f531702014-09-05 09:53:11 -070042 spi0 = &spi0;
43 spi1 = &spi1;
44 spi2 = &spi2;
Heiko Stuebner2ab557b2014-07-15 20:16:19 +020045 };
46
47 cpus {
48 #address-cells = <1>;
49 #size-cells = <0>;
Olof Johansson08bcc752014-12-04 23:33:38 -080050 enable-method = "rockchip,rk3066-smp";
Kever Yangfbdbc732014-10-15 10:23:02 -070051 rockchip,pmu = <&pmu>;
Heiko Stuebner2ab557b2014-07-15 20:16:19 +020052
Heiko Stuebnerbe8a77c2014-09-13 00:34:29 +020053 cpu0: cpu@500 {
Heiko Stuebner2ab557b2014-07-15 20:16:19 +020054 device_type = "cpu";
55 compatible = "arm,cortex-a12";
56 reg = <0x500>;
Kever Yang044542a2014-10-15 10:23:05 -070057 resets = <&cru SRST_CORE0>;
Heiko Stuebnerbe8a77c2014-09-13 00:34:29 +020058 operating-points = <
59 /* KHz uV */
60 1608000 1350000
61 1512000 1300000
62 1416000 1200000
63 1200000 1100000
64 1008000 1050000
65 816000 1000000
66 696000 950000
67 600000 900000
68 408000 900000
69 312000 900000
70 216000 900000
71 126000 900000
72 >;
Caesar Wangb67d6bc2014-11-24 12:59:01 +080073 #cooling-cells = <2>; /* min followed by max */
Heiko Stuebnerbe8a77c2014-09-13 00:34:29 +020074 clock-latency = <40000>;
75 clocks = <&cru ARMCLK>;
Heiko Stuebner2ab557b2014-07-15 20:16:19 +020076 };
77 cpu@501 {
78 device_type = "cpu";
79 compatible = "arm,cortex-a12";
80 reg = <0x501>;
Kever Yang044542a2014-10-15 10:23:05 -070081 resets = <&cru SRST_CORE1>;
Heiko Stuebner2ab557b2014-07-15 20:16:19 +020082 };
83 cpu@502 {
84 device_type = "cpu";
85 compatible = "arm,cortex-a12";
86 reg = <0x502>;
Kever Yang044542a2014-10-15 10:23:05 -070087 resets = <&cru SRST_CORE2>;
Heiko Stuebner2ab557b2014-07-15 20:16:19 +020088 };
89 cpu@503 {
90 device_type = "cpu";
91 compatible = "arm,cortex-a12";
92 reg = <0x503>;
Kever Yang044542a2014-10-15 10:23:05 -070093 resets = <&cru SRST_CORE3>;
Heiko Stuebner2ab557b2014-07-15 20:16:19 +020094 };
95 };
96
Heiko Stübner982891c2014-08-14 23:01:25 +020097 amba {
98 compatible = "arm,amba-bus";
99 #address-cells = <1>;
100 #size-cells = <1>;
101 ranges;
102
103 dmac_peri: dma-controller@ff250000 {
104 compatible = "arm,pl330", "arm,primecell";
105 reg = <0xff250000 0x4000>;
106 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
107 <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
108 #dma-cells = <1>;
109 clocks = <&cru ACLK_DMAC2>;
110 clock-names = "apb_pclk";
111 };
112
113 dmac_bus_ns: dma-controller@ff600000 {
114 compatible = "arm,pl330", "arm,primecell";
115 reg = <0xff600000 0x4000>;
116 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
117 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
118 #dma-cells = <1>;
119 clocks = <&cru ACLK_DMAC1>;
120 clock-names = "apb_pclk";
121 status = "disabled";
122 };
123
124 dmac_bus_s: dma-controller@ffb20000 {
125 compatible = "arm,pl330", "arm,primecell";
126 reg = <0xffb20000 0x4000>;
127 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
128 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
129 #dma-cells = <1>;
130 clocks = <&cru ACLK_DMAC1>;
131 clock-names = "apb_pclk";
132 };
133 };
134
Heiko Stuebner2ab557b2014-07-15 20:16:19 +0200135 xin24m: oscillator {
136 compatible = "fixed-clock";
137 clock-frequency = <24000000>;
138 clock-output-names = "xin24m";
139 #clock-cells = <0>;
140 };
141
142 timer {
143 compatible = "arm,armv7-timer";
Sonny Raoe2405a52014-11-25 10:54:00 -0800144 arm,cpu-registers-not-fw-configured;
Heiko Stuebner2ab557b2014-07-15 20:16:19 +0200145 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
146 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
147 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
148 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
149 clock-frequency = <24000000>;
150 };
151
Daniel Lezcanoe48cc182015-01-25 10:42:59 +0100152 timer: timer@ff810000 {
153 compatible = "rockchip,rk3288-timer";
154 reg = <0xff810000 0x20>;
155 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
156 clocks = <&xin24m>, <&cru PCLK_TIMER>;
157 clock-names = "timer", "pclk";
158 };
159
Daniel Kurtza29cb8c2014-10-10 20:26:14 +0800160 display-subsystem {
161 compatible = "rockchip,display-subsystem";
162 ports = <&vopl_out>, <&vopb_out>;
163 };
164
Doug Anderson85095bf2014-08-12 16:21:13 -0700165 sdmmc: dwmmc@ff0c0000 {
166 compatible = "rockchip,rk3288-dw-mshc";
Addy Kef74ba112014-12-04 10:49:35 +0800167 clock-freq-min-max = <400000 150000000>;
Doug Anderson85095bf2014-08-12 16:21:13 -0700168 clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>;
169 clock-names = "biu", "ciu";
170 fifo-depth = <0x100>;
171 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
172 reg = <0xff0c0000 0x4000>;
173 status = "disabled";
174 };
175
Addy Kef1a07232014-08-19 18:21:08 +0800176 sdio0: dwmmc@ff0d0000 {
177 compatible = "rockchip,rk3288-dw-mshc";
Addy Kef74ba112014-12-04 10:49:35 +0800178 clock-freq-min-max = <400000 150000000>;
Addy Kef1a07232014-08-19 18:21:08 +0800179 clocks = <&cru HCLK_SDIO0>, <&cru SCLK_SDIO0>;
180 clock-names = "biu", "ciu";
181 fifo-depth = <0x100>;
182 interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
183 reg = <0xff0d0000 0x4000>;
184 status = "disabled";
185 };
186
187 sdio1: dwmmc@ff0e0000 {
188 compatible = "rockchip,rk3288-dw-mshc";
Addy Kef74ba112014-12-04 10:49:35 +0800189 clock-freq-min-max = <400000 150000000>;
Addy Kef1a07232014-08-19 18:21:08 +0800190 clocks = <&cru HCLK_SDIO1>, <&cru SCLK_SDIO1>;
191 clock-names = "biu", "ciu";
192 fifo-depth = <0x100>;
193 interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
194 reg = <0xff0e0000 0x4000>;
195 status = "disabled";
196 };
197
Doug Anderson85095bf2014-08-12 16:21:13 -0700198 emmc: dwmmc@ff0f0000 {
199 compatible = "rockchip,rk3288-dw-mshc";
Addy Kef74ba112014-12-04 10:49:35 +0800200 clock-freq-min-max = <400000 150000000>;
Doug Anderson85095bf2014-08-12 16:21:13 -0700201 clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>;
202 clock-names = "biu", "ciu";
203 fifo-depth = <0x100>;
204 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
205 reg = <0xff0f0000 0x4000>;
206 status = "disabled";
207 };
208
Heiko Stübnerf23a6172014-08-20 21:09:24 +0200209 saradc: saradc@ff100000 {
210 compatible = "rockchip,saradc";
211 reg = <0xff100000 0x100>;
212 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
213 #io-channel-cells = <1>;
214 clocks = <&cru SCLK_SARADC>, <&cru PCLK_SARADC>;
215 clock-names = "saradc", "apb_pclk";
216 status = "disabled";
217 };
218
huang lin1f531702014-09-05 09:53:11 -0700219 spi0: spi@ff110000 {
220 compatible = "rockchip,rk3288-spi", "rockchip,rk3066-spi";
221 clocks = <&cru SCLK_SPI0>, <&cru PCLK_SPI0>;
222 clock-names = "spiclk", "apb_pclk";
Doug Anderson11bd57b2014-10-24 14:42:06 -0700223 dmas = <&dmac_peri 11>, <&dmac_peri 12>;
224 dma-names = "tx", "rx";
huang lin1f531702014-09-05 09:53:11 -0700225 interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
226 pinctrl-names = "default";
227 pinctrl-0 = <&spi0_clk &spi0_tx &spi0_rx &spi0_cs0>;
228 reg = <0xff110000 0x1000>;
229 #address-cells = <1>;
230 #size-cells = <0>;
231 status = "disabled";
232 };
233
234 spi1: spi@ff120000 {
235 compatible = "rockchip,rk3288-spi", "rockchip,rk3066-spi";
236 clocks = <&cru SCLK_SPI1>, <&cru PCLK_SPI1>;
237 clock-names = "spiclk", "apb_pclk";
Doug Anderson11bd57b2014-10-24 14:42:06 -0700238 dmas = <&dmac_peri 13>, <&dmac_peri 14>;
239 dma-names = "tx", "rx";
huang lin1f531702014-09-05 09:53:11 -0700240 interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
241 pinctrl-names = "default";
242 pinctrl-0 = <&spi1_clk &spi1_tx &spi1_rx &spi1_cs0>;
243 reg = <0xff120000 0x1000>;
244 #address-cells = <1>;
245 #size-cells = <0>;
246 status = "disabled";
247 };
248
249 spi2: spi@ff130000 {
250 compatible = "rockchip,rk3288-spi", "rockchip,rk3066-spi";
251 clocks = <&cru SCLK_SPI2>, <&cru PCLK_SPI2>;
252 clock-names = "spiclk", "apb_pclk";
Doug Anderson11bd57b2014-10-24 14:42:06 -0700253 dmas = <&dmac_peri 15>, <&dmac_peri 16>;
254 dma-names = "tx", "rx";
huang lin1f531702014-09-05 09:53:11 -0700255 interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
256 pinctrl-names = "default";
257 pinctrl-0 = <&spi2_clk &spi2_tx &spi2_rx &spi2_cs0>;
258 reg = <0xff130000 0x1000>;
259 #address-cells = <1>;
260 #size-cells = <0>;
261 status = "disabled";
262 };
263
Heiko Stuebner2ab557b2014-07-15 20:16:19 +0200264 i2c1: i2c@ff140000 {
265 compatible = "rockchip,rk3288-i2c";
266 reg = <0xff140000 0x1000>;
267 interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
268 #address-cells = <1>;
269 #size-cells = <0>;
270 clock-names = "i2c";
271 clocks = <&cru PCLK_I2C1>;
272 pinctrl-names = "default";
273 pinctrl-0 = <&i2c1_xfer>;
274 status = "disabled";
275 };
276
277 i2c3: i2c@ff150000 {
278 compatible = "rockchip,rk3288-i2c";
279 reg = <0xff150000 0x1000>;
280 interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
281 #address-cells = <1>;
282 #size-cells = <0>;
283 clock-names = "i2c";
284 clocks = <&cru PCLK_I2C3>;
285 pinctrl-names = "default";
286 pinctrl-0 = <&i2c3_xfer>;
287 status = "disabled";
288 };
289
290 i2c4: i2c@ff160000 {
291 compatible = "rockchip,rk3288-i2c";
292 reg = <0xff160000 0x1000>;
293 interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
294 #address-cells = <1>;
295 #size-cells = <0>;
296 clock-names = "i2c";
297 clocks = <&cru PCLK_I2C4>;
298 pinctrl-names = "default";
299 pinctrl-0 = <&i2c4_xfer>;
300 status = "disabled";
301 };
302
303 i2c5: i2c@ff170000 {
304 compatible = "rockchip,rk3288-i2c";
305 reg = <0xff170000 0x1000>;
306 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
307 #address-cells = <1>;
308 #size-cells = <0>;
309 clock-names = "i2c";
310 clocks = <&cru PCLK_I2C5>;
311 pinctrl-names = "default";
312 pinctrl-0 = <&i2c5_xfer>;
313 status = "disabled";
314 };
315
316 uart0: serial@ff180000 {
317 compatible = "rockchip,rk3288-uart", "snps,dw-apb-uart";
318 reg = <0xff180000 0x100>;
319 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
320 reg-shift = <2>;
321 reg-io-width = <4>;
322 clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>;
323 clock-names = "baudclk", "apb_pclk";
324 pinctrl-names = "default";
325 pinctrl-0 = <&uart0_xfer>;
326 status = "disabled";
327 };
328
329 uart1: serial@ff190000 {
330 compatible = "rockchip,rk3288-uart", "snps,dw-apb-uart";
331 reg = <0xff190000 0x100>;
332 interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
333 reg-shift = <2>;
334 reg-io-width = <4>;
335 clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>;
336 clock-names = "baudclk", "apb_pclk";
337 pinctrl-names = "default";
338 pinctrl-0 = <&uart1_xfer>;
339 status = "disabled";
340 };
341
342 uart2: serial@ff690000 {
343 compatible = "rockchip,rk3288-uart", "snps,dw-apb-uart";
344 reg = <0xff690000 0x100>;
345 interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
346 reg-shift = <2>;
347 reg-io-width = <4>;
348 clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>;
349 clock-names = "baudclk", "apb_pclk";
350 pinctrl-names = "default";
351 pinctrl-0 = <&uart2_xfer>;
352 status = "disabled";
353 };
354
355 uart3: serial@ff1b0000 {
356 compatible = "rockchip,rk3288-uart", "snps,dw-apb-uart";
357 reg = <0xff1b0000 0x100>;
358 interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
359 reg-shift = <2>;
360 reg-io-width = <4>;
361 clocks = <&cru SCLK_UART3>, <&cru PCLK_UART3>;
362 clock-names = "baudclk", "apb_pclk";
363 pinctrl-names = "default";
364 pinctrl-0 = <&uart3_xfer>;
365 status = "disabled";
366 };
367
368 uart4: serial@ff1c0000 {
369 compatible = "rockchip,rk3288-uart", "snps,dw-apb-uart";
370 reg = <0xff1c0000 0x100>;
371 interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
372 reg-shift = <2>;
373 reg-io-width = <4>;
374 clocks = <&cru SCLK_UART4>, <&cru PCLK_UART4>;
375 clock-names = "baudclk", "apb_pclk";
376 pinctrl-names = "default";
377 pinctrl-0 = <&uart4_xfer>;
378 status = "disabled";
379 };
380
Caesar Wangb67d6bc2014-11-24 12:59:01 +0800381 thermal-zones {
382 #include "rk3288-thermal.dtsi"
383 };
384
385 tsadc: tsadc@ff280000 {
386 compatible = "rockchip,rk3288-tsadc";
387 reg = <0xff280000 0x100>;
388 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
389 clocks = <&cru SCLK_TSADC>, <&cru PCLK_TSADC>;
390 clock-names = "tsadc", "apb_pclk";
391 resets = <&cru SRST_TSADC>;
392 reset-names = "tsadc-apb";
393 pinctrl-names = "default";
394 pinctrl-0 = <&otp_out>;
395 #thermal-sensor-cells = <1>;
396 rockchip,hw-tshut-temp = <95000>;
397 status = "disabled";
398 };
399
Doug Andersonc9c32c52014-08-07 17:44:19 +0200400 usb_host0_ehci: usb@ff500000 {
401 compatible = "generic-ehci";
402 reg = <0xff500000 0x100>;
403 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
404 clocks = <&cru HCLK_USBHOST0>;
405 clock-names = "usbhost";
406 status = "disabled";
407 };
408
409 /* NOTE: ohci@ff520000 doesn't actually work on hardware */
410
Kever Yang12dd3652014-08-08 11:55:58 +0800411 usb_host1: usb@ff540000 {
412 compatible = "rockchip,rk3288-usb", "rockchip,rk3066-usb",
413 "snps,dwc2";
414 reg = <0xff540000 0x40000>;
415 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
416 clocks = <&cru HCLK_USBHOST1>;
417 clock-names = "otg";
418 status = "disabled";
419 };
420
421 usb_otg: usb@ff580000 {
422 compatible = "rockchip,rk3288-usb", "rockchip,rk3066-usb",
423 "snps,dwc2";
424 reg = <0xff580000 0x40000>;
425 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
426 clocks = <&cru HCLK_OTG0>;
427 clock-names = "otg";
428 status = "disabled";
429 };
430
Doug Andersonc9c32c52014-08-07 17:44:19 +0200431 usb_hsic: usb@ff5c0000 {
432 compatible = "generic-ehci";
433 reg = <0xff5c0000 0x100>;
434 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
435 clocks = <&cru HCLK_HSIC>;
436 clock-names = "usbhost";
437 status = "disabled";
438 };
439
Heiko Stuebner2ab557b2014-07-15 20:16:19 +0200440 i2c0: i2c@ff650000 {
441 compatible = "rockchip,rk3288-i2c";
442 reg = <0xff650000 0x1000>;
443 interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
444 #address-cells = <1>;
445 #size-cells = <0>;
446 clock-names = "i2c";
447 clocks = <&cru PCLK_I2C0>;
448 pinctrl-names = "default";
449 pinctrl-0 = <&i2c0_xfer>;
450 status = "disabled";
451 };
452
453 i2c2: i2c@ff660000 {
454 compatible = "rockchip,rk3288-i2c";
455 reg = <0xff660000 0x1000>;
456 interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
457 #address-cells = <1>;
458 #size-cells = <0>;
459 clock-names = "i2c";
460 clocks = <&cru PCLK_I2C2>;
461 pinctrl-names = "default";
462 pinctrl-0 = <&i2c2_xfer>;
463 status = "disabled";
464 };
465
Doug Andersondf542df2014-08-25 15:59:26 -0700466 pwm0: pwm@ff680000 {
467 compatible = "rockchip,rk3288-pwm";
468 reg = <0xff680000 0x10>;
469 #pwm-cells = <3>;
470 pinctrl-names = "default";
471 pinctrl-0 = <&pwm0_pin>;
472 clocks = <&cru PCLK_PWM>;
473 clock-names = "pwm";
474 status = "disabled";
475 };
476
477 pwm1: pwm@ff680010 {
478 compatible = "rockchip,rk3288-pwm";
479 reg = <0xff680010 0x10>;
480 #pwm-cells = <3>;
481 pinctrl-names = "default";
482 pinctrl-0 = <&pwm1_pin>;
483 clocks = <&cru PCLK_PWM>;
484 clock-names = "pwm";
485 status = "disabled";
486 };
487
488 pwm2: pwm@ff680020 {
489 compatible = "rockchip,rk3288-pwm";
490 reg = <0xff680020 0x10>;
491 #pwm-cells = <3>;
492 pinctrl-names = "default";
493 pinctrl-0 = <&pwm2_pin>;
494 clocks = <&cru PCLK_PWM>;
495 clock-names = "pwm";
496 status = "disabled";
497 };
498
499 pwm3: pwm@ff680030 {
500 compatible = "rockchip,rk3288-pwm";
501 reg = <0xff680030 0x10>;
502 #pwm-cells = <2>;
503 pinctrl-names = "default";
504 pinctrl-0 = <&pwm3_pin>;
505 clocks = <&cru PCLK_PWM>;
506 clock-names = "pwm";
507 status = "disabled";
508 };
509
Kever Yang1123d412014-10-15 10:23:04 -0700510 bus_intmem@ff700000 {
511 compatible = "mmio-sram";
512 reg = <0xff700000 0x18000>;
513 #address-cells = <1>;
514 #size-cells = <1>;
515 ranges = <0 0xff700000 0x18000>;
516 smp-sram@0 {
517 compatible = "rockchip,rk3066-smp-sram";
518 reg = <0x00 0x10>;
519 };
520 };
521
Chris Zhongeecfe982014-12-01 16:52:19 +0800522 sram@ff720000 {
523 compatible = "rockchip,rk3288-pmu-sram", "mmio-sram";
524 reg = <0xff720000 0x1000>;
525 };
526
Heiko Stuebner2ab557b2014-07-15 20:16:19 +0200527 pmu: power-management@ff730000 {
528 compatible = "rockchip,rk3288-pmu", "syscon";
529 reg = <0xff730000 0x100>;
530 };
531
532 sgrf: syscon@ff740000 {
533 compatible = "rockchip,rk3288-sgrf", "syscon";
534 reg = <0xff740000 0x1000>;
535 };
536
537 cru: clock-controller@ff760000 {
538 compatible = "rockchip,rk3288-cru";
539 reg = <0xff760000 0x1000>;
540 rockchip,grf = <&grf>;
541 #clock-cells = <1>;
542 #reset-cells = <1>;
Kever Yangcd78d0c2014-10-09 21:50:30 -0700543 assigned-clocks = <&cru PLL_GPLL>, <&cru PLL_CPLL>,
544 <&cru PLL_NPLL>, <&cru ACLK_CPU>,
545 <&cru HCLK_CPU>, <&cru PCLK_CPU>,
546 <&cru ACLK_PERI>, <&cru HCLK_PERI>,
547 <&cru PCLK_PERI>;
548 assigned-clock-rates = <594000000>, <400000000>,
549 <500000000>, <300000000>,
550 <150000000>, <75000000>,
551 <300000000>, <150000000>,
552 <75000000>;
Heiko Stuebner2ab557b2014-07-15 20:16:19 +0200553 };
554
555 grf: syscon@ff770000 {
556 compatible = "rockchip,rk3288-grf", "syscon";
557 reg = <0xff770000 0x1000>;
558 };
559
560 wdt: watchdog@ff800000 {
561 compatible = "rockchip,rk3288-wdt", "snps,dw-wdt";
562 reg = <0xff800000 0x100>;
Heiko Stuebner39d05162015-01-20 21:12:16 +0100563 clocks = <&cru PCLK_WDT>;
Heiko Stuebner2ab557b2014-07-15 20:16:19 +0200564 interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
565 status = "disabled";
566 };
567
Jianquna0f95e32014-09-12 18:54:55 +0800568 i2s: i2s@ff890000 {
569 compatible = "rockchip,rk3288-i2s", "rockchip,rk3066-i2s";
570 reg = <0xff890000 0x10000>;
571 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
572 #address-cells = <1>;
573 #size-cells = <0>;
574 dmas = <&dmac_bus_s 0>, <&dmac_bus_s 1>;
575 dma-names = "tx", "rx";
576 clock-names = "i2s_hclk", "i2s_clk";
577 clocks = <&cru HCLK_I2S0>, <&cru SCLK_I2S0>;
578 pinctrl-names = "default";
579 pinctrl-0 = <&i2s0_bus>;
580 status = "disabled";
581 };
582
Daniel Kurtza29cb8c2014-10-10 20:26:14 +0800583 vopb: vop@ff930000 {
584 compatible = "rockchip,rk3288-vop";
585 reg = <0xff930000 0x19c>;
586 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
587 clocks = <&cru ACLK_VOP0>, <&cru DCLK_VOP0>, <&cru HCLK_VOP0>;
588 clock-names = "aclk_vop", "dclk_vop", "hclk_vop";
589 resets = <&cru SRST_LCDC0_AXI>, <&cru SRST_LCDC0_AHB>, <&cru SRST_LCDC0_DCLK>;
590 reset-names = "axi", "ahb", "dclk";
591 iommus = <&vopb_mmu>;
592 status = "disabled";
593
594 vopb_out: port {
595 #address-cells = <1>;
596 #size-cells = <0>;
Andy Yand5a1df42014-11-04 13:13:14 +0800597
598 vopb_out_hdmi: endpoint@0 {
599 reg = <0>;
600 remote-endpoint = <&hdmi_in_vopb>;
601 };
Daniel Kurtza29cb8c2014-10-10 20:26:14 +0800602 };
603 };
604
Daniel Kurtz7cae0682014-11-03 10:53:29 +0800605 vopb_mmu: iommu@ff930300 {
606 compatible = "rockchip,iommu";
607 reg = <0xff930300 0x100>;
608 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
609 interrupt-names = "vopb_mmu";
610 #iommu-cells = <0>;
611 status = "disabled";
612 };
613
Daniel Kurtza29cb8c2014-10-10 20:26:14 +0800614 vopl: vop@ff940000 {
615 compatible = "rockchip,rk3288-vop";
616 reg = <0xff940000 0x19c>;
617 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
618 clocks = <&cru ACLK_VOP1>, <&cru DCLK_VOP1>, <&cru HCLK_VOP1>;
619 clock-names = "aclk_vop", "dclk_vop", "hclk_vop";
620 resets = <&cru SRST_LCDC1_AXI>, <&cru SRST_LCDC1_AHB>, <&cru SRST_LCDC1_DCLK>;
621 reset-names = "axi", "ahb", "dclk";
622 iommus = <&vopl_mmu>;
623 status = "disabled";
624
625 vopl_out: port {
626 #address-cells = <1>;
627 #size-cells = <0>;
Andy Yand5a1df42014-11-04 13:13:14 +0800628
629 vopl_out_hdmi: endpoint@0 {
630 reg = <0>;
631 remote-endpoint = <&hdmi_in_vopl>;
632 };
Daniel Kurtza29cb8c2014-10-10 20:26:14 +0800633 };
634 };
635
Daniel Kurtz7cae0682014-11-03 10:53:29 +0800636 vopl_mmu: iommu@ff940300 {
637 compatible = "rockchip,iommu";
638 reg = <0xff940300 0x100>;
639 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
640 interrupt-names = "vopl_mmu";
641 #iommu-cells = <0>;
642 status = "disabled";
643 };
644
Andy Yand5a1df42014-11-04 13:13:14 +0800645 hdmi: hdmi@ff980000 {
646 compatible = "rockchip,rk3288-dw-hdmi";
647 reg = <0xff980000 0x20000>;
648 reg-io-width = <4>;
649 ddc-i2c-bus = <&i2c5>;
650 rockchip,grf = <&grf>;
651 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
652 clocks = <&cru PCLK_HDMI_CTRL>, <&cru SCLK_HDMI_HDCP>;
653 clock-names = "iahb", "isfr";
654 status = "disabled";
655
656 ports {
657 hdmi_in: port {
658 #address-cells = <1>;
659 #size-cells = <0>;
660 hdmi_in_vopb: endpoint@0 {
661 reg = <0>;
662 remote-endpoint = <&vopb_out_hdmi>;
663 };
664 hdmi_in_vopl: endpoint@1 {
665 reg = <1>;
666 remote-endpoint = <&vopl_out_hdmi>;
667 };
668 };
669 };
670 };
671
Heiko Stuebner2ab557b2014-07-15 20:16:19 +0200672 gic: interrupt-controller@ffc01000 {
673 compatible = "arm,gic-400";
674 interrupt-controller;
675 #interrupt-cells = <3>;
676 #address-cells = <0>;
677
678 reg = <0xffc01000 0x1000>,
679 <0xffc02000 0x1000>,
680 <0xffc04000 0x2000>,
681 <0xffc06000 0x2000>;
682 interrupts = <GIC_PPI 9 0xf04>;
683 };
684
685 pinctrl: pinctrl {
686 compatible = "rockchip,rk3288-pinctrl";
687 rockchip,grf = <&grf>;
688 rockchip,pmu = <&pmu>;
689 #address-cells = <1>;
690 #size-cells = <1>;
691 ranges;
692
693 gpio0: gpio0@ff750000 {
694 compatible = "rockchip,gpio-bank";
695 reg = <0xff750000 0x100>;
696 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
697 clocks = <&cru PCLK_GPIO0>;
698
699 gpio-controller;
700 #gpio-cells = <2>;
701
702 interrupt-controller;
703 #interrupt-cells = <2>;
704 };
705
706 gpio1: gpio1@ff780000 {
707 compatible = "rockchip,gpio-bank";
708 reg = <0xff780000 0x100>;
709 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
710 clocks = <&cru PCLK_GPIO1>;
711
712 gpio-controller;
713 #gpio-cells = <2>;
714
715 interrupt-controller;
716 #interrupt-cells = <2>;
717 };
718
719 gpio2: gpio2@ff790000 {
720 compatible = "rockchip,gpio-bank";
721 reg = <0xff790000 0x100>;
722 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
723 clocks = <&cru PCLK_GPIO2>;
724
725 gpio-controller;
726 #gpio-cells = <2>;
727
728 interrupt-controller;
729 #interrupt-cells = <2>;
730 };
731
732 gpio3: gpio3@ff7a0000 {
733 compatible = "rockchip,gpio-bank";
734 reg = <0xff7a0000 0x100>;
735 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
736 clocks = <&cru PCLK_GPIO3>;
737
738 gpio-controller;
739 #gpio-cells = <2>;
740
741 interrupt-controller;
742 #interrupt-cells = <2>;
743 };
744
745 gpio4: gpio4@ff7b0000 {
746 compatible = "rockchip,gpio-bank";
747 reg = <0xff7b0000 0x100>;
748 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
749 clocks = <&cru PCLK_GPIO4>;
750
751 gpio-controller;
752 #gpio-cells = <2>;
753
754 interrupt-controller;
755 #interrupt-cells = <2>;
756 };
757
758 gpio5: gpio5@ff7c0000 {
759 compatible = "rockchip,gpio-bank";
760 reg = <0xff7c0000 0x100>;
761 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
762 clocks = <&cru PCLK_GPIO5>;
763
764 gpio-controller;
765 #gpio-cells = <2>;
766
767 interrupt-controller;
768 #interrupt-cells = <2>;
769 };
770
771 gpio6: gpio6@ff7d0000 {
772 compatible = "rockchip,gpio-bank";
773 reg = <0xff7d0000 0x100>;
774 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
775 clocks = <&cru PCLK_GPIO6>;
776
777 gpio-controller;
778 #gpio-cells = <2>;
779
780 interrupt-controller;
781 #interrupt-cells = <2>;
782 };
783
784 gpio7: gpio7@ff7e0000 {
785 compatible = "rockchip,gpio-bank";
786 reg = <0xff7e0000 0x100>;
787 interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
788 clocks = <&cru PCLK_GPIO7>;
789
790 gpio-controller;
791 #gpio-cells = <2>;
792
793 interrupt-controller;
794 #interrupt-cells = <2>;
795 };
796
797 gpio8: gpio8@ff7f0000 {
798 compatible = "rockchip,gpio-bank";
799 reg = <0xff7f0000 0x100>;
800 interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
801 clocks = <&cru PCLK_GPIO8>;
802
803 gpio-controller;
804 #gpio-cells = <2>;
805
806 interrupt-controller;
807 #interrupt-cells = <2>;
808 };
809
810 pcfg_pull_up: pcfg-pull-up {
811 bias-pull-up;
812 };
813
814 pcfg_pull_down: pcfg-pull-down {
815 bias-pull-down;
816 };
817
818 pcfg_pull_none: pcfg-pull-none {
819 bias-disable;
820 };
821
Chris Zhongeecfe982014-12-01 16:52:19 +0800822 sleep {
823 global_pwroff: global-pwroff {
824 rockchip,pins = <0 0 RK_FUNC_1 &pcfg_pull_none>;
825 };
826
827 ddrio_pwroff: ddrio-pwroff {
828 rockchip,pins = <0 1 RK_FUNC_1 &pcfg_pull_none>;
829 };
830
831 ddr0_retention: ddr0-retention {
832 rockchip,pins = <0 2 RK_FUNC_1 &pcfg_pull_up>;
833 };
834
835 ddr1_retention: ddr1-retention {
836 rockchip,pins = <0 3 RK_FUNC_1 &pcfg_pull_up>;
837 };
838 };
839
Heiko Stuebner2ab557b2014-07-15 20:16:19 +0200840 i2c0 {
841 i2c0_xfer: i2c0-xfer {
842 rockchip,pins = <0 15 RK_FUNC_1 &pcfg_pull_none>,
843 <0 16 RK_FUNC_1 &pcfg_pull_none>;
844 };
845 };
846
847 i2c1 {
848 i2c1_xfer: i2c1-xfer {
849 rockchip,pins = <8 4 RK_FUNC_1 &pcfg_pull_none>,
850 <8 5 RK_FUNC_1 &pcfg_pull_none>;
851 };
852 };
853
854 i2c2 {
855 i2c2_xfer: i2c2-xfer {
856 rockchip,pins = <6 9 RK_FUNC_1 &pcfg_pull_none>,
857 <6 10 RK_FUNC_1 &pcfg_pull_none>;
858 };
859 };
860
861 i2c3 {
862 i2c3_xfer: i2c3-xfer {
863 rockchip,pins = <2 16 RK_FUNC_1 &pcfg_pull_none>,
864 <2 17 RK_FUNC_1 &pcfg_pull_none>;
865 };
866 };
867
868 i2c4 {
869 i2c4_xfer: i2c4-xfer {
870 rockchip,pins = <7 17 RK_FUNC_1 &pcfg_pull_none>,
871 <7 18 RK_FUNC_1 &pcfg_pull_none>;
872 };
873 };
874
875 i2c5 {
876 i2c5_xfer: i2c5-xfer {
877 rockchip,pins = <7 19 RK_FUNC_1 &pcfg_pull_none>,
878 <7 20 RK_FUNC_1 &pcfg_pull_none>;
879 };
880 };
881
Jianquna0f95e32014-09-12 18:54:55 +0800882 i2s0 {
883 i2s0_bus: i2s0-bus {
884 rockchip,pins = <6 0 RK_FUNC_1 &pcfg_pull_none>,
885 <6 1 RK_FUNC_1 &pcfg_pull_none>,
886 <6 2 RK_FUNC_1 &pcfg_pull_none>,
887 <6 3 RK_FUNC_1 &pcfg_pull_none>,
888 <6 4 RK_FUNC_1 &pcfg_pull_none>,
889 <6 8 RK_FUNC_1 &pcfg_pull_none>;
890 };
891 };
892
Heiko Stuebner2ab557b2014-07-15 20:16:19 +0200893 sdmmc {
894 sdmmc_clk: sdmmc-clk {
895 rockchip,pins = <6 20 RK_FUNC_1 &pcfg_pull_none>;
896 };
897
898 sdmmc_cmd: sdmmc-cmd {
899 rockchip,pins = <6 21 RK_FUNC_1 &pcfg_pull_up>;
900 };
901
902 sdmmc_cd: sdmcc-cd {
903 rockchip,pins = <6 22 RK_FUNC_1 &pcfg_pull_up>;
904 };
905
906 sdmmc_bus1: sdmmc-bus1 {
907 rockchip,pins = <6 16 RK_FUNC_1 &pcfg_pull_up>;
908 };
909
910 sdmmc_bus4: sdmmc-bus4 {
911 rockchip,pins = <6 16 RK_FUNC_1 &pcfg_pull_up>,
912 <6 17 RK_FUNC_1 &pcfg_pull_up>,
913 <6 18 RK_FUNC_1 &pcfg_pull_up>,
914 <6 19 RK_FUNC_1 &pcfg_pull_up>;
915 };
916 };
917
Addy Kef1a07232014-08-19 18:21:08 +0800918 sdio0 {
919 sdio0_bus1: sdio0-bus1 {
920 rockchip,pins = <4 20 RK_FUNC_1 &pcfg_pull_up>;
921 };
922
923 sdio0_bus4: sdio0-bus4 {
924 rockchip,pins = <4 20 RK_FUNC_1 &pcfg_pull_up>,
925 <4 21 RK_FUNC_1 &pcfg_pull_up>,
926 <4 22 RK_FUNC_1 &pcfg_pull_up>,
927 <4 23 RK_FUNC_1 &pcfg_pull_up>;
928 };
929
930 sdio0_cmd: sdio0-cmd {
931 rockchip,pins = <4 24 RK_FUNC_1 &pcfg_pull_up>;
932 };
933
934 sdio0_clk: sdio0-clk {
935 rockchip,pins = <4 25 RK_FUNC_1 &pcfg_pull_none>;
936 };
937
938 sdio0_cd: sdio0-cd {
939 rockchip,pins = <4 26 RK_FUNC_1 &pcfg_pull_up>;
940 };
941
942 sdio0_wp: sdio0-wp {
943 rockchip,pins = <4 27 RK_FUNC_1 &pcfg_pull_up>;
944 };
945
946 sdio0_pwr: sdio0-pwr {
947 rockchip,pins = <4 28 RK_FUNC_1 &pcfg_pull_up>;
948 };
949
950 sdio0_bkpwr: sdio0-bkpwr {
951 rockchip,pins = <4 29 RK_FUNC_1 &pcfg_pull_up>;
952 };
953
954 sdio0_int: sdio0-int {
955 rockchip,pins = <4 30 RK_FUNC_1 &pcfg_pull_up>;
956 };
957 };
958
959 sdio1 {
960 sdio1_bus1: sdio1-bus1 {
961 rockchip,pins = <3 24 4 &pcfg_pull_up>;
962 };
963
964 sdio1_bus4: sdio1-bus4 {
965 rockchip,pins = <3 24 4 &pcfg_pull_up>,
966 <3 25 4 &pcfg_pull_up>,
967 <3 26 4 &pcfg_pull_up>,
968 <3 27 4 &pcfg_pull_up>;
969 };
970
971 sdio1_cd: sdio1-cd {
972 rockchip,pins = <3 28 4 &pcfg_pull_up>;
973 };
974
975 sdio1_wp: sdio1-wp {
976 rockchip,pins = <3 29 4 &pcfg_pull_up>;
977 };
978
979 sdio1_bkpwr: sdio1-bkpwr {
980 rockchip,pins = <3 30 4 &pcfg_pull_up>;
981 };
982
983 sdio1_int: sdio1-int {
984 rockchip,pins = <3 31 4 &pcfg_pull_up>;
985 };
986
987 sdio1_cmd: sdio1-cmd {
988 rockchip,pins = <4 6 4 &pcfg_pull_up>;
989 };
990
991 sdio1_clk: sdio1-clk {
992 rockchip,pins = <4 7 4 &pcfg_pull_none>;
993 };
994
995 sdio1_pwr: sdio1-pwr {
996 rockchip,pins = <4 9 4 &pcfg_pull_up>;
997 };
998 };
999
Heiko Stuebner2ab557b2014-07-15 20:16:19 +02001000 emmc {
1001 emmc_clk: emmc-clk {
1002 rockchip,pins = <3 18 RK_FUNC_2 &pcfg_pull_none>;
1003 };
1004
1005 emmc_cmd: emmc-cmd {
1006 rockchip,pins = <3 16 RK_FUNC_2 &pcfg_pull_up>;
1007 };
1008
1009 emmc_pwr: emmc-pwr {
1010 rockchip,pins = <3 9 RK_FUNC_2 &pcfg_pull_up>;
1011 };
1012
1013 emmc_bus1: emmc-bus1 {
1014 rockchip,pins = <3 0 RK_FUNC_2 &pcfg_pull_up>;
1015 };
1016
1017 emmc_bus4: emmc-bus4 {
1018 rockchip,pins = <3 0 RK_FUNC_2 &pcfg_pull_up>,
1019 <3 1 RK_FUNC_2 &pcfg_pull_up>,
1020 <3 2 RK_FUNC_2 &pcfg_pull_up>,
1021 <3 3 RK_FUNC_2 &pcfg_pull_up>;
1022 };
1023
1024 emmc_bus8: emmc-bus8 {
1025 rockchip,pins = <3 0 RK_FUNC_2 &pcfg_pull_up>,
1026 <3 1 RK_FUNC_2 &pcfg_pull_up>,
1027 <3 2 RK_FUNC_2 &pcfg_pull_up>,
1028 <3 3 RK_FUNC_2 &pcfg_pull_up>,
1029 <3 4 RK_FUNC_2 &pcfg_pull_up>,
1030 <3 5 RK_FUNC_2 &pcfg_pull_up>,
1031 <3 6 RK_FUNC_2 &pcfg_pull_up>,
1032 <3 7 RK_FUNC_2 &pcfg_pull_up>;
1033 };
1034 };
1035
huang lin1f531702014-09-05 09:53:11 -07001036 spi0 {
1037 spi0_clk: spi0-clk {
1038 rockchip,pins = <5 12 RK_FUNC_1 &pcfg_pull_up>;
1039 };
1040 spi0_cs0: spi0-cs0 {
1041 rockchip,pins = <5 13 RK_FUNC_1 &pcfg_pull_up>;
1042 };
1043 spi0_tx: spi0-tx {
1044 rockchip,pins = <5 14 RK_FUNC_1 &pcfg_pull_up>;
1045 };
1046 spi0_rx: spi0-rx {
1047 rockchip,pins = <5 15 RK_FUNC_1 &pcfg_pull_up>;
1048 };
1049 spi0_cs1: spi0-cs1 {
1050 rockchip,pins = <5 16 RK_FUNC_1 &pcfg_pull_up>;
1051 };
1052 };
1053 spi1 {
1054 spi1_clk: spi1-clk {
1055 rockchip,pins = <7 12 RK_FUNC_2 &pcfg_pull_up>;
1056 };
1057 spi1_cs0: spi1-cs0 {
1058 rockchip,pins = <7 13 RK_FUNC_2 &pcfg_pull_up>;
1059 };
1060 spi1_rx: spi1-rx {
1061 rockchip,pins = <7 14 RK_FUNC_2 &pcfg_pull_up>;
1062 };
1063 spi1_tx: spi1-tx {
1064 rockchip,pins = <7 15 RK_FUNC_2 &pcfg_pull_up>;
1065 };
1066 };
1067
1068 spi2 {
1069 spi2_cs1: spi2-cs1 {
1070 rockchip,pins = <8 3 RK_FUNC_1 &pcfg_pull_up>;
1071 };
1072 spi2_clk: spi2-clk {
1073 rockchip,pins = <8 6 RK_FUNC_1 &pcfg_pull_up>;
1074 };
1075 spi2_cs0: spi2-cs0 {
1076 rockchip,pins = <8 7 RK_FUNC_1 &pcfg_pull_up>;
1077 };
1078 spi2_rx: spi2-rx {
1079 rockchip,pins = <8 8 RK_FUNC_1 &pcfg_pull_up>;
1080 };
1081 spi2_tx: spi2-tx {
1082 rockchip,pins = <8 9 RK_FUNC_1 &pcfg_pull_up>;
1083 };
1084 };
1085
Heiko Stuebner2ab557b2014-07-15 20:16:19 +02001086 uart0 {
1087 uart0_xfer: uart0-xfer {
1088 rockchip,pins = <4 16 RK_FUNC_1 &pcfg_pull_up>,
1089 <4 17 RK_FUNC_1 &pcfg_pull_none>;
1090 };
1091
1092 uart0_cts: uart0-cts {
1093 rockchip,pins = <4 18 RK_FUNC_1 &pcfg_pull_none>;
1094 };
1095
1096 uart0_rts: uart0-rts {
1097 rockchip,pins = <4 19 RK_FUNC_1 &pcfg_pull_none>;
1098 };
1099 };
1100
1101 uart1 {
1102 uart1_xfer: uart1-xfer {
1103 rockchip,pins = <5 8 RK_FUNC_1 &pcfg_pull_up>,
1104 <5 9 RK_FUNC_1 &pcfg_pull_none>;
1105 };
1106
1107 uart1_cts: uart1-cts {
1108 rockchip,pins = <5 10 RK_FUNC_1 &pcfg_pull_none>;
1109 };
1110
1111 uart1_rts: uart1-rts {
1112 rockchip,pins = <5 11 RK_FUNC_1 &pcfg_pull_none>;
1113 };
1114 };
1115
1116 uart2 {
1117 uart2_xfer: uart2-xfer {
1118 rockchip,pins = <7 22 RK_FUNC_1 &pcfg_pull_up>,
1119 <7 23 RK_FUNC_1 &pcfg_pull_none>;
1120 };
1121 /* no rts / cts for uart2 */
1122 };
1123
1124 uart3 {
1125 uart3_xfer: uart3-xfer {
1126 rockchip,pins = <7 7 RK_FUNC_1 &pcfg_pull_up>,
1127 <7 8 RK_FUNC_1 &pcfg_pull_none>;
1128 };
1129
1130 uart3_cts: uart3-cts {
1131 rockchip,pins = <7 9 RK_FUNC_1 &pcfg_pull_none>;
1132 };
1133
1134 uart3_rts: uart3-rts {
1135 rockchip,pins = <7 10 RK_FUNC_1 &pcfg_pull_none>;
1136 };
1137 };
1138
1139 uart4 {
1140 uart4_xfer: uart4-xfer {
1141 rockchip,pins = <5 12 3 &pcfg_pull_up>,
1142 <5 13 3 &pcfg_pull_none>;
1143 };
1144
1145 uart4_cts: uart4-cts {
1146 rockchip,pins = <5 14 3 &pcfg_pull_none>;
1147 };
1148
1149 uart4_rts: uart4-rts {
1150 rockchip,pins = <5 15 3 &pcfg_pull_none>;
1151 };
1152 };
Doug Andersondf542df2014-08-25 15:59:26 -07001153
Caesar Wangb67d6bc2014-11-24 12:59:01 +08001154 tsadc {
1155 otp_out: otp-out {
1156 rockchip,pins = <0 10 RK_FUNC_1 &pcfg_pull_none>;
1157 };
1158 };
1159
Doug Andersondf542df2014-08-25 15:59:26 -07001160 pwm0 {
1161 pwm0_pin: pwm0-pin {
1162 rockchip,pins = <7 0 RK_FUNC_1 &pcfg_pull_none>;
1163 };
1164 };
1165
1166 pwm1 {
1167 pwm1_pin: pwm1-pin {
1168 rockchip,pins = <7 1 RK_FUNC_1 &pcfg_pull_none>;
1169 };
1170 };
1171
1172 pwm2 {
1173 pwm2_pin: pwm2-pin {
1174 rockchip,pins = <7 22 3 &pcfg_pull_none>;
1175 };
1176 };
1177
1178 pwm3 {
1179 pwm3_pin: pwm3-pin {
1180 rockchip,pins = <7 23 3 &pcfg_pull_none>;
1181 };
1182 };
Heiko Stuebner2ab557b2014-07-15 20:16:19 +02001183 };
1184};