2 * Copyright 2014 Chen-Yu Tsai
4 * Chen-Yu Tsai <wens@csie.org>
6 * This file is dual-licensed: you can use it either under the terms
7 * of the GPL or the X11 license, at your option. Note that this dual
8 * licensing only applies to this file, and not this project as a
11 * a) This file is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License as
13 * published by the Free Software Foundation; either version 2 of the
14 * License, or (at your option) any later version.
16 * This file is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
23 * b) Permission is hereby granted, free of charge, to any person
24 * obtaining a copy of this software and associated documentation
25 * files (the "Software"), to deal in the Software without
26 * restriction, including without limitation the rights to use,
27 * copy, modify, merge, publish, distribute, sublicense, and/or
28 * sell copies of the Software, and to permit persons to whom the
29 * Software is furnished to do so, subject to the following
32 * The above copyright notice and this permission notice shall be
33 * included in all copies or substantial portions of the Software.
35 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
36 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
37 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
38 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
39 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
40 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
41 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
42 * OTHER DEALINGS IN THE SOFTWARE.
45 #include "skeleton64.dtsi"
47 #include <dt-bindings/interrupt-controller/arm-gic.h>
49 #include <dt-bindings/pinctrl/sun4i-a10.h>
52 interrupt-parent = <&gic>;
59 compatible = "arm,cortex-a7";
65 compatible = "arm,cortex-a7";
71 compatible = "arm,cortex-a7";
77 compatible = "arm,cortex-a7";
83 compatible = "arm,cortex-a15";
89 compatible = "arm,cortex-a15";
95 compatible = "arm,cortex-a15";
101 compatible = "arm,cortex-a15";
108 /* 8GB max. with LPAE */
109 reg = <0 0x20000000 0x02 0>;
113 compatible = "arm,armv7-timer";
114 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
115 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
116 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
117 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
118 clock-frequency = <24000000>;
119 arm,cpu-registers-not-fw-configured;
123 #address-cells = <1>;
126 * map 64 bit address range down to 32 bits,
127 * as the peripherals are all under 512MB.
129 ranges = <0 0 0 0x20000000>;
133 compatible = "fixed-clock";
134 clock-frequency = <24000000>;
135 clock-output-names = "osc24M";
140 compatible = "fixed-clock";
141 clock-frequency = <32768>;
142 clock-output-names = "osc32k";
145 usb_mod_clk: clk@00a08000 {
148 compatible = "allwinner,sun9i-a80-usb-mod-clk";
149 reg = <0x00a08000 0x4>;
150 clocks = <&ahb1_gates 1>;
151 clock-output-names = "usb0_ahb", "usb_ohci0",
152 "usb1_ahb", "usb_ohci1",
153 "usb2_ahb", "usb_ohci2";
156 usb_phy_clk: clk@00a08004 {
159 compatible = "allwinner,sun9i-a80-usb-phy-clk";
160 reg = <0x00a08004 0x4>;
161 clocks = <&ahb1_gates 1>;
162 clock-output-names = "usb_phy0", "usb_hsic1_480M",
163 "usb_phy1", "usb_hsic2_480M",
164 "usb_phy2", "usb_hsic_12M";
168 /* placeholder until implemented */
170 compatible = "fixed-clock";
172 clock-output-names = "pll3";
177 compatible = "allwinner,sun9i-a80-pll4-clk";
178 reg = <0x0600000c 0x4>;
180 clock-output-names = "pll4";
183 pll12: clk@0600002c {
185 compatible = "allwinner,sun9i-a80-pll4-clk";
186 reg = <0x0600002c 0x4>;
188 clock-output-names = "pll12";
191 gt_clk: clk@0600005c {
193 compatible = "allwinner,sun9i-a80-gt-clk";
194 reg = <0x0600005c 0x4>;
195 clocks = <&osc24M>, <&pll4>, <&pll12>, <&pll12>;
196 clock-output-names = "gt";
201 compatible = "allwinner,sun9i-a80-ahb-clk";
202 reg = <0x06000060 0x4>;
203 clocks = <>_clk>, <&pll4>, <&pll12>, <&pll12>;
204 clock-output-names = "ahb0";
209 compatible = "allwinner,sun9i-a80-ahb-clk";
210 reg = <0x06000064 0x4>;
211 clocks = <>_clk>, <&pll4>, <&pll12>, <&pll12>;
212 clock-output-names = "ahb1";
217 compatible = "allwinner,sun9i-a80-ahb-clk";
218 reg = <0x06000068 0x4>;
219 clocks = <>_clk>, <&pll4>, <&pll12>, <&pll12>;
220 clock-output-names = "ahb2";
225 compatible = "allwinner,sun9i-a80-apb0-clk";
226 reg = <0x06000070 0x4>;
227 clocks = <&osc24M>, <&pll4>;
228 clock-output-names = "apb0";
233 compatible = "allwinner,sun9i-a80-apb1-clk";
234 reg = <0x06000074 0x4>;
235 clocks = <&osc24M>, <&pll4>;
236 clock-output-names = "apb1";
239 cci400_clk: clk@06000078 {
241 compatible = "allwinner,sun9i-a80-gt-clk";
242 reg = <0x06000078 0x4>;
243 clocks = <&osc24M>, <&pll4>, <&pll12>, <&pll12>;
244 clock-output-names = "cci400";
247 mmc0_clk: clk@06000410 {
249 compatible = "allwinner,sun9i-a80-mmc-clk";
250 reg = <0x06000410 0x4>;
251 clocks = <&osc24M>, <&pll4>;
252 clock-output-names = "mmc0", "mmc0_output",
256 mmc1_clk: clk@06000414 {
258 compatible = "allwinner,sun9i-a80-mmc-clk";
259 reg = <0x06000414 0x4>;
260 clocks = <&osc24M>, <&pll4>;
261 clock-output-names = "mmc1", "mmc1_output",
265 mmc2_clk: clk@06000418 {
267 compatible = "allwinner,sun9i-a80-mmc-clk";
268 reg = <0x06000418 0x4>;
269 clocks = <&osc24M>, <&pll4>;
270 clock-output-names = "mmc2", "mmc2_output",
274 mmc3_clk: clk@0600041c {
276 compatible = "allwinner,sun9i-a80-mmc-clk";
277 reg = <0x0600041c 0x4>;
278 clocks = <&osc24M>, <&pll4>;
279 clock-output-names = "mmc3", "mmc3_output",
283 ahb0_gates: clk@06000580 {
285 compatible = "allwinner,sun9i-a80-ahb0-gates-clk";
286 reg = <0x06000580 0x4>;
288 clock-indices = <0>, <1>, <3>,
294 clock-output-names = "ahb0_fd", "ahb0_ve", "ahb0_gpu",
295 "ahb0_ss", "ahb0_sd", "ahb0_nand1",
296 "ahb0_nand0", "ahb0_sdram",
297 "ahb0_mipi_hsi", "ahb0_sata", "ahb0_ts",
298 "ahb0_spi0", "ahb0_spi1", "ahb0_spi2",
302 ahb1_gates: clk@06000584 {
304 compatible = "allwinner,sun9i-a80-ahb1-gates-clk";
305 reg = <0x06000584 0x4>;
307 clock-indices = <0>, <1>,
311 clock-output-names = "ahb1_usbotg", "ahb1_usbhci",
312 "ahb1_gmac", "ahb1_msgbox",
313 "ahb1_spinlock", "ahb1_hstimer",
317 ahb2_gates: clk@06000588 {
319 compatible = "allwinner,sun9i-a80-ahb2-gates-clk";
320 reg = <0x06000588 0x4>;
322 clock-indices = <0>, <1>,
325 clock-output-names = "ahb2_lcd0", "ahb2_lcd1",
326 "ahb2_edp", "ahb2_csi", "ahb2_hdmi",
327 "ahb2_de", "ahb2_mp", "ahb2_mipi_dsi";
330 apb0_gates: clk@06000590 {
332 compatible = "allwinner,sun9i-a80-apb0-gates-clk";
333 reg = <0x06000590 0x4>;
335 clock-indices = <1>, <5>,
339 clock-output-names = "apb0_spdif", "apb0_pio",
340 "apb0_ac97", "apb0_i2s0", "apb0_i2s1",
341 "apb0_lradc", "apb0_gpadc", "apb0_twd",
345 apb1_gates: clk@06000594 {
347 compatible = "allwinner,sun9i-a80-apb1-gates-clk";
348 reg = <0x06000594 0x4>;
350 clock-indices = <0>, <1>,
355 clock-output-names = "apb1_i2c0", "apb1_i2c1",
356 "apb1_i2c2", "apb1_i2c3", "apb1_i2c4",
357 "apb1_uart0", "apb1_uart1",
358 "apb1_uart2", "apb1_uart3",
359 "apb1_uart4", "apb1_uart5";
362 cpus_clk: clk@08001410 {
363 compatible = "allwinner,sun9i-a80-cpus-clk";
364 reg = <0x08001410 0x4>;
366 clocks = <&osc32k>, <&osc24M>, <&pll4>, <&pll3>;
367 clock-output-names = "cpus";
371 compatible = "fixed-factor-clock";
375 clocks = <&cpus_clk>;
376 clock-output-names = "ahbs";
380 compatible = "allwinner,sun8i-a23-apb0-clk";
381 reg = <0x0800141c 0x4>;
384 clock-output-names = "apbs";
387 apbs_gates: clk@08001428 {
388 compatible = "allwinner,sun9i-a80-apbs-gates-clk";
389 reg = <0x08001428 0x4>;
392 clock-indices = <0>, <1>,
399 clock-output-names = "apbs_pio", "apbs_ir",
400 "apbs_timer", "apbs_rsb",
401 "apbs_uart", "apbs_1wire",
402 "apbs_i2c0", "apbs_i2c1",
403 "apbs_ps2_0", "apbs_ps2_1",
404 "apbs_dma", "apbs_i2s0",
405 "apbs_i2s1", "apbs_twd";
408 r_1wire_clk: clk@08001450 {
409 reg = <0x08001450 0x4>;
411 compatible = "allwinner,sun4i-a10-mod0-clk";
412 clocks = <&osc32k>, <&osc24M>;
413 clock-output-names = "r_1wire";
416 r_ir_clk: clk@08001454 {
417 reg = <0x08001454 0x4>;
419 compatible = "allwinner,sun4i-a10-mod0-clk";
420 clocks = <&osc32k>, <&osc24M>;
421 clock-output-names = "r_ir";
426 compatible = "simple-bus";
427 #address-cells = <1>;
430 * map 64 bit address range down to 32 bits,
431 * as the peripherals are all under 512MB.
433 ranges = <0 0 0 0x20000000>;
435 ehci0: usb@00a00000 {
436 compatible = "allwinner,sun9i-a80-ehci", "generic-ehci";
437 reg = <0x00a00000 0x100>;
438 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
439 clocks = <&usb_mod_clk 1>;
440 resets = <&usb_mod_clk 17>;
446 ohci0: usb@00a00400 {
447 compatible = "allwinner,sun9i-a80-ohci", "generic-ohci";
448 reg = <0x00a00400 0x100>;
449 interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
450 clocks = <&usb_mod_clk 1>, <&usb_mod_clk 2>;
451 resets = <&usb_mod_clk 17>;
457 usbphy1: phy@00a00800 {
458 compatible = "allwinner,sun9i-a80-usb-phy";
459 reg = <0x00a00800 0x4>;
460 clocks = <&usb_phy_clk 1>;
462 resets = <&usb_phy_clk 17>;
468 ehci1: usb@00a01000 {
469 compatible = "allwinner,sun9i-a80-ehci", "generic-ehci";
470 reg = <0x00a01000 0x100>;
471 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
472 clocks = <&usb_mod_clk 3>;
473 resets = <&usb_mod_clk 18>;
479 usbphy2: phy@00a01800 {
480 compatible = "allwinner,sun9i-a80-usb-phy";
481 reg = <0x00a01800 0x4>;
482 clocks = <&usb_phy_clk 2>, <&usb_phy_clk 10>,
484 clock-names = "hsic_480M", "hsic_12M", "phy";
485 resets = <&usb_phy_clk 18>, <&usb_phy_clk 19>;
486 reset-names = "hsic", "phy";
489 /* usb1 is always used with HSIC */
493 ehci2: usb@00a02000 {
494 compatible = "allwinner,sun9i-a80-ehci", "generic-ehci";
495 reg = <0x00a02000 0x100>;
496 interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
497 clocks = <&usb_mod_clk 5>;
498 resets = <&usb_mod_clk 19>;
504 ohci2: usb@00a02400 {
505 compatible = "allwinner,sun9i-a80-ohci", "generic-ohci";
506 reg = <0x00a02400 0x100>;
507 interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
508 clocks = <&usb_mod_clk 5>, <&usb_mod_clk 6>;
509 resets = <&usb_mod_clk 19>;
515 usbphy3: phy@00a02800 {
516 compatible = "allwinner,sun9i-a80-usb-phy";
517 reg = <0x00a02800 0x4>;
518 clocks = <&usb_phy_clk 4>, <&usb_phy_clk 10>,
520 clock-names = "hsic_480M", "hsic_12M", "phy";
521 resets = <&usb_phy_clk 20>, <&usb_phy_clk 21>;
522 reset-names = "hsic", "phy";
528 compatible = "allwinner,sun5i-a13-mmc";
529 reg = <0x01c0f000 0x1000>;
530 clocks = <&mmc_config_clk 0>, <&mmc0_clk 0>,
531 <&mmc0_clk 1>, <&mmc0_clk 2>;
532 clock-names = "ahb", "mmc", "output", "sample";
533 resets = <&mmc_config_clk 0>;
535 interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
537 #address-cells = <1>;
542 compatible = "allwinner,sun5i-a13-mmc";
543 reg = <0x01c10000 0x1000>;
544 clocks = <&mmc_config_clk 1>, <&mmc1_clk 0>,
545 <&mmc1_clk 1>, <&mmc1_clk 2>;
546 clock-names = "ahb", "mmc", "output", "sample";
547 resets = <&mmc_config_clk 1>;
549 interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
551 #address-cells = <1>;
556 compatible = "allwinner,sun5i-a13-mmc";
557 reg = <0x01c11000 0x1000>;
558 clocks = <&mmc_config_clk 2>, <&mmc2_clk 0>,
559 <&mmc2_clk 1>, <&mmc2_clk 2>;
560 clock-names = "ahb", "mmc", "output", "sample";
561 resets = <&mmc_config_clk 2>;
563 interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
565 #address-cells = <1>;
570 compatible = "allwinner,sun5i-a13-mmc";
571 reg = <0x01c12000 0x1000>;
572 clocks = <&mmc_config_clk 3>, <&mmc3_clk 0>,
573 <&mmc3_clk 1>, <&mmc3_clk 2>;
574 clock-names = "ahb", "mmc", "output", "sample";
575 resets = <&mmc_config_clk 3>;
577 interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
579 #address-cells = <1>;
583 mmc_config_clk: clk@01c13000 {
584 compatible = "allwinner,sun9i-a80-mmc-config-clk";
585 reg = <0x01c13000 0x10>;
586 clocks = <&ahb0_gates 8>;
588 resets = <&ahb0_resets 8>;
592 clock-output-names = "mmc0_config", "mmc1_config",
593 "mmc2_config", "mmc3_config";
596 gic: interrupt-controller@01c41000 {
597 compatible = "arm,cortex-a7-gic", "arm,cortex-a15-gic";
598 reg = <0x01c41000 0x1000>,
602 interrupt-controller;
603 #interrupt-cells = <3>;
604 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
607 ahb0_resets: reset@060005a0 {
609 compatible = "allwinner,sun6i-a31-clock-reset";
610 reg = <0x060005a0 0x4>;
613 ahb1_resets: reset@060005a4 {
615 compatible = "allwinner,sun6i-a31-clock-reset";
616 reg = <0x060005a4 0x4>;
619 ahb2_resets: reset@060005a8 {
621 compatible = "allwinner,sun6i-a31-clock-reset";
622 reg = <0x060005a8 0x4>;
625 apb0_resets: reset@060005b0 {
627 compatible = "allwinner,sun6i-a31-clock-reset";
628 reg = <0x060005b0 0x4>;
631 apb1_resets: reset@060005b4 {
633 compatible = "allwinner,sun6i-a31-clock-reset";
634 reg = <0x060005b4 0x4>;
638 compatible = "allwinner,sun4i-a10-timer";
639 reg = <0x06000c00 0xa0>;
640 interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>,
641 <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>,
642 <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>,
643 <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>,
644 <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>,
645 <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
650 wdt: watchdog@06000ca0 {
651 compatible = "allwinner,sun6i-a31-wdt";
652 reg = <0x06000ca0 0x20>;
653 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
656 pio: pinctrl@06000800 {
657 compatible = "allwinner,sun9i-a80-pinctrl";
658 reg = <0x06000800 0x400>;
659 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>,
660 <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>,
661 <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>,
662 <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>,
663 <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
664 clocks = <&apb0_gates 5>;
666 interrupt-controller;
667 #interrupt-cells = <3>;
671 i2c3_pins_a: i2c3@0 {
672 allwinner,pins = "PG10", "PG11";
673 allwinner,function = "i2c3";
674 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
675 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
679 allwinner,pins = "PF0", "PF1" ,"PF2", "PF3",
681 allwinner,function = "mmc0";
682 allwinner,drive = <SUN4I_PINCTRL_30_MA>;
683 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
686 mmc2_8bit_pins: mmc2_8bit {
687 allwinner,pins = "PC6", "PC7", "PC8", "PC9",
688 "PC10", "PC11", "PC12",
689 "PC13", "PC14", "PC15";
690 allwinner,function = "mmc2";
691 allwinner,drive = <SUN4I_PINCTRL_30_MA>;
692 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
695 uart0_pins_a: uart0@0 {
696 allwinner,pins = "PH12", "PH13";
697 allwinner,function = "uart0";
698 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
699 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
702 uart4_pins_a: uart4@0 {
703 allwinner,pins = "PG12", "PG13", "PG14", "PG15";
704 allwinner,function = "uart4";
705 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
706 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
710 uart0: serial@07000000 {
711 compatible = "snps,dw-apb-uart";
712 reg = <0x07000000 0x400>;
713 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>;
716 clocks = <&apb1_gates 16>;
717 resets = <&apb1_resets 16>;
721 uart1: serial@07000400 {
722 compatible = "snps,dw-apb-uart";
723 reg = <0x07000400 0x400>;
724 interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
727 clocks = <&apb1_gates 17>;
728 resets = <&apb1_resets 17>;
732 uart2: serial@07000800 {
733 compatible = "snps,dw-apb-uart";
734 reg = <0x07000800 0x400>;
735 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
738 clocks = <&apb1_gates 18>;
739 resets = <&apb1_resets 18>;
743 uart3: serial@07000c00 {
744 compatible = "snps,dw-apb-uart";
745 reg = <0x07000c00 0x400>;
746 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
749 clocks = <&apb1_gates 19>;
750 resets = <&apb1_resets 19>;
754 uart4: serial@07001000 {
755 compatible = "snps,dw-apb-uart";
756 reg = <0x07001000 0x400>;
757 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
760 clocks = <&apb1_gates 20>;
761 resets = <&apb1_resets 20>;
765 uart5: serial@07001400 {
766 compatible = "snps,dw-apb-uart";
767 reg = <0x07001400 0x400>;
768 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
771 clocks = <&apb1_gates 21>;
772 resets = <&apb1_resets 21>;
777 compatible = "allwinner,sun6i-a31-i2c";
778 reg = <0x07002800 0x400>;
779 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
780 clocks = <&apb1_gates 0>;
781 resets = <&apb1_resets 0>;
783 #address-cells = <1>;
788 compatible = "allwinner,sun6i-a31-i2c";
789 reg = <0x07002c00 0x400>;
790 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
791 clocks = <&apb1_gates 1>;
792 resets = <&apb1_resets 1>;
794 #address-cells = <1>;
799 compatible = "allwinner,sun6i-a31-i2c";
800 reg = <0x07003000 0x400>;
801 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
802 clocks = <&apb1_gates 2>;
803 resets = <&apb1_resets 2>;
805 #address-cells = <1>;
810 compatible = "allwinner,sun6i-a31-i2c";
811 reg = <0x07003400 0x400>;
812 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
813 clocks = <&apb1_gates 3>;
814 resets = <&apb1_resets 3>;
816 #address-cells = <1>;
821 compatible = "allwinner,sun6i-a31-i2c";
822 reg = <0x07003800 0x400>;
823 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
824 clocks = <&apb1_gates 4>;
825 resets = <&apb1_resets 4>;
827 #address-cells = <1>;
831 r_wdt: watchdog@08001000 {
832 compatible = "allwinner,sun6i-a31-wdt";
833 reg = <0x08001000 0x20>;
834 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
837 apbs_rst: reset@080014b0 {
838 reg = <0x080014b0 0x4>;
839 compatible = "allwinner,sun6i-a31-clock-reset";
843 r_uart: serial@08002800 {
844 compatible = "snps,dw-apb-uart";
845 reg = <0x08002800 0x400>;
846 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
849 clocks = <&apbs_gates 4>;
850 resets = <&apbs_rst 4>;