2 * Copyright (c) 2014 Ganbold Tsagaankhuu <ganbold@freebsd.org>
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright
11 * notice, this list of conditions and the following disclaimer in the
12 * documentation and/or other materials provided with the distribution.
14 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 compatible = "allwinner,sun7i-a20";
34 interrupt-parent = <&GIC>;
43 compatible = "simple-bus";
47 GIC: interrupt-controller@01c81000 {
48 compatible = "arm,gic";
49 reg = <0x01c81000 0x1000>, /* Distributor Registers */
50 <0x01c82000 0x0100>; /* CPU Interface Registers */
52 #interrupt-cells = <1>;
56 compatible = "allwinner,sun4i-sramc";
59 reg = < 0x01c00000 0x1000 >;
63 compatible = "allwinner,sun7i-cpu-cfg";
66 reg = < 0x01c25c00 0x400 >;
70 compatible = "allwinner,sun4i-ccm";
73 reg = < 0x01c20000 0x400 >;
77 compatible = "allwinner,sun7i-timer";
78 reg = <0x01c20c00 0x90>;
80 interrupt-parent = <&GIC>;
81 clock-frequency = < 24000000 >;
85 compatible = "allwinner,sun4i-wdt";
86 reg = <0x01c20c90 0x10>;
91 compatible = "allwinner,sun4i-gpio";
93 reg =< 0x01c20800 0x400 >;
95 interrupt-parent = <&GIC>;
99 compatible = "allwinner,usb-ehci", "usb-ehci";
100 reg = <0x01c14000 0x1000>;
102 interrupt-parent = <&GIC>;
106 compatible = "allwinner,usb-ehci", "usb-ehci";
107 reg = <0x01c1c000 0x1000>;
109 interrupt-parent = <&GIC>;
113 compatible = "allwinner,sun4i-a10-ahci";
114 reg = <0x01c18000 0x1000>;
116 interrupt-parent = <&GIC>;
119 UART0: serial@01c28000 {
120 compatible = "ns16550";
121 reg = <0x01c28000 0x400>;
124 interrupt-parent = <&GIC>;
125 current-speed = <115200>;
126 clock-frequency = < 24000000 >;
132 compatible = "allwinner,sun4i-emac";
133 reg = <0x01c0b000 0x1000>;
135 interrupt-parent = <&GIC>;