]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - arch/arm/boot/dts/rk3288.dtsi
ARM: dts: rockchip: Add ramp delay for vdd_cpu in firefly board dts
[mirror_ubuntu-artful-kernel.git] / arch / arm / boot / dts / rk3288.dtsi
CommitLineData
2ab557b7 1/*
b1772506
HS
2 * This file is dual-licensed: you can use it either under the terms
3 * of the GPL or the X11 license, at your option. Note that this dual
4 * licensing only applies to this file, and not this project as a
5 * whole.
2ab557b7 6 *
b1772506
HS
7 * a) This file is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as
9 * published by the Free Software Foundation; either version 2 of the
10 * License, or (at your option) any later version.
11 *
12 * This file is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * Or, alternatively,
18 *
19 * b) Permission is hereby granted, free of charge, to any person
20 * obtaining a copy of this software and associated documentation
21 * files (the "Software"), to deal in the Software without
22 * restriction, including without limitation the rights to use,
23 * copy, modify, merge, publish, distribute, sublicense, and/or
24 * sell copies of the Software, and to permit persons to whom the
25 * Software is furnished to do so, subject to the following
26 * conditions:
27 *
28 * The above copyright notice and this permission notice shall be
29 * included in all copies or substantial portions of the Software.
30 *
31 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
32 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
33 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
34 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
35 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
36 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
37 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
38 * OTHER DEALINGS IN THE SOFTWARE.
2ab557b7
HS
39 */
40
41#include <dt-bindings/gpio/gpio.h>
42#include <dt-bindings/interrupt-controller/irq.h>
43#include <dt-bindings/interrupt-controller/arm-gic.h>
44#include <dt-bindings/pinctrl/rockchip.h>
45#include <dt-bindings/clock/rk3288-cru.h>
b67d6bc3 46#include <dt-bindings/thermal/thermal.h>
2ab557b7
HS
47#include "skeleton.dtsi"
48
49/ {
50 compatible = "rockchip,rk3288";
51
52 interrupt-parent = <&gic>;
53
54 aliases {
55 i2c0 = &i2c0;
56 i2c1 = &i2c1;
57 i2c2 = &i2c2;
58 i2c3 = &i2c3;
59 i2c4 = &i2c4;
60 i2c5 = &i2c5;
d7f9a388
DA
61 mshc0 = &emmc;
62 mshc1 = &sdmmc;
63 mshc2 = &sdio0;
64 mshc3 = &sdio1;
2ab557b7
HS
65 serial0 = &uart0;
66 serial1 = &uart1;
67 serial2 = &uart2;
68 serial3 = &uart3;
69 serial4 = &uart4;
1f53170b 70 spi0 = &spi0;
71 spi1 = &spi1;
72 spi2 = &spi2;
2ab557b7
HS
73 };
74
f1840780
SR
75 arm-pmu {
76 compatible = "arm,cortex-a12-pmu";
77 interrupts = <GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>,
78 <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>,
79 <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>,
80 <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
81 };
82
2ab557b7
HS
83 cpus {
84 #address-cells = <1>;
85 #size-cells = <0>;
08bcc754 86 enable-method = "rockchip,rk3066-smp";
fbdbc732 87 rockchip,pmu = <&pmu>;
2ab557b7 88
be8a77c5 89 cpu0: cpu@500 {
2ab557b7
HS
90 device_type = "cpu";
91 compatible = "arm,cortex-a12";
92 reg = <0x500>;
044542af 93 resets = <&cru SRST_CORE0>;
be8a77c5
HS
94 operating-points = <
95 /* KHz uV */
96 1608000 1350000
97 1512000 1300000
98 1416000 1200000
99 1200000 1100000
100 1008000 1050000
101 816000 1000000
102 696000 950000
103 600000 900000
104 408000 900000
105 312000 900000
106 216000 900000
107 126000 900000
108 >;
b67d6bc3 109 #cooling-cells = <2>; /* min followed by max */
be8a77c5
HS
110 clock-latency = <40000>;
111 clocks = <&cru ARMCLK>;
2ab557b7
HS
112 };
113 cpu@501 {
114 device_type = "cpu";
115 compatible = "arm,cortex-a12";
116 reg = <0x501>;
044542af 117 resets = <&cru SRST_CORE1>;
2ab557b7
HS
118 };
119 cpu@502 {
120 device_type = "cpu";
121 compatible = "arm,cortex-a12";
122 reg = <0x502>;
044542af 123 resets = <&cru SRST_CORE2>;
2ab557b7
HS
124 };
125 cpu@503 {
126 device_type = "cpu";
127 compatible = "arm,cortex-a12";
128 reg = <0x503>;
044542af 129 resets = <&cru SRST_CORE3>;
2ab557b7
HS
130 };
131 };
132
982891c3
HS
133 amba {
134 compatible = "arm,amba-bus";
135 #address-cells = <1>;
136 #size-cells = <1>;
137 ranges;
138
139 dmac_peri: dma-controller@ff250000 {
140 compatible = "arm,pl330", "arm,primecell";
141 reg = <0xff250000 0x4000>;
142 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
143 <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
144 #dma-cells = <1>;
145 clocks = <&cru ACLK_DMAC2>;
146 clock-names = "apb_pclk";
147 };
148
149 dmac_bus_ns: dma-controller@ff600000 {
150 compatible = "arm,pl330", "arm,primecell";
151 reg = <0xff600000 0x4000>;
152 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
153 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
154 #dma-cells = <1>;
155 clocks = <&cru ACLK_DMAC1>;
156 clock-names = "apb_pclk";
157 status = "disabled";
158 };
159
160 dmac_bus_s: dma-controller@ffb20000 {
161 compatible = "arm,pl330", "arm,primecell";
162 reg = <0xffb20000 0x4000>;
163 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
164 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
165 #dma-cells = <1>;
166 clocks = <&cru ACLK_DMAC1>;
167 clock-names = "apb_pclk";
168 };
169 };
170
2ab557b7
HS
171 xin24m: oscillator {
172 compatible = "fixed-clock";
173 clock-frequency = <24000000>;
174 clock-output-names = "xin24m";
175 #clock-cells = <0>;
176 };
177
178 timer {
179 compatible = "arm,armv7-timer";
e2405a59 180 arm,cpu-registers-not-fw-configured;
2ab557b7
HS
181 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
182 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
183 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
184 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
185 clock-frequency = <24000000>;
186 };
187
e48cc181
DL
188 timer: timer@ff810000 {
189 compatible = "rockchip,rk3288-timer";
190 reg = <0xff810000 0x20>;
191 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
192 clocks = <&xin24m>, <&cru PCLK_TIMER>;
193 clock-names = "timer", "pclk";
194 };
195
a29cb8c4
DK
196 display-subsystem {
197 compatible = "rockchip,display-subsystem";
198 ports = <&vopl_out>, <&vopb_out>;
199 };
200
85095bf3
DA
201 sdmmc: dwmmc@ff0c0000 {
202 compatible = "rockchip,rk3288-dw-mshc";
f74ba117 203 clock-freq-min-max = <400000 150000000>;
85095bf3
DA
204 clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>;
205 clock-names = "biu", "ciu";
206 fifo-depth = <0x100>;
207 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
208 reg = <0xff0c0000 0x4000>;
209 status = "disabled";
210 };
211
f1a07231
AK
212 sdio0: dwmmc@ff0d0000 {
213 compatible = "rockchip,rk3288-dw-mshc";
f74ba117 214 clock-freq-min-max = <400000 150000000>;
f1a07231
AK
215 clocks = <&cru HCLK_SDIO0>, <&cru SCLK_SDIO0>;
216 clock-names = "biu", "ciu";
217 fifo-depth = <0x100>;
218 interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
219 reg = <0xff0d0000 0x4000>;
220 status = "disabled";
221 };
222
223 sdio1: dwmmc@ff0e0000 {
224 compatible = "rockchip,rk3288-dw-mshc";
f74ba117 225 clock-freq-min-max = <400000 150000000>;
f1a07231
AK
226 clocks = <&cru HCLK_SDIO1>, <&cru SCLK_SDIO1>;
227 clock-names = "biu", "ciu";
228 fifo-depth = <0x100>;
229 interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
230 reg = <0xff0e0000 0x4000>;
231 status = "disabled";
232 };
233
85095bf3
DA
234 emmc: dwmmc@ff0f0000 {
235 compatible = "rockchip,rk3288-dw-mshc";
f74ba117 236 clock-freq-min-max = <400000 150000000>;
85095bf3
DA
237 clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>;
238 clock-names = "biu", "ciu";
239 fifo-depth = <0x100>;
240 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
241 reg = <0xff0f0000 0x4000>;
242 status = "disabled";
243 };
244
f23a6179
HS
245 saradc: saradc@ff100000 {
246 compatible = "rockchip,saradc";
247 reg = <0xff100000 0x100>;
248 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
249 #io-channel-cells = <1>;
250 clocks = <&cru SCLK_SARADC>, <&cru PCLK_SARADC>;
251 clock-names = "saradc", "apb_pclk";
252 status = "disabled";
253 };
254
1f53170b 255 spi0: spi@ff110000 {
256 compatible = "rockchip,rk3288-spi", "rockchip,rk3066-spi";
257 clocks = <&cru SCLK_SPI0>, <&cru PCLK_SPI0>;
258 clock-names = "spiclk", "apb_pclk";
11bd57b8
DA
259 dmas = <&dmac_peri 11>, <&dmac_peri 12>;
260 dma-names = "tx", "rx";
1f53170b 261 interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
262 pinctrl-names = "default";
263 pinctrl-0 = <&spi0_clk &spi0_tx &spi0_rx &spi0_cs0>;
264 reg = <0xff110000 0x1000>;
265 #address-cells = <1>;
266 #size-cells = <0>;
267 status = "disabled";
268 };
269
270 spi1: spi@ff120000 {
271 compatible = "rockchip,rk3288-spi", "rockchip,rk3066-spi";
272 clocks = <&cru SCLK_SPI1>, <&cru PCLK_SPI1>;
273 clock-names = "spiclk", "apb_pclk";
11bd57b8
DA
274 dmas = <&dmac_peri 13>, <&dmac_peri 14>;
275 dma-names = "tx", "rx";
1f53170b 276 interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
277 pinctrl-names = "default";
278 pinctrl-0 = <&spi1_clk &spi1_tx &spi1_rx &spi1_cs0>;
279 reg = <0xff120000 0x1000>;
280 #address-cells = <1>;
281 #size-cells = <0>;
282 status = "disabled";
283 };
284
285 spi2: spi@ff130000 {
286 compatible = "rockchip,rk3288-spi", "rockchip,rk3066-spi";
287 clocks = <&cru SCLK_SPI2>, <&cru PCLK_SPI2>;
288 clock-names = "spiclk", "apb_pclk";
11bd57b8
DA
289 dmas = <&dmac_peri 15>, <&dmac_peri 16>;
290 dma-names = "tx", "rx";
1f53170b 291 interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
292 pinctrl-names = "default";
293 pinctrl-0 = <&spi2_clk &spi2_tx &spi2_rx &spi2_cs0>;
294 reg = <0xff130000 0x1000>;
295 #address-cells = <1>;
296 #size-cells = <0>;
297 status = "disabled";
298 };
299
2ab557b7
HS
300 i2c1: i2c@ff140000 {
301 compatible = "rockchip,rk3288-i2c";
302 reg = <0xff140000 0x1000>;
303 interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
304 #address-cells = <1>;
305 #size-cells = <0>;
306 clock-names = "i2c";
307 clocks = <&cru PCLK_I2C1>;
308 pinctrl-names = "default";
309 pinctrl-0 = <&i2c1_xfer>;
310 status = "disabled";
311 };
312
313 i2c3: i2c@ff150000 {
314 compatible = "rockchip,rk3288-i2c";
315 reg = <0xff150000 0x1000>;
316 interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
317 #address-cells = <1>;
318 #size-cells = <0>;
319 clock-names = "i2c";
320 clocks = <&cru PCLK_I2C3>;
321 pinctrl-names = "default";
322 pinctrl-0 = <&i2c3_xfer>;
323 status = "disabled";
324 };
325
326 i2c4: i2c@ff160000 {
327 compatible = "rockchip,rk3288-i2c";
328 reg = <0xff160000 0x1000>;
329 interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
330 #address-cells = <1>;
331 #size-cells = <0>;
332 clock-names = "i2c";
333 clocks = <&cru PCLK_I2C4>;
334 pinctrl-names = "default";
335 pinctrl-0 = <&i2c4_xfer>;
336 status = "disabled";
337 };
338
339 i2c5: i2c@ff170000 {
340 compatible = "rockchip,rk3288-i2c";
341 reg = <0xff170000 0x1000>;
342 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
343 #address-cells = <1>;
344 #size-cells = <0>;
345 clock-names = "i2c";
346 clocks = <&cru PCLK_I2C5>;
347 pinctrl-names = "default";
348 pinctrl-0 = <&i2c5_xfer>;
349 status = "disabled";
350 };
351
352 uart0: serial@ff180000 {
353 compatible = "rockchip,rk3288-uart", "snps,dw-apb-uart";
354 reg = <0xff180000 0x100>;
355 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
356 reg-shift = <2>;
357 reg-io-width = <4>;
358 clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>;
359 clock-names = "baudclk", "apb_pclk";
360 pinctrl-names = "default";
361 pinctrl-0 = <&uart0_xfer>;
362 status = "disabled";
363 };
364
365 uart1: serial@ff190000 {
366 compatible = "rockchip,rk3288-uart", "snps,dw-apb-uart";
367 reg = <0xff190000 0x100>;
368 interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
369 reg-shift = <2>;
370 reg-io-width = <4>;
371 clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>;
372 clock-names = "baudclk", "apb_pclk";
373 pinctrl-names = "default";
374 pinctrl-0 = <&uart1_xfer>;
375 status = "disabled";
376 };
377
378 uart2: serial@ff690000 {
379 compatible = "rockchip,rk3288-uart", "snps,dw-apb-uart";
380 reg = <0xff690000 0x100>;
381 interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
382 reg-shift = <2>;
383 reg-io-width = <4>;
384 clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>;
385 clock-names = "baudclk", "apb_pclk";
386 pinctrl-names = "default";
387 pinctrl-0 = <&uart2_xfer>;
388 status = "disabled";
389 };
390
391 uart3: serial@ff1b0000 {
392 compatible = "rockchip,rk3288-uart", "snps,dw-apb-uart";
393 reg = <0xff1b0000 0x100>;
394 interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
395 reg-shift = <2>;
396 reg-io-width = <4>;
397 clocks = <&cru SCLK_UART3>, <&cru PCLK_UART3>;
398 clock-names = "baudclk", "apb_pclk";
399 pinctrl-names = "default";
400 pinctrl-0 = <&uart3_xfer>;
401 status = "disabled";
402 };
403
404 uart4: serial@ff1c0000 {
405 compatible = "rockchip,rk3288-uart", "snps,dw-apb-uart";
406 reg = <0xff1c0000 0x100>;
407 interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
408 reg-shift = <2>;
409 reg-io-width = <4>;
410 clocks = <&cru SCLK_UART4>, <&cru PCLK_UART4>;
411 clock-names = "baudclk", "apb_pclk";
412 pinctrl-names = "default";
413 pinctrl-0 = <&uart4_xfer>;
414 status = "disabled";
415 };
416
b67d6bc3
CW
417 thermal-zones {
418 #include "rk3288-thermal.dtsi"
419 };
420
421 tsadc: tsadc@ff280000 {
422 compatible = "rockchip,rk3288-tsadc";
423 reg = <0xff280000 0x100>;
424 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
425 clocks = <&cru SCLK_TSADC>, <&cru PCLK_TSADC>;
426 clock-names = "tsadc", "apb_pclk";
427 resets = <&cru SRST_TSADC>;
428 reset-names = "tsadc-apb";
429 pinctrl-names = "default";
430 pinctrl-0 = <&otp_out>;
431 #thermal-sensor-cells = <1>;
432 rockchip,hw-tshut-temp = <95000>;
433 status = "disabled";
434 };
435
3d3fb74a
RC
436 gmac: ethernet@ff290000 {
437 compatible = "rockchip,rk3288-gmac";
438 reg = <0xff290000 0x10000>;
439 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
440 interrupt-names = "macirq";
441 rockchip,grf = <&grf>;
442 clocks = <&cru SCLK_MAC>,
443 <&cru SCLK_MAC_RX>, <&cru SCLK_MAC_TX>,
444 <&cru SCLK_MACREF>, <&cru SCLK_MACREF_OUT>,
445 <&cru ACLK_GMAC>, <&cru PCLK_GMAC>;
446 clock-names = "stmmaceth",
447 "mac_clk_rx", "mac_clk_tx",
448 "clk_mac_ref", "clk_mac_refout",
449 "aclk_mac", "pclk_mac";
e6b54649
RP
450 resets = <&cru SRST_MAC>;
451 reset-names = "stmmaceth";
54b0bc60 452 status = "disabled";
3d3fb74a
RC
453 };
454
c9c32c50
DA
455 usb_host0_ehci: usb@ff500000 {
456 compatible = "generic-ehci";
457 reg = <0xff500000 0x100>;
458 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
459 clocks = <&cru HCLK_USBHOST0>;
460 clock-names = "usbhost";
f6db7029
YL
461 phys = <&usbphy1>;
462 phy-names = "usb";
c9c32c50
DA
463 status = "disabled";
464 };
465
466 /* NOTE: ohci@ff520000 doesn't actually work on hardware */
467
12dd3653
KY
468 usb_host1: usb@ff540000 {
469 compatible = "rockchip,rk3288-usb", "rockchip,rk3066-usb",
470 "snps,dwc2";
471 reg = <0xff540000 0x40000>;
472 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
473 clocks = <&cru HCLK_USBHOST1>;
474 clock-names = "otg";
cabd2ea2 475 dr_mode = "host";
f6db7029
YL
476 phys = <&usbphy2>;
477 phy-names = "usb2-phy";
12dd3653
KY
478 status = "disabled";
479 };
480
481 usb_otg: usb@ff580000 {
482 compatible = "rockchip,rk3288-usb", "rockchip,rk3066-usb",
483 "snps,dwc2";
484 reg = <0xff580000 0x40000>;
485 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
486 clocks = <&cru HCLK_OTG0>;
487 clock-names = "otg";
cabd2ea2
YL
488 dr_mode = "otg";
489 g-np-tx-fifo-size = <16>;
490 g-rx-fifo-size = <275>;
491 g-tx-fifo-size = <256 128 128 64 64 32>;
492 g-use-dma;
f6db7029
YL
493 phys = <&usbphy0>;
494 phy-names = "usb2-phy";
12dd3653
KY
495 status = "disabled";
496 };
497
c9c32c50
DA
498 usb_hsic: usb@ff5c0000 {
499 compatible = "generic-ehci";
500 reg = <0xff5c0000 0x100>;
501 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
502 clocks = <&cru HCLK_HSIC>;
503 clock-names = "usbhost";
504 status = "disabled";
505 };
506
2ab557b7
HS
507 i2c0: i2c@ff650000 {
508 compatible = "rockchip,rk3288-i2c";
509 reg = <0xff650000 0x1000>;
510 interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
511 #address-cells = <1>;
512 #size-cells = <0>;
513 clock-names = "i2c";
514 clocks = <&cru PCLK_I2C0>;
515 pinctrl-names = "default";
516 pinctrl-0 = <&i2c0_xfer>;
517 status = "disabled";
518 };
519
520 i2c2: i2c@ff660000 {
521 compatible = "rockchip,rk3288-i2c";
522 reg = <0xff660000 0x1000>;
523 interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
524 #address-cells = <1>;
525 #size-cells = <0>;
526 clock-names = "i2c";
527 clocks = <&cru PCLK_I2C2>;
528 pinctrl-names = "default";
529 pinctrl-0 = <&i2c2_xfer>;
530 status = "disabled";
531 };
532
df542df3
DA
533 pwm0: pwm@ff680000 {
534 compatible = "rockchip,rk3288-pwm";
535 reg = <0xff680000 0x10>;
536 #pwm-cells = <3>;
537 pinctrl-names = "default";
538 pinctrl-0 = <&pwm0_pin>;
539 clocks = <&cru PCLK_PWM>;
540 clock-names = "pwm";
541 status = "disabled";
542 };
543
544 pwm1: pwm@ff680010 {
545 compatible = "rockchip,rk3288-pwm";
546 reg = <0xff680010 0x10>;
547 #pwm-cells = <3>;
548 pinctrl-names = "default";
549 pinctrl-0 = <&pwm1_pin>;
550 clocks = <&cru PCLK_PWM>;
551 clock-names = "pwm";
552 status = "disabled";
553 };
554
555 pwm2: pwm@ff680020 {
556 compatible = "rockchip,rk3288-pwm";
557 reg = <0xff680020 0x10>;
558 #pwm-cells = <3>;
559 pinctrl-names = "default";
560 pinctrl-0 = <&pwm2_pin>;
561 clocks = <&cru PCLK_PWM>;
562 clock-names = "pwm";
563 status = "disabled";
564 };
565
566 pwm3: pwm@ff680030 {
567 compatible = "rockchip,rk3288-pwm";
568 reg = <0xff680030 0x10>;
569 #pwm-cells = <2>;
570 pinctrl-names = "default";
571 pinctrl-0 = <&pwm3_pin>;
572 clocks = <&cru PCLK_PWM>;
573 clock-names = "pwm";
574 status = "disabled";
575 };
576
1123d412
KY
577 bus_intmem@ff700000 {
578 compatible = "mmio-sram";
579 reg = <0xff700000 0x18000>;
580 #address-cells = <1>;
581 #size-cells = <1>;
582 ranges = <0 0xff700000 0x18000>;
583 smp-sram@0 {
584 compatible = "rockchip,rk3066-smp-sram";
585 reg = <0x00 0x10>;
586 };
587 };
588
eecfe981
CZ
589 sram@ff720000 {
590 compatible = "rockchip,rk3288-pmu-sram", "mmio-sram";
591 reg = <0xff720000 0x1000>;
592 };
593
2ab557b7
HS
594 pmu: power-management@ff730000 {
595 compatible = "rockchip,rk3288-pmu", "syscon";
596 reg = <0xff730000 0x100>;
597 };
598
599 sgrf: syscon@ff740000 {
600 compatible = "rockchip,rk3288-sgrf", "syscon";
601 reg = <0xff740000 0x1000>;
602 };
603
604 cru: clock-controller@ff760000 {
605 compatible = "rockchip,rk3288-cru";
606 reg = <0xff760000 0x1000>;
607 rockchip,grf = <&grf>;
608 #clock-cells = <1>;
609 #reset-cells = <1>;
cd78d0cd
KY
610 assigned-clocks = <&cru PLL_GPLL>, <&cru PLL_CPLL>,
611 <&cru PLL_NPLL>, <&cru ACLK_CPU>,
612 <&cru HCLK_CPU>, <&cru PCLK_CPU>,
613 <&cru ACLK_PERI>, <&cru HCLK_PERI>,
614 <&cru PCLK_PERI>;
615 assigned-clock-rates = <594000000>, <400000000>,
616 <500000000>, <300000000>,
617 <150000000>, <75000000>,
618 <300000000>, <150000000>,
619 <75000000>;
2ab557b7
HS
620 };
621
622 grf: syscon@ff770000 {
623 compatible = "rockchip,rk3288-grf", "syscon";
624 reg = <0xff770000 0x1000>;
625 };
626
627 wdt: watchdog@ff800000 {
628 compatible = "rockchip,rk3288-wdt", "snps,dw-wdt";
629 reg = <0xff800000 0x100>;
39d05162 630 clocks = <&cru PCLK_WDT>;
2ab557b7
HS
631 interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
632 status = "disabled";
633 };
634
a0f95e35
J
635 i2s: i2s@ff890000 {
636 compatible = "rockchip,rk3288-i2s", "rockchip,rk3066-i2s";
637 reg = <0xff890000 0x10000>;
638 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
639 #address-cells = <1>;
640 #size-cells = <0>;
641 dmas = <&dmac_bus_s 0>, <&dmac_bus_s 1>;
642 dma-names = "tx", "rx";
643 clock-names = "i2s_hclk", "i2s_clk";
644 clocks = <&cru HCLK_I2S0>, <&cru SCLK_I2S0>;
645 pinctrl-names = "default";
646 pinctrl-0 = <&i2s0_bus>;
647 status = "disabled";
648 };
649
a29cb8c4
DK
650 vopb: vop@ff930000 {
651 compatible = "rockchip,rk3288-vop";
652 reg = <0xff930000 0x19c>;
653 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
654 clocks = <&cru ACLK_VOP0>, <&cru DCLK_VOP0>, <&cru HCLK_VOP0>;
655 clock-names = "aclk_vop", "dclk_vop", "hclk_vop";
656 resets = <&cru SRST_LCDC0_AXI>, <&cru SRST_LCDC0_AHB>, <&cru SRST_LCDC0_DCLK>;
657 reset-names = "axi", "ahb", "dclk";
658 iommus = <&vopb_mmu>;
659 status = "disabled";
660
661 vopb_out: port {
662 #address-cells = <1>;
663 #size-cells = <0>;
d5a1df48
AY
664
665 vopb_out_hdmi: endpoint@0 {
666 reg = <0>;
667 remote-endpoint = <&hdmi_in_vopb>;
668 };
a29cb8c4
DK
669 };
670 };
671
7cae068b
DK
672 vopb_mmu: iommu@ff930300 {
673 compatible = "rockchip,iommu";
674 reg = <0xff930300 0x100>;
675 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
676 interrupt-names = "vopb_mmu";
677 #iommu-cells = <0>;
678 status = "disabled";
679 };
680
a29cb8c4
DK
681 vopl: vop@ff940000 {
682 compatible = "rockchip,rk3288-vop";
683 reg = <0xff940000 0x19c>;
684 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
685 clocks = <&cru ACLK_VOP1>, <&cru DCLK_VOP1>, <&cru HCLK_VOP1>;
686 clock-names = "aclk_vop", "dclk_vop", "hclk_vop";
687 resets = <&cru SRST_LCDC1_AXI>, <&cru SRST_LCDC1_AHB>, <&cru SRST_LCDC1_DCLK>;
688 reset-names = "axi", "ahb", "dclk";
689 iommus = <&vopl_mmu>;
690 status = "disabled";
691
692 vopl_out: port {
693 #address-cells = <1>;
694 #size-cells = <0>;
d5a1df48
AY
695
696 vopl_out_hdmi: endpoint@0 {
697 reg = <0>;
698 remote-endpoint = <&hdmi_in_vopl>;
699 };
a29cb8c4
DK
700 };
701 };
702
7cae068b
DK
703 vopl_mmu: iommu@ff940300 {
704 compatible = "rockchip,iommu";
705 reg = <0xff940300 0x100>;
706 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
707 interrupt-names = "vopl_mmu";
708 #iommu-cells = <0>;
709 status = "disabled";
710 };
711
d5a1df48
AY
712 hdmi: hdmi@ff980000 {
713 compatible = "rockchip,rk3288-dw-hdmi";
714 reg = <0xff980000 0x20000>;
715 reg-io-width = <4>;
d5a1df48
AY
716 rockchip,grf = <&grf>;
717 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
718 clocks = <&cru PCLK_HDMI_CTRL>, <&cru SCLK_HDMI_HDCP>;
719 clock-names = "iahb", "isfr";
720 status = "disabled";
721
722 ports {
723 hdmi_in: port {
724 #address-cells = <1>;
725 #size-cells = <0>;
726 hdmi_in_vopb: endpoint@0 {
727 reg = <0>;
728 remote-endpoint = <&vopb_out_hdmi>;
729 };
730 hdmi_in_vopl: endpoint@1 {
731 reg = <1>;
732 remote-endpoint = <&vopl_out_hdmi>;
733 };
734 };
735 };
736 };
737
2ab557b7
HS
738 gic: interrupt-controller@ffc01000 {
739 compatible = "arm,gic-400";
740 interrupt-controller;
741 #interrupt-cells = <3>;
742 #address-cells = <0>;
743
744 reg = <0xffc01000 0x1000>,
745 <0xffc02000 0x1000>,
746 <0xffc04000 0x2000>,
747 <0xffc06000 0x2000>;
748 interrupts = <GIC_PPI 9 0xf04>;
749 };
750
f6db7029
YL
751 usbphy: phy {
752 compatible = "rockchip,rk3288-usb-phy";
753 rockchip,grf = <&grf>;
754 #address-cells = <1>;
755 #size-cells = <0>;
756 status = "disabled";
757
758 usbphy0: usb-phy0 {
759 #phy-cells = <0>;
760 reg = <0x320>;
761 clocks = <&cru SCLK_OTGPHY0>;
762 clock-names = "phyclk";
763 };
764
765 usbphy1: usb-phy1 {
766 #phy-cells = <0>;
767 reg = <0x334>;
768 clocks = <&cru SCLK_OTGPHY1>;
769 clock-names = "phyclk";
770 };
771
772 usbphy2: usb-phy2 {
773 #phy-cells = <0>;
774 reg = <0x348>;
775 clocks = <&cru SCLK_OTGPHY2>;
776 clock-names = "phyclk";
777 };
778 };
779
2ab557b7
HS
780 pinctrl: pinctrl {
781 compatible = "rockchip,rk3288-pinctrl";
782 rockchip,grf = <&grf>;
783 rockchip,pmu = <&pmu>;
784 #address-cells = <1>;
785 #size-cells = <1>;
786 ranges;
787
788 gpio0: gpio0@ff750000 {
789 compatible = "rockchip,gpio-bank";
790 reg = <0xff750000 0x100>;
791 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
792 clocks = <&cru PCLK_GPIO0>;
793
794 gpio-controller;
795 #gpio-cells = <2>;
796
797 interrupt-controller;
798 #interrupt-cells = <2>;
799 };
800
801 gpio1: gpio1@ff780000 {
802 compatible = "rockchip,gpio-bank";
803 reg = <0xff780000 0x100>;
804 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
805 clocks = <&cru PCLK_GPIO1>;
806
807 gpio-controller;
808 #gpio-cells = <2>;
809
810 interrupt-controller;
811 #interrupt-cells = <2>;
812 };
813
814 gpio2: gpio2@ff790000 {
815 compatible = "rockchip,gpio-bank";
816 reg = <0xff790000 0x100>;
817 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
818 clocks = <&cru PCLK_GPIO2>;
819
820 gpio-controller;
821 #gpio-cells = <2>;
822
823 interrupt-controller;
824 #interrupt-cells = <2>;
825 };
826
827 gpio3: gpio3@ff7a0000 {
828 compatible = "rockchip,gpio-bank";
829 reg = <0xff7a0000 0x100>;
830 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
831 clocks = <&cru PCLK_GPIO3>;
832
833 gpio-controller;
834 #gpio-cells = <2>;
835
836 interrupt-controller;
837 #interrupt-cells = <2>;
838 };
839
840 gpio4: gpio4@ff7b0000 {
841 compatible = "rockchip,gpio-bank";
842 reg = <0xff7b0000 0x100>;
843 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
844 clocks = <&cru PCLK_GPIO4>;
845
846 gpio-controller;
847 #gpio-cells = <2>;
848
849 interrupt-controller;
850 #interrupt-cells = <2>;
851 };
852
853 gpio5: gpio5@ff7c0000 {
854 compatible = "rockchip,gpio-bank";
855 reg = <0xff7c0000 0x100>;
856 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
857 clocks = <&cru PCLK_GPIO5>;
858
859 gpio-controller;
860 #gpio-cells = <2>;
861
862 interrupt-controller;
863 #interrupt-cells = <2>;
864 };
865
866 gpio6: gpio6@ff7d0000 {
867 compatible = "rockchip,gpio-bank";
868 reg = <0xff7d0000 0x100>;
869 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
870 clocks = <&cru PCLK_GPIO6>;
871
872 gpio-controller;
873 #gpio-cells = <2>;
874
875 interrupt-controller;
876 #interrupt-cells = <2>;
877 };
878
879 gpio7: gpio7@ff7e0000 {
880 compatible = "rockchip,gpio-bank";
881 reg = <0xff7e0000 0x100>;
882 interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
883 clocks = <&cru PCLK_GPIO7>;
884
885 gpio-controller;
886 #gpio-cells = <2>;
887
888 interrupt-controller;
889 #interrupt-cells = <2>;
890 };
891
892 gpio8: gpio8@ff7f0000 {
893 compatible = "rockchip,gpio-bank";
894 reg = <0xff7f0000 0x100>;
895 interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
896 clocks = <&cru PCLK_GPIO8>;
897
898 gpio-controller;
899 #gpio-cells = <2>;
900
901 interrupt-controller;
902 #interrupt-cells = <2>;
903 };
904
905 pcfg_pull_up: pcfg-pull-up {
906 bias-pull-up;
907 };
908
909 pcfg_pull_down: pcfg-pull-down {
910 bias-pull-down;
911 };
912
913 pcfg_pull_none: pcfg-pull-none {
914 bias-disable;
915 };
916
3d3fb74a
RC
917 pcfg_pull_none_12ma: pcfg-pull-none-12ma {
918 bias-disable;
919 drive-strength = <12>;
920 };
921
eecfe981
CZ
922 sleep {
923 global_pwroff: global-pwroff {
924 rockchip,pins = <0 0 RK_FUNC_1 &pcfg_pull_none>;
925 };
926
927 ddrio_pwroff: ddrio-pwroff {
928 rockchip,pins = <0 1 RK_FUNC_1 &pcfg_pull_none>;
929 };
930
931 ddr0_retention: ddr0-retention {
932 rockchip,pins = <0 2 RK_FUNC_1 &pcfg_pull_up>;
933 };
934
935 ddr1_retention: ddr1-retention {
936 rockchip,pins = <0 3 RK_FUNC_1 &pcfg_pull_up>;
937 };
938 };
939
2ab557b7
HS
940 i2c0 {
941 i2c0_xfer: i2c0-xfer {
942 rockchip,pins = <0 15 RK_FUNC_1 &pcfg_pull_none>,
943 <0 16 RK_FUNC_1 &pcfg_pull_none>;
944 };
945 };
946
947 i2c1 {
948 i2c1_xfer: i2c1-xfer {
949 rockchip,pins = <8 4 RK_FUNC_1 &pcfg_pull_none>,
950 <8 5 RK_FUNC_1 &pcfg_pull_none>;
951 };
952 };
953
954 i2c2 {
955 i2c2_xfer: i2c2-xfer {
956 rockchip,pins = <6 9 RK_FUNC_1 &pcfg_pull_none>,
957 <6 10 RK_FUNC_1 &pcfg_pull_none>;
958 };
959 };
960
961 i2c3 {
962 i2c3_xfer: i2c3-xfer {
963 rockchip,pins = <2 16 RK_FUNC_1 &pcfg_pull_none>,
964 <2 17 RK_FUNC_1 &pcfg_pull_none>;
965 };
966 };
967
968 i2c4 {
969 i2c4_xfer: i2c4-xfer {
970 rockchip,pins = <7 17 RK_FUNC_1 &pcfg_pull_none>,
971 <7 18 RK_FUNC_1 &pcfg_pull_none>;
972 };
973 };
974
975 i2c5 {
976 i2c5_xfer: i2c5-xfer {
977 rockchip,pins = <7 19 RK_FUNC_1 &pcfg_pull_none>,
978 <7 20 RK_FUNC_1 &pcfg_pull_none>;
a0f95e35
J
979 };
980 };
981
982 i2s0 {
983 i2s0_bus: i2s0-bus {
984 rockchip,pins = <6 0 RK_FUNC_1 &pcfg_pull_none>,
985 <6 1 RK_FUNC_1 &pcfg_pull_none>,
986 <6 2 RK_FUNC_1 &pcfg_pull_none>,
987 <6 3 RK_FUNC_1 &pcfg_pull_none>,
988 <6 4 RK_FUNC_1 &pcfg_pull_none>,
989 <6 8 RK_FUNC_1 &pcfg_pull_none>;
2ab557b7
HS
990 };
991 };
992
993 sdmmc {
994 sdmmc_clk: sdmmc-clk {
995 rockchip,pins = <6 20 RK_FUNC_1 &pcfg_pull_none>;
996 };
997
998 sdmmc_cmd: sdmmc-cmd {
999 rockchip,pins = <6 21 RK_FUNC_1 &pcfg_pull_up>;
1000 };
1001
1002 sdmmc_cd: sdmcc-cd {
1003 rockchip,pins = <6 22 RK_FUNC_1 &pcfg_pull_up>;
1004 };
1005
1006 sdmmc_bus1: sdmmc-bus1 {
1007 rockchip,pins = <6 16 RK_FUNC_1 &pcfg_pull_up>;
1008 };
1009
1010 sdmmc_bus4: sdmmc-bus4 {
1011 rockchip,pins = <6 16 RK_FUNC_1 &pcfg_pull_up>,
1012 <6 17 RK_FUNC_1 &pcfg_pull_up>,
1013 <6 18 RK_FUNC_1 &pcfg_pull_up>,
1014 <6 19 RK_FUNC_1 &pcfg_pull_up>;
1015 };
1016 };
1017
f1a07231
AK
1018 sdio0 {
1019 sdio0_bus1: sdio0-bus1 {
1020 rockchip,pins = <4 20 RK_FUNC_1 &pcfg_pull_up>;
1021 };
1022
1023 sdio0_bus4: sdio0-bus4 {
1024 rockchip,pins = <4 20 RK_FUNC_1 &pcfg_pull_up>,
1025 <4 21 RK_FUNC_1 &pcfg_pull_up>,
1026 <4 22 RK_FUNC_1 &pcfg_pull_up>,
1027 <4 23 RK_FUNC_1 &pcfg_pull_up>;
1028 };
1029
1030 sdio0_cmd: sdio0-cmd {
1031 rockchip,pins = <4 24 RK_FUNC_1 &pcfg_pull_up>;
1032 };
1033
1034 sdio0_clk: sdio0-clk {
1035 rockchip,pins = <4 25 RK_FUNC_1 &pcfg_pull_none>;
1036 };
1037
1038 sdio0_cd: sdio0-cd {
1039 rockchip,pins = <4 26 RK_FUNC_1 &pcfg_pull_up>;
1040 };
1041
1042 sdio0_wp: sdio0-wp {
1043 rockchip,pins = <4 27 RK_FUNC_1 &pcfg_pull_up>;
1044 };
1045
1046 sdio0_pwr: sdio0-pwr {
1047 rockchip,pins = <4 28 RK_FUNC_1 &pcfg_pull_up>;
1048 };
1049
1050 sdio0_bkpwr: sdio0-bkpwr {
1051 rockchip,pins = <4 29 RK_FUNC_1 &pcfg_pull_up>;
1052 };
1053
1054 sdio0_int: sdio0-int {
1055 rockchip,pins = <4 30 RK_FUNC_1 &pcfg_pull_up>;
1056 };
1057 };
1058
1059 sdio1 {
1060 sdio1_bus1: sdio1-bus1 {
1061 rockchip,pins = <3 24 4 &pcfg_pull_up>;
1062 };
1063
1064 sdio1_bus4: sdio1-bus4 {
1065 rockchip,pins = <3 24 4 &pcfg_pull_up>,
1066 <3 25 4 &pcfg_pull_up>,
1067 <3 26 4 &pcfg_pull_up>,
1068 <3 27 4 &pcfg_pull_up>;
1069 };
1070
1071 sdio1_cd: sdio1-cd {
1072 rockchip,pins = <3 28 4 &pcfg_pull_up>;
1073 };
1074
1075 sdio1_wp: sdio1-wp {
1076 rockchip,pins = <3 29 4 &pcfg_pull_up>;
1077 };
1078
1079 sdio1_bkpwr: sdio1-bkpwr {
1080 rockchip,pins = <3 30 4 &pcfg_pull_up>;
1081 };
1082
1083 sdio1_int: sdio1-int {
1084 rockchip,pins = <3 31 4 &pcfg_pull_up>;
1085 };
1086
1087 sdio1_cmd: sdio1-cmd {
1088 rockchip,pins = <4 6 4 &pcfg_pull_up>;
1089 };
1090
1091 sdio1_clk: sdio1-clk {
1092 rockchip,pins = <4 7 4 &pcfg_pull_none>;
1093 };
1094
1095 sdio1_pwr: sdio1-pwr {
1096 rockchip,pins = <4 9 4 &pcfg_pull_up>;
1097 };
1098 };
1099
2ab557b7
HS
1100 emmc {
1101 emmc_clk: emmc-clk {
1102 rockchip,pins = <3 18 RK_FUNC_2 &pcfg_pull_none>;
1103 };
1104
1105 emmc_cmd: emmc-cmd {
1106 rockchip,pins = <3 16 RK_FUNC_2 &pcfg_pull_up>;
1107 };
1108
1109 emmc_pwr: emmc-pwr {
1110 rockchip,pins = <3 9 RK_FUNC_2 &pcfg_pull_up>;
1111 };
1112
1113 emmc_bus1: emmc-bus1 {
1114 rockchip,pins = <3 0 RK_FUNC_2 &pcfg_pull_up>;
1115 };
1116
1117 emmc_bus4: emmc-bus4 {
1118 rockchip,pins = <3 0 RK_FUNC_2 &pcfg_pull_up>,
1119 <3 1 RK_FUNC_2 &pcfg_pull_up>,
1120 <3 2 RK_FUNC_2 &pcfg_pull_up>,
1121 <3 3 RK_FUNC_2 &pcfg_pull_up>;
1122 };
1123
1124 emmc_bus8: emmc-bus8 {
1125 rockchip,pins = <3 0 RK_FUNC_2 &pcfg_pull_up>,
1126 <3 1 RK_FUNC_2 &pcfg_pull_up>,
1127 <3 2 RK_FUNC_2 &pcfg_pull_up>,
1128 <3 3 RK_FUNC_2 &pcfg_pull_up>,
1129 <3 4 RK_FUNC_2 &pcfg_pull_up>,
1130 <3 5 RK_FUNC_2 &pcfg_pull_up>,
1131 <3 6 RK_FUNC_2 &pcfg_pull_up>,
1132 <3 7 RK_FUNC_2 &pcfg_pull_up>;
1133 };
1134 };
1135
1f53170b 1136 spi0 {
1137 spi0_clk: spi0-clk {
1138 rockchip,pins = <5 12 RK_FUNC_1 &pcfg_pull_up>;
1139 };
1140 spi0_cs0: spi0-cs0 {
1141 rockchip,pins = <5 13 RK_FUNC_1 &pcfg_pull_up>;
1142 };
1143 spi0_tx: spi0-tx {
1144 rockchip,pins = <5 14 RK_FUNC_1 &pcfg_pull_up>;
1145 };
1146 spi0_rx: spi0-rx {
1147 rockchip,pins = <5 15 RK_FUNC_1 &pcfg_pull_up>;
1148 };
1149 spi0_cs1: spi0-cs1 {
1150 rockchip,pins = <5 16 RK_FUNC_1 &pcfg_pull_up>;
1151 };
1152 };
1153 spi1 {
1154 spi1_clk: spi1-clk {
1155 rockchip,pins = <7 12 RK_FUNC_2 &pcfg_pull_up>;
1156 };
1157 spi1_cs0: spi1-cs0 {
1158 rockchip,pins = <7 13 RK_FUNC_2 &pcfg_pull_up>;
1159 };
1160 spi1_rx: spi1-rx {
1161 rockchip,pins = <7 14 RK_FUNC_2 &pcfg_pull_up>;
1162 };
1163 spi1_tx: spi1-tx {
1164 rockchip,pins = <7 15 RK_FUNC_2 &pcfg_pull_up>;
1165 };
1166 };
1167
1168 spi2 {
1169 spi2_cs1: spi2-cs1 {
1170 rockchip,pins = <8 3 RK_FUNC_1 &pcfg_pull_up>;
1171 };
1172 spi2_clk: spi2-clk {
1173 rockchip,pins = <8 6 RK_FUNC_1 &pcfg_pull_up>;
1174 };
1175 spi2_cs0: spi2-cs0 {
1176 rockchip,pins = <8 7 RK_FUNC_1 &pcfg_pull_up>;
1177 };
1178 spi2_rx: spi2-rx {
1179 rockchip,pins = <8 8 RK_FUNC_1 &pcfg_pull_up>;
1180 };
1181 spi2_tx: spi2-tx {
1182 rockchip,pins = <8 9 RK_FUNC_1 &pcfg_pull_up>;
1183 };
1184 };
1185
2ab557b7
HS
1186 uart0 {
1187 uart0_xfer: uart0-xfer {
1188 rockchip,pins = <4 16 RK_FUNC_1 &pcfg_pull_up>,
1189 <4 17 RK_FUNC_1 &pcfg_pull_none>;
1190 };
1191
1192 uart0_cts: uart0-cts {
1193 rockchip,pins = <4 18 RK_FUNC_1 &pcfg_pull_none>;
1194 };
1195
1196 uart0_rts: uart0-rts {
1197 rockchip,pins = <4 19 RK_FUNC_1 &pcfg_pull_none>;
1198 };
1199 };
1200
1201 uart1 {
1202 uart1_xfer: uart1-xfer {
1203 rockchip,pins = <5 8 RK_FUNC_1 &pcfg_pull_up>,
1204 <5 9 RK_FUNC_1 &pcfg_pull_none>;
1205 };
1206
1207 uart1_cts: uart1-cts {
1208 rockchip,pins = <5 10 RK_FUNC_1 &pcfg_pull_none>;
1209 };
1210
1211 uart1_rts: uart1-rts {
1212 rockchip,pins = <5 11 RK_FUNC_1 &pcfg_pull_none>;
1213 };
1214 };
1215
1216 uart2 {
1217 uart2_xfer: uart2-xfer {
1218 rockchip,pins = <7 22 RK_FUNC_1 &pcfg_pull_up>,
1219 <7 23 RK_FUNC_1 &pcfg_pull_none>;
1220 };
1221 /* no rts / cts for uart2 */
1222 };
1223
1224 uart3 {
1225 uart3_xfer: uart3-xfer {
1226 rockchip,pins = <7 7 RK_FUNC_1 &pcfg_pull_up>,
1227 <7 8 RK_FUNC_1 &pcfg_pull_none>;
1228 };
1229
1230 uart3_cts: uart3-cts {
1231 rockchip,pins = <7 9 RK_FUNC_1 &pcfg_pull_none>;
1232 };
1233
1234 uart3_rts: uart3-rts {
1235 rockchip,pins = <7 10 RK_FUNC_1 &pcfg_pull_none>;
1236 };
1237 };
1238
1239 uart4 {
1240 uart4_xfer: uart4-xfer {
1241 rockchip,pins = <5 12 3 &pcfg_pull_up>,
1242 <5 13 3 &pcfg_pull_none>;
1243 };
1244
1245 uart4_cts: uart4-cts {
1246 rockchip,pins = <5 14 3 &pcfg_pull_none>;
1247 };
1248
1249 uart4_rts: uart4-rts {
1250 rockchip,pins = <5 15 3 &pcfg_pull_none>;
1251 };
1252 };
df542df3 1253
b67d6bc3
CW
1254 tsadc {
1255 otp_out: otp-out {
1256 rockchip,pins = <0 10 RK_FUNC_1 &pcfg_pull_none>;
1257 };
1258 };
1259
df542df3
DA
1260 pwm0 {
1261 pwm0_pin: pwm0-pin {
1262 rockchip,pins = <7 0 RK_FUNC_1 &pcfg_pull_none>;
1263 };
1264 };
1265
1266 pwm1 {
1267 pwm1_pin: pwm1-pin {
1268 rockchip,pins = <7 1 RK_FUNC_1 &pcfg_pull_none>;
1269 };
1270 };
1271
1272 pwm2 {
1273 pwm2_pin: pwm2-pin {
1274 rockchip,pins = <7 22 3 &pcfg_pull_none>;
1275 };
1276 };
1277
1278 pwm3 {
1279 pwm3_pin: pwm3-pin {
1280 rockchip,pins = <7 23 3 &pcfg_pull_none>;
1281 };
1282 };
3d3fb74a
RC
1283
1284 gmac {
1285 rgmii_pins: rgmii-pins {
1286 rockchip,pins = <3 30 3 &pcfg_pull_none>,
1287 <3 31 3 &pcfg_pull_none>,
1288 <3 26 3 &pcfg_pull_none>,
1289 <3 27 3 &pcfg_pull_none>,
1290 <3 28 3 &pcfg_pull_none_12ma>,
1291 <3 29 3 &pcfg_pull_none_12ma>,
1292 <3 24 3 &pcfg_pull_none_12ma>,
1293 <3 25 3 &pcfg_pull_none_12ma>,
1294 <4 0 3 &pcfg_pull_none>,
1295 <4 5 3 &pcfg_pull_none>,
1296 <4 6 3 &pcfg_pull_none>,
1297 <4 9 3 &pcfg_pull_none_12ma>,
1298 <4 4 3 &pcfg_pull_none_12ma>,
1299 <4 1 3 &pcfg_pull_none>,
1300 <4 3 3 &pcfg_pull_none>;
1301 };
1302
1303 rmii_pins: rmii-pins {
1304 rockchip,pins = <3 30 3 &pcfg_pull_none>,
1305 <3 31 3 &pcfg_pull_none>,
1306 <3 28 3 &pcfg_pull_none>,
1307 <3 29 3 &pcfg_pull_none>,
1308 <4 0 3 &pcfg_pull_none>,
1309 <4 5 3 &pcfg_pull_none>,
1310 <4 4 3 &pcfg_pull_none>,
1311 <4 1 3 &pcfg_pull_none>,
1312 <4 2 3 &pcfg_pull_none>,
1313 <4 3 3 &pcfg_pull_none>;
1314 };
1315 };
2ab557b7
HS
1316 };
1317};