blob: 5aae86cb899467bc4a28b98fc9fc1d40fcbaf8e3 [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>;
Maxime Ripard69144e32013-03-13 20:07:37 +010058 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>;
Maxime Ripard69144e32013-03-13 20:07:37 +010062 };
63 };
64
Stefan Roese7423d2d2012-11-26 15:46:12 +010065 memory {
66 reg = <0x40000000 0x80000000>;
67 };
Maxime Ripard874b4e42013-01-26 15:36:54 +010068
Maxime Ripard69144e32013-03-13 20:07:37 +010069 clocks {
70 #address-cells = <1>;
71 #size-cells = <1>;
72 ranges;
73
74 /*
75 * This is a dummy clock, to be used as placeholder on
76 * other mux clocks when a specific parent clock is not
77 * yet implemented. It should be dropped when the driver
78 * is complete.
79 */
80 dummy: dummy {
81 #clock-cells = <0>;
82 compatible = "fixed-clock";
83 clock-frequency = <0>;
84 };
85
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +080086 osc24M: clk@01c20050 {
Maxime Ripard69144e32013-03-13 20:07:37 +010087 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +010088 compatible = "allwinner,sun4i-a10-osc-clk";
Maxime Ripard69144e32013-03-13 20:07:37 +010089 reg = <0x01c20050 0x4>;
Emilio López92fd6e02013-04-09 10:48:04 -030090 clock-frequency = <24000000>;
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +080091 clock-output-names = "osc24M";
Maxime Ripard69144e32013-03-13 20:07:37 +010092 };
93
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +080094 osc32k: clk@0 {
Maxime Ripard69144e32013-03-13 20:07:37 +010095 #clock-cells = <0>;
96 compatible = "fixed-clock";
97 clock-frequency = <32768>;
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +080098 clock-output-names = "osc32k";
Maxime Ripard69144e32013-03-13 20:07:37 +010099 };
100
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800101 pll1: clk@01c20000 {
Maxime Ripard69144e32013-03-13 20:07:37 +0100102 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100103 compatible = "allwinner,sun4i-a10-pll1-clk";
Maxime Ripard69144e32013-03-13 20:07:37 +0100104 reg = <0x01c20000 0x4>;
105 clocks = <&osc24M>;
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800106 clock-output-names = "pll1";
Maxime Ripard69144e32013-03-13 20:07:37 +0100107 };
108
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800109 pll4: clk@01c20018 {
Emilio Lópezec5589f2013-12-23 00:32:35 -0300110 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100111 compatible = "allwinner,sun4i-a10-pll1-clk";
Emilio Lópezec5589f2013-12-23 00:32:35 -0300112 reg = <0x01c20018 0x4>;
113 clocks = <&osc24M>;
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800114 clock-output-names = "pll4";
Emilio Lópezec5589f2013-12-23 00:32:35 -0300115 };
116
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800117 pll5: clk@01c20020 {
Emilio Lópezc3e5e662013-12-23 00:32:38 -0300118 #clock-cells = <1>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100119 compatible = "allwinner,sun4i-a10-pll5-clk";
Emilio Lópezc3e5e662013-12-23 00:32:38 -0300120 reg = <0x01c20020 0x4>;
121 clocks = <&osc24M>;
122 clock-output-names = "pll5_ddr", "pll5_other";
123 };
124
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800125 pll6: clk@01c20028 {
Emilio Lópezc3e5e662013-12-23 00:32:38 -0300126 #clock-cells = <1>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100127 compatible = "allwinner,sun4i-a10-pll6-clk";
Emilio Lópezc3e5e662013-12-23 00:32:38 -0300128 reg = <0x01c20028 0x4>;
129 clocks = <&osc24M>;
130 clock-output-names = "pll6_sata", "pll6_other", "pll6";
131 };
132
Maxime Ripard69144e32013-03-13 20:07:37 +0100133 /* dummy is 200M */
134 cpu: cpu@01c20054 {
135 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100136 compatible = "allwinner,sun4i-a10-cpu-clk";
Maxime Ripard69144e32013-03-13 20:07:37 +0100137 reg = <0x01c20054 0x4>;
138 clocks = <&osc32k>, <&osc24M>, <&pll1>, <&dummy>;
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800139 clock-output-names = "cpu";
Maxime Ripard69144e32013-03-13 20:07:37 +0100140 };
141
142 axi: axi@01c20054 {
143 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100144 compatible = "allwinner,sun4i-a10-axi-clk";
Maxime Ripard69144e32013-03-13 20:07:37 +0100145 reg = <0x01c20054 0x4>;
146 clocks = <&cpu>;
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800147 clock-output-names = "axi";
Maxime Ripard69144e32013-03-13 20:07:37 +0100148 };
149
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800150 axi_gates: clk@01c2005c {
Maxime Ripard69144e32013-03-13 20:07:37 +0100151 #clock-cells = <1>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100152 compatible = "allwinner,sun4i-a10-axi-gates-clk";
Maxime Ripard69144e32013-03-13 20:07:37 +0100153 reg = <0x01c2005c 0x4>;
154 clocks = <&axi>;
155 clock-output-names = "axi_dram";
156 };
157
158 ahb: ahb@01c20054 {
159 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100160 compatible = "allwinner,sun4i-a10-ahb-clk";
Maxime Ripard69144e32013-03-13 20:07:37 +0100161 reg = <0x01c20054 0x4>;
162 clocks = <&axi>;
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800163 clock-output-names = "ahb";
Maxime Ripard69144e32013-03-13 20:07:37 +0100164 };
165
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800166 ahb_gates: clk@01c20060 {
Maxime Ripard69144e32013-03-13 20:07:37 +0100167 #clock-cells = <1>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100168 compatible = "allwinner,sun4i-a10-ahb-gates-clk";
Maxime Ripard69144e32013-03-13 20:07:37 +0100169 reg = <0x01c20060 0x8>;
170 clocks = <&ahb>;
171 clock-output-names = "ahb_usb0", "ahb_ehci0",
172 "ahb_ohci0", "ahb_ehci1", "ahb_ohci1", "ahb_ss",
173 "ahb_dma", "ahb_bist", "ahb_mmc0", "ahb_mmc1",
174 "ahb_mmc2", "ahb_mmc3", "ahb_ms", "ahb_nand",
175 "ahb_sdram", "ahb_ace", "ahb_emac", "ahb_ts",
176 "ahb_spi0", "ahb_spi1", "ahb_spi2", "ahb_spi3",
177 "ahb_pata", "ahb_sata", "ahb_gps", "ahb_ve",
178 "ahb_tvd", "ahb_tve0", "ahb_tve1", "ahb_lcd0",
179 "ahb_lcd1", "ahb_csi0", "ahb_csi1", "ahb_hdmi",
180 "ahb_de_be0", "ahb_de_be1", "ahb_de_fe0",
181 "ahb_de_fe1", "ahb_mp", "ahb_mali400";
182 };
183
184 apb0: apb0@01c20054 {
185 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100186 compatible = "allwinner,sun4i-a10-apb0-clk";
Maxime Ripard69144e32013-03-13 20:07:37 +0100187 reg = <0x01c20054 0x4>;
188 clocks = <&ahb>;
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800189 clock-output-names = "apb0";
Maxime Ripard69144e32013-03-13 20:07:37 +0100190 };
191
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800192 apb0_gates: clk@01c20068 {
Maxime Ripard69144e32013-03-13 20:07:37 +0100193 #clock-cells = <1>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100194 compatible = "allwinner,sun4i-a10-apb0-gates-clk";
Maxime Ripard69144e32013-03-13 20:07:37 +0100195 reg = <0x01c20068 0x4>;
196 clocks = <&apb0>;
197 clock-output-names = "apb0_codec", "apb0_spdif",
198 "apb0_ac97", "apb0_iis", "apb0_pio", "apb0_ir0",
199 "apb0_ir1", "apb0_keypad";
200 };
201
Emilio Lópezacbcc0f2014-11-06 11:40:30 +0800202 apb1: clk@01c20058 {
Maxime Ripard69144e32013-03-13 20:07:37 +0100203 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100204 compatible = "allwinner,sun4i-a10-apb1-clk";
Maxime Ripard69144e32013-03-13 20:07:37 +0100205 reg = <0x01c20058 0x4>;
Emilio Lópezacbcc0f2014-11-06 11:40:30 +0800206 clocks = <&osc24M>, <&pll6 1>, <&osc32k>;
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800207 clock-output-names = "apb1";
Maxime Ripard69144e32013-03-13 20:07:37 +0100208 };
209
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800210 apb1_gates: clk@01c2006c {
Maxime Ripard69144e32013-03-13 20:07:37 +0100211 #clock-cells = <1>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100212 compatible = "allwinner,sun4i-a10-apb1-gates-clk";
Maxime Ripard69144e32013-03-13 20:07:37 +0100213 reg = <0x01c2006c 0x4>;
214 clocks = <&apb1>;
215 clock-output-names = "apb1_i2c0", "apb1_i2c1",
216 "apb1_i2c2", "apb1_can", "apb1_scr",
217 "apb1_ps20", "apb1_ps21", "apb1_uart0",
218 "apb1_uart1", "apb1_uart2", "apb1_uart3",
219 "apb1_uart4", "apb1_uart5", "apb1_uart6",
220 "apb1_uart7";
221 };
Emilio López4b756ff2013-12-23 00:32:41 -0300222
223 nand_clk: clk@01c20080 {
224 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100225 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López4b756ff2013-12-23 00:32:41 -0300226 reg = <0x01c20080 0x4>;
227 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
228 clock-output-names = "nand";
229 };
230
231 ms_clk: clk@01c20084 {
232 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100233 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López4b756ff2013-12-23 00:32:41 -0300234 reg = <0x01c20084 0x4>;
235 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
236 clock-output-names = "ms";
237 };
238
239 mmc0_clk: clk@01c20088 {
240 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100241 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López4b756ff2013-12-23 00:32:41 -0300242 reg = <0x01c20088 0x4>;
243 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
244 clock-output-names = "mmc0";
245 };
246
247 mmc1_clk: clk@01c2008c {
248 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100249 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López4b756ff2013-12-23 00:32:41 -0300250 reg = <0x01c2008c 0x4>;
251 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
252 clock-output-names = "mmc1";
253 };
254
255 mmc2_clk: clk@01c20090 {
256 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100257 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López4b756ff2013-12-23 00:32:41 -0300258 reg = <0x01c20090 0x4>;
259 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
260 clock-output-names = "mmc2";
261 };
262
263 mmc3_clk: clk@01c20094 {
264 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100265 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López4b756ff2013-12-23 00:32:41 -0300266 reg = <0x01c20094 0x4>;
267 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
268 clock-output-names = "mmc3";
269 };
270
271 ts_clk: clk@01c20098 {
272 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100273 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López4b756ff2013-12-23 00:32:41 -0300274 reg = <0x01c20098 0x4>;
275 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
276 clock-output-names = "ts";
277 };
278
279 ss_clk: clk@01c2009c {
280 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100281 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López4b756ff2013-12-23 00:32:41 -0300282 reg = <0x01c2009c 0x4>;
283 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
284 clock-output-names = "ss";
285 };
286
287 spi0_clk: clk@01c200a0 {
288 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100289 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López4b756ff2013-12-23 00:32:41 -0300290 reg = <0x01c200a0 0x4>;
291 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
292 clock-output-names = "spi0";
293 };
294
295 spi1_clk: clk@01c200a4 {
296 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100297 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López4b756ff2013-12-23 00:32:41 -0300298 reg = <0x01c200a4 0x4>;
299 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
300 clock-output-names = "spi1";
301 };
302
303 spi2_clk: clk@01c200a8 {
304 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100305 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López4b756ff2013-12-23 00:32:41 -0300306 reg = <0x01c200a8 0x4>;
307 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
308 clock-output-names = "spi2";
309 };
310
311 pata_clk: clk@01c200ac {
312 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100313 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López4b756ff2013-12-23 00:32:41 -0300314 reg = <0x01c200ac 0x4>;
315 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
316 clock-output-names = "pata";
317 };
318
319 ir0_clk: clk@01c200b0 {
320 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100321 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López4b756ff2013-12-23 00:32:41 -0300322 reg = <0x01c200b0 0x4>;
323 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
324 clock-output-names = "ir0";
325 };
326
327 ir1_clk: clk@01c200b4 {
328 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100329 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López4b756ff2013-12-23 00:32:41 -0300330 reg = <0x01c200b4 0x4>;
331 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
332 clock-output-names = "ir1";
333 };
334
Roman Byshko0076c8b2014-02-07 16:21:51 +0100335 usb_clk: clk@01c200cc {
336 #clock-cells = <1>;
337 #reset-cells = <1>;
338 compatible = "allwinner,sun4i-a10-usb-clk";
339 reg = <0x01c200cc 0x4>;
340 clocks = <&pll6 1>;
341 clock-output-names = "usb_ohci0", "usb_ohci1", "usb_phy";
342 };
343
Emilio López4b756ff2013-12-23 00:32:41 -0300344 spi3_clk: clk@01c200d4 {
345 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100346 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López4b756ff2013-12-23 00:32:41 -0300347 reg = <0x01c200d4 0x4>;
348 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
349 clock-output-names = "spi3";
350 };
Maxime Ripard69144e32013-03-13 20:07:37 +0100351 };
352
Maxime Ripardb74aec12013-08-03 16:07:36 +0200353 soc@01c00000 {
Maxime Ripard69144e32013-03-13 20:07:37 +0100354 compatible = "simple-bus";
355 #address-cells = <1>;
356 #size-cells = <1>;
Maxime Ripard69144e32013-03-13 20:07:37 +0100357 ranges;
358
Emilio López1324f532014-08-04 17:09:57 -0300359 dma: dma-controller@01c02000 {
360 compatible = "allwinner,sun4i-a10-dma";
361 reg = <0x01c02000 0x1000>;
362 interrupts = <27>;
363 clocks = <&ahb_gates 6>;
364 #dma-cells = <2>;
365 };
366
Maxime Ripard65918e22014-02-22 22:35:55 +0100367 spi0: spi@01c05000 {
368 compatible = "allwinner,sun4i-a10-spi";
369 reg = <0x01c05000 0x1000>;
370 interrupts = <10>;
371 clocks = <&ahb_gates 20>, <&spi0_clk>;
372 clock-names = "ahb", "mod";
Maxime Ripard1f9f6a72014-12-16 22:59:56 +0100373 dmas = <&dma SUN4I_DMA_DEDICATED 27>,
374 <&dma SUN4I_DMA_DEDICATED 26>;
Emilio López4192ff82014-08-04 17:10:00 -0300375 dma-names = "rx", "tx";
Maxime Ripard65918e22014-02-22 22:35:55 +0100376 status = "disabled";
377 #address-cells = <1>;
378 #size-cells = <0>;
379 };
380
381 spi1: spi@01c06000 {
382 compatible = "allwinner,sun4i-a10-spi";
383 reg = <0x01c06000 0x1000>;
384 interrupts = <11>;
385 clocks = <&ahb_gates 21>, <&spi1_clk>;
386 clock-names = "ahb", "mod";
Maxime Ripard1f9f6a72014-12-16 22:59:56 +0100387 dmas = <&dma SUN4I_DMA_DEDICATED 9>,
388 <&dma SUN4I_DMA_DEDICATED 8>;
Emilio López4192ff82014-08-04 17:10:00 -0300389 dma-names = "rx", "tx";
Maxime Ripard65918e22014-02-22 22:35:55 +0100390 status = "disabled";
391 #address-cells = <1>;
392 #size-cells = <0>;
393 };
394
Maxime Riparde38afcb2013-05-30 03:49:23 +0000395 emac: ethernet@01c0b000 {
Maxime Ripard1c70e092014-02-02 14:49:13 +0100396 compatible = "allwinner,sun4i-a10-emac";
Maxime Riparde38afcb2013-05-30 03:49:23 +0000397 reg = <0x01c0b000 0x1000>;
398 interrupts = <55>;
399 clocks = <&ahb_gates 17>;
400 status = "disabled";
401 };
402
403 mdio@01c0b080 {
Maxime Ripard1c70e092014-02-02 14:49:13 +0100404 compatible = "allwinner,sun4i-a10-mdio";
Maxime Riparde38afcb2013-05-30 03:49:23 +0000405 reg = <0x01c0b080 0x14>;
406 status = "disabled";
407 #address-cells = <1>;
408 #size-cells = <0>;
409 };
410
David Lanzendörferb258b362014-05-02 17:57:18 +0200411 mmc0: mmc@01c0f000 {
412 compatible = "allwinner,sun4i-a10-mmc";
413 reg = <0x01c0f000 0x1000>;
414 clocks = <&ahb_gates 8>, <&mmc0_clk>;
415 clock-names = "ahb", "mmc";
416 interrupts = <32>;
417 status = "disabled";
418 };
419
420 mmc1: mmc@01c10000 {
421 compatible = "allwinner,sun4i-a10-mmc";
422 reg = <0x01c10000 0x1000>;
423 clocks = <&ahb_gates 9>, <&mmc1_clk>;
424 clock-names = "ahb", "mmc";
425 interrupts = <33>;
426 status = "disabled";
427 };
428
429 mmc2: mmc@01c11000 {
430 compatible = "allwinner,sun4i-a10-mmc";
431 reg = <0x01c11000 0x1000>;
432 clocks = <&ahb_gates 10>, <&mmc2_clk>;
433 clock-names = "ahb", "mmc";
434 interrupts = <34>;
435 status = "disabled";
436 };
437
438 mmc3: mmc@01c12000 {
439 compatible = "allwinner,sun4i-a10-mmc";
440 reg = <0x01c12000 0x1000>;
441 clocks = <&ahb_gates 11>, <&mmc3_clk>;
442 clock-names = "ahb", "mmc";
443 interrupts = <35>;
444 status = "disabled";
445 };
446
Roman Byshko6ab1ce22014-03-01 20:26:23 +0100447 usbphy: phy@01c13400 {
448 #phy-cells = <1>;
449 compatible = "allwinner,sun4i-a10-usb-phy";
450 reg = <0x01c13400 0x10 0x01c14800 0x4 0x01c1c800 0x4>;
451 reg-names = "phy_ctrl", "pmu1", "pmu2";
452 clocks = <&usb_clk 8>;
453 clock-names = "usb_phy";
Chen-Yu Tsai4dba4182014-12-18 19:10:35 +0800454 resets = <&usb_clk 0>, <&usb_clk 1>, <&usb_clk 2>;
455 reset-names = "usb0_reset", "usb1_reset", "usb2_reset";
Roman Byshko6ab1ce22014-03-01 20:26:23 +0100456 status = "disabled";
457 };
458
459 ehci0: usb@01c14000 {
460 compatible = "allwinner,sun4i-a10-ehci", "generic-ehci";
461 reg = <0x01c14000 0x100>;
462 interrupts = <39>;
463 clocks = <&ahb_gates 1>;
464 phys = <&usbphy 1>;
465 phy-names = "usb";
466 status = "disabled";
467 };
468
469 ohci0: usb@01c14400 {
470 compatible = "allwinner,sun4i-a10-ohci", "generic-ohci";
471 reg = <0x01c14400 0x100>;
472 interrupts = <64>;
473 clocks = <&usb_clk 6>, <&ahb_gates 2>;
474 phys = <&usbphy 1>;
475 phy-names = "usb";
476 status = "disabled";
477 };
478
Maxime Ripard65918e22014-02-22 22:35:55 +0100479 spi2: spi@01c17000 {
480 compatible = "allwinner,sun4i-a10-spi";
481 reg = <0x01c17000 0x1000>;
482 interrupts = <12>;
483 clocks = <&ahb_gates 22>, <&spi2_clk>;
484 clock-names = "ahb", "mod";
Maxime Ripard1f9f6a72014-12-16 22:59:56 +0100485 dmas = <&dma SUN4I_DMA_DEDICATED 29>,
486 <&dma SUN4I_DMA_DEDICATED 28>;
Emilio López4192ff82014-08-04 17:10:00 -0300487 dma-names = "rx", "tx";
Maxime Ripard65918e22014-02-22 22:35:55 +0100488 status = "disabled";
489 #address-cells = <1>;
490 #size-cells = <0>;
491 };
492
Oliver Schinagl248bd1e2014-03-01 20:26:21 +0100493 ahci: sata@01c18000 {
494 compatible = "allwinner,sun4i-a10-ahci";
495 reg = <0x01c18000 0x1000>;
496 interrupts = <56>;
497 clocks = <&pll6 0>, <&ahb_gates 25>;
498 status = "disabled";
499 };
500
Roman Byshko6ab1ce22014-03-01 20:26:23 +0100501 ehci1: usb@01c1c000 {
502 compatible = "allwinner,sun4i-a10-ehci", "generic-ehci";
503 reg = <0x01c1c000 0x100>;
504 interrupts = <40>;
505 clocks = <&ahb_gates 3>;
506 phys = <&usbphy 2>;
507 phy-names = "usb";
508 status = "disabled";
509 };
510
511 ohci1: usb@01c1c400 {
512 compatible = "allwinner,sun4i-a10-ohci", "generic-ohci";
513 reg = <0x01c1c400 0x100>;
514 interrupts = <65>;
515 clocks = <&usb_clk 7>, <&ahb_gates 4>;
516 phys = <&usbphy 2>;
517 phy-names = "usb";
518 status = "disabled";
519 };
520
Maxime Ripard65918e22014-02-22 22:35:55 +0100521 spi3: spi@01c1f000 {
522 compatible = "allwinner,sun4i-a10-spi";
523 reg = <0x01c1f000 0x1000>;
524 interrupts = <50>;
525 clocks = <&ahb_gates 23>, <&spi3_clk>;
526 clock-names = "ahb", "mod";
Maxime Ripard1f9f6a72014-12-16 22:59:56 +0100527 dmas = <&dma SUN4I_DMA_DEDICATED 31>,
528 <&dma SUN4I_DMA_DEDICATED 30>;
Emilio López4192ff82014-08-04 17:10:00 -0300529 dma-names = "rx", "tx";
Maxime Ripard65918e22014-02-22 22:35:55 +0100530 status = "disabled";
531 #address-cells = <1>;
532 #size-cells = <0>;
533 };
534
Maxime Ripard69144e32013-03-13 20:07:37 +0100535 intc: interrupt-controller@01c20400 {
Maxime Ripard09504a72014-02-07 21:50:26 +0100536 compatible = "allwinner,sun4i-a10-ic";
Maxime Ripard69144e32013-03-13 20:07:37 +0100537 reg = <0x01c20400 0x400>;
538 interrupt-controller;
539 #interrupt-cells = <1>;
540 };
541
Maxime Riparde10911e2013-01-27 19:26:05 +0100542 pio: pinctrl@01c20800 {
Maxime Ripard874b4e42013-01-26 15:36:54 +0100543 compatible = "allwinner,sun4i-a10-pinctrl";
544 reg = <0x01c20800 0x400>;
Maxime Ripard39138bc2013-04-06 15:00:48 +0200545 interrupts = <28>;
Emilio López36386d62013-03-27 18:20:41 -0300546 clocks = <&apb0_gates 5>;
Maxime Riparde10911e2013-01-27 19:26:05 +0100547 gpio-controller;
Maxime Ripard39138bc2013-04-06 15:00:48 +0200548 interrupt-controller;
Chen-Yu Tsai7d4ff962014-06-30 23:57:51 +0200549 #interrupt-cells = <2>;
Maxime Ripard874b4e42013-01-26 15:36:54 +0100550 #size-cells = <0>;
Maxime Riparde10911e2013-01-27 19:26:05 +0100551 #gpio-cells = <3>;
Maxime Ripard581981b2013-01-26 15:36:55 +0100552
Alexandre Belloni1d5726e2014-04-28 18:17:10 +0200553 pwm0_pins_a: pwm0@0 {
554 allwinner,pins = "PB2";
555 allwinner,function = "pwm";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100556 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
557 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
Alexandre Belloni1d5726e2014-04-28 18:17:10 +0200558 };
559
560 pwm1_pins_a: pwm1@0 {
561 allwinner,pins = "PI3";
562 allwinner,function = "pwm";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100563 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
564 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
Alexandre Belloni1d5726e2014-04-28 18:17:10 +0200565 };
566
Maxime Ripard581981b2013-01-26 15:36:55 +0100567 uart0_pins_a: uart0@0 {
568 allwinner,pins = "PB22", "PB23";
569 allwinner,function = "uart0";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100570 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
571 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
Maxime Ripard581981b2013-01-26 15:36:55 +0100572 };
573
574 uart0_pins_b: uart0@1 {
575 allwinner,pins = "PF2", "PF4";
576 allwinner,function = "uart0";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100577 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
578 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
Maxime Ripard581981b2013-01-26 15:36:55 +0100579 };
580
581 uart1_pins_a: uart1@0 {
582 allwinner,pins = "PA10", "PA11";
583 allwinner,function = "uart1";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100584 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
585 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
Maxime Ripard581981b2013-01-26 15:36:55 +0100586 };
Maxime Ripard27cce4f2013-03-10 13:44:38 +0100587
588 i2c0_pins_a: i2c0@0 {
589 allwinner,pins = "PB0", "PB1";
590 allwinner,function = "i2c0";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100591 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
592 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
Maxime Ripard27cce4f2013-03-10 13:44:38 +0100593 };
594
595 i2c1_pins_a: i2c1@0 {
596 allwinner,pins = "PB18", "PB19";
597 allwinner,function = "i2c1";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100598 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
599 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
Maxime Ripard27cce4f2013-03-10 13:44:38 +0100600 };
601
602 i2c2_pins_a: i2c2@0 {
603 allwinner,pins = "PB20", "PB21";
604 allwinner,function = "i2c2";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100605 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
606 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
Maxime Ripard27cce4f2013-03-10 13:44:38 +0100607 };
Linus Torvalds496322b2013-07-09 18:24:39 -0700608
Maxime Ripardb21da662013-05-30 03:49:22 +0000609 emac_pins_a: emac0@0 {
610 allwinner,pins = "PA0", "PA1", "PA2",
611 "PA3", "PA4", "PA5", "PA6",
612 "PA7", "PA8", "PA9", "PA10",
613 "PA11", "PA12", "PA13", "PA14",
614 "PA15", "PA16";
615 allwinner,function = "emac";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100616 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
617 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
Maxime Ripardb21da662013-05-30 03:49:22 +0000618 };
Hans de Goedeb5f86a32014-05-02 17:57:19 +0200619
620 mmc0_pins_a: mmc0@0 {
621 allwinner,pins = "PF0","PF1","PF2","PF3","PF4","PF5";
622 allwinner,function = "mmc0";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100623 allwinner,drive = <SUN4I_PINCTRL_30_MA>;
624 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
Hans de Goedeb5f86a32014-05-02 17:57:19 +0200625 };
626
627 mmc0_cd_pin_reference_design: mmc0_cd_pin@0 {
628 allwinner,pins = "PH1";
629 allwinner,function = "gpio_in";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100630 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
631 allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
Hans de Goedeb5f86a32014-05-02 17:57:19 +0200632 };
Hans de Goedea4e10992014-06-30 23:57:58 +0200633
634 ir0_pins_a: ir0@0 {
635 allwinner,pins = "PB3","PB4";
636 allwinner,function = "ir0";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100637 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
638 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
Hans de Goedea4e10992014-06-30 23:57:58 +0200639 };
640
641 ir1_pins_a: ir1@0 {
642 allwinner,pins = "PB22","PB23";
643 allwinner,function = "ir1";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100644 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
645 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
Hans de Goedea4e10992014-06-30 23:57:58 +0200646 };
Alexandru Gagniucec66d0b2014-12-08 04:14:01 -0600647
648 spi0_pins_a: spi0@0 {
649 allwinner,pins = "PI10", "PI11", "PI12", "PI13";
650 allwinner,function = "spi0";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100651 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
652 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
Alexandru Gagniucec66d0b2014-12-08 04:14:01 -0600653 };
654
655 spi1_pins_a: spi1@0 {
656 allwinner,pins = "PI16", "PI17", "PI18", "PI19";
657 allwinner,function = "spi1";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100658 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
659 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
Alexandru Gagniucec66d0b2014-12-08 04:14:01 -0600660 };
661
662 spi2_pins_a: spi2@0 {
663 allwinner,pins = "PB14", "PB15", "PB16", "PB17";
664 allwinner,function = "spi2";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100665 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
666 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
Alexandru Gagniucec66d0b2014-12-08 04:14:01 -0600667 };
668
669 spi2_pins_b: spi2@1 {
670 allwinner,pins = "PC19", "PC20", "PC21", "PC22";
671 allwinner,function = "spi2";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100672 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
673 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
Alexandru Gagniucec66d0b2014-12-08 04:14:01 -0600674 };
Maxime Ripard874b4e42013-01-26 15:36:54 +0100675 };
Maxime Ripard89b3c992013-02-20 17:25:03 -0800676
Maxime Ripard69144e32013-03-13 20:07:37 +0100677 timer@01c20c00 {
Maxime Ripardb4f26442014-02-06 10:40:32 +0100678 compatible = "allwinner,sun4i-a10-timer";
Maxime Ripard69144e32013-03-13 20:07:37 +0100679 reg = <0x01c20c00 0x90>;
680 interrupts = <22>;
681 clocks = <&osc24M>;
682 };
683
684 wdt: watchdog@01c20c90 {
Maxime Ripardca5d04d2014-02-07 22:29:26 +0100685 compatible = "allwinner,sun4i-a10-wdt";
Maxime Ripard69144e32013-03-13 20:07:37 +0100686 reg = <0x01c20c90 0x10>;
687 };
688
Carlo Caioneb5d905c2013-10-16 20:30:26 +0200689 rtc: rtc@01c20d00 {
Maxime Ripard5fc4bc82014-04-03 14:50:03 -0700690 compatible = "allwinner,sun4i-a10-rtc";
Carlo Caioneb5d905c2013-10-16 20:30:26 +0200691 reg = <0x01c20d00 0x20>;
692 interrupts = <24>;
693 };
694
Alexandre Belloni4b57a392014-04-28 18:17:11 +0200695 pwm: pwm@01c20e00 {
696 compatible = "allwinner,sun4i-a10-pwm";
697 reg = <0x01c20e00 0xc>;
698 clocks = <&osc24M>;
699 #pwm-cells = <3>;
700 status = "disabled";
701 };
702
Hans de Goedea4e10992014-06-30 23:57:58 +0200703 ir0: ir@01c21800 {
704 compatible = "allwinner,sun4i-a10-ir";
705 clocks = <&apb0_gates 6>, <&ir0_clk>;
706 clock-names = "apb", "ir";
707 interrupts = <5>;
708 reg = <0x01c21800 0x40>;
709 status = "disabled";
710 };
711
712 ir1: ir@01c21c00 {
713 compatible = "allwinner,sun4i-a10-ir";
714 clocks = <&apb0_gates 7>, <&ir1_clk>;
715 clock-names = "apb", "ir";
716 interrupts = <6>;
717 reg = <0x01c21c00 0x40>;
718 status = "disabled";
719 };
720
Hans de Goedeb0512e12014-12-23 11:13:20 +0100721 lradc: lradc@01c22800 {
722 compatible = "allwinner,sun4i-a10-lradc-keys";
723 reg = <0x01c22800 0x100>;
724 interrupts = <31>;
725 status = "disabled";
726 };
727
Oliver Schinagl2bad9692013-09-03 12:33:28 +0200728 sid: eeprom@01c23800 {
Maxime Ripard043d56e2014-02-07 22:20:40 +0100729 compatible = "allwinner,sun4i-a10-sid";
Oliver Schinagl2bad9692013-09-03 12:33:28 +0200730 reg = <0x01c23800 0x10>;
731 };
732
Hans de Goede57c88392013-12-31 17:20:50 +0100733 rtp: rtp@01c25000 {
Maxime Ripard40dd8f32014-02-02 14:52:40 +0100734 compatible = "allwinner,sun4i-a10-ts";
Hans de Goede57c88392013-12-31 17:20:50 +0100735 reg = <0x01c25000 0x100>;
736 interrupts = <29>;
Chen-Yu Tsai41e7afb2015-01-06 10:35:15 +0800737 #thermal-sensor-cells = <0>;
Hans de Goede57c88392013-12-31 17:20:50 +0100738 };
739
Maxime Ripard89b3c992013-02-20 17:25:03 -0800740 uart0: serial@01c28000 {
741 compatible = "snps,dw-apb-uart";
742 reg = <0x01c28000 0x400>;
743 interrupts = <1>;
744 reg-shift = <2>;
745 reg-io-width = <4>;
Emilio López9ff49ec2013-03-27 18:20:39 -0300746 clocks = <&apb1_gates 16>;
Maxime Ripard89b3c992013-02-20 17:25:03 -0800747 status = "disabled";
748 };
Maxime Ripard76f14d0a2013-02-20 17:38:27 -0800749
Maxime Ripard69144e32013-03-13 20:07:37 +0100750 uart1: serial@01c28400 {
751 compatible = "snps,dw-apb-uart";
752 reg = <0x01c28400 0x400>;
753 interrupts = <2>;
754 reg-shift = <2>;
755 reg-io-width = <4>;
756 clocks = <&apb1_gates 17>;
757 status = "disabled";
758 };
759
Maxime Ripard76f14d0a2013-02-20 17:38:27 -0800760 uart2: serial@01c28800 {
761 compatible = "snps,dw-apb-uart";
762 reg = <0x01c28800 0x400>;
763 interrupts = <3>;
764 reg-shift = <2>;
765 reg-io-width = <4>;
Emilio López9ff49ec2013-03-27 18:20:39 -0300766 clocks = <&apb1_gates 18>;
Maxime Ripard76f14d0a2013-02-20 17:38:27 -0800767 status = "disabled";
768 };
769
Maxime Ripard69144e32013-03-13 20:07:37 +0100770 uart3: serial@01c28c00 {
771 compatible = "snps,dw-apb-uart";
772 reg = <0x01c28c00 0x400>;
773 interrupts = <4>;
774 reg-shift = <2>;
775 reg-io-width = <4>;
776 clocks = <&apb1_gates 19>;
777 status = "disabled";
778 };
779
Maxime Ripard76f14d0a2013-02-20 17:38:27 -0800780 uart4: serial@01c29000 {
781 compatible = "snps,dw-apb-uart";
782 reg = <0x01c29000 0x400>;
783 interrupts = <17>;
784 reg-shift = <2>;
785 reg-io-width = <4>;
Emilio López9ff49ec2013-03-27 18:20:39 -0300786 clocks = <&apb1_gates 20>;
Maxime Ripard76f14d0a2013-02-20 17:38:27 -0800787 status = "disabled";
788 };
789
790 uart5: serial@01c29400 {
791 compatible = "snps,dw-apb-uart";
792 reg = <0x01c29400 0x400>;
793 interrupts = <18>;
794 reg-shift = <2>;
795 reg-io-width = <4>;
Emilio López9ff49ec2013-03-27 18:20:39 -0300796 clocks = <&apb1_gates 21>;
Maxime Ripard76f14d0a2013-02-20 17:38:27 -0800797 status = "disabled";
798 };
799
800 uart6: serial@01c29800 {
801 compatible = "snps,dw-apb-uart";
802 reg = <0x01c29800 0x400>;
803 interrupts = <19>;
804 reg-shift = <2>;
805 reg-io-width = <4>;
Emilio López9ff49ec2013-03-27 18:20:39 -0300806 clocks = <&apb1_gates 22>;
Maxime Ripard76f14d0a2013-02-20 17:38:27 -0800807 status = "disabled";
808 };
809
810 uart7: serial@01c29c00 {
811 compatible = "snps,dw-apb-uart";
812 reg = <0x01c29c00 0x400>;
813 interrupts = <20>;
814 reg-shift = <2>;
815 reg-io-width = <4>;
Emilio López9ff49ec2013-03-27 18:20:39 -0300816 clocks = <&apb1_gates 23>;
Maxime Ripard76f14d0a2013-02-20 17:38:27 -0800817 status = "disabled";
818 };
Maxime Ripardf1741fd2013-03-10 13:34:36 +0100819
820 i2c0: i2c@01c2ac00 {
Maxime Ripardd2755452014-03-31 14:54:58 +0200821 compatible = "allwinner,sun4i-a10-i2c";
Maxime Ripardf1741fd2013-03-10 13:34:36 +0100822 reg = <0x01c2ac00 0x400>;
823 interrupts = <7>;
824 clocks = <&apb1_gates 0>;
Maxime Ripardf1741fd2013-03-10 13:34:36 +0100825 status = "disabled";
Hans de Goede60bbe312014-04-13 13:41:03 +0200826 #address-cells = <1>;
827 #size-cells = <0>;
Maxime Ripardf1741fd2013-03-10 13:34:36 +0100828 };
829
830 i2c1: i2c@01c2b000 {
Maxime Ripardd2755452014-03-31 14:54:58 +0200831 compatible = "allwinner,sun4i-a10-i2c";
Maxime Ripardf1741fd2013-03-10 13:34:36 +0100832 reg = <0x01c2b000 0x400>;
833 interrupts = <8>;
834 clocks = <&apb1_gates 1>;
Maxime Ripardf1741fd2013-03-10 13:34:36 +0100835 status = "disabled";
Hans de Goede60bbe312014-04-13 13:41:03 +0200836 #address-cells = <1>;
837 #size-cells = <0>;
Maxime Ripardf1741fd2013-03-10 13:34:36 +0100838 };
839
840 i2c2: i2c@01c2b400 {
Maxime Ripardd2755452014-03-31 14:54:58 +0200841 compatible = "allwinner,sun4i-a10-i2c";
Maxime Ripardf1741fd2013-03-10 13:34:36 +0100842 reg = <0x01c2b400 0x400>;
843 interrupts = <9>;
844 clocks = <&apb1_gates 2>;
Maxime Ripardf1741fd2013-03-10 13:34:36 +0100845 status = "disabled";
Hans de Goede60bbe312014-04-13 13:41:03 +0200846 #address-cells = <1>;
847 #size-cells = <0>;
Maxime Ripardf1741fd2013-03-10 13:34:36 +0100848 };
Maxime Ripard874b4e42013-01-26 15:36:54 +0100849 };
Stefan Roese7423d2d2012-11-26 15:46:12 +0100850};