blob: f33752d8befb2721f782e7989d7aa5b8e74d3d59 [file] [log] [blame]
Stefan Roese7423d2d2012-11-26 15:46:12 +01001/*
2 * Copyright 2012 Stefan Roese
3 * Stefan Roese <sr@denx.de>
4 *
5 * The code contained herein is licensed under the GNU General Public
6 * License. You may obtain a copy of the GNU General Public License
7 * Version 2 or later at the following locations:
8 *
9 * http://www.opensource.org/licenses/gpl-license.html
10 * http://www.gnu.org/copyleft/gpl.html
11 */
12
Maxime Ripard71455702014-12-16 22:59:54 +010013#include "skeleton.dtsi"
Stefan Roese7423d2d2012-11-26 15:46:12 +010014
Maxime Ripard1f9f6a72014-12-16 22:59:56 +010015#include <dt-bindings/dma/sun4i-a10.h>
Maxime Ripard092a0c32014-12-16 22:59:57 +010016#include <dt-bindings/pinctrl/sun4i-a10.h>
Maxime Ripard1f9f6a72014-12-16 22:59:56 +010017
Stefan Roese7423d2d2012-11-26 15:46:12 +010018/ {
Maxime Ripard69144e32013-03-13 20:07:37 +010019 interrupt-parent = <&intc>;
20
Emilio Lópeze751cce2013-11-16 15:17:29 -030021 aliases {
22 ethernet0 = &emac;
Maxime Ripard10b302a2013-11-17 10:03:04 +010023 serial0 = &uart0;
24 serial1 = &uart1;
Maxime Ripard143b13d2014-01-02 22:05:04 +010025 serial2 = &uart2;
26 serial3 = &uart3;
27 serial4 = &uart4;
28 serial5 = &uart5;
29 serial6 = &uart6;
30 serial7 = &uart7;
Emilio Lópeze751cce2013-11-16 15:17:29 -030031 };
32
Hans de Goede5790d4e2014-11-14 16:34:34 +010033 chosen {
34 #address-cells = <1>;
35 #size-cells = <1>;
36 ranges;
37
Hans de Goedea9f8cda2014-11-18 12:07:13 +010038 framebuffer@0 {
39 compatible = "allwinner,simple-framebuffer", "simple-framebuffer";
40 allwinner,pipeline = "de_be0-lcd0-hdmi";
Hans de Goede678e75d2014-11-16 17:09:32 +010041 clocks = <&pll5 1>, <&ahb_gates 36>, <&ahb_gates 43>,
42 <&ahb_gates 44>;
Hans de Goede5790d4e2014-11-14 16:34:34 +010043 status = "disabled";
44 };
Hans de Goede8cedd662015-01-19 14:01:17 +010045
46 framebuffer@1 {
47 compatible = "allwinner,simple-framebuffer", "simple-framebuffer";
48 allwinner,pipeline = "de_fe0-de_be0-lcd0-hdmi";
49 clocks = <&pll5 1>, <&ahb_gates 36>, <&ahb_gates 43>,
50 <&ahb_gates 44>, <&ahb_gates 46>;
51 status = "disabled";
52 };
Hans de Goede5790d4e2014-11-14 16:34:34 +010053 };
54
Maxime Ripard69144e32013-03-13 20:07:37 +010055 cpus {
Arnd Bergmann8b2efa892013-06-10 16:48:36 +020056 #address-cells = <1>;
57 #size-cells = <0>;
Chen-Yu Tsai7294be52015-01-06 10:35:23 +080058 cpu0: cpu@0 {
Lorenzo Pieralisi14c44aa2013-04-18 18:41:57 +010059 device_type = "cpu";
Maxime Ripard69144e32013-03-13 20:07:37 +010060 compatible = "arm,cortex-a8";
Lorenzo Pieralisi14c44aa2013-04-18 18:41:57 +010061 reg = <0x0>;
Chen-Yu Tsai7294be52015-01-06 10:35:23 +080062 clocks = <&cpu>;
63 clock-latency = <244144>; /* 8 32k periods */
64 operating-points = <
65 /* kHz uV */
66 1056000 1500000
67 1008000 1400000
68 912000 1350000
69 864000 1300000
70 624000 1250000
71 >;
72 #cooling-cells = <2>;
73 cooling-min-level = <0>;
74 cooling-max-level = <4>;
Maxime Ripard69144e32013-03-13 20:07:37 +010075 };
76 };
77
Stefan Roese7423d2d2012-11-26 15:46:12 +010078 memory {
79 reg = <0x40000000 0x80000000>;
80 };
Maxime Ripard874b4e42013-01-26 15:36:54 +010081
Maxime Ripard69144e32013-03-13 20:07:37 +010082 clocks {
83 #address-cells = <1>;
84 #size-cells = <1>;
85 ranges;
86
87 /*
88 * This is a dummy clock, to be used as placeholder on
89 * other mux clocks when a specific parent clock is not
90 * yet implemented. It should be dropped when the driver
91 * is complete.
92 */
93 dummy: dummy {
94 #clock-cells = <0>;
95 compatible = "fixed-clock";
96 clock-frequency = <0>;
97 };
98
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +080099 osc24M: clk@01c20050 {
Maxime Ripard69144e32013-03-13 20:07:37 +0100100 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100101 compatible = "allwinner,sun4i-a10-osc-clk";
Maxime Ripard69144e32013-03-13 20:07:37 +0100102 reg = <0x01c20050 0x4>;
Emilio López92fd6e02013-04-09 10:48:04 -0300103 clock-frequency = <24000000>;
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800104 clock-output-names = "osc24M";
Maxime Ripard69144e32013-03-13 20:07:37 +0100105 };
106
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800107 osc32k: clk@0 {
Maxime Ripard69144e32013-03-13 20:07:37 +0100108 #clock-cells = <0>;
109 compatible = "fixed-clock";
110 clock-frequency = <32768>;
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800111 clock-output-names = "osc32k";
Maxime Ripard69144e32013-03-13 20:07:37 +0100112 };
113
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800114 pll1: clk@01c20000 {
Maxime Ripard69144e32013-03-13 20:07:37 +0100115 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100116 compatible = "allwinner,sun4i-a10-pll1-clk";
Maxime Ripard69144e32013-03-13 20:07:37 +0100117 reg = <0x01c20000 0x4>;
118 clocks = <&osc24M>;
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800119 clock-output-names = "pll1";
Maxime Ripard69144e32013-03-13 20:07:37 +0100120 };
121
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800122 pll4: clk@01c20018 {
Emilio Lópezec5589f2013-12-23 00:32:35 -0300123 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100124 compatible = "allwinner,sun4i-a10-pll1-clk";
Emilio Lópezec5589f2013-12-23 00:32:35 -0300125 reg = <0x01c20018 0x4>;
126 clocks = <&osc24M>;
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800127 clock-output-names = "pll4";
Emilio Lópezec5589f2013-12-23 00:32:35 -0300128 };
129
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800130 pll5: clk@01c20020 {
Emilio Lópezc3e5e662013-12-23 00:32:38 -0300131 #clock-cells = <1>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100132 compatible = "allwinner,sun4i-a10-pll5-clk";
Emilio Lópezc3e5e662013-12-23 00:32:38 -0300133 reg = <0x01c20020 0x4>;
134 clocks = <&osc24M>;
135 clock-output-names = "pll5_ddr", "pll5_other";
136 };
137
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800138 pll6: clk@01c20028 {
Emilio Lópezc3e5e662013-12-23 00:32:38 -0300139 #clock-cells = <1>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100140 compatible = "allwinner,sun4i-a10-pll6-clk";
Emilio Lópezc3e5e662013-12-23 00:32:38 -0300141 reg = <0x01c20028 0x4>;
142 clocks = <&osc24M>;
143 clock-output-names = "pll6_sata", "pll6_other", "pll6";
144 };
145
Maxime Ripard69144e32013-03-13 20:07:37 +0100146 /* dummy is 200M */
147 cpu: cpu@01c20054 {
148 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100149 compatible = "allwinner,sun4i-a10-cpu-clk";
Maxime Ripard69144e32013-03-13 20:07:37 +0100150 reg = <0x01c20054 0x4>;
151 clocks = <&osc32k>, <&osc24M>, <&pll1>, <&dummy>;
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800152 clock-output-names = "cpu";
Maxime Ripard69144e32013-03-13 20:07:37 +0100153 };
154
155 axi: axi@01c20054 {
156 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100157 compatible = "allwinner,sun4i-a10-axi-clk";
Maxime Ripard69144e32013-03-13 20:07:37 +0100158 reg = <0x01c20054 0x4>;
159 clocks = <&cpu>;
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800160 clock-output-names = "axi";
Maxime Ripard69144e32013-03-13 20:07:37 +0100161 };
162
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800163 axi_gates: clk@01c2005c {
Maxime Ripard69144e32013-03-13 20:07:37 +0100164 #clock-cells = <1>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100165 compatible = "allwinner,sun4i-a10-axi-gates-clk";
Maxime Ripard69144e32013-03-13 20:07:37 +0100166 reg = <0x01c2005c 0x4>;
167 clocks = <&axi>;
168 clock-output-names = "axi_dram";
169 };
170
171 ahb: ahb@01c20054 {
172 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100173 compatible = "allwinner,sun4i-a10-ahb-clk";
Maxime Ripard69144e32013-03-13 20:07:37 +0100174 reg = <0x01c20054 0x4>;
175 clocks = <&axi>;
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800176 clock-output-names = "ahb";
Maxime Ripard69144e32013-03-13 20:07:37 +0100177 };
178
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800179 ahb_gates: clk@01c20060 {
Maxime Ripard69144e32013-03-13 20:07:37 +0100180 #clock-cells = <1>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100181 compatible = "allwinner,sun4i-a10-ahb-gates-clk";
Maxime Ripard69144e32013-03-13 20:07:37 +0100182 reg = <0x01c20060 0x8>;
183 clocks = <&ahb>;
184 clock-output-names = "ahb_usb0", "ahb_ehci0",
185 "ahb_ohci0", "ahb_ehci1", "ahb_ohci1", "ahb_ss",
186 "ahb_dma", "ahb_bist", "ahb_mmc0", "ahb_mmc1",
187 "ahb_mmc2", "ahb_mmc3", "ahb_ms", "ahb_nand",
188 "ahb_sdram", "ahb_ace", "ahb_emac", "ahb_ts",
189 "ahb_spi0", "ahb_spi1", "ahb_spi2", "ahb_spi3",
190 "ahb_pata", "ahb_sata", "ahb_gps", "ahb_ve",
191 "ahb_tvd", "ahb_tve0", "ahb_tve1", "ahb_lcd0",
192 "ahb_lcd1", "ahb_csi0", "ahb_csi1", "ahb_hdmi",
193 "ahb_de_be0", "ahb_de_be1", "ahb_de_fe0",
194 "ahb_de_fe1", "ahb_mp", "ahb_mali400";
195 };
196
197 apb0: apb0@01c20054 {
198 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100199 compatible = "allwinner,sun4i-a10-apb0-clk";
Maxime Ripard69144e32013-03-13 20:07:37 +0100200 reg = <0x01c20054 0x4>;
201 clocks = <&ahb>;
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800202 clock-output-names = "apb0";
Maxime Ripard69144e32013-03-13 20:07:37 +0100203 };
204
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800205 apb0_gates: clk@01c20068 {
Maxime Ripard69144e32013-03-13 20:07:37 +0100206 #clock-cells = <1>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100207 compatible = "allwinner,sun4i-a10-apb0-gates-clk";
Maxime Ripard69144e32013-03-13 20:07:37 +0100208 reg = <0x01c20068 0x4>;
209 clocks = <&apb0>;
210 clock-output-names = "apb0_codec", "apb0_spdif",
211 "apb0_ac97", "apb0_iis", "apb0_pio", "apb0_ir0",
212 "apb0_ir1", "apb0_keypad";
213 };
214
Emilio Lópezacbcc0f2014-11-06 11:40:30 +0800215 apb1: clk@01c20058 {
Maxime Ripard69144e32013-03-13 20:07:37 +0100216 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100217 compatible = "allwinner,sun4i-a10-apb1-clk";
Maxime Ripard69144e32013-03-13 20:07:37 +0100218 reg = <0x01c20058 0x4>;
Emilio Lópezacbcc0f2014-11-06 11:40:30 +0800219 clocks = <&osc24M>, <&pll6 1>, <&osc32k>;
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800220 clock-output-names = "apb1";
Maxime Ripard69144e32013-03-13 20:07:37 +0100221 };
222
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800223 apb1_gates: clk@01c2006c {
Maxime Ripard69144e32013-03-13 20:07:37 +0100224 #clock-cells = <1>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100225 compatible = "allwinner,sun4i-a10-apb1-gates-clk";
Maxime Ripard69144e32013-03-13 20:07:37 +0100226 reg = <0x01c2006c 0x4>;
227 clocks = <&apb1>;
228 clock-output-names = "apb1_i2c0", "apb1_i2c1",
229 "apb1_i2c2", "apb1_can", "apb1_scr",
230 "apb1_ps20", "apb1_ps21", "apb1_uart0",
231 "apb1_uart1", "apb1_uart2", "apb1_uart3",
232 "apb1_uart4", "apb1_uart5", "apb1_uart6",
233 "apb1_uart7";
234 };
Emilio López4b756ff2013-12-23 00:32:41 -0300235
236 nand_clk: clk@01c20080 {
237 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100238 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López4b756ff2013-12-23 00:32:41 -0300239 reg = <0x01c20080 0x4>;
240 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
241 clock-output-names = "nand";
242 };
243
244 ms_clk: clk@01c20084 {
245 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100246 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López4b756ff2013-12-23 00:32:41 -0300247 reg = <0x01c20084 0x4>;
248 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
249 clock-output-names = "ms";
250 };
251
252 mmc0_clk: clk@01c20088 {
253 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100254 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López4b756ff2013-12-23 00:32:41 -0300255 reg = <0x01c20088 0x4>;
256 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
257 clock-output-names = "mmc0";
258 };
259
260 mmc1_clk: clk@01c2008c {
261 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100262 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López4b756ff2013-12-23 00:32:41 -0300263 reg = <0x01c2008c 0x4>;
264 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
265 clock-output-names = "mmc1";
266 };
267
268 mmc2_clk: clk@01c20090 {
269 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100270 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López4b756ff2013-12-23 00:32:41 -0300271 reg = <0x01c20090 0x4>;
272 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
273 clock-output-names = "mmc2";
274 };
275
276 mmc3_clk: clk@01c20094 {
277 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100278 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López4b756ff2013-12-23 00:32:41 -0300279 reg = <0x01c20094 0x4>;
280 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
281 clock-output-names = "mmc3";
282 };
283
284 ts_clk: clk@01c20098 {
285 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100286 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López4b756ff2013-12-23 00:32:41 -0300287 reg = <0x01c20098 0x4>;
288 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
289 clock-output-names = "ts";
290 };
291
292 ss_clk: clk@01c2009c {
293 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100294 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López4b756ff2013-12-23 00:32:41 -0300295 reg = <0x01c2009c 0x4>;
296 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
297 clock-output-names = "ss";
298 };
299
300 spi0_clk: clk@01c200a0 {
301 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100302 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López4b756ff2013-12-23 00:32:41 -0300303 reg = <0x01c200a0 0x4>;
304 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
305 clock-output-names = "spi0";
306 };
307
308 spi1_clk: clk@01c200a4 {
309 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100310 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López4b756ff2013-12-23 00:32:41 -0300311 reg = <0x01c200a4 0x4>;
312 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
313 clock-output-names = "spi1";
314 };
315
316 spi2_clk: clk@01c200a8 {
317 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100318 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López4b756ff2013-12-23 00:32:41 -0300319 reg = <0x01c200a8 0x4>;
320 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
321 clock-output-names = "spi2";
322 };
323
324 pata_clk: clk@01c200ac {
325 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100326 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López4b756ff2013-12-23 00:32:41 -0300327 reg = <0x01c200ac 0x4>;
328 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
329 clock-output-names = "pata";
330 };
331
332 ir0_clk: clk@01c200b0 {
333 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100334 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López4b756ff2013-12-23 00:32:41 -0300335 reg = <0x01c200b0 0x4>;
336 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
337 clock-output-names = "ir0";
338 };
339
340 ir1_clk: clk@01c200b4 {
341 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100342 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López4b756ff2013-12-23 00:32:41 -0300343 reg = <0x01c200b4 0x4>;
344 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
345 clock-output-names = "ir1";
346 };
347
Roman Byshko0076c8b2014-02-07 16:21:51 +0100348 usb_clk: clk@01c200cc {
349 #clock-cells = <1>;
350 #reset-cells = <1>;
351 compatible = "allwinner,sun4i-a10-usb-clk";
352 reg = <0x01c200cc 0x4>;
353 clocks = <&pll6 1>;
354 clock-output-names = "usb_ohci0", "usb_ohci1", "usb_phy";
355 };
356
Emilio López4b756ff2013-12-23 00:32:41 -0300357 spi3_clk: clk@01c200d4 {
358 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100359 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López4b756ff2013-12-23 00:32:41 -0300360 reg = <0x01c200d4 0x4>;
361 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
362 clock-output-names = "spi3";
363 };
Maxime Ripard69144e32013-03-13 20:07:37 +0100364 };
365
Maxime Ripardb74aec12013-08-03 16:07:36 +0200366 soc@01c00000 {
Maxime Ripard69144e32013-03-13 20:07:37 +0100367 compatible = "simple-bus";
368 #address-cells = <1>;
369 #size-cells = <1>;
Maxime Ripard69144e32013-03-13 20:07:37 +0100370 ranges;
371
Emilio López1324f532014-08-04 17:09:57 -0300372 dma: dma-controller@01c02000 {
373 compatible = "allwinner,sun4i-a10-dma";
374 reg = <0x01c02000 0x1000>;
375 interrupts = <27>;
376 clocks = <&ahb_gates 6>;
377 #dma-cells = <2>;
378 };
379
Maxime Ripard65918e22014-02-22 22:35:55 +0100380 spi0: spi@01c05000 {
381 compatible = "allwinner,sun4i-a10-spi";
382 reg = <0x01c05000 0x1000>;
383 interrupts = <10>;
384 clocks = <&ahb_gates 20>, <&spi0_clk>;
385 clock-names = "ahb", "mod";
Maxime Ripard1f9f6a72014-12-16 22:59:56 +0100386 dmas = <&dma SUN4I_DMA_DEDICATED 27>,
387 <&dma SUN4I_DMA_DEDICATED 26>;
Emilio López4192ff82014-08-04 17:10:00 -0300388 dma-names = "rx", "tx";
Maxime Ripard65918e22014-02-22 22:35:55 +0100389 status = "disabled";
390 #address-cells = <1>;
391 #size-cells = <0>;
392 };
393
394 spi1: spi@01c06000 {
395 compatible = "allwinner,sun4i-a10-spi";
396 reg = <0x01c06000 0x1000>;
397 interrupts = <11>;
398 clocks = <&ahb_gates 21>, <&spi1_clk>;
399 clock-names = "ahb", "mod";
Maxime Ripard1f9f6a72014-12-16 22:59:56 +0100400 dmas = <&dma SUN4I_DMA_DEDICATED 9>,
401 <&dma SUN4I_DMA_DEDICATED 8>;
Emilio López4192ff82014-08-04 17:10:00 -0300402 dma-names = "rx", "tx";
Maxime Ripard65918e22014-02-22 22:35:55 +0100403 status = "disabled";
404 #address-cells = <1>;
405 #size-cells = <0>;
406 };
407
Maxime Riparde38afcb2013-05-30 03:49:23 +0000408 emac: ethernet@01c0b000 {
Maxime Ripard1c70e092014-02-02 14:49:13 +0100409 compatible = "allwinner,sun4i-a10-emac";
Maxime Riparde38afcb2013-05-30 03:49:23 +0000410 reg = <0x01c0b000 0x1000>;
411 interrupts = <55>;
412 clocks = <&ahb_gates 17>;
413 status = "disabled";
414 };
415
416 mdio@01c0b080 {
Maxime Ripard1c70e092014-02-02 14:49:13 +0100417 compatible = "allwinner,sun4i-a10-mdio";
Maxime Riparde38afcb2013-05-30 03:49:23 +0000418 reg = <0x01c0b080 0x14>;
419 status = "disabled";
420 #address-cells = <1>;
421 #size-cells = <0>;
422 };
423
David Lanzendörferb258b362014-05-02 17:57:18 +0200424 mmc0: mmc@01c0f000 {
425 compatible = "allwinner,sun4i-a10-mmc";
426 reg = <0x01c0f000 0x1000>;
427 clocks = <&ahb_gates 8>, <&mmc0_clk>;
428 clock-names = "ahb", "mmc";
429 interrupts = <32>;
430 status = "disabled";
431 };
432
433 mmc1: mmc@01c10000 {
434 compatible = "allwinner,sun4i-a10-mmc";
435 reg = <0x01c10000 0x1000>;
436 clocks = <&ahb_gates 9>, <&mmc1_clk>;
437 clock-names = "ahb", "mmc";
438 interrupts = <33>;
439 status = "disabled";
440 };
441
442 mmc2: mmc@01c11000 {
443 compatible = "allwinner,sun4i-a10-mmc";
444 reg = <0x01c11000 0x1000>;
445 clocks = <&ahb_gates 10>, <&mmc2_clk>;
446 clock-names = "ahb", "mmc";
447 interrupts = <34>;
448 status = "disabled";
449 };
450
451 mmc3: mmc@01c12000 {
452 compatible = "allwinner,sun4i-a10-mmc";
453 reg = <0x01c12000 0x1000>;
454 clocks = <&ahb_gates 11>, <&mmc3_clk>;
455 clock-names = "ahb", "mmc";
456 interrupts = <35>;
457 status = "disabled";
458 };
459
Roman Byshko6ab1ce22014-03-01 20:26:23 +0100460 usbphy: phy@01c13400 {
461 #phy-cells = <1>;
462 compatible = "allwinner,sun4i-a10-usb-phy";
463 reg = <0x01c13400 0x10 0x01c14800 0x4 0x01c1c800 0x4>;
464 reg-names = "phy_ctrl", "pmu1", "pmu2";
465 clocks = <&usb_clk 8>;
466 clock-names = "usb_phy";
Chen-Yu Tsai4dba4182014-12-18 19:10:35 +0800467 resets = <&usb_clk 0>, <&usb_clk 1>, <&usb_clk 2>;
468 reset-names = "usb0_reset", "usb1_reset", "usb2_reset";
Roman Byshko6ab1ce22014-03-01 20:26:23 +0100469 status = "disabled";
470 };
471
472 ehci0: usb@01c14000 {
473 compatible = "allwinner,sun4i-a10-ehci", "generic-ehci";
474 reg = <0x01c14000 0x100>;
475 interrupts = <39>;
476 clocks = <&ahb_gates 1>;
477 phys = <&usbphy 1>;
478 phy-names = "usb";
479 status = "disabled";
480 };
481
482 ohci0: usb@01c14400 {
483 compatible = "allwinner,sun4i-a10-ohci", "generic-ohci";
484 reg = <0x01c14400 0x100>;
485 interrupts = <64>;
486 clocks = <&usb_clk 6>, <&ahb_gates 2>;
487 phys = <&usbphy 1>;
488 phy-names = "usb";
489 status = "disabled";
490 };
491
Maxime Ripard65918e22014-02-22 22:35:55 +0100492 spi2: spi@01c17000 {
493 compatible = "allwinner,sun4i-a10-spi";
494 reg = <0x01c17000 0x1000>;
495 interrupts = <12>;
496 clocks = <&ahb_gates 22>, <&spi2_clk>;
497 clock-names = "ahb", "mod";
Maxime Ripard1f9f6a72014-12-16 22:59:56 +0100498 dmas = <&dma SUN4I_DMA_DEDICATED 29>,
499 <&dma SUN4I_DMA_DEDICATED 28>;
Emilio López4192ff82014-08-04 17:10:00 -0300500 dma-names = "rx", "tx";
Maxime Ripard65918e22014-02-22 22:35:55 +0100501 status = "disabled";
502 #address-cells = <1>;
503 #size-cells = <0>;
504 };
505
Oliver Schinagl248bd1e2014-03-01 20:26:21 +0100506 ahci: sata@01c18000 {
507 compatible = "allwinner,sun4i-a10-ahci";
508 reg = <0x01c18000 0x1000>;
509 interrupts = <56>;
510 clocks = <&pll6 0>, <&ahb_gates 25>;
511 status = "disabled";
512 };
513
Roman Byshko6ab1ce22014-03-01 20:26:23 +0100514 ehci1: usb@01c1c000 {
515 compatible = "allwinner,sun4i-a10-ehci", "generic-ehci";
516 reg = <0x01c1c000 0x100>;
517 interrupts = <40>;
518 clocks = <&ahb_gates 3>;
519 phys = <&usbphy 2>;
520 phy-names = "usb";
521 status = "disabled";
522 };
523
524 ohci1: usb@01c1c400 {
525 compatible = "allwinner,sun4i-a10-ohci", "generic-ohci";
526 reg = <0x01c1c400 0x100>;
527 interrupts = <65>;
528 clocks = <&usb_clk 7>, <&ahb_gates 4>;
529 phys = <&usbphy 2>;
530 phy-names = "usb";
531 status = "disabled";
532 };
533
Maxime Ripard65918e22014-02-22 22:35:55 +0100534 spi3: spi@01c1f000 {
535 compatible = "allwinner,sun4i-a10-spi";
536 reg = <0x01c1f000 0x1000>;
537 interrupts = <50>;
538 clocks = <&ahb_gates 23>, <&spi3_clk>;
539 clock-names = "ahb", "mod";
Maxime Ripard1f9f6a72014-12-16 22:59:56 +0100540 dmas = <&dma SUN4I_DMA_DEDICATED 31>,
541 <&dma SUN4I_DMA_DEDICATED 30>;
Emilio López4192ff82014-08-04 17:10:00 -0300542 dma-names = "rx", "tx";
Maxime Ripard65918e22014-02-22 22:35:55 +0100543 status = "disabled";
544 #address-cells = <1>;
545 #size-cells = <0>;
546 };
547
Maxime Ripard69144e32013-03-13 20:07:37 +0100548 intc: interrupt-controller@01c20400 {
Maxime Ripard09504a72014-02-07 21:50:26 +0100549 compatible = "allwinner,sun4i-a10-ic";
Maxime Ripard69144e32013-03-13 20:07:37 +0100550 reg = <0x01c20400 0x400>;
551 interrupt-controller;
552 #interrupt-cells = <1>;
553 };
554
Maxime Riparde10911e2013-01-27 19:26:05 +0100555 pio: pinctrl@01c20800 {
Maxime Ripard874b4e42013-01-26 15:36:54 +0100556 compatible = "allwinner,sun4i-a10-pinctrl";
557 reg = <0x01c20800 0x400>;
Maxime Ripard39138bc2013-04-06 15:00:48 +0200558 interrupts = <28>;
Emilio López36386d62013-03-27 18:20:41 -0300559 clocks = <&apb0_gates 5>;
Maxime Riparde10911e2013-01-27 19:26:05 +0100560 gpio-controller;
Maxime Ripard39138bc2013-04-06 15:00:48 +0200561 interrupt-controller;
Chen-Yu Tsai7d4ff962014-06-30 23:57:51 +0200562 #interrupt-cells = <2>;
Maxime Ripard874b4e42013-01-26 15:36:54 +0100563 #size-cells = <0>;
Maxime Riparde10911e2013-01-27 19:26:05 +0100564 #gpio-cells = <3>;
Maxime Ripard581981b2013-01-26 15:36:55 +0100565
Alexandre Belloni1d5726e2014-04-28 18:17:10 +0200566 pwm0_pins_a: pwm0@0 {
567 allwinner,pins = "PB2";
568 allwinner,function = "pwm";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100569 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
570 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
Alexandre Belloni1d5726e2014-04-28 18:17:10 +0200571 };
572
573 pwm1_pins_a: pwm1@0 {
574 allwinner,pins = "PI3";
575 allwinner,function = "pwm";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100576 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
577 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
Alexandre Belloni1d5726e2014-04-28 18:17:10 +0200578 };
579
Maxime Ripard581981b2013-01-26 15:36:55 +0100580 uart0_pins_a: uart0@0 {
581 allwinner,pins = "PB22", "PB23";
582 allwinner,function = "uart0";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100583 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
584 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
Maxime Ripard581981b2013-01-26 15:36:55 +0100585 };
586
587 uart0_pins_b: uart0@1 {
588 allwinner,pins = "PF2", "PF4";
589 allwinner,function = "uart0";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100590 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
591 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
Maxime Ripard581981b2013-01-26 15:36:55 +0100592 };
593
594 uart1_pins_a: uart1@0 {
595 allwinner,pins = "PA10", "PA11";
596 allwinner,function = "uart1";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100597 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
598 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
Maxime Ripard581981b2013-01-26 15:36:55 +0100599 };
Maxime Ripard27cce4f2013-03-10 13:44:38 +0100600
601 i2c0_pins_a: i2c0@0 {
602 allwinner,pins = "PB0", "PB1";
603 allwinner,function = "i2c0";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100604 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
605 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
Maxime Ripard27cce4f2013-03-10 13:44:38 +0100606 };
607
608 i2c1_pins_a: i2c1@0 {
609 allwinner,pins = "PB18", "PB19";
610 allwinner,function = "i2c1";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100611 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
612 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
Maxime Ripard27cce4f2013-03-10 13:44:38 +0100613 };
614
615 i2c2_pins_a: i2c2@0 {
616 allwinner,pins = "PB20", "PB21";
617 allwinner,function = "i2c2";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100618 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
619 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
Maxime Ripard27cce4f2013-03-10 13:44:38 +0100620 };
Linus Torvalds496322b2013-07-09 18:24:39 -0700621
Maxime Ripardb21da662013-05-30 03:49:22 +0000622 emac_pins_a: emac0@0 {
623 allwinner,pins = "PA0", "PA1", "PA2",
624 "PA3", "PA4", "PA5", "PA6",
625 "PA7", "PA8", "PA9", "PA10",
626 "PA11", "PA12", "PA13", "PA14",
627 "PA15", "PA16";
628 allwinner,function = "emac";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100629 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
630 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
Maxime Ripardb21da662013-05-30 03:49:22 +0000631 };
Hans de Goedeb5f86a32014-05-02 17:57:19 +0200632
633 mmc0_pins_a: mmc0@0 {
634 allwinner,pins = "PF0","PF1","PF2","PF3","PF4","PF5";
635 allwinner,function = "mmc0";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100636 allwinner,drive = <SUN4I_PINCTRL_30_MA>;
637 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
Hans de Goedeb5f86a32014-05-02 17:57:19 +0200638 };
639
640 mmc0_cd_pin_reference_design: mmc0_cd_pin@0 {
641 allwinner,pins = "PH1";
642 allwinner,function = "gpio_in";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100643 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
644 allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
Hans de Goedeb5f86a32014-05-02 17:57:19 +0200645 };
Hans de Goedea4e10992014-06-30 23:57:58 +0200646
647 ir0_pins_a: ir0@0 {
648 allwinner,pins = "PB3","PB4";
649 allwinner,function = "ir0";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100650 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
651 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
Hans de Goedea4e10992014-06-30 23:57:58 +0200652 };
653
654 ir1_pins_a: ir1@0 {
655 allwinner,pins = "PB22","PB23";
656 allwinner,function = "ir1";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100657 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
658 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
Hans de Goedea4e10992014-06-30 23:57:58 +0200659 };
Alexandru Gagniucec66d0b2014-12-08 04:14:01 -0600660
661 spi0_pins_a: spi0@0 {
662 allwinner,pins = "PI10", "PI11", "PI12", "PI13";
663 allwinner,function = "spi0";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100664 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
665 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
Alexandru Gagniucec66d0b2014-12-08 04:14:01 -0600666 };
667
668 spi1_pins_a: spi1@0 {
669 allwinner,pins = "PI16", "PI17", "PI18", "PI19";
670 allwinner,function = "spi1";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100671 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
672 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
Alexandru Gagniucec66d0b2014-12-08 04:14:01 -0600673 };
674
675 spi2_pins_a: spi2@0 {
676 allwinner,pins = "PB14", "PB15", "PB16", "PB17";
677 allwinner,function = "spi2";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100678 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
679 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
Alexandru Gagniucec66d0b2014-12-08 04:14:01 -0600680 };
681
682 spi2_pins_b: spi2@1 {
683 allwinner,pins = "PC19", "PC20", "PC21", "PC22";
684 allwinner,function = "spi2";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100685 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
686 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
Alexandru Gagniucec66d0b2014-12-08 04:14:01 -0600687 };
Maxime Ripard874b4e42013-01-26 15:36:54 +0100688 };
Maxime Ripard89b3c992013-02-20 17:25:03 -0800689
Maxime Ripard69144e32013-03-13 20:07:37 +0100690 timer@01c20c00 {
Maxime Ripardb4f26442014-02-06 10:40:32 +0100691 compatible = "allwinner,sun4i-a10-timer";
Maxime Ripard69144e32013-03-13 20:07:37 +0100692 reg = <0x01c20c00 0x90>;
693 interrupts = <22>;
694 clocks = <&osc24M>;
695 };
696
697 wdt: watchdog@01c20c90 {
Maxime Ripardca5d04d2014-02-07 22:29:26 +0100698 compatible = "allwinner,sun4i-a10-wdt";
Maxime Ripard69144e32013-03-13 20:07:37 +0100699 reg = <0x01c20c90 0x10>;
700 };
701
Carlo Caioneb5d905c2013-10-16 20:30:26 +0200702 rtc: rtc@01c20d00 {
Maxime Ripard5fc4bc82014-04-03 14:50:03 -0700703 compatible = "allwinner,sun4i-a10-rtc";
Carlo Caioneb5d905c2013-10-16 20:30:26 +0200704 reg = <0x01c20d00 0x20>;
705 interrupts = <24>;
706 };
707
Alexandre Belloni4b57a392014-04-28 18:17:11 +0200708 pwm: pwm@01c20e00 {
709 compatible = "allwinner,sun4i-a10-pwm";
710 reg = <0x01c20e00 0xc>;
711 clocks = <&osc24M>;
712 #pwm-cells = <3>;
713 status = "disabled";
714 };
715
Hans de Goedea4e10992014-06-30 23:57:58 +0200716 ir0: ir@01c21800 {
717 compatible = "allwinner,sun4i-a10-ir";
718 clocks = <&apb0_gates 6>, <&ir0_clk>;
719 clock-names = "apb", "ir";
720 interrupts = <5>;
721 reg = <0x01c21800 0x40>;
722 status = "disabled";
723 };
724
725 ir1: ir@01c21c00 {
726 compatible = "allwinner,sun4i-a10-ir";
727 clocks = <&apb0_gates 7>, <&ir1_clk>;
728 clock-names = "apb", "ir";
729 interrupts = <6>;
730 reg = <0x01c21c00 0x40>;
731 status = "disabled";
732 };
733
Hans de Goedeb0512e12014-12-23 11:13:20 +0100734 lradc: lradc@01c22800 {
735 compatible = "allwinner,sun4i-a10-lradc-keys";
736 reg = <0x01c22800 0x100>;
737 interrupts = <31>;
738 status = "disabled";
739 };
740
Oliver Schinagl2bad9692013-09-03 12:33:28 +0200741 sid: eeprom@01c23800 {
Maxime Ripard043d56e2014-02-07 22:20:40 +0100742 compatible = "allwinner,sun4i-a10-sid";
Oliver Schinagl2bad9692013-09-03 12:33:28 +0200743 reg = <0x01c23800 0x10>;
744 };
745
Hans de Goede57c88392013-12-31 17:20:50 +0100746 rtp: rtp@01c25000 {
Maxime Ripard40dd8f32014-02-02 14:52:40 +0100747 compatible = "allwinner,sun4i-a10-ts";
Hans de Goede57c88392013-12-31 17:20:50 +0100748 reg = <0x01c25000 0x100>;
749 interrupts = <29>;
Chen-Yu Tsai41e7afb2015-01-06 10:35:15 +0800750 #thermal-sensor-cells = <0>;
Hans de Goede57c88392013-12-31 17:20:50 +0100751 };
752
Maxime Ripard89b3c992013-02-20 17:25:03 -0800753 uart0: serial@01c28000 {
754 compatible = "snps,dw-apb-uart";
755 reg = <0x01c28000 0x400>;
756 interrupts = <1>;
757 reg-shift = <2>;
758 reg-io-width = <4>;
Emilio López9ff49ec2013-03-27 18:20:39 -0300759 clocks = <&apb1_gates 16>;
Maxime Ripard89b3c992013-02-20 17:25:03 -0800760 status = "disabled";
761 };
Maxime Ripard76f14d0a2013-02-20 17:38:27 -0800762
Maxime Ripard69144e32013-03-13 20:07:37 +0100763 uart1: serial@01c28400 {
764 compatible = "snps,dw-apb-uart";
765 reg = <0x01c28400 0x400>;
766 interrupts = <2>;
767 reg-shift = <2>;
768 reg-io-width = <4>;
769 clocks = <&apb1_gates 17>;
770 status = "disabled";
771 };
772
Maxime Ripard76f14d0a2013-02-20 17:38:27 -0800773 uart2: serial@01c28800 {
774 compatible = "snps,dw-apb-uart";
775 reg = <0x01c28800 0x400>;
776 interrupts = <3>;
777 reg-shift = <2>;
778 reg-io-width = <4>;
Emilio López9ff49ec2013-03-27 18:20:39 -0300779 clocks = <&apb1_gates 18>;
Maxime Ripard76f14d0a2013-02-20 17:38:27 -0800780 status = "disabled";
781 };
782
Maxime Ripard69144e32013-03-13 20:07:37 +0100783 uart3: serial@01c28c00 {
784 compatible = "snps,dw-apb-uart";
785 reg = <0x01c28c00 0x400>;
786 interrupts = <4>;
787 reg-shift = <2>;
788 reg-io-width = <4>;
789 clocks = <&apb1_gates 19>;
790 status = "disabled";
791 };
792
Maxime Ripard76f14d0a2013-02-20 17:38:27 -0800793 uart4: serial@01c29000 {
794 compatible = "snps,dw-apb-uart";
795 reg = <0x01c29000 0x400>;
796 interrupts = <17>;
797 reg-shift = <2>;
798 reg-io-width = <4>;
Emilio López9ff49ec2013-03-27 18:20:39 -0300799 clocks = <&apb1_gates 20>;
Maxime Ripard76f14d0a2013-02-20 17:38:27 -0800800 status = "disabled";
801 };
802
803 uart5: serial@01c29400 {
804 compatible = "snps,dw-apb-uart";
805 reg = <0x01c29400 0x400>;
806 interrupts = <18>;
807 reg-shift = <2>;
808 reg-io-width = <4>;
Emilio López9ff49ec2013-03-27 18:20:39 -0300809 clocks = <&apb1_gates 21>;
Maxime Ripard76f14d0a2013-02-20 17:38:27 -0800810 status = "disabled";
811 };
812
813 uart6: serial@01c29800 {
814 compatible = "snps,dw-apb-uart";
815 reg = <0x01c29800 0x400>;
816 interrupts = <19>;
817 reg-shift = <2>;
818 reg-io-width = <4>;
Emilio López9ff49ec2013-03-27 18:20:39 -0300819 clocks = <&apb1_gates 22>;
Maxime Ripard76f14d0a2013-02-20 17:38:27 -0800820 status = "disabled";
821 };
822
823 uart7: serial@01c29c00 {
824 compatible = "snps,dw-apb-uart";
825 reg = <0x01c29c00 0x400>;
826 interrupts = <20>;
827 reg-shift = <2>;
828 reg-io-width = <4>;
Emilio López9ff49ec2013-03-27 18:20:39 -0300829 clocks = <&apb1_gates 23>;
Maxime Ripard76f14d0a2013-02-20 17:38:27 -0800830 status = "disabled";
831 };
Maxime Ripardf1741fd2013-03-10 13:34:36 +0100832
833 i2c0: i2c@01c2ac00 {
Maxime Ripardd2755452014-03-31 14:54:58 +0200834 compatible = "allwinner,sun4i-a10-i2c";
Maxime Ripardf1741fd2013-03-10 13:34:36 +0100835 reg = <0x01c2ac00 0x400>;
836 interrupts = <7>;
837 clocks = <&apb1_gates 0>;
Maxime Ripardf1741fd2013-03-10 13:34:36 +0100838 status = "disabled";
Hans de Goede60bbe312014-04-13 13:41:03 +0200839 #address-cells = <1>;
840 #size-cells = <0>;
Maxime Ripardf1741fd2013-03-10 13:34:36 +0100841 };
842
843 i2c1: i2c@01c2b000 {
Maxime Ripardd2755452014-03-31 14:54:58 +0200844 compatible = "allwinner,sun4i-a10-i2c";
Maxime Ripardf1741fd2013-03-10 13:34:36 +0100845 reg = <0x01c2b000 0x400>;
846 interrupts = <8>;
847 clocks = <&apb1_gates 1>;
Maxime Ripardf1741fd2013-03-10 13:34:36 +0100848 status = "disabled";
Hans de Goede60bbe312014-04-13 13:41:03 +0200849 #address-cells = <1>;
850 #size-cells = <0>;
Maxime Ripardf1741fd2013-03-10 13:34:36 +0100851 };
852
853 i2c2: i2c@01c2b400 {
Maxime Ripardd2755452014-03-31 14:54:58 +0200854 compatible = "allwinner,sun4i-a10-i2c";
Maxime Ripardf1741fd2013-03-10 13:34:36 +0100855 reg = <0x01c2b400 0x400>;
856 interrupts = <9>;
857 clocks = <&apb1_gates 2>;
Maxime Ripardf1741fd2013-03-10 13:34:36 +0100858 status = "disabled";
Hans de Goede60bbe312014-04-13 13:41:03 +0200859 #address-cells = <1>;
860 #size-cells = <0>;
Maxime Ripardf1741fd2013-03-10 13:34:36 +0100861 };
Maxime Ripard874b4e42013-01-26 15:36:54 +0100862 };
Stefan Roese7423d2d2012-11-26 15:46:12 +0100863};