1 #include <dt-bindings/interrupt-controller/arm-gic.h>
3 #include "skeleton.dtsi"
4 #include "rk3036-clocks.dtsi"
5 #include "rk3036-pinctrl.dtsi"
6 #include <dt-bindings/suspend/rockchip-pm.h>
9 compatible = "rockchip,rk3036";
10 rockchip,sram = <&sram>;
11 interrupt-parent = <&gic>;
30 compatible = "arm,cortex-a7";
35 compatible = "arm,cortex-a7";
40 gic: interrupt-controller@10139000 {
41 compatible = "arm,cortex-a15-gic";
43 #interrupt-cells = <3>;
45 reg = <0x10139000 0x1000>,
50 compatible = "arm,cortex-a7-pmu";
51 interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>,
52 <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
55 cpu_axi_bus: cpu_axi_bus {
56 compatible = "rockchip,cpu_axi_bus";
67 reg = <0x1012a000 0x20>;
68 rockchip,priority = <3 2>;
71 reg = <0x1012c000 0x20>;
74 reg = <0x1012d000 0x20>;
77 reg = <0x1012e000 0x20>;
80 reg = <0x1012e080 0x20>;
83 reg = <0x1012f000 0x20>;
84 rockchip,priority = <3 3>;
94 reg = <0x10128000 0x40>;
95 rockchip,read-latency = <0x80>;
100 sram: sram@10080000 {
101 compatible = "mmio-sram";
102 reg = <0x10080000 0x2000>;
107 compatible = "arm,armv7-timer";
108 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
109 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
110 clock-frequency = <24000000>;
114 compatible = "rockchip,timer";
115 reg = <0x20044000 0x20>;
116 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
117 rockchip,broadcast = <1>;
120 watchdog: wdt@2004c000 {
121 compatible = "rockchip,watch dog";
122 reg = <0x2004c000 0x100>;
123 clocks = <&clk_gates7 15>;
124 clock-names = "pclk_wdt";
125 interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
127 rockchip,timeout = <60>;
128 rockchip,atboot = <1>;
129 rockchip,debug = <0>;
134 #address-cells = <1>;
136 compatible = "arm,amba-bus";
137 interrupt-parent = <&gic>;
140 pdma: pdma@20078000 {
141 compatible = "arm,pl330", "arm,primecell";
142 reg = <0x20078000 0x4000>;
143 clocks = <&clk_gates5 1>;
144 clock-names = "apb_pclk";
145 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
146 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
151 reset: reset@20000110{
152 compatible = "rockchip,reset";
153 reg = <0x20000110 0x24>;
154 rockchip,reset-flag = <ROCKCHIP_RESET_HIWORD_MASK>;
158 nandc: nandc@10500000 {
159 compatible = "rockchip,rk-nandc";
160 reg = <0x10500000 0x4000>;
161 interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
162 //pinctrl-names = "default";
163 //pinctrl-0 = <&nandc_ale &nandc_cle &nandc_wrn &nandc_rdn &nandc_rdy &nandc_cs0 &nandc_data>;
165 clocks = <&clk_nandc>, <&clk_gates5 9>, <&clk_gates10 4>;
166 clock-names = "clk_nandc", "g_clk_nandc", "hclk_nandc";
169 nandc0reg: nandc0@10500000 {
170 compatible = "rockchip,rk-nandc";
171 reg = <0x10500000 0x4000>;
175 compatible = "rockchip,rockchip-spi";
176 reg = <0x20074000 0x1000>;
177 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
178 #address-cells = <1>;
180 pinctrl-names = "default";
181 pinctrl-0 = <&spi0_txd &spi0_rxd &spi0_clk &spi0_cs0 &spi0_cs1>;
182 rockchip,spi-src-clk = <0>;
184 clocks =<&clk_spi0>, <&clk_gates2 9>;
185 clock-names = "spi","pclk_spi0";
186 dmas = <&pdma 8>, <&pdma 9>;
188 dma-names = "tx", "rx";
192 uart0: serial@20060000 {
193 compatible = "rockchip,serial";
194 reg = <0x20060000 0x100>;
195 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
196 clock-frequency = <24000000>;
197 clocks = <&clk_uart0>, <&clk_gates8 0>;
198 clock-names = "sclk_uart", "pclk_uart";
201 dmas = <&pdma 2>, <&pdma 3>;
203 pinctrl-names = "default";
204 pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
208 uart1: serial@20064000 {
209 compatible = "rockchip,serial";
210 reg = <0x20064000 0x100>;
211 interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
212 clock-frequency = <24000000>;
213 clocks = <&clk_uart1>, <&clk_gates8 1>;
214 clock-names = "sclk_uart", "pclk_uart";
217 dmas = <&pdma 4>, <&pdma 5>;
219 pinctrl-names = "default";
220 pinctrl-0 = <&uart1_xfer>;
224 uart2: serial@20068000 {
225 compatible = "rockchip,serial";
226 reg = <0x20068000 0x100>;
227 interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
228 clock-frequency = <24000000>;
229 clocks = <&clk_uart2>, <&clk_gates8 2>;
230 clock-names = "sclk_uart", "pclk_uart";
233 dmas = <&pdma 6>, <&pdma 7>;
235 pinctrl-names = "default";
236 pinctrl-0 = <&uart2_xfer>;
241 compatible = "rockchip,fiq-debugger";
242 rockchip,serial-id = <2>;
243 rockchip,signal-irq = <106>;
244 rockchip,wake-irq = <0>;
249 compatible = "rockchip,clocks-init";
250 rockchip,clocks-init-parent =
251 <&clk_core &clk_apll>, <&aclk_cpu_pre &clk_gpll>,
252 <&aclk_peri_pre &clk_gpll>, <&clk_uart_pll &clk_gpll>,
253 <&clk_i2s_pll &clk_gpll>, <&clk_spdif_pll &clk_gpll>,
254 <&aclk_vcodec_pre &clk_gpll>, <&clk_hevc_core &clk_gpll>,
255 <&aclk_vio_pre &clk_gpll>, <&clk_mac_pll &clk_apll>;
256 rockchip,clocks-init-rate =
257 <&clk_core 1200000000>, <&clk_gpll 1188000000>,
258 <&aclk_cpu_pre 150000000>, <&hclk_cpu_pre 75000000>,
259 <&pclk_cpu_pre 75000000>, <&aclk_peri_pre 150000000>,
260 <&hclk_peri_pre 75000000>, <&pclk_peri_pre 75000000>,
261 <&clk_gpu 400000000>, <&aclk_vio_pre 300000000>,
262 <&hclk_vio_pre 150000000>, <&aclk_vcodec_pre 300000000>,
263 <&clk_hevc_core 200000000>, <&clk_mac_pll_div 50000000>,
264 <&clk_mac_ref_div 25000000>;
265 /* rockchip,clocks-uboot-has-init =
270 compatible = "rockchip,clocks-enable";
273 <&clk_gates0 0>, <&clk_gates0 7>,
276 <&clk_gates0 3>, <&clk_gates0 4>,
280 <&clk_gates1 0>, <&clk_gates1 1>,
281 <&clk_gates2 4>, <&clk_gates2 5>,
284 <&clk_gates2 0>, <&hclk_peri_pre>,
285 <&pclk_peri_pre>, <&clk_gates2 1>,
288 <&clk_gates4 12>,/*aclk_intmem*/
289 <&clk_gates4 10>,/*aclk_strc_sys*/
292 <&clk_gates5 6>,/*hclk_rom*/
295 <&clk_gates5 4>,/*pclk_grf*/
296 <&clk_gates5 7>,/*pclk_ddrupctl*/
297 <&clk_gates5 14>,/*pclk_acodec*/
298 <&clk_gates3 8>,/*pclk_hdmi*/
301 <&clk_gates4 3>,/*aclk_peri_axi_matrix*/
302 //<&clk_gates5 1>,/*aclk_dmac2*/
303 <&clk_gates9 15>,/*aclk_peri_niu*/
304 <&clk_gates4 2>,/*aclk_cpu_peri*/
307 <&clk_gates4 0>,/*hclk_peri_matrix*/
308 <&clk_gates9 13>,/*hclk_usb_peri*/
309 <&clk_gates9 14>,/*hclk_peri_arbi*/
312 <&clk_gates4 1>,/*pclk_peri_axi_matrix*/
315 <&clk_gates6 12>,/*hclk_vio_bus*/
316 <&clk_gates9 5>,/*hclk_lcdc*/
319 <&clk_gates6 13>,/*aclk_vio*/
320 <&clk_gates9 6>,/*aclk_lcdc*/
325 <&clk_gates8 2>,/*pclk_uart2*/
330 <&clk_gates1 3>;/*clk_jtag*/
334 compatible = "rockchip,rk30-i2c";
335 reg = <0x20072000 0x1000>;
336 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
337 #address-cells = <1>;
339 pinctrl-names = "default", "gpio";
340 pinctrl-0 = <&i2c0_sda &i2c0_scl>;
341 pinctrl-1 = <&i2c0_gpio>;
342 gpios = <&gpio0 GPIO_A1 GPIO_ACTIVE_LOW>, <&gpio0 GPIO_A0 GPIO_ACTIVE_LOW>;
343 clocks = <&clk_gates8 4>;
344 rockchip,check-idle = <1>;
349 compatible = "rockchip,rk30-i2c";
350 reg = <0x20056000 0x1000>;
351 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
352 #address-cells = <1>;
354 pinctrl-names = "default", "gpio";
355 pinctrl-0 = <&i2c1_sda &i2c1_scl>;
356 pinctrl-1 = <&i2c1_gpio>;
357 gpios = <&gpio0 GPIO_A3 GPIO_ACTIVE_LOW>, <&gpio0 GPIO_A2 GPIO_ACTIVE_LOW>;
358 clocks = <&clk_gates8 5>;
359 rockchip,check-idle = <1>;
364 compatible = "rockchip,rk30-i2c";
365 reg = <0x2005a000 0x1000>;
366 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
367 #address-cells = <1>;
369 pinctrl-names = "default", "gpio";
370 pinctrl-0 = <&i2c2_sda &i2c2_scl>;
371 pinctrl-1 = <&i2c2_gpio>;
372 gpios = <&gpio2 GPIO_C4 GPIO_ACTIVE_LOW>, <&gpio2 GPIO_C5 GPIO_ACTIVE_LOW>;
373 clocks = <&clk_gates8 6>;
374 rockchip,check-idle = <1>;
379 compatible = "rockchip-i2s";
380 reg = <0x10220000 0x1000>;
382 clocks = <&clk_i2s>, <&clk_i2s_out>, <&clk_gates7 2>;
383 clock-names = "i2s_clk","i2s_mclk", "i2s_hclk";
384 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
385 dmas = <&pdma 0>, <&pdma 1>;
387 dma-names = "tx", "rx";
388 //pinctrl-names = "default", "sleep";
389 //pinctrl-0 = <&i2s_mclk &i2s_sclk &i2s_lrckrx &i2s_lrcktx &i2s_sdi &i2s_sdo0 &i2s_sdo1 &i2s_sdo2 &i2s_sdo3>;
390 //pinctrl-1 = <&i2s_gpio>;
393 codec: codec@20030000 {
394 compatible = "rk3036-codec";
395 reg = <0x20030000 0x1000>;
396 spk_ctl_io = <&gpio1 GPIO_A0 0>;
397 pinctrl-names = "default";
398 pinctrl-0 = <&i2s0_gpio>;
401 pa_enable_time = <1000>;
402 clocks = <&clk_gates5 14>;
403 clock-names = "g_pclk_acodec";
406 spdif: spdif@10204000 {
407 compatible = "rockchip-spdif";
408 reg = <0x10204000 0x1000>;
409 clocks = <&clk_spdif>;
410 clock-names = "spdif_mclk";
411 interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
415 pinctrl-names = "default";
416 pinctrl-0 = <&spdif_tx>;
420 compatible = "rockchip,rk-pwm";
421 reg = <0x20050000 0x10>;
423 pinctrl-names = "default";
424 pinctrl-0 = <&pwm0_pin>;
425 clocks = <&clk_gates7 10>;
426 clock-names = "pclk_pwm";
431 compatible = "rockchip,rk-pwm";
432 reg = <0x20050010 0x10>;
434 pinctrl-names = "default";
435 pinctrl-0 = <&pwm1_pin>;
436 clocks = <&clk_gates7 10>;
437 clock-names = "pclk_pwm";
442 compatible = "rockchip,rk-pwm";
443 reg = <0x20050020 0x10>;
445 pinctrl-names = "default";
446 pinctrl-0 = <&pwm2_pin>;
447 clocks = <&clk_gates7 10>;
448 clock-names = "pclk_pwm";
453 compatible = "rockchip,rk-pwm";
454 reg = <0x20050030 0x10>;
456 pinctrl-names = "default";
457 pinctrl-0 = <&pwm3_pin>;
458 clocks = <&clk_gates7 10>;
459 clock-names = "pclk_pwm";
463 remotectl: pwm@20050030 {
464 compatible = "rockchip,remotectl-pwm";
465 reg = <0x20050030 0x10>;
467 pinctrl-names = "default";
468 pinctrl-0 = <&pwm3_pin>;
469 clocks = <&clk_gates7 10>;
470 clock-names = "pclk_pwm";
472 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
476 emmc: rksdmmc@1021c000 {
477 compatible = "rockchip,rk_mmc", "rockchip,rk3036-sdmmc";
478 reg = <0x1021c000 0x4000>;
479 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
480 #address-cells = <1>;
482 //pinctrl-names = "default",,"suspend";
483 //pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_cd &sd0_wp &sd0_pwr &sd0_bus1 &sd0_bus4>;
484 clocks = <&clk_emmc>, <&clk_gates7 0>;
485 clock-names = "clk_mmc", "hclk_mmc";
487 dma-names = "dw_mci";
489 fifo-depth = <0x100>;
494 sdmmc: rksdmmc@10214000 {
495 compatible = "rockchip,rk_mmc", "rockchip,rk3036-sdmmc";
496 reg = <0x10214000 0x4000>;
497 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
498 #address-cells = <1>;
500 pinctrl-names = "default", "idle", "udbg";
501 pinctrl-0 = <&sdmmc0_clk &sdmmc0_cmd &sdmmc0_dectn &sdmmc0_bus4>;
502 pinctrl-1 = <&sdmmc0_gpio>;
503 pinctrl-2 = <&uart2_xfer &sdmmc0_dectn>;
504 cd-gpios = <&gpio1 GPIO_C1 GPIO_ACTIVE_HIGH>;/*CD GPIO*/
505 clocks = <&clk_sdmmc0>, <&clk_gates5 10>;
506 clock-names = "clk_mmc", "hclk_mmc";
508 dma-names = "dw_mci";
510 fifo-depth = <0x100>;
514 sdio: rksdmmc@10218000 {
515 compatible = "rockchip,rk_mmc", "rockchip,rk3036-sdmmc";
516 reg = <0x10218000 0x4000>;
517 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
518 #address-cells = <1>;
520 pinctrl-names = "default","idle";
521 pinctrl-0 = <&sdio0_clk &sdio0_cmd &sdio0_bus4>;
522 pinctrl-1 = <&sdio0_gpio>;
523 clocks = <&clk_sdio>, <&clk_gates5 11>;
524 clock-names = "clk_mmc", "hclk_mmc";
526 dma-names = "dw_mci";
528 fifo-depth = <0x100>;
532 compatible = "arm,mali400";
533 reg = <0x10091000 0x200>,
538 reg-names = "Mali_L2",
544 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
545 <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
546 <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>,
547 <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
548 interrupt-names = "Mali_GP_IRQ",
553 dwc_control_usb: dwc-control-usb@20008000 {
554 compatible = "rockchip,rk3036-dwc-control-usb";
555 reg = <0x20008000 0x4>;
556 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
557 interrupt-names = "otg_bvalid";
558 clocks = <&clk_gates9 13>;
559 clock-names = "hclk_usb_peri";
560 rockchip,remote_wakeup;
561 rockchip,usb_irq_wakeup;
562 resets = <&reset RK3036_RST_USBPOR>;
563 reset-names = "usbphy_por";
565 compatible = "rockchip,ctrl";
566 rk_usb,bvalid = <0x14c 8 1>;
567 rk_usb,iddig = <0x14c 11 1>;
568 rk_usb,line = <0x14c 9 2>;
569 rk_usb,softctrl = <0x17c 0 1>;
570 rk_usb,opmode = <0x17c 2 2>;
571 rk_usb,xcvrsel = <0x17c 4 2>;
572 rk_usb,termsel = <0x17c 6 1>;
576 compatible = "rockchip,rk3036_usb20_otg";
577 reg = <0x10180000 0x40000>;
578 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
579 clocks = <&clk_gates1 5>, <&clk_gates5 13>;
580 clock-names = "clk_usbphy0", "hclk_usb0";
581 resets = <&reset RK3036_RST_USBOTG0>, <&reset RK3036_RST_UTMI0>,
582 <&reset RK3036_RST_OTGC0>;
583 reset-names = "otg_ahb", "otg_phy", "otg_controller";
584 /*0 - Normal, 1 - Force Host, 2 - Force Device*/
585 rockchip,usb-mode = <0>;
589 compatible = "rockchip,rk3036_usb20_host";
590 reg = <0x101c0000 0x40000>;
591 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
592 clocks = <&clk_gates1 6>, <&clk_gates7 3>;
593 clock-names = "clk_usbphy1", "hclk_usb1";
594 resets = <&reset RK3036_RST_USBOTG1>, <&reset RK3036_RST_UTMI1>,
595 <&reset RK3036_RST_OTGC1>;
596 reset-names = "host_ahb", "host_phy", "host_controller";
600 compatible = "rockchip,rk-fb";
601 rockchip,disp-mode = <NO_DUAL>;
602 rockchip,disp-policy = <DISPLAY_POLICY_BOX>;
605 rk_screen: rk_screen{
606 compatible = "rockchip,screen";
609 lcdc: lcdc@10118000 {
610 compatible = "rockchip,rk3036-lcdc";
611 reg = <0x10118000 0x1000>;
612 interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
614 clocks = <&clk_gates9 6>, <&dclk_lcdc1>, <&clk_gates9 5>;
615 clock-names = "aclk_lcdc", "dclk_lcdc", "hclk_lcdc";
616 rockchip,iommu-enabled = <1>;
619 hdmi: hdmi@20034000 {
620 compatible = "rockchip,rk3036-hdmi";
621 reg = <0x20034000 0x4000>;
622 interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
623 rockchip,hdmi_lcdc_source = <0>;
624 pinctrl-names = "default", "gpio";
625 pinctrl-0 = <&hdmi_cec &hdmi_sda &hdmi_scl &hdmi_hpd>;
626 pinctrl-1 = <&hdmi_gpio>;
627 clocks = <&clk_gates3 8>;
628 clock-names = "pclk_hdmi";
633 compatible = "rockchip,rk3036-tve";
634 reg = <0x10118200 0x100>;
639 compatible = "rockchip,ion";
640 #address-cells = <1>;
643 ion_cma: rockchip,ion-heap@4 { /* CMA HEAP */
644 compatible = "rockchip,ion-heap";
645 rockchip,ion_heap = <4>;
646 reg = <0x00000000 0x00000000>; /* 0MB */
648 rockchip,ion-heap@0 { /* VMALLOC HEAP */
649 compatible = "rockchip,ion-heap";
650 rockchip,ion_heap = <0>;
654 /*vpu: vpu_service@10108000 {
655 compatible = "vpu_service";
657 reg = <0x10108000 0x800>;
658 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
659 interrupt-names = "irq_dec";
660 clocks = <&aclk_vcodec_pre>, <&clk_gates3 12>;
661 clock-names = "aclk_vcodec", "hclk_vcodec";
662 name = "vpu_service";
666 hevc: hevc_service@1010c000 {
667 compatible = "rockchip,hevc_service";
669 reg = <0x1010c000 0x400>;
670 interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
671 interrupt-names = "irq_dec";
672 clocks = <&aclk_vcodec_pre>, <&clk_gates3 12>, <&clk_hevc_core>;
673 clock-names = "aclk_vcodec", "hclk_vcodec", "clk_core";
674 name = "hevc_service";
678 compatible = "rockchip,vpu_sub";
680 reg = <0x10108400 0x400>;
681 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
682 interrupt-names = "irq_dec";
684 name = "vpu_service";
688 compatible = "rockchip,hevc_sub";
690 reg = <0x1010c000 0x400>;
691 interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
692 interrupt-names = "irq_dec";
694 name = "hevc_service";
697 vpu_combo: vpu_combo@ff9a0000 {
698 compatible = "rockchip,vpu_combo";
700 rockchip,sub = <&vpu>, <&hevc>;
701 clocks = <&aclk_vcodec_pre>, <&clk_gates3 12>, <&clk_hevc_core>;
702 clock-names = "aclk_vcodec", "hclk_vcodec", "clk_core";
711 compatible = "rockchip,vop_mmu";
712 reg = <0x10118300 0x100>;
713 interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
714 interrupt-names = "vop_mmu";
719 compatible = "rockchip,hevc_mmu";
720 reg = <0x1010c440 0x40>,
722 interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
723 interrupt-names = "hevc_mmu";
728 compatible = "rockchip,vpu_mmu";
729 reg = <0x10108800 0x100>;
730 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
731 interrupt-names = "vpu_mmu";
740 |RKPM_CTR_IDLESRAM_MD
746 //|RKPM_CTR_SYSCLK_DIV
747 //|RKPM_CTR_IDLEAUTO_MD
748 //|RKPM_CTR_ARMOFF_LPMD
749 //|RKPM_CTR_ARMOFF_LOGDP_LPMD
753 rockchip,pmic-suspend_gpios = <
754 RKPM_PINGPIO_BITS_OUTPUT(GPIO7_A1,RKPM_GPIO_OUT_H)
756 rockchip,pmic-resume_gpios = <
757 RKPM_PINGPIO_BITS_FUN(PWM1,RKPM_GPIO_PULL_DN)
763 compatible = "rockchip,vmac";
764 reg = <0x10200000 0x4000>;
765 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
766 interrupt-names = "macirq";
767 clocks = <&clk_mac_pll>, <&clk_mac_ref>,
768 <&clk_mac_pll_div>, <&clk_mac_ref_div>,
769 <&clk_gates2 6>, <&clk_gates3 5>;
770 clock-names = "clk_mac_pll", "clk_mac_ref",
771 "clk_mac_pll_div", "clk_mac_ref_div",
772 "clk_tx_rx_gate", "hclk_mac";
773 pinctrl-names = "default";
774 pinctrl-0 = <&mac_clk &mac_txpins &mac_rxpins &mac_crs &mac_mdpins>;