rk3036: add pwm-pinctrl
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / rk3036.dtsi
1 #include <dt-bindings/interrupt-controller/arm-gic.h>
2
3 #include "skeleton.dtsi"
4 #include "rk3036-clocks.dtsi"
5 #include "rk3036-pinctrl.dtsi"
6
7 / {
8         compatible = "rockchip,rk3036";
9         rockchip,sram = <&sram>;
10         interrupt-parent = <&gic>;
11
12         aliases {
13                 serial0 = &uart0;
14                 serial1 = &uart1;
15                 serial2 = &uart2;
16                 i2c0 = &i2c0;
17                 i2c1 = &i2c1;
18                 i2c2 = &i2c2;
19                 spi0 = &spi0;
20         };
21
22         cpus {
23                 #address-cells = <1>;
24                 #size-cells = <0>;
25
26                 cpu@0 {
27                         device_type = "cpu";
28                         compatible = "arm,cortex-a7";
29                         reg = <0xf00>;
30                 };
31                 cpu@1 {
32                         device_type = "cpu";
33                         compatible = "arm,cortex-a7";
34                         reg = <0xf01>;
35                 };
36         };
37
38         gic: interrupt-controller@10139000 {
39                 compatible = "arm,cortex-a15-gic";
40                 interrupt-controller;
41                 #interrupt-cells = <3>;
42                 #address-cells = <0>;
43                 reg = <0x10139000 0x1000>,
44                       <0x1013a000 0x1000>;
45         };
46
47         arm-pmu {
48                 compatible = "arm,cortex-a7-pmu";
49                 interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>,
50                              <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
51         };
52
53         sram: sram@10080000 {
54                 compatible = "mmio-sram";
55                 reg = <0x10080000 0x2000>;
56                 map-exec;
57         };
58
59         timer {
60                 compatible = "arm,armv7-timer";
61                 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
62                              <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
63                 clock-frequency = <24000000>;
64         };
65
66         watchdog: wdt@2004c000 {
67                 compatible = "rockchip,watch dog";
68                 reg = <0x2004c000 0x100>;
69                 clocks = <&clk_gates7 15>;
70                 clock-names = "pclk_wdt";
71                 interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
72                 rockchip,irq = <1>;
73                 rockchip,timeout = <60>;
74                 rockchip,atboot = <1>;
75                 rockchip,debug = <0>;
76                 status = "disabled";
77         };
78
79         amba {
80                 #address-cells = <1>;
81                 #size-cells = <1>;
82                 compatible = "arm,amba-bus";
83                 interrupt-parent = <&gic>;
84                 ranges;
85
86                 pdma: pdma@20078000 {
87                         compatible = "arm,pl330", "arm,primecell";
88                         reg = <0x20078000 0x4000>;
89                         interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
90                                      <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
91                         #dma-cells = <1>;
92                 };
93         };
94
95         reset: reset@20000110{
96                 compatible = "rockchip,reset";
97                 reg = <0x20000110 0x24>;
98                 rockchip,reset-flag = <ROCKCHIP_RESET_HIWORD_MASK>;
99                 #reset-cells = <1>;
100         };
101
102         nandc: nandc@10500000 {
103                 compatible = "rockchip,rk-nandc";
104                 reg = <0x10500000 0x4000>;
105                 interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
106                 nandc_id = <0>;
107                 clocks = <&clk_nandc>, <&clk_gates5 9>;
108                 clock-names = "clk_nandc", "hclk_nandc";
109         };
110
111         spi0: spi@20074000 {
112                 compatible = "rockchip,rockchip-spi";
113                 reg = <0x20074000 0x1000>;
114                 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
115                 #address-cells = <1>;
116                 #size-cells = <0>;
117                 pinctrl-names = "default";
118                 pinctrl-0 = <&spi0_txd &spi0_rxd &spi0_clk &spi0_cs0 &spi0_cs1>;
119                 rockchip,spi-src-clk = <0>;
120                 num-cs = <2>;
121                 clocks =<&clk_spi0>, <&clk_gates7 12>;
122                 clock-names = "spi","pclk_spi0";
123                 //dmas = <&pdma 8>, <&pdma 9>;
124                 //#dma-cells = <2>;
125                 //dma-names = "tx", "rx";
126                 status = "disabled";
127         };
128
129         uart0: serial@20060000 {
130                 compatible = "rockchip,serial";
131                 reg = <0x20060000 0x100>;
132                 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
133                 clock-frequency = <24000000>;
134                 clocks = <&clk_uart0>, <&clk_gates8 0>;
135                 clock-names = "sclk_uart", "pclk_uart";
136                 reg-shift = <2>;
137                 reg-io-width = <4>;
138                 dmas = <&pdma 2>, <&pdma 3>;
139                 #dma-cells = <2>;
140                 pinctrl-names = "default";
141                 pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
142                 status = "disabled";
143         };
144
145         uart1: serial@20064000 {
146                 compatible = "rockchip,serial";
147                 reg = <0x20064000 0x100>;
148                 interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
149                 clock-frequency = <24000000>;
150                 clocks = <&clk_uart1>, <&clk_gates8 1>;
151                 clock-names = "sclk_uart", "pclk_uart";
152                 reg-shift = <2>;
153                 reg-io-width = <4>;
154                 dmas = <&pdma 4>, <&pdma 5>;
155                 #dma-cells = <2>;
156                 pinctrl-names = "default";
157                 pinctrl-0 = <&uart1_xfer>;
158                 status = "disabled";
159         };
160
161         uart2: serial@20068000 {
162                 compatible = "rockchip,serial";
163                 reg = <0x20068000 0x100>;
164                 interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
165                 clock-frequency = <24000000>;
166                 clocks = <&clk_uart2>, <&clk_gates8 2>;
167                 clock-names = "sclk_uart", "pclk_uart";
168                 reg-shift = <2>;
169                 reg-io-width = <4>;
170                 dmas = <&pdma 6>, <&pdma 7>;
171                 #dma-cells = <2>;
172                 pinctrl-names = "default";
173                 pinctrl-0 = <&uart2_xfer>;
174                 status = "disabled";
175         };
176
177         fiq-debugger {
178                 compatible = "rockchip,fiq-debugger";
179                 rockchip,serial-id = <2>;
180                 rockchip,signal-irq = <106>;
181                 rockchip,wake-irq = <0>;
182                 status = "disabled";
183         };
184
185         clocks-init{
186                 compatible = "rockchip,clocks-init";
187                 rockchip,clocks-init-parent =
188                         <&clk_core_pre &clk_apll>, <&aclk_cpu_pre &clk_gpll>,
189                         <&aclk_peri_pre &clk_gpll>, <&clk_uart_pll &clk_gpll>,  
190                         <&clk_i2s_pll &clk_gpll>, <&clk_spdif_pll &clk_gpll>;
191                 rockchip,clocks-init-rate =
192                         <&clk_core_pre 1464000000>, <&clk_gpll 297000000>,
193                         <&aclk_cpu_pre 300000000>, <&hclk_cpu_pre 150000000>,   
194                         <&pclk_cpu_pre 75000000>,        <&aclk_peri_pre 300000000>,
195                         <&hclk_peri_pre 150000000>, <&pclk_peri_pre 75000000>,
196                         <&clk_gpu_pre 200000000>,        <&aclk_vio_pre 300000000>,
197                         <&hclk_vio_pre 150000000>,       <&aclk_vcodec_pre 400000000>,
198                         <&clk_hevc_core 300000000>,  <&clk_mac_ref_div 125000000>;
199         /*      rockchip,clocks-uboot-has-init =
200                         <&aclk_vio1>;*/
201         };
202
203         clocks-enable {
204                 compatible = "rockchip,clocks-enable";
205                 clocks =
206                                 /*PD_CORE*/
207                                 <&clk_gates0 0>, <&clk_gates0 7>,
208
209                                 /*PD_CPU*/
210                                 <&clk_gates0 3>, <&clk_gates0 4>,
211                                 <&clk_gates0 5>,
212
213                                 /*TIMER*/
214                                 <&clk_gates1 0>, <&clk_gates1 1>,
215                                 <&clk_gates2 4>, <&clk_gates2 5>,
216
217                                 /*PD_PERI*/
218                                 <&clk_gates2 0>, <&hclk_peri_pre>,
219                                 <&pclk_peri_pre>, <&clk_gates2 1>,
220
221                                 /*aclk_cpu_pre*/
222                                 <&clk_gates4 12>,/*aclk_intmem*/
223                                 <&clk_gates4 10>,/*aclk_strc_sys*/
224                         
225                                 /*hclk_cpu_pre*/
226                                 <&clk_gates5 6>,/*hclk_rom*/
227
228                                 /*pclk_cpu_pre*/
229                                 <&clk_gates5 4>,/*pclk_grf*/
230                                 <&clk_gates5 7>,/*pclk_ddrupctl*/
231                                 <&clk_gates5 14>,/*pclk_acodec*/
232                                 <&clk_gates3 8>,/*pclk_hdmi*/
233
234                                 /*aclk_peri_pre*/
235                                 <&clk_gates4 3>,/*aclk_peri_axi_matrix*/
236                                 <&clk_gates5 1>,/*aclk_dmac2*/
237                                 <&clk_gates9 15>,/*aclk_peri_niu*/
238                                 <&clk_gates4 2>,/*aclk_cpu_peri*/
239                                 
240                                 /*hclk_peri_pre*/
241                                 <&clk_gates4 0>,/*hclk_peri_matrix*/
242                                 <&clk_gates9 13>,/*hclk_usb_peri*/
243                                 <&clk_gates9 14>,/*hclk_peri_arbi*/     
244
245                                 /*pclk_peri_pre*/
246                                 <&clk_gates4 1>,/*pclk_peri_axi_matrix*/
247
248                                 /*hclk_vio_pre*/
249                                 <&clk_gates6 12>,/*hclk_vio_bus*/
250                                 <&clk_gates9 5>,/*hclk_lcdc*/
251
252                                 /*aclk_vio_pre*/
253                                 <&clk_gates6 13>,/*aclk_vio*/
254                                 <&clk_gates9 6>,/*aclk_lcdc*/
255
256                                 /*UART*/
257                                 <&clk_gates1 12>,
258                                 <&clk_gates1 13>,
259                                 <&clk_gates8 2>,/*pclk_uart2*/
260
261                                 /*jtag*/
262                                 <&clk_gates1 3>;/*clk_jtag*/
263         };
264
265         i2c0: i2c@20072000 {
266                 compatible = "rockchip,rk30-i2c";
267                 reg = <0x20072000 0x1000>;
268                 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
269                 #address-cells = <1>;
270                 #size-cells = <0>;
271                 pinctrl-names = "default", "gpio";
272                 pinctrl-0 = <&i2c0_sda &i2c0_scl>;
273                 pinctrl-1 = <&i2c0_gpio>;
274                 gpios = <&gpio0 GPIO_A1 GPIO_ACTIVE_LOW>, <&gpio0 GPIO_A0 GPIO_ACTIVE_LOW>;
275                 clocks = <&clk_gates8 4>;
276                 rockchip,check-idle = <1>;
277                 status = "disabled";
278         };
279
280         i2c1: i2c@20056000 {
281                 compatible = "rockchip,rk30-i2c";
282                 reg = <0x20056000 0x1000>;
283                 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
284                 #address-cells = <1>;
285                 #size-cells = <0>;
286                 pinctrl-names = "default", "gpio";
287                 pinctrl-0 = <&i2c1_sda &i2c1_scl>;
288                 pinctrl-1 = <&i2c1_gpio>;
289                 gpios = <&gpio0 GPIO_A3 GPIO_ACTIVE_LOW>, <&gpio0 GPIO_A2 GPIO_ACTIVE_LOW>;
290                 clocks = <&clk_gates8 5>;
291                 rockchip,check-idle = <1>;
292                 status = "disabled";
293         };
294
295         i2c2: i2c@2005a000 {
296                 compatible = "rockchip,rk30-i2c";
297                 reg = <0x2005a000 0x1000>;
298                 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
299                 #address-cells = <1>;
300                 #size-cells = <0>;
301                 pinctrl-names = "default", "gpio";
302                 pinctrl-0 = <&i2c2_sda &i2c2_scl>;
303                 pinctrl-1 = <&i2c2_gpio>;
304                 gpios = <&gpio2 GPIO_C4 GPIO_ACTIVE_LOW>, <&gpio2 GPIO_C5 GPIO_ACTIVE_LOW>;
305                 clocks = <&clk_gates8 6>;
306                 rockchip,check-idle = <1>;
307                 status = "disabled";
308         };
309
310         i2s: i2s@10220000 {
311                 compatible = "rockchip-i2s";
312                 reg = <0x10220000 0x1000>;
313                 i2s-id = <0>;
314                 clocks = <&clk_i2s>, <&clk_i2s_out>, <&clk_gates7 2>;
315                 clock-names = "i2s_clk","i2s_mclk", "i2s_hclk";
316                 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
317                 dmas = <&pdma 0>, <&pdma 1>;
318                 //#dma-cells = <2>;
319                 dma-names = "tx", "rx";
320                 //pinctrl-names = "default", "sleep";
321                 //pinctrl-0 = <&i2s_mclk &i2s_sclk &i2s_lrckrx &i2s_lrcktx &i2s_sdi &i2s_sdo0 &i2s_sdo1 &i2s_sdo2 &i2s_sdo3>;
322                 //pinctrl-1 = <&i2s_gpio>;
323         };
324
325         spdif: spdif@10204000 {
326                 compatible = "rockchip-spdif";
327                 reg = <0x10204000 0x1000>;
328                 clocks = <&clk_spdif>;
329                 clock-names = "spdif_mclk";
330                 interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
331                 dmas = <&pdma 13>;
332                 //#dma-cells = <1>;
333                 dma-names = "tx";
334                 //pinctrl-names = "default";
335                 //pinctrl-0 = <&spdif_tx>;
336         };
337
338         pwm0: pwm@20050000 {
339                 compatible = "rockchip,rk-pwm";
340                 reg = <0x20050000 0x10>;
341                 #pwm-cells = <2>;
342                 pinctrl-names = "default";
343                 pinctrl-0 = <&pwm0_pin>;
344                 clocks = <&clk_gates7 10>;
345                 clock-names = "pclk_pwm";
346                 status = "disabled";
347         };
348
349         pwm1: pwm@20050010 {
350                 compatible = "rockchip,rk-pwm";
351                 reg = <0x20050010 0x10>;
352                 #pwm-cells = <2>;
353                 pinctrl-names = "default";
354                 pinctrl-0 = <&pwm1_pin>;
355                 clocks = <&clk_gates7 10>;
356                 clock-names = "pclk_pwm";
357                 status = "disabled";
358         };
359
360         pwm2: pwm@20050020 {
361                 compatible = "rockchip,rk-pwm";
362                 reg = <0x20050020 0x10>;
363                 #pwm-cells = <2>;
364                 pinctrl-names = "default";
365                 pinctrl-0 = <&pwm2_pin>;
366                 clocks = <&clk_gates7 10>;
367                 clock-names = "pclk_pwm";
368                 status = "disabled";
369         };
370
371         pwm3: pwm@20050030 {
372                 compatible = "rockchip,rk-pwm";
373                 reg = <0x20050030 0x10>;
374                 #pwm-cells = <2>;
375                 pinctrl-names = "default";
376                 pinctrl-0 = <&pwm3_pin>;
377                 clocks = <&clk_gates7 10>;
378                 clock-names = "pclk_pwm";
379                 status = "disabled";
380         };
381
382         emmc: rksdmmc@1021c000 {
383                 compatible = "rockchip,rk_mmc", "rockchip,rk3036-sdmmc";
384                 reg = <0x1021c000 0x4000>;
385                 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
386                 #address-cells = <1>;
387                 #size-cells = <0>;
388                 //pinctrl-names = "default",,"suspend";
389                 //pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_cd &sd0_wp &sd0_pwr &sd0_bus1 &sd0_bus4>;
390                 clocks = <&clk_emmc>, <&clk_gates7 0>;
391                 clock-names = "clk_mmc", "hclk_mmc";
392                 dmas = <&pdma 12>;
393                 dma-names = "dw_mci";
394                 num-slots = <1>;
395                 fifo-depth = <0x100>;
396                 bus-width = <8>;
397         };
398
399
400         sdmmc: rksdmmc@10214000 {
401                 compatible = "rockchip,rk_mmc", "rockchip,rk3036-sdmmc";
402                 reg = <0x10214000 0x4000>;
403                 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
404                 #address-cells = <1>;
405                 #size-cells = <0>;
406                 pinctrl-names = "default", "idle";
407                 pinctrl-0 = <&sdmmc0_clk &sdmmc0_cmd &sdmmc0_dectn &sdmmc0_bus4>;
408                 pinctrl-1 = <&sdmmc0_gpio>;
409                 cd-gpios = <&gpio1 GPIO_C1 GPIO_ACTIVE_HIGH>;/*CD GPIO*/
410                 clocks = <&clk_sdmmc0>, <&clk_gates2 11>;
411                 clock-names = "clk_mmc", "hclk_mmc";
412                 dmas = <&pdma 10>;
413                 dma-names = "dw_mci";
414                 num-slots = <1>;
415                 fifo-depth = <0x100>;
416                 bus-width = <4>;
417         };
418
419         sdio: rksdmmc@10218000 {
420                 compatible = "rockchip,rk_mmc", "rockchip,rk3036-sdmmc";
421                 reg = <0x10218000 0x4000>;
422                 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
423                 #address-cells = <1>;
424                 #size-cells = <0>;
425                 pinctrl-names = "default","idle";
426                 pinctrl-0 = <&sdio0_clk &sdio0_cmd  &sdio0_bus4>;
427                 pinctrl-1 = <&sdio0_gpio>;
428                 clocks = <&clk_sdio>, <&clk_gates5 11>;
429                 clock-names = "clk_mmc", "hclk_mmc";
430                 dmas = <&pdma 11>;
431                 dma-names = "dw_mci";
432                 num-slots = <1>;
433                 fifo-depth = <0x100>;
434                 bus-width = <4>;
435         };
436         gpu {
437                 compatible = "arm,mali400";
438                 reg = <0x10091000 0x200>,
439                           <0x10090000 0x100>,
440                           <0x10093000 0x100>,
441                           <0x10098000 0x1100>,
442                           <0x10094000 0x100>;
443                 reg-names = "Mali_L2",
444                                         "Mali_GP",
445                                         "Mali_GP_MMU",
446                                         "Mali_PP0",
447                                         "Mali_PP0_MMU";
448
449             interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
450                      <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
451                                      <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>,
452                      <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
453             interrupt-names = "Mali_GP_IRQ", 
454                                                   "Mali_GP_MMU_IRQ", 
455                                                   "Mali_PP0_IRQ",
456                                                   "Mali_PP0_MMU_IRQ";
457           };
458         dwc_control_usb: dwc-control-usb@20008000 {
459                 compatible = "rockchip,rk3188-dwc-control-usb";
460                 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
461                 interrupt-names = "otg_bvalid";
462                 //gpios = <&gpio0 GPIO_C0 GPIO_ACTIVE_LOW>, <&gpio3 GPIO_D5 GPIO_ACTIVE_LOW>;
463                 clocks = <&clk_gates9 13>;
464                 clock-names = "hclk_usb_peri";
465                 rockchip,remote_wakeup;
466                 rockchip,usb_irq_wakeup;
467
468                 usb_bc{
469                         compatible = "rockchip,ctrl";
470                         rk_usb,bvalid   = <0x14c 8 1>;
471                         rk_usb,iddig    = <0x14c 11 1>;
472                         rk_usb,line     = <0x14c 9 2>;
473                         rk_usb,softctrl = <0x17c 0 1>;
474                         rk_usb,opmode   = <0x17c 2 2>;
475                         rk_usb,xcvrsel  = <0x17c 4 2>;
476                         rk_usb,termsel  = <0x118 6 1>; 
477                 };
478         };
479         usb0: usb@10180000 {
480                 compatible = "rockchip,rk3188_usb20_otg";
481                 reg = <0x10180000 0x40000>;
482                 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
483                 clocks = <&clk_gates1 5>, <&clk_gates5 13>;
484                 clock-names = "clk_usbphy0", "hclk_usb0";
485                 /*0 - Normal, 1 - Force Host, 2 - Force Device*/
486                 rockchip,usb-mode = <0>;
487         };
488
489         usb1: usb@101c0000 {
490                 compatible = "rockchip,rk3188_usb20_host";
491                 reg = <0x101c0000 0x40000>;
492                 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
493                 clocks = <&clk_gates1 6>, <&clk_gates7 3>;
494                 clock-names = "clk_usbphy1", "hclk_usb1";
495         };
496         
497         fb: fb{
498                 compatible = "rockchip,rk-fb";
499                 rockchip,disp-mode = <NO_DUAL>;
500         };
501
502         rk_screen: rk_screen{
503                 compatible = "rockchip,screen";
504         };
505         
506         lcdc: lcdc@10118000 {
507                 compatible = "rockchip,rk3036-lcdc";
508                 reg = <0x10118000 0x4000>;
509                 interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
510                 status = "disabled";
511                 clocks = <&clk_gates9 6>, <&dclk_lcdc1>, <&clk_gates9 5>;
512                 clock-names = "aclk_lcdc", "dclk_lcdc", "hclk_lcdc";
513                 rockchip,iommu-enabled = <1>;
514         };
515         
516         hdmi: hdmi@20034000 {
517                 compatible = "rockchip,rk3036-hdmi";
518                 reg = <0x20034000 0x4000>;
519                 interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
520                 rockchip,hdmi_lcdc_source = <0>;
521                 pinctrl-names = "default", "gpio";
522                 pinctrl-0 = <&hdmi_cec &hdmi_sda &hdmi_scl &hdmi_hpd>;
523                 pinctrl-1 = <&hdmi_gpio>;
524                 clocks = <&clk_gates3 8>;
525                 clock-names = "pclk_hdmi";      
526                 status = "disabled";
527         };
528
529         tve {
530                 compatible = "rockchip,rk3036-tve";
531                 reg = <0x10118200 0x100>;
532                 status = "disabled";
533         };
534         
535         vpu: vpu_service@10108000 {
536                 compatible = "vpu_service";
537                 reg = <0x10108000 0x800>;
538                 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
539                 interrupt-names = "irq_enc", "irq_dec";
540                 clocks = <&aclk_vcodec_pre>, <&clk_gates3 12>;
541                 clock-names = "aclk_vcodec", "hclk_vcodec";
542                 name = "vpu_service";
543                 status = "disabled";
544         };
545
546         hevc: hevc_service@1010c000 {
547                 compatible = "rockchip,hevc_service";
548                 reg = <0x1010c000 0x800>;
549                 interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
550                 interrupt-names = "irq_dec";
551                 clocks = <&aclk_vcodec_pre>, <&clk_gates3 12>, <&clk_hevc_core>;
552                 clock-names = "aclk_vcodec", "hclk_vcodec", "clk_core";
553                 name = "hevc_service";
554                 status = "disabled";
555         };
556         
557         vop_mmu {
558                 dbgname = "vop";
559                 compatible = "iommu,vop_mmu";
560                 reg = <0x10118300 0x100>;
561                 interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
562                 interrupt-names = "vop_mmu";
563         };
564
565         hevc_mmu {
566                 dbgname = "hevc";
567                 compatible = "iommu,hevc_mmu";
568                 reg = <0x1010c440 0x100>,
569                       <0x1010c480 0x100>;
570                 interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
571                 interrupt-names = "hevc_mmu";
572         };
573
574         vpu_mmu {
575                 dbgname = "vpu";
576                 compatible = "iommu,vpu_mmu";
577                 reg = <0x10108800 0x100>;
578                 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
579                 interrupt-names = "vpu_mmu";
580         };
581 };