2 * Copyright 2012 Maxime Ripard
4 * Maxime Ripard <maxime.ripard@free-electrons.com>
6 * The code contained herein is licensed under the GNU General Public
7 * License. You may obtain a copy of the GNU General Public License
8 * Version 2 or later at the following locations:
10 * http://www.opensource.org/licenses/gpl-license.html
11 * http://www.gnu.org/copyleft/gpl.html
14 /include/ "skeleton.dtsi"
17 interrupt-parent = <&intc>;
21 compatible = "arm,cortex-a8";
26 reg = <0x40000000 0x20000000>;
35 * This is a dummy clock, to be used as placeholder on
36 * other mux clocks when a specific parent clock is not
37 * yet implemented. It should be dropped when the driver
42 compatible = "fixed-clock";
43 clock-frequency = <0>;
46 osc24M: osc24M@01c20050 {
48 compatible = "allwinner,sun4i-osc-clk";
49 reg = <0x01c20050 0x4>;
50 clock-frequency = <24000000>;
55 compatible = "fixed-clock";
56 clock-frequency = <32768>;
61 compatible = "allwinner,sun4i-pll1-clk";
62 reg = <0x01c20000 0x4>;
69 compatible = "allwinner,sun4i-cpu-clk";
70 reg = <0x01c20054 0x4>;
71 clocks = <&osc32k>, <&osc24M>, <&pll1>, <&dummy>;
76 compatible = "allwinner,sun4i-axi-clk";
77 reg = <0x01c20054 0x4>;
81 axi_gates: axi_gates@01c2005c {
83 compatible = "allwinner,sun4i-axi-gates-clk";
84 reg = <0x01c2005c 0x4>;
86 clock-output-names = "axi_dram";
91 compatible = "allwinner,sun4i-ahb-clk";
92 reg = <0x01c20054 0x4>;
96 ahb_gates: ahb_gates@01c20060 {
98 compatible = "allwinner,sun5i-a13-ahb-gates-clk";
99 reg = <0x01c20060 0x8>;
101 clock-output-names = "ahb_usbotg", "ahb_ehci", "ahb_ohci",
102 "ahb_ss", "ahb_dma", "ahb_bist", "ahb_mmc0",
103 "ahb_mmc1", "ahb_mmc2", "ahb_nand", "ahb_sdram",
104 "ahb_spi0", "ahb_spi1", "ahb_spi2", "ahb_stimer",
105 "ahb_ve", "ahb_lcd", "ahb_csi", "ahb_de_be",
106 "ahb_de_fe", "ahb_iep", "ahb_mali400";
109 apb0: apb0@01c20054 {
111 compatible = "allwinner,sun4i-apb0-clk";
112 reg = <0x01c20054 0x4>;
116 apb0_gates: apb0_gates@01c20068 {
118 compatible = "allwinner,sun5i-a13-apb0-gates-clk";
119 reg = <0x01c20068 0x4>;
121 clock-output-names = "apb0_codec", "apb0_pio", "apb0_ir";
125 apb1_mux: apb1_mux@01c20058 {
127 compatible = "allwinner,sun4i-apb1-mux-clk";
128 reg = <0x01c20058 0x4>;
129 clocks = <&osc24M>, <&dummy>, <&osc32k>;
132 apb1: apb1@01c20058 {
134 compatible = "allwinner,sun4i-apb1-clk";
135 reg = <0x01c20058 0x4>;
136 clocks = <&apb1_mux>;
139 apb1_gates: apb1_gates@01c2006c {
141 compatible = "allwinner,sun5i-a13-apb1-gates-clk";
142 reg = <0x01c2006c 0x4>;
144 clock-output-names = "apb1_i2c0", "apb1_i2c1",
145 "apb1_i2c2", "apb1_uart1", "apb1_uart3";
150 compatible = "simple-bus";
151 #address-cells = <1>;
153 reg = <0x01c20000 0x300000>;
156 intc: interrupt-controller@01c20400 {
157 compatible = "allwinner,sun4i-ic";
158 reg = <0x01c20400 0x400>;
159 interrupt-controller;
160 #interrupt-cells = <1>;
163 pio: pinctrl@01c20800 {
164 compatible = "allwinner,sun5i-a13-pinctrl";
165 reg = <0x01c20800 0x400>;
166 clocks = <&apb0_gates 5>;
168 #address-cells = <1>;
172 uart1_pins_a: uart1@0 {
173 allwinner,pins = "PE10", "PE11";
174 allwinner,function = "uart1";
175 allwinner,drive = <0>;
176 allwinner,pull = <0>;
179 uart1_pins_b: uart1@1 {
180 allwinner,pins = "PG3", "PG4";
181 allwinner,function = "uart1";
182 allwinner,drive = <0>;
183 allwinner,pull = <0>;
188 compatible = "allwinner,sun4i-timer";
189 reg = <0x01c20c00 0x90>;
194 wdt: watchdog@01c20c90 {
195 compatible = "allwinner,sun4i-wdt";
196 reg = <0x01c20c90 0x10>;
199 uart1: serial@01c28400 {
200 compatible = "snps,dw-apb-uart";
201 reg = <0x01c28400 0x400>;
205 clocks = <&apb1_gates 17>;
209 uart3: serial@01c28c00 {
210 compatible = "snps,dw-apb-uart";
211 reg = <0x01c28c00 0x400>;
215 clocks = <&apb1_gates 19>;