2 * Copyright (c) 2016 Fuzhou Rockchip Electronics Co., Ltd
4 * This file is dual-licensed: you can use it either under the terms
5 * of the GPL or the X11 license, at your option. Note that this dual
6 * licensing only applies to this file, and not this project as a
9 * a) This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation; either version 2 of the
12 * License, or (at your option) any later version.
14 * This library is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
21 * b) Permission is hereby granted, free of charge, to any person
22 * obtaining a copy of this software and associated documentation
23 * files (the "Software"), to deal in the Software without
24 * restriction, including without limitation the rights to use,
25 * copy, modify, merge, publish, distribute, sublicense, and/or
26 * sell copies of the Software, and to permit persons to whom the
27 * Software is furnished to do so, subject to the following
30 * The above copyright notice and this permission notice shall be
31 * included in all copies or substantial portions of the Software.
33 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
34 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
35 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
36 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
37 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
38 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
39 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
40 * OTHER DEALINGS IN THE SOFTWARE.
42 #include <dt-bindings/clock/rk3399-cru.h>
43 #include <dt-bindings/gpio/gpio.h>
44 #include <dt-bindings/interrupt-controller/arm-gic.h>
45 #include <dt-bindings/interrupt-controller/irq.h>
46 #include <dt-bindings/pinctrl/rockchip.h>
47 #include <dt-bindings/thermal/thermal.h>
50 compatible = "rockchip,rk3399";
51 interrupt-parent = <&gic>;
103 compatible = "arm,cortex-a53", "arm,armv8";
106 #cooling-cells = <2>; /* min followed by max */
111 compatible = "arm,cortex-a53", "arm,armv8";
117 compatible = "arm,cortex-a53", "arm,armv8";
123 compatible = "arm,cortex-a53", "arm,armv8";
129 compatible = "arm,cortex-a72", "arm,armv8";
132 #cooling-cells = <2>; /* min followed by max */
137 compatible = "arm,cortex-a72", "arm,armv8";
143 compatible = "arm,armv8-timer";
144 interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_HIGH>,
145 <GIC_PPI 14 IRQ_TYPE_LEVEL_HIGH>,
146 <GIC_PPI 11 IRQ_TYPE_LEVEL_HIGH>,
147 <GIC_PPI 10 IRQ_TYPE_LEVEL_HIGH>;
151 compatible = "fixed-clock";
153 clock-frequency = <24000000>;
154 clock-output-names = "xin24m";
157 gic: interrupt-controller@fee00000 {
158 compatible = "arm,gic-v3";
159 #interrupt-cells = <3>;
160 #address-cells = <2>;
163 interrupt-controller;
165 reg = <0x0 0xfee00000 0 0x10000>, /* GICD */
166 <0x0 0xfef00000 0 0xc0000>, /* GICR */
167 <0x0 0xfff00000 0 0x10000>, /* GICC */
168 <0x0 0xfff10000 0 0x10000>, /* GICH */
169 <0x0 0xfff20000 0 0x10000>; /* GICV */
170 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
171 its: interrupt-controller@fee20000 {
172 compatible = "arm,gic-v3-its";
174 reg = <0x0 0xfee20000 0x0 0x20000>;
179 compatible = "arm,amba-bus";
180 #address-cells = <2>;
184 dmac_bus: dma-controller@ff6d0000 {
185 compatible = "arm,pl330", "arm,primecell";
186 reg = <0x0 0xff6d0000 0x0 0x4000>;
187 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>,
188 <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
190 clocks = <&cru ACLK_DMAC0_PERILP>;
191 clock-names = "apb_pclk";
194 dmac_peri: dma-controller@ff6e0000 {
195 compatible = "arm,pl330", "arm,primecell";
196 reg = <0x0 0xff6e0000 0x0 0x4000>;
197 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
198 <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
200 clocks = <&cru ACLK_DMAC1_PERILP>;
201 clock-names = "apb_pclk";
206 compatible = "rockchip,rk3399-i2c", "rockchip,rk3288-i2c";
207 reg = <0x0 0xff3c0000 0x0 0x1000>;
208 clocks = <&cru PCLK_I2C0_PMU>, <&cru SCLK_I2C0_PMU>;
209 clock-names = "i2c", "i2c_sclk";
210 interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
211 pinctrl-names = "default";
212 pinctrl-0 = <&i2c0_xfer>;
213 #address-cells = <1>;
219 compatible = "rockchip,rk3399-i2c", "rockchip,rk3288-i2c";
220 reg = <0x0 0xff110000 0x0 0x1000>;
221 clocks = <&cru PCLK_I2C1>, <&cru SCLK_I2C1>;
222 clock-names = "i2c", "i2c_sclk";
223 interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
224 pinctrl-names = "default";
225 pinctrl-0 = <&i2c1_xfer>;
226 #address-cells = <1>;
232 compatible = "rockchip,rk3399-i2c", "rockchip,rk3288-i2c";
233 reg = <0x0 0xff120000 0x0 0x1000>;
234 clocks = <&cru PCLK_I2C2>, <&cru SCLK_I2C2>;
235 clock-names = "i2c", "i2c_sclk";
236 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
237 pinctrl-names = "default";
238 pinctrl-0 = <&i2c2_xfer>;
239 #address-cells = <1>;
245 compatible = "rockchip,rk3399-i2c", "rockchip,rk3288-i2c";
246 reg = <0x0 0xff130000 0x0 0x1000>;
247 clocks = <&cru PCLK_I2C3>, <&cru SCLK_I2C3>;
248 clock-names = "i2c", "i2c_sclk";
249 interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
250 pinctrl-names = "default";
251 pinctrl-0 = <&i2c3_xfer>;
252 #address-cells = <1>;
258 compatible = "rockchip,rk3399-i2c", "rockchip,rk3288-i2c";
259 reg = <0x0 0xff140000 0x0 0x1000>;
260 clocks = <&cru PCLK_I2C5>, <&cru SCLK_I2C5>;
261 clock-names = "i2c", "i2c_sclk";
262 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
263 pinctrl-names = "default";
264 pinctrl-0 = <&i2c5_xfer>;
265 #address-cells = <1>;
271 compatible = "rockchip,rk3399-i2c", "rockchip,rk3288-i2c";
272 reg = <0x0 0xff150000 0x0 0x1000>;
273 clocks = <&cru PCLK_I2C6>, <&cru SCLK_I2C6>;
274 clock-names = "i2c", "i2c_sclk";
275 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
276 pinctrl-names = "default";
277 pinctrl-0 = <&i2c6_xfer>;
278 #address-cells = <1>;
284 compatible = "rockchip,rk3399-i2c", "rockchip,rk3288-i2c";
285 reg = <0x0 0xff160000 0x0 0x1000>;
286 clocks = <&cru PCLK_I2C7>, <&cru SCLK_I2C7>;
287 clock-names = "i2c", "i2c_sclk";
288 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
289 pinctrl-names = "default";
290 pinctrl-0 = <&i2c7_xfer>;
291 #address-cells = <1>;
296 uart0: serial@ff180000 {
297 compatible = "rockchip,rk3399-uart", "snps,dw-apb-uart";
298 reg = <0x0 0xff180000 0x0 0x100>;
299 clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>;
300 clock-names = "baudclk", "apb_pclk";
301 interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
307 uart1: serial@ff190000 {
308 compatible = "rockchip,rk3399-uart", "snps,dw-apb-uart";
309 reg = <0x0 0xff190000 0x0 0x100>;
310 clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>;
311 clock-names = "baudclk", "apb_pclk";
312 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
318 uart2: serial@ff1a0000 {
319 compatible = "rockchip,rk3399-uart", "snps,dw-apb-uart";
320 reg = <0x0 0xff1a0000 0x0 0x100>;
321 clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>;
322 clock-names = "baudclk", "apb_pclk";
323 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
329 uart3: serial@ff1b0000 {
330 compatible = "rockchip,rk3399-uart", "snps,dw-apb-uart";
331 reg = <0x0 0xff1b0000 0x0 0x100>;
332 clocks = <&cru SCLK_UART3>, <&cru PCLK_UART3>;
333 clock-names = "baudclk", "apb_pclk";
334 interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
341 compatible = "rockchip,rk3399-spi", "rockchip,rk3066-spi";
342 reg = <0x0 0xff110000 0x0 0x1000>;
343 clocks = <&cru SCLK_SPI0>, <&cru PCLK_SPI0>;
344 clock-names = "spiclk", "apb_pclk";
345 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
346 pinctrl-names = "default";
347 pinctrl-0 = <&spi0_clk &spi0_tx &spi0_rx &spi0_cs0>;
348 #address-cells = <1>;
354 compatible = "rockchip,rk3399-spi", "rockchip,rk3066-spi";
355 reg = <0x0 0xff120000 0x0 0x1000>;
356 clocks = <&cru SCLK_SPI1>, <&cru PCLK_SPI1>;
357 clock-names = "spiclk", "apb_pclk";
358 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
359 pinctrl-names = "default";
360 pinctrl-0 = <&spi1_clk &spi1_tx &spi1_rx &spi1_cs0>;
361 #address-cells = <1>;
367 compatible = "rockchip,rk3399-spi", "rockchip,rk3066-spi";
368 reg = <0x0 0xff130000 0x0 0x1000>;
369 clocks = <&cru SCLK_SPI2>, <&cru PCLK_SPI2>;
370 clock-names = "spiclk", "apb_pclk";
371 interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
372 pinctrl-names = "default";
373 pinctrl-0 = <&spi2_clk &spi2_tx &spi2_rx &spi2_cs0>;
374 #address-cells = <1>;
380 compatible = "rockchip,rk3399-spi", "rockchip,rk3066-spi";
381 reg = <0x0 0xff120000 0x0 0x1000>;
382 clocks = <&cru SCLK_SPI4>, <&cru PCLK_SPI4>;
383 clock-names = "spiclk", "apb_pclk";
384 interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
385 pinctrl-names = "default";
386 pinctrl-0 = <&spi4_clk &spi4_tx &spi4_rx &spi4_cs0>;
387 #address-cells = <1>;
393 compatible = "rockchip,rk3399-spi", "rockchip,rk3066-spi";
394 reg = <0x0 0xff130000 0x0 0x1000>;
395 clocks = <&cru SCLK_SPI5>, <&cru PCLK_SPI5>;
396 clock-names = "spiclk", "apb_pclk";
397 interrupts = <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>;
398 pinctrl-names = "default";
399 pinctrl-0 = <&spi5_clk &spi5_tx &spi5_rx &spi5_cs0>;
400 #address-cells = <1>;
406 #include "rk3368-thermal.dtsi"
409 tsadc: tsadc@ff260000 {
410 compatible = "rockchip,rk3399-tsadc";
411 reg = <0x0 0xff260000 0x0 0x100>;
412 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
413 clocks = <&cru SCLK_TSADC>, <&cru PCLK_TSADC>;
414 clock-names = "tsadc", "apb_pclk";
415 resets = <&cru SRST_TSADC>;
416 reset-names = "tsadc-apb";
417 pinctrl-names = "init", "default", "sleep";
418 pinctrl-0 = <&otp_gpio>;
419 pinctrl-1 = <&otp_out>;
420 pinctrl-2 = <&otp_gpio>;
421 #thermal-sensor-cells = <1>;
422 rockchip,hw-tshut-temp = <95000>;
426 pmugrf: syscon@ff320000 {
427 compatible = "rockchip,rk3399-pmugrf", "syscon";
428 reg = <0x0 0xff320000 0x0 0x1000>;
432 compatible = "rockchip,rk3399-spi", "rockchip,rk3066-spi";
433 reg = <0x0 0xff110000 0x0 0x1000>;
434 clocks = <&cru SCLK_SPI3_PMU>, <&cru PCLK_SPI3_PMU>;
435 clock-names = "spiclk", "apb_pclk";
436 interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
437 pinctrl-names = "default";
438 pinctrl-0 = <&spi3_clk &spi3_tx &spi3_rx &spi3_cs0>;
439 #address-cells = <1>;
444 uart4: serial@ff370000 {
445 compatible = "rockchip,rk3399-uart", "snps,dw-apb-uart";
446 reg = <0x0 0xff370000 0x0 0x100>;
447 clocks = <&cru SCLK_UART4_PMU>, <&cru PCLK_UART4_PMU>;
448 clock-names = "baudclk", "apb_pclk";
449 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
456 compatible = "rockchip,rk3399-i2c", "rockchip,rk3288-i2c";
457 reg = <0x0 0xff3d0000 0x0 0x1000>;
458 clocks = <&cru PCLK_I2C4_PMU>, <&cru SCLK_I2C4_PMU>;
459 clock-names = "i2c", "i2c_sclk";
460 interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
461 pinctrl-names = "default";
462 pinctrl-0 = <&i2c4_xfer>;
463 #address-cells = <1>;
469 compatible = "rockchip,rk3399-i2c", "rockchip,rk3288-i2c";
470 reg = <0x0 0xff3e0000 0x0 0x1000>;
471 clocks = <&cru PCLK_I2C8_PMU>, <&cru SCLK_I2C8_PMU>;
472 clock-names = "i2c", "i2c_sclk";
473 interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
474 pinctrl-names = "default";
475 pinctrl-0 = <&i2c8_xfer>;
476 #address-cells = <1>;
481 pmucru: pmu-clock-controller@ff750000 {
482 compatible = "rockchip,rk3399-pmucru";
483 reg = <0x0 0xff750000 0x0 0x1000>;
484 rockchip,grf = <&pmugrf>;
489 cru: clock-controller@ff760000 {
490 compatible = "rockchip,rk3399-cru";
491 reg = <0x0 0xff760000 0x0 0x1000>;
492 rockchip,grf = <&grf>;
497 grf: syscon@ff770000 {
498 compatible = "rockchip,rk3399-grf", "syscon";
499 reg = <0x0 0xff770000 0x0 0x10000>;
502 spdif: spdif@ff870000 {
503 compatible = "rockchip,rk3399-spdif";
504 reg = <0x0 0xff870000 0x0 0x1000>;
505 interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
506 dmas = <&dmac_bus 7>;
508 clock-names = "hclk", "mclk";
509 clocks = <&cru HCLK_SPDIF>, <&cru SCLK_SPDIF_8CH>;
510 pinctrl-names = "default";
511 pinctrl-0 = <&spdif_bus>;
516 compatible = "rockchip,rk3399-i2s", "rockchip,rk3066-i2s";
517 reg = <0x0 0xff880000 0x0 0x1000>;
518 interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
519 #address-cells = <1>;
521 dmas = <&dmac_bus 0>, <&dmac_bus 1>;
522 dma-names = "tx", "rx";
523 clock-names = "i2s_hclk", "i2s_clk";
524 clocks = <&cru HCLK_I2S0_8CH>, <&cru SCLK_I2S0_8CH>;
525 pinctrl-names = "default";
526 pinctrl-0 = <&i2s0_8ch_bus>;
531 compatible = "rockchip,rk3399-i2s", "rockchip,rk3066-i2s";
532 reg = <0x0 0xff890000 0x0 0x1000>;
533 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
534 #address-cells = <1>;
536 dmas = <&dmac_bus 2>, <&dmac_bus 3>;
537 dma-names = "tx", "rx";
538 clock-names = "i2s_hclk", "i2s_clk";
539 clocks = <&cru HCLK_I2S1_8CH>, <&cru SCLK_I2S1_8CH>;
540 pinctrl-names = "default";
541 pinctrl-0 = <&i2s1_2ch_bus>;
546 compatible = "rockchip,rk3399-i2s", "rockchip,rk3066-i2s";
547 reg = <0x0 0xff8a0000 0x0 0x1000>;
548 interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
549 #address-cells = <1>;
551 dmas = <&dmac_bus 4>, <&dmac_bus 5>;
552 dma-names = "tx", "rx";
553 clock-names = "i2s_hclk", "i2s_clk";
554 clocks = <&cru HCLK_I2S2_8CH>, <&cru SCLK_I2S2_8CH>;
559 compatible = "rockchip,rk3399-pinctrl";
560 rockchip,grf = <&grf>;
561 rockchip,pmu = <&pmugrf>;
562 #address-cells = <0x2>;
566 gpio0: gpio0@ff720000 {
567 compatible = "rockchip,gpio-bank";
568 reg = <0x0 0xff720000 0x0 0x100>;
570 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
575 interrupt-controller;
576 #interrupt-cells = <0x2>;
579 gpio1: gpio1@ff730000 {
580 compatible = "rockchip,gpio-bank";
581 reg = <0x0 0xff730000 0x0 0x100>;
583 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
588 interrupt-controller;
589 #interrupt-cells = <0x2>;
592 gpio2: gpio2@ff780000 {
593 compatible = "rockchip,gpio-bank";
594 reg = <0x0 0xff780000 0x0 0x100>;
596 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
601 interrupt-controller;
602 #interrupt-cells = <0x2>;
605 gpio3: gpio3@ff788000 {
606 compatible = "rockchip,gpio-bank";
607 reg = <0x0 0xff788000 0x0 0x100>;
609 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
614 interrupt-controller;
615 #interrupt-cells = <0x2>;
618 gpio4: gpio4@ff790000 {
619 compatible = "rockchip,gpio-bank";
620 reg = <0x0 0xff790000 0x0 0x100>;
622 interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
627 interrupt-controller;
628 #interrupt-cells = <0x2>;
631 pcfg_pull_up: pcfg-pull-up {
635 pcfg_pull_down: pcfg-pull-down {
639 pcfg_pull_none: pcfg-pull-none {
643 pcfg_pull_none_12ma: pcfg-pull-none-12ma {
645 drive-strength = <12>;
648 pcfg_pull_up_8ma: pcfg-pull-up-8ma {
650 drive-strength = <8>;
653 pcfg_pull_down_4ma: pcfg-pull-down-4ma {
655 drive-strength = <4>;
658 pcfg_pull_up_2ma: pcfg-pull-up-2ma {
660 drive-strength = <2>;
663 pcfg_pull_down_12ma: pcfg-pull-down-12ma {
665 drive-strength = <12>;
671 <0 5 RK_FUNC_1 &pcfg_pull_up>;
676 rgmii_pins: rgmii-pins {
678 <3 11 RK_FUNC_1 &pcfg_pull_none>,
679 <3 13 RK_FUNC_1 &pcfg_pull_none>,
680 <3 8 RK_FUNC_1 &pcfg_pull_none>,
681 <3 4 RK_FUNC_1 &pcfg_pull_none_12ma>,
682 <3 5 RK_FUNC_1 &pcfg_pull_none_12ma>,
683 <3 0 RK_FUNC_1 &pcfg_pull_none_12ma>,
684 <3 1 RK_FUNC_1 &pcfg_pull_none_12ma>,
685 <3 17 RK_FUNC_1 &pcfg_pull_none_12ma>,
686 <3 12 RK_FUNC_1 &pcfg_pull_none_12ma>,
687 <3 6 RK_FUNC_1 &pcfg_pull_none>,
688 <3 7 RK_FUNC_1 &pcfg_pull_none>,
689 <3 2 RK_FUNC_1 &pcfg_pull_none>,
690 <3 3 RK_FUNC_1 &pcfg_pull_none>,
691 <3 14 RK_FUNC_1 &pcfg_pull_none>,
692 <3 9 RK_FUNC_1 &pcfg_pull_none>;
695 rmii_pins: rmii-pins {
697 <3 11 RK_FUNC_1 &pcfg_pull_none>,
698 <3 13 RK_FUNC_1 &pcfg_pull_none>,
699 <3 8 RK_FUNC_1 &pcfg_pull_none>,
700 <3 4 RK_FUNC_1 &pcfg_pull_none_12ma>,
701 <3 5 RK_FUNC_1 &pcfg_pull_none_12ma>,
702 <3 12 RK_FUNC_1 &pcfg_pull_none_12ma>,
703 <3 6 RK_FUNC_1 &pcfg_pull_none>,
704 <3 7 RK_FUNC_1 &pcfg_pull_none>,
705 <3 9 RK_FUNC_1 &pcfg_pull_none>,
706 <3 10 RK_FUNC_1 &pcfg_pull_none>;
711 i2c0_xfer: i2c0-xfer {
713 <1 15 RK_FUNC_2 &pcfg_pull_none>,
714 <1 16 RK_FUNC_2 &pcfg_pull_none>;
719 i2c1_xfer: i2c1-xfer {
721 <4 2 RK_FUNC_1 &pcfg_pull_none>,
722 <4 1 RK_FUNC_1 &pcfg_pull_none>;
727 i2c2_xfer: i2c2-xfer {
729 <2 1 RK_FUNC_2 &pcfg_pull_none_12ma>,
730 <2 0 RK_FUNC_2 &pcfg_pull_none_12ma>;
735 i2c3_xfer: i2c3-xfer {
737 <4 17 RK_FUNC_1 &pcfg_pull_none>,
738 <4 16 RK_FUNC_1 &pcfg_pull_none>;
743 i2c4_xfer: i2c4-xfer {
745 <1 12 RK_FUNC_1 &pcfg_pull_none>,
746 <1 11 RK_FUNC_1 &pcfg_pull_none>;
751 i2c5_xfer: i2c5-xfer {
753 <3 11 RK_FUNC_2 &pcfg_pull_none>,
754 <3 10 RK_FUNC_2 &pcfg_pull_none>;
759 i2c6_xfer: i2c6-xfer {
761 <2 10 RK_FUNC_2 &pcfg_pull_none>,
762 <2 9 RK_FUNC_2 &pcfg_pull_none>;
767 i2c7_xfer: i2c7-xfer {
769 <2 8 RK_FUNC_2 &pcfg_pull_none>,
770 <2 7 RK_FUNC_2 &pcfg_pull_none>;
775 i2c8_xfer: i2c8-xfer {
777 <1 21 RK_FUNC_1 &pcfg_pull_none>,
778 <1 20 RK_FUNC_1 &pcfg_pull_none>;
783 i2s0_8ch_bus: i2s0-8ch-bus {
785 <3 24 RK_FUNC_1 &pcfg_pull_none>,
786 <3 25 RK_FUNC_1 &pcfg_pull_none>,
787 <3 26 RK_FUNC_1 &pcfg_pull_none>,
788 <3 27 RK_FUNC_1 &pcfg_pull_none>,
789 <3 28 RK_FUNC_1 &pcfg_pull_none>,
790 <3 29 RK_FUNC_1 &pcfg_pull_none>,
791 <3 30 RK_FUNC_1 &pcfg_pull_none>,
792 <3 31 RK_FUNC_1 &pcfg_pull_none>,
793 <4 0 RK_FUNC_1 &pcfg_pull_none>;
798 i2s1_2ch_bus: i2s1-2ch-bus {
800 <4 3 RK_FUNC_1 &pcfg_pull_none>,
801 <4 4 RK_FUNC_1 &pcfg_pull_none>,
802 <4 5 RK_FUNC_1 &pcfg_pull_none>,
803 <4 6 RK_FUNC_1 &pcfg_pull_none>,
804 <4 7 RK_FUNC_1 &pcfg_pull_none>;
809 sdio0_bus1: sdio0-bus1 {
811 <2 20 RK_FUNC_1 &pcfg_pull_up>;
814 sdio0_bus4: sdio0-bus4 {
816 <2 20 RK_FUNC_1 &pcfg_pull_up>,
817 <2 21 RK_FUNC_1 &pcfg_pull_up>,
818 <2 22 RK_FUNC_1 &pcfg_pull_up>,
819 <2 23 RK_FUNC_1 &pcfg_pull_up>;
822 sdio0_cmd: sdio0-cmd {
824 <2 24 RK_FUNC_1 &pcfg_pull_up>;
827 sdio0_clk: sdio0-clk {
829 <2 25 RK_FUNC_1 &pcfg_pull_none>;
834 <2 26 RK_FUNC_1 &pcfg_pull_up>;
837 sdio0_pwr: sdio0-pwr {
839 <2 27 RK_FUNC_1 &pcfg_pull_up>;
842 sdio0_bkpwr: sdio0-bkpwr {
844 <2 28 RK_FUNC_1 &pcfg_pull_up>;
849 <0 3 RK_FUNC_1 &pcfg_pull_up>;
852 sdio0_int: sdio0-int {
854 <0 4 RK_FUNC_1 &pcfg_pull_up>;
859 sdmmc_bus1: sdmmc-bus1 {
861 <4 8 RK_FUNC_1 &pcfg_pull_up>;
864 sdmmc_bus4: sdmmc-bus4 {
866 <4 8 RK_FUNC_1 &pcfg_pull_up>,
867 <4 9 RK_FUNC_1 &pcfg_pull_up>,
868 <4 10 RK_FUNC_1 &pcfg_pull_up>,
869 <4 11 RK_FUNC_1 &pcfg_pull_up>;
872 sdmmc_clk: sdmmc-clk {
874 <4 12 RK_FUNC_1 &pcfg_pull_none>;
877 sdmmc_cmd: sdmmc-cmd {
879 <4 13 RK_FUNC_1 &pcfg_pull_up>;
884 <0 7 RK_FUNC_1 &pcfg_pull_up>;
889 <0 8 RK_FUNC_1 &pcfg_pull_up>;
894 spdif_bus: spdif-bus {
896 <4 21 RK_FUNC_1 &pcfg_pull_none>;
903 <3 6 RK_FUNC_2 &pcfg_pull_up>;
907 <3 7 RK_FUNC_2 &pcfg_pull_up>;
911 <3 8 RK_FUNC_2 &pcfg_pull_up>;
915 <3 5 RK_FUNC_2 &pcfg_pull_up>;
919 <3 4 RK_FUNC_2 &pcfg_pull_up>;
926 <1 9 RK_FUNC_2 &pcfg_pull_up>;
930 <1 10 RK_FUNC_2 &pcfg_pull_up>;
934 <1 7 RK_FUNC_2 &pcfg_pull_up>;
938 <1 8 RK_FUNC_2 &pcfg_pull_up>;
945 <2 11 RK_FUNC_1 &pcfg_pull_up>;
949 <2 12 RK_FUNC_1 &pcfg_pull_up>;
953 <2 9 RK_FUNC_1 &pcfg_pull_up>;
957 <2 10 RK_FUNC_1 &pcfg_pull_up>;
964 <1 17 RK_FUNC_1 &pcfg_pull_up>;
968 <1 18 RK_FUNC_1 &pcfg_pull_up>;
972 <1 15 RK_FUNC_1 &pcfg_pull_up>;
976 <1 16 RK_FUNC_1 &pcfg_pull_up>;
983 <3 2 RK_FUNC_2 &pcfg_pull_up>;
987 <3 3 RK_FUNC_2 &pcfg_pull_up>;
991 <3 0 RK_FUNC_2 &pcfg_pull_up>;
995 <3 1 RK_FUNC_2 &pcfg_pull_up>;
1000 spi5_clk: spi5-clk {
1002 <2 22 RK_FUNC_2 &pcfg_pull_up>;
1004 spi5_cs0: spi5-cs0 {
1006 <2 23 RK_FUNC_2 &pcfg_pull_up>;
1010 <2 20 RK_FUNC_2 &pcfg_pull_up>;
1014 <2 21 RK_FUNC_2 &pcfg_pull_up>;
1019 otp_gpio: otp-gpio {
1020 rockchip,pins = <1 6 RK_FUNC_GPIO &pcfg_pull_none>;
1024 rockchip,pins = <1 6 RK_FUNC_1 &pcfg_pull_none>;
1029 uart0_xfer: uart0-xfer {
1031 <2 16 RK_FUNC_1 &pcfg_pull_up>,
1032 <2 17 RK_FUNC_1 &pcfg_pull_none>;
1035 uart0_cts: uart0-cts {
1037 <2 18 RK_FUNC_1 &pcfg_pull_none>;
1040 uart0_rts: uart0-rts {
1042 <2 19 RK_FUNC_1 &pcfg_pull_none>;
1047 uart1_xfer: uart1-xfer {
1049 <3 12 RK_FUNC_2 &pcfg_pull_up>,
1050 <3 13 RK_FUNC_2 &pcfg_pull_none>;
1055 uart2a_xfer: uart2a-xfer {
1057 <4 8 RK_FUNC_2 &pcfg_pull_up>,
1058 <4 9 RK_FUNC_2 &pcfg_pull_none>;
1063 uart2b_xfer: uart2b-xfer {
1065 <4 16 RK_FUNC_2 &pcfg_pull_up>,
1066 <4 17 RK_FUNC_2 &pcfg_pull_none>;
1071 uart2c_xfer: uart2c-xfer {
1073 <4 19 RK_FUNC_1 &pcfg_pull_up>,
1074 <4 20 RK_FUNC_1 &pcfg_pull_none>;
1079 uart3_xfer: uart3-xfer {
1081 <3 14 RK_FUNC_2 &pcfg_pull_up>,
1082 <3 15 RK_FUNC_2 &pcfg_pull_none>;
1085 uart3_cts: uart3-cts {
1087 <3 18 RK_FUNC_2 &pcfg_pull_none>;
1090 uart3_rts: uart3-rts {
1092 <3 19 RK_FUNC_2 &pcfg_pull_none>;
1097 uart4_xfer: uart4-xfer {
1099 <1 7 RK_FUNC_1 &pcfg_pull_up>,
1100 <1 8 RK_FUNC_1 &pcfg_pull_none>;
1105 uarthdcp_xfer: uarthdcp-xfer {
1107 <4 21 RK_FUNC_2 &pcfg_pull_up>,
1108 <4 22 RK_FUNC_2 &pcfg_pull_none>;
1113 pwm0_pin: pwm0-pin {
1115 <4 18 RK_FUNC_1 &pcfg_pull_none>;
1118 vop0_pwm_pin: vop0-pwm-pin {
1120 <4 18 RK_FUNC_2 &pcfg_pull_none>;
1125 pwm1_pin: pwm1-pin {
1127 <4 22 RK_FUNC_1 &pcfg_pull_none>;
1130 vop1_pwm_pin: vop1-pwm-pin {
1132 <4 18 RK_FUNC_3 &pcfg_pull_none>;