Lines Matching +full:rk3288 +full:- +full:cru
1 // SPDX-License-Identifier: GPL-2.0+
6 #include <dt-bindings/clock/rk3128-cru.h>
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/interrupt-controller/arm-gic.h>
9 #include <dt-bindings/interrupt-controller/irq.h>
10 #include <dt-bindings/pinctrl/rockchip.h>
11 #include <dt-bindings/power/rk3128-power.h>
15 interrupt-parent = <&gic>;
16 #address-cells = <1>;
17 #size-cells = <1>;
33 arm-pmu {
34 compatible = "arm,cortex-a7-pmu";
39 interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
43 #address-cells = <1>;
44 #size-cells = <0>;
45 enable-method = "rockchip,rk3036-smp";
49 compatible = "arm,cortex-a7";
51 clock-latency = <40000>;
52 clocks = <&cru ARMCLK>;
53 resets = <&cru SRST_CORE0>;
54 operating-points-v2 = <&cpu_opp_table>;
55 #cooling-cells = <2>; /* min followed by max */
60 compatible = "arm,cortex-a7";
62 resets = <&cru SRST_CORE1>;
63 operating-points-v2 = <&cpu_opp_table>;
68 compatible = "arm,cortex-a7";
70 resets = <&cru SRST_CORE2>;
71 operating-points-v2 = <&cpu_opp_table>;
76 compatible = "arm,cortex-a7";
78 resets = <&cru SRST_CORE3>;
79 operating-points-v2 = <&cpu_opp_table>;
83 cpu_opp_table: opp-table-0 {
84 compatible = "operating-points-v2";
85 opp-shared;
87 opp-216000000 {
88 opp-hz = /bits/ 64 <216000000>;
89 opp-microvolt = <950000 950000 1325000>;
91 opp-408000000 {
92 opp-hz = /bits/ 64 <408000000>;
93 opp-microvolt = <950000 950000 1325000>;
95 opp-600000000 {
96 opp-hz = /bits/ 64 <600000000>;
97 opp-microvolt = <950000 950000 1325000>;
99 opp-696000000 {
100 opp-hz = /bits/ 64 <696000000>;
101 opp-microvolt = <975000 975000 1325000>;
103 opp-816000000 {
104 opp-hz = /bits/ 64 <816000000>;
105 opp-microvolt = <1075000 1075000 1325000>;
106 opp-suspend;
108 opp-1008000000 {
109 opp-hz = /bits/ 64 <1008000000>;
110 opp-microvolt = <1200000 1200000 1325000>;
112 opp-1200000000 {
113 opp-hz = /bits/ 64 <1200000000>;
114 opp-microvolt = <1325000 1325000 1325000>;
118 gpu_opp_table: opp-table-1 {
119 compatible = "operating-points-v2";
121 opp-200000000 {
122 opp-hz = /bits/ 64 <200000000>;
123 opp-microvolt = <975000 975000 1250000>;
125 opp-300000000 {
126 opp-hz = /bits/ 64 <300000000>;
127 opp-microvolt = <1050000 1050000 1250000>;
129 opp-400000000 {
130 opp-hz = /bits/ 64 <400000000>;
131 opp-microvolt = <1150000 1150000 1250000>;
133 opp-480000000 {
134 opp-hz = /bits/ 64 <480000000>;
135 opp-microvolt = <1250000 1250000 1250000>;
140 compatible = "arm,armv7-timer";
145 arm,cpu-registers-not-fw-configured;
146 clock-frequency = <24000000>;
150 compatible = "fixed-clock";
151 clock-frequency = <24000000>;
152 clock-output-names = "xin24m";
153 #clock-cells = <0>;
157 compatible = "mmio-sram";
159 #address-cells = <1>;
160 #size-cells = <1>;
163 smp-sram@0 {
164 compatible = "rockchip,rk3066-smp-sram";
170 compatible = "rockchip,rk3128-mali", "arm,mali-400";
178 interrupt-names = "gp",
184 clocks = <&cru ACLK_GPU>, <&cru ACLK_GPU>;
185 clock-names = "bus", "core";
186 operating-points-v2 = <&gpu_opp_table>;
187 resets = <&cru SRST_GPU>;
188 power-domains = <&power RK3128_PD_GPU>;
193 compatible = "rockchip,rk3128-pmu", "syscon", "simple-mfd";
196 power: power-controller {
197 compatible = "rockchip,rk3128-power-controller";
198 #power-domain-cells = <1>;
199 #address-cells = <1>;
200 #size-cells = <0>;
202 power-domain@RK3128_PD_VIO {
204 clocks = <&cru ACLK_CIF>,
205 <&cru HCLK_CIF>,
206 <&cru DCLK_EBC>,
207 <&cru HCLK_EBC>,
208 <&cru ACLK_IEP>,
209 <&cru HCLK_IEP>,
210 <&cru ACLK_LCDC0>,
211 <&cru HCLK_LCDC0>,
212 <&cru PCLK_MIPI>,
213 <&cru ACLK_RGA>,
214 <&cru HCLK_RGA>,
215 <&cru ACLK_VIO0>,
216 <&cru ACLK_VIO1>,
217 <&cru HCLK_VIO>,
218 <&cru HCLK_VIO_H2P>,
219 <&cru DCLK_VOP>,
220 <&cru SCLK_VOP>;
226 #power-domain-cells = <0>;
229 power-domain@RK3128_PD_VIDEO {
231 clocks = <&cru ACLK_VDPU>,
232 <&cru HCLK_VDPU>,
233 <&cru ACLK_VEPU>,
234 <&cru HCLK_VEPU>,
235 <&cru SCLK_HEVC_CORE>;
237 #power-domain-cells = <0>;
240 power-domain@RK3128_PD_GPU {
242 clocks = <&cru ACLK_GPU>;
244 #power-domain-cells = <0>;
250 compatible = "rockchip,rk3128-qos", "syscon";
255 compatible = "rockchip,rk3128-qos", "syscon";
260 compatible = "rockchip,rk3128-qos", "syscon";
265 compatible = "rockchip,rk3128-qos", "syscon";
270 compatible = "rockchip,rk3128-qos", "syscon";
275 compatible = "rockchip,rk3128-qos", "syscon";
280 compatible = "rockchip,rk3128-qos", "syscon";
284 gic: interrupt-controller@10139000 {
285 compatible = "arm,cortex-a7-gic";
291 interrupt-controller;
292 #interrupt-cells = <3>;
293 #address-cells = <0>;
297 compatible = "rockchip,rk3128-usb", "rockchip,rk3066-usb", "snps,dwc2";
300 clocks = <&cru HCLK_OTG>;
301 clock-names = "otg";
303 g-np-tx-fifo-size = <16>;
304 g-rx-fifo-size = <280>;
305 g-tx-fifo-size = <256 128 128 64 32 16>;
307 phy-names = "usb2-phy";
312 compatible = "generic-ehci";
315 clocks = <&cru HCLK_HOST2>;
317 phy-names = "usb";
322 compatible = "generic-ohci";
325 clocks = <&cru HCLK_HOST2>;
327 phy-names = "usb";
332 compatible = "rockchip,rk3128-dw-mshc", "rockchip,rk3288-dw-mshc";
335 clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>,
336 <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>;
337 clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
339 dma-names = "rx-tx";
340 fifo-depth = <256>;
341 max-frequency = <150000000>;
342 resets = <&cru SRST_SDMMC>;
343 reset-names = "reset";
348 compatible = "rockchip,rk3128-dw-mshc", "rockchip,rk3288-dw-mshc";
351 clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>,
352 <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>;
353 clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
355 dma-names = "rx-tx";
356 fifo-depth = <256>;
357 max-frequency = <150000000>;
358 resets = <&cru SRST_SDIO>;
359 reset-names = "reset";
364 compatible = "rockchip,rk3128-dw-mshc", "rockchip,rk3288-dw-mshc";
367 clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>,
368 <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>;
369 clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
371 dma-names = "rx-tx";
372 fifo-depth = <256>;
373 max-frequency = <150000000>;
374 resets = <&cru SRST_EMMC>;
375 reset-names = "reset";
379 nfc: nand-controller@10500000 {
380 compatible = "rockchip,rk3128-nfc", "rockchip,rk2928-nfc";
383 clocks = <&cru HCLK_NANDC>, <&cru SCLK_NANDC>;
384 clock-names = "ahb", "nfc";
385 pinctrl-names = "default";
386 pinctrl-0 = <&flash_ale &flash_bus8 &flash_cle &flash_cs0
391 cru: clock-controller@20000000 {
392 compatible = "rockchip,rk3128-cru";
395 clock-names = "xin24m";
397 #clock-cells = <1>;
398 #reset-cells = <1>;
399 assigned-clocks = <&cru PLL_GPLL>;
400 assigned-clock-rates = <594000000>;
404 compatible = "rockchip,rk3128-grf", "syscon", "simple-mfd";
406 #address-cells = <1>;
407 #size-cells = <1>;
410 compatible = "rockchip,rk3128-usb2phy";
412 clocks = <&cru SCLK_OTGPHY0>;
413 clock-names = "phyclk";
414 clock-output-names = "usb480m_phy";
415 assigned-clocks = <&cru SCLK_USB480M>;
416 assigned-clock-parents = <&usb2phy>;
417 #clock-cells = <0>;
420 usb2phy_host: host-port {
422 interrupt-names = "linestate";
423 #phy-cells = <0>;
427 usb2phy_otg: otg-port {
431 interrupt-names = "otg-bvalid", "otg-id",
433 #phy-cells = <0>;
440 compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer";
443 clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER0>;
444 clock-names = "pclk", "timer";
448 compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer";
451 clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER1>;
452 clock-names = "pclk", "timer";
456 compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer";
459 clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER2>;
460 clock-names = "pclk", "timer";
464 compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer";
467 clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER3>;
468 clock-names = "pclk", "timer";
472 compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer";
475 clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER4>;
476 clock-names = "pclk", "timer";
480 compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer";
483 clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER5>;
484 clock-names = "pclk", "timer";
488 compatible = "rockchip,rk3128-wdt", "snps,dw-wdt";
491 clocks = <&cru PCLK_WDT>;
496 compatible = "rockchip,rk3128-pwm", "rockchip,rk3288-pwm";
498 clocks = <&cru PCLK_PWM>;
499 pinctrl-names = "default";
500 pinctrl-0 = <&pwm0_pin>;
501 #pwm-cells = <3>;
506 compatible = "rockchip,rk3128-pwm", "rockchip,rk3288-pwm";
508 clocks = <&cru PCLK_PWM>;
509 pinctrl-names = "default";
510 pinctrl-0 = <&pwm1_pin>;
511 #pwm-cells = <3>;
516 compatible = "rockchip,rk3128-pwm", "rockchip,rk3288-pwm";
518 clocks = <&cru PCLK_PWM>;
519 pinctrl-names = "default";
520 pinctrl-0 = <&pwm2_pin>;
521 #pwm-cells = <3>;
526 compatible = "rockchip,rk3128-pwm", "rockchip,rk3288-pwm";
528 clocks = <&cru PCLK_PWM>;
529 pinctrl-names = "default";
530 pinctrl-0 = <&pwm3_pin>;
531 #pwm-cells = <3>;
536 compatible = "rockchip,rk3128-i2c", "rockchip,rk3288-i2c";
539 clock-names = "i2c";
540 clocks = <&cru PCLK_I2C1>;
541 pinctrl-names = "default";
542 pinctrl-0 = <&i2c1_xfer>;
543 #address-cells = <1>;
544 #size-cells = <0>;
549 compatible = "rockchip,rk3128-i2c", "rockchip,rk3288-i2c";
552 clock-names = "i2c";
553 clocks = <&cru PCLK_I2C2>;
554 pinctrl-names = "default";
555 pinctrl-0 = <&i2c2_xfer>;
556 #address-cells = <1>;
557 #size-cells = <0>;
562 compatible = "rockchip,rk3128-i2c", "rockchip,rk3288-i2c";
565 clock-names = "i2c";
566 clocks = <&cru PCLK_I2C3>;
567 pinctrl-names = "default";
568 pinctrl-0 = <&i2c3_xfer>;
569 #address-cells = <1>;
570 #size-cells = <0>;
575 compatible = "rockchip,rk3128-uart", "snps,dw-apb-uart";
578 clock-frequency = <24000000>;
579 clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>;
580 clock-names = "baudclk", "apb_pclk";
582 dma-names = "tx", "rx";
583 pinctrl-names = "default";
584 pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
585 reg-io-width = <4>;
586 reg-shift = <2>;
591 compatible = "rockchip,rk3128-uart", "snps,dw-apb-uart";
594 clock-frequency = <24000000>;
595 clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>;
596 clock-names = "baudclk", "apb_pclk";
598 dma-names = "tx", "rx";
599 pinctrl-names = "default";
600 pinctrl-0 = <&uart1_xfer>;
601 reg-io-width = <4>;
602 reg-shift = <2>;
607 compatible = "rockchip,rk3128-uart", "snps,dw-apb-uart";
610 clock-frequency = <24000000>;
611 clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>;
612 clock-names = "baudclk", "apb_pclk";
614 dma-names = "tx", "rx";
615 pinctrl-names = "default";
616 pinctrl-0 = <&uart2_xfer>;
617 reg-io-width = <4>;
618 reg-shift = <2>;
626 clocks = <&cru SCLK_SARADC>, <&cru PCLK_SARADC>;
627 clock-names = "saradc", "apb_pclk";
628 resets = <&cru SRST_SARADC>;
629 reset-names = "saradc-apb";
630 #io-channel-cells = <1>;
635 compatible = "rockchip,rk3128-i2c", "rockchip,rk3288-i2c";
638 clock-names = "i2c";
639 clocks = <&cru PCLK_I2C0>;
640 pinctrl-names = "default";
641 pinctrl-0 = <&i2c0_xfer>;
642 #address-cells = <1>;
643 #size-cells = <0>;
648 compatible = "rockchip,rk3128-spi", "rockchip,rk3066-spi";
651 clocks = <&cru SCLK_SPI0>, <&cru PCLK_SPI0>;
652 clock-names = "spiclk", "apb_pclk";
654 dma-names = "tx", "rx";
655 pinctrl-names = "default";
656 pinctrl-0 = <&spi0_tx &spi0_rx &spi0_clk &spi0_cs0 &spi0_cs1>;
657 #address-cells = <1>;
658 #size-cells = <0>;
662 pdma: dma-controller@20078000 {
667 arm,pl330-broken-no-flushp;
668 arm,pl330-periph-burst;
669 clocks = <&cru ACLK_DMAC>;
670 clock-names = "apb_pclk";
671 #dma-cells = <1>;
675 compatible = "rockchip,rk3128-gmac";
679 interrupt-names = "macirq", "eth_wake_irq";
680 clocks = <&cru SCLK_MAC>,
681 <&cru SCLK_MAC_RX>, <&cru SCLK_MAC_TX>,
682 <&cru SCLK_MAC_REF>, <&cru SCLK_MAC_REFOUT>,
683 <&cru ACLK_GMAC>, <&cru PCLK_GMAC>;
684 clock-names = "stmmaceth",
688 resets = <&cru SRST_GMAC>;
689 reset-names = "stmmaceth";
691 rx-fifo-depth = <4096>;
692 tx-fifo-depth = <2048>;
696 compatible = "snps,dwmac-mdio";
697 #address-cells = <0x1>;
698 #size-cells = <0x0>;
703 compatible = "rockchip,rk3128-pinctrl";
705 #address-cells = <1>;
706 #size-cells = <1>;
710 compatible = "rockchip,gpio-bank";
713 clocks = <&cru PCLK_GPIO0>;
714 gpio-controller;
715 #gpio-cells = <2>;
716 interrupt-controller;
717 #interrupt-cells = <2>;
721 compatible = "rockchip,gpio-bank";
724 clocks = <&cru PCLK_GPIO1>;
725 gpio-controller;
726 #gpio-cells = <2>;
727 interrupt-controller;
728 #interrupt-cells = <2>;
732 compatible = "rockchip,gpio-bank";
735 clocks = <&cru PCLK_GPIO2>;
736 gpio-controller;
737 #gpio-cells = <2>;
738 interrupt-controller;
739 #interrupt-cells = <2>;
743 compatible = "rockchip,gpio-bank";
746 clocks = <&cru PCLK_GPIO3>;
747 gpio-controller;
748 #gpio-cells = <2>;
749 interrupt-controller;
750 #interrupt-cells = <2>;
753 pcfg_pull_default: pcfg-pull-default {
754 bias-pull-pin-default;
757 pcfg_pull_none: pcfg-pull-none {
758 bias-disable;
762 emmc_clk: emmc-clk {
766 emmc_cmd: emmc-cmd {
770 emmc_cmd1: emmc-cmd1 {
774 emmc_pwr: emmc-pwr {
778 emmc_bus1: emmc-bus1 {
782 emmc_bus4: emmc-bus4 {
789 emmc_bus8: emmc-bus8 {
802 rgmii_pins: rgmii-pins {
820 rmii_pins: rmii-pins {
835 hdmii2c_xfer: hdmii2c-xfer {
840 hdmi_hpd: hdmi-hpd {
844 hdmi_cec: hdmi-cec {
850 i2c0_xfer: i2c0-xfer {
857 i2c1_xfer: i2c1-xfer {
864 i2c2_xfer: i2c2-xfer {
871 i2c3_xfer: i2c3-xfer {
878 i2s_bus: i2s-bus {
887 i2s1_bus: i2s1-bus {
898 lcdc_dclk: lcdc-dclk {
902 lcdc_den: lcdc-den {
906 lcdc_hsync: lcdc-hsync {
910 lcdc_vsync: lcdc-vsync {
914 lcdc_rgb24: lcdc-rgb24 {
933 flash_ale: flash-ale {
937 flash_cle: flash-cle {
941 flash_wrn: flash-wrn {
945 flash_rdn: flash-rdn {
949 flash_rdy: flash-rdy {
953 flash_cs0: flash-cs0 {
957 flash_dqs: flash-dqs {
961 flash_bus8: flash-bus8 {
974 pwm0_pin: pwm0-pin {
980 pwm1_pin: pwm1-pin {
986 pwm2_pin: pwm2-pin {
992 pwm3_pin: pwm3-pin {
998 sdio_clk: sdio-clk {
1002 sdio_cmd: sdio-cmd {
1006 sdio_pwren: sdio-pwren {
1010 sdio_bus4: sdio-bus4 {
1019 sdmmc_clk: sdmmc-clk {
1023 sdmmc_cmd: sdmmc-cmd {
1027 sdmmc_det: sdmmc-det {
1031 sdmmc_wp: sdmmc-wp {
1035 sdmmc_pwren: sdmmc-pwren {
1039 sdmmc_bus4: sdmmc-bus4 {
1048 spdif_tx: spdif-tx {
1054 spi0_clk: spi0-clk {
1058 spi0_cs0: spi0-cs0 {
1062 spi0_tx: spi0-tx {
1066 spi0_rx: spi0-rx {
1070 spi0_cs1: spi0-cs1 {
1074 spi1_clk: spi1-clk {
1078 spi1_cs0: spi1-cs0 {
1082 spi1_tx: spi1-tx {
1086 spi1_rx: spi1-rx {
1090 spi1_cs1: spi1-cs1 {
1094 spi2_clk: spi2-clk {
1098 spi2_cs0: spi2-cs0 {
1102 spi2_tx: spi2-tx {
1106 spi2_rx: spi2-rx {
1112 uart0_xfer: uart0-xfer {
1117 uart0_cts: uart0-cts {
1121 uart0_rts: uart0-rts {
1127 uart1_xfer: uart1-xfer {
1132 uart1_cts: uart1-cts {
1136 uart1_rts: uart1-rts {
1142 uart2_xfer: uart2-xfer {
1147 uart2_cts: uart2-cts {
1151 uart2_rts: uart2-rts {