Lines Matching +full:rk3328 +full:- +full:grf +full:- +full:gpio
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 #include <dt-bindings/clock/rockchip,rv1126-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/rockchip,rv1126-power.h>
12 #include <dt-bindings/soc/rockchip,boot-mode.h>
15 #address-cells = <1>;
16 #size-cells = <1>;
20 interrupt-parent = <&gic>;
35 #address-cells = <1>;
36 #size-cells = <0>;
40 compatible = "arm,cortex-a7";
42 enable-method = "psci";
48 compatible = "arm,cortex-a7";
50 enable-method = "psci";
56 compatible = "arm,cortex-a7";
58 enable-method = "psci";
64 compatible = "arm,cortex-a7";
66 enable-method = "psci";
71 arm-pmu {
72 compatible = "arm,cortex-a7-pmu";
77 interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
81 compatible = "arm,psci-1.0";
86 compatible = "arm,armv7-timer";
91 clock-frequency = <24000000>;
95 compatible = "rockchip,display-subsystem";
100 compatible = "fixed-clock";
101 clock-frequency = <24000000>;
102 clock-output-names = "xin24m";
103 #clock-cells = <0>;
106 grf: syscon@fe000000 { label
107 compatible = "rockchip,rv1126-grf", "syscon", "simple-mfd";
112 compatible = "rockchip,rv1126-pmugrf", "syscon", "simple-mfd";
115 pmu_io_domains: io-domains {
116 compatible = "rockchip,rv1126-pmu-io-voltage-domain";
122 compatible = "rockchip,rv1126-qos", "syscon";
127 compatible = "rockchip,rv1126-qos", "syscon";
132 compatible = "rockchip,rv1126-qos", "syscon";
137 compatible = "rockchip,rv1126-qos", "syscon";
142 compatible = "rockchip,rv1126-qos", "syscon";
147 compatible = "rockchip,rv1126-qos", "syscon";
152 compatible = "rockchip,rv1126-qos", "syscon";
157 compatible = "rockchip,rv1126-qos", "syscon";
161 gic: interrupt-controller@feff0000 {
162 compatible = "arm,gic-400";
163 interrupt-controller;
164 #interrupt-cells = <3>;
165 #address-cells = <0>;
174 pmu: power-management@ff3e0000 {
175 compatible = "rockchip,rv1126-pmu", "syscon", "simple-mfd";
178 power: power-controller {
179 compatible = "rockchip,rv1126-power-controller";
180 #power-domain-cells = <1>;
181 #address-cells = <1>;
182 #size-cells = <0>;
184 power-domain@RV1126_PD_NVM {
196 #power-domain-cells = <0>;
199 power-domain@RV1126_PD_SDIO {
204 #power-domain-cells = <0>;
207 power-domain@RV1126_PD_VO {
223 #power-domain-cells = <0>;
229 compatible = "rockchip,rv1126-i2c", "rockchip,rk3399-i2c";
232 rockchip,grf = <&pmugrf>;
234 clock-names = "i2c", "pclk";
235 pinctrl-names = "default";
236 pinctrl-0 = <&i2c0_xfer>;
237 #address-cells = <1>;
238 #size-cells = <0>;
243 compatible = "rockchip,rv1126-i2c", "rockchip,rk3399-i2c";
246 rockchip,grf = <&pmugrf>;
248 clock-names = "i2c", "pclk";
249 pinctrl-names = "default";
250 pinctrl-0 = <&i2c2_xfer>;
251 #address-cells = <1>;
252 #size-cells = <0>;
257 compatible = "rockchip,rv1126-uart", "snps,dw-apb-uart";
260 clock-frequency = <24000000>;
262 clock-names = "baudclk", "apb_pclk";
264 dma-names = "tx", "rx";
265 pinctrl-names = "default";
266 pinctrl-0 = <&uart1m0_xfer>;
267 reg-shift = <2>;
268 reg-io-width = <4>;
273 compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm";
275 clock-names = "pwm", "pclk";
277 pinctrl-names = "default";
278 pinctrl-0 = <&pwm0m0_pins>;
279 #pwm-cells = <3>;
284 compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm";
286 clock-names = "pwm", "pclk";
288 pinctrl-names = "default";
289 pinctrl-0 = <&pwm1m0_pins>;
290 #pwm-cells = <3>;
295 compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm";
297 clock-names = "pwm", "pclk";
299 pinctrl-names = "default";
300 pinctrl-0 = <&pwm2m0_pins>;
301 #pwm-cells = <3>;
306 compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm";
308 clock-names = "pwm", "pclk";
310 pinctrl-names = "default";
311 pinctrl-0 = <&pwm3m0_pins>;
312 #pwm-cells = <3>;
317 compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm";
319 clock-names = "pwm", "pclk";
321 pinctrl-names = "default";
322 pinctrl-0 = <&pwm4m0_pins>;
323 #pwm-cells = <3>;
328 compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm";
330 clock-names = "pwm", "pclk";
332 pinctrl-names = "default";
333 pinctrl-0 = <&pwm5m0_pins>;
334 #pwm-cells = <3>;
339 compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm";
341 clock-names = "pwm", "pclk";
343 pinctrl-names = "default";
344 pinctrl-0 = <&pwm6m0_pins>;
345 #pwm-cells = <3>;
350 compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm";
352 clock-names = "pwm", "pclk";
354 pinctrl-names = "default";
355 pinctrl-0 = <&pwm7m0_pins>;
356 #pwm-cells = <3>;
360 pmucru: clock-controller@ff480000 {
361 compatible = "rockchip,rv1126-pmucru";
363 rockchip,grf = <&grf>;
364 #clock-cells = <1>;
365 #reset-cells = <1>;
368 cru: clock-controller@ff490000 {
369 compatible = "rockchip,rv1126-cru";
372 clock-names = "xin24m";
373 rockchip,grf = <&grf>;
374 #clock-cells = <1>;
375 #reset-cells = <1>;
378 dmac: dma-controller@ff4e0000 {
383 #dma-cells = <1>;
384 arm,pl330-periph-burst;
386 clock-names = "apb_pclk";
390 compatible = "rockchip,rv1126-i2c", "rockchip,rk3399-i2c";
394 clock-names = "i2c", "pclk";
395 pinctrl-names = "default";
396 pinctrl-0 = <&i2c3m0_xfer>;
397 rockchip,grf = <&pmugrf>;
398 #address-cells = <1>;
399 #size-cells = <0>;
404 compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm";
406 clock-names = "pwm", "pclk";
408 pinctrl-0 = <&pwm8m0_pins>;
409 pinctrl-names = "default";
410 #pwm-cells = <3>;
415 compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm";
417 clock-names = "pwm", "pclk";
419 pinctrl-0 = <&pwm9m0_pins>;
420 pinctrl-names = "default";
421 #pwm-cells = <3>;
426 compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm";
428 clock-names = "pwm", "pclk";
430 pinctrl-0 = <&pwm10m0_pins>;
431 pinctrl-names = "default";
432 #pwm-cells = <3>;
437 compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm";
439 clock-names = "pwm", "pclk";
441 pinctrl-0 = <&pwm11m0_pins>;
442 pinctrl-names = "default";
443 #pwm-cells = <3>;
448 compatible = "rockchip,rv1126-uart", "snps,dw-apb-uart";
451 clock-frequency = <24000000>;
453 clock-names = "baudclk", "apb_pclk";
455 dma-names = "tx", "rx";
456 pinctrl-names = "default";
457 pinctrl-0 = <&uart0_xfer>;
458 reg-shift = <2>;
459 reg-io-width = <4>;
464 compatible = "rockchip,rv1126-uart", "snps,dw-apb-uart";
467 clock-frequency = <24000000>;
469 clock-names = "baudclk", "apb_pclk";
471 dma-names = "tx", "rx";
472 pinctrl-names = "default";
473 pinctrl-0 = <&uart2m1_xfer>;
474 reg-shift = <2>;
475 reg-io-width = <4>;
480 compatible = "rockchip,rv1126-uart", "snps,dw-apb-uart";
483 clock-frequency = <24000000>;
485 clock-names = "baudclk", "apb_pclk";
487 dma-names = "tx", "rx";
488 pinctrl-names = "default";
489 pinctrl-0 = <&uart3m0_xfer>;
490 reg-shift = <2>;
491 reg-io-width = <4>;
496 compatible = "rockchip,rv1126-uart", "snps,dw-apb-uart";
499 clock-frequency = <24000000>;
501 clock-names = "baudclk", "apb_pclk";
503 dma-names = "tx", "rx";
504 pinctrl-names = "default";
505 pinctrl-0 = <&uart4m0_xfer>;
506 reg-shift = <2>;
507 reg-io-width = <4>;
512 compatible = "rockchip,rv1126-uart", "snps,dw-apb-uart";
515 clock-frequency = <24000000>;
517 clock-names = "baudclk", "apb_pclk";
519 dma-names = "tx", "rx";
520 pinctrl-names = "default";
521 pinctrl-0 = <&uart5m0_xfer>;
522 reg-shift = <2>;
523 reg-io-width = <4>;
528 compatible = "rockchip,rv1126-saradc", "rockchip,rk3399-saradc";
531 #io-channel-cells = <1>;
533 clock-names = "saradc", "apb_pclk";
535 reset-names = "saradc-apb";
540 compatible = "rockchip,rv1126-timer", "rockchip,rk3288-timer";
544 clock-names = "pclk", "timer";
548 compatible = "rockchip,rv1126-i2s-tdm";
552 clock-names = "mclk_tx", "mclk_rx", "hclk";
554 dma-names = "tx", "rx";
555 pinctrl-names = "default";
556 pinctrl-0 = <&i2s0m0_sclk_tx>,
567 reset-names = "tx-m", "rx-m";
568 rockchip,grf = <&grf>;
569 #sound-dai-cells = <0>;
574 compatible = "rockchip,rv1126-vop";
577 clock-names = "aclk_vop", "dclk_vop", "hclk_vop";
579 reset-names = "axi", "ahb", "dclk";
582 power-domains = <&power RV1126_PD_VO>;
586 #address-cells = <1>;
587 #size-cells = <0>;
603 clock-names = "aclk", "iface";
605 #iommu-cells = <0>;
606 power-domains = <&power RV1126_PD_VO>;
611 compatible = "rockchip,rv1126-gmac", "snps,dwmac-4.20a";
615 interrupt-names = "macirq", "eth_wake_irq";
616 rockchip,grf = <&grf>;
621 clock-names = "stmmaceth", "mac_clk_rx",
626 reset-names = "stmmaceth";
628 snps,mixed-burst;
631 snps,axi-config = <&stmmac_axi_setup>;
632 snps,mtl-rx-config = <&mtl_rx_setup>;
633 snps,mtl-tx-config = <&mtl_tx_setup>;
637 compatible = "snps,dwmac-mdio";
638 #address-cells = <0x1>;
639 #size-cells = <0x0>;
642 stmmac_axi_setup: stmmac-axi-config {
648 mtl_rx_setup: rx-queues-config {
649 snps,rx-queues-to-use = <1>;
653 mtl_tx_setup: tx-queues-config {
654 snps,tx-queues-to-use = <1>;
660 compatible = "rockchip,rv1126-dw-mshc", "rockchip,rk3288-dw-mshc";
665 clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
666 fifo-depth = <0x100>;
667 max-frequency = <200000000>;
668 power-domains = <&power RV1126_PD_NVM>;
673 compatible = "rockchip,rv1126-dw-mshc", "rockchip,rk3288-dw-mshc";
678 clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
679 fifo-depth = <0x100>;
680 max-frequency = <200000000>;
685 compatible = "rockchip,rv1126-dw-mshc", "rockchip,rk3288-dw-mshc";
690 clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
691 fifo-depth = <0x100>;
692 max-frequency = <200000000>;
693 power-domains = <&power RV1126_PD_SDIO>;
701 assigned-clocks = <&cru SCLK_SFC>;
702 assigned-clock-rates = <80000000>;
703 clock-names = "clk_sfc", "hclk_sfc";
705 power-domains = <&power RV1126_PD_NVM>;
710 compatible = "rockchip,rv1126-pinctrl";
711 rockchip,grf = <&grf>;
713 #address-cells = <1>;
714 #size-cells = <1>;
717 gpio0: gpio@ff460000 {
718 compatible = "rockchip,gpio-bank";
722 gpio-controller;
723 #gpio-cells = <2>;
724 interrupt-controller;
725 #interrupt-cells = <2>;
728 gpio1: gpio@ff620000 {
729 compatible = "rockchip,gpio-bank";
733 gpio-controller;
734 #gpio-cells = <2>;
735 interrupt-controller;
736 #interrupt-cells = <2>;
739 gpio2: gpio@ff630000 {
740 compatible = "rockchip,gpio-bank";
744 gpio-controller;
745 #gpio-cells = <2>;
746 interrupt-controller;
747 #interrupt-cells = <2>;
750 gpio3: gpio@ff640000 {
751 compatible = "rockchip,gpio-bank";
755 gpio-controller;
756 #gpio-cells = <2>;
757 interrupt-controller;
758 #interrupt-cells = <2>;
761 gpio4: gpio@ff650000 {
762 compatible = "rockchip,gpio-bank";
766 gpio-controller;
767 #gpio-cells = <2>;
768 interrupt-controller;
769 #interrupt-cells = <2>;
774 #include "rv1126-pinctrl.dtsi"