blob: 79989ed5658d570b36626d871ba6ee2cd083db6e [file] [log] [blame]
Maxime Ripardd3ae0782013-06-09 10:40:53 +02001/*
2 * Copyright 2013 Maxime Ripard
3 *
4 * Maxime Ripard <maxime.ripard@free-electrons.com>
5 *
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:
9 *
10 * http://www.opensource.org/licenses/gpl-license.html
11 * http://www.gnu.org/copyleft/gpl.html
12 */
13
14/include/ "skeleton.dtsi"
15
16/ {
17 interrupt-parent = <&intc>;
18
Emilio Lópeze751cce2013-11-16 15:17:29 -030019 aliases {
20 ethernet0 = &emac;
Maxime Ripard4dd40652014-01-02 22:05:04 +010021 serial0 = &uart0;
22 serial1 = &uart1;
23 serial2 = &uart2;
24 serial3 = &uart3;
Emilio Lópeze751cce2013-11-16 15:17:29 -030025 };
26
Maxime Ripardd3ae0782013-06-09 10:40:53 +020027 cpus {
28 cpu@0 {
29 compatible = "arm,cortex-a8";
30 };
31 };
32
33 memory {
34 reg = <0x40000000 0x20000000>;
35 };
36
37 clocks {
38 #address-cells = <1>;
39 #size-cells = <1>;
40 ranges;
41
42 /*
43 * This is a dummy clock, to be used as placeholder on
44 * other mux clocks when a specific parent clock is not
45 * yet implemented. It should be dropped when the driver
46 * is complete.
47 */
48 dummy: dummy {
49 #clock-cells = <0>;
50 compatible = "fixed-clock";
51 clock-frequency = <0>;
52 };
53
Chen-Yu Tsai3dce8322014-02-03 09:51:42 +080054 osc24M: clk@01c20050 {
Maxime Ripardd3ae0782013-06-09 10:40:53 +020055 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +010056 compatible = "allwinner,sun4i-a10-osc-clk";
Maxime Ripardd3ae0782013-06-09 10:40:53 +020057 reg = <0x01c20050 0x4>;
58 clock-frequency = <24000000>;
Chen-Yu Tsai3dce8322014-02-03 09:51:42 +080059 clock-output-names = "osc24M";
Maxime Ripardd3ae0782013-06-09 10:40:53 +020060 };
61
Chen-Yu Tsai3dce8322014-02-03 09:51:42 +080062 osc32k: clk@0 {
Maxime Ripardd3ae0782013-06-09 10:40:53 +020063 #clock-cells = <0>;
64 compatible = "fixed-clock";
65 clock-frequency = <32768>;
Chen-Yu Tsai3dce8322014-02-03 09:51:42 +080066 clock-output-names = "osc32k";
Maxime Ripardd3ae0782013-06-09 10:40:53 +020067 };
68
Chen-Yu Tsai3dce8322014-02-03 09:51:42 +080069 pll1: clk@01c20000 {
Maxime Ripardd3ae0782013-06-09 10:40:53 +020070 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +010071 compatible = "allwinner,sun4i-a10-pll1-clk";
Maxime Ripardd3ae0782013-06-09 10:40:53 +020072 reg = <0x01c20000 0x4>;
73 clocks = <&osc24M>;
Chen-Yu Tsai3dce8322014-02-03 09:51:42 +080074 clock-output-names = "pll1";
Maxime Ripardd3ae0782013-06-09 10:40:53 +020075 };
76
Chen-Yu Tsai3dce8322014-02-03 09:51:42 +080077 pll4: clk@01c20018 {
Emilio Lópezec5589f2013-12-23 00:32:35 -030078 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +010079 compatible = "allwinner,sun4i-a10-pll1-clk";
Emilio Lópezec5589f2013-12-23 00:32:35 -030080 reg = <0x01c20018 0x4>;
81 clocks = <&osc24M>;
Chen-Yu Tsai3dce8322014-02-03 09:51:42 +080082 clock-output-names = "pll4";
Emilio Lópezec5589f2013-12-23 00:32:35 -030083 };
84
Chen-Yu Tsai3dce8322014-02-03 09:51:42 +080085 pll5: clk@01c20020 {
Emilio Lópezc3e5e662013-12-23 00:32:38 -030086 #clock-cells = <1>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +010087 compatible = "allwinner,sun4i-a10-pll5-clk";
Emilio Lópezc3e5e662013-12-23 00:32:38 -030088 reg = <0x01c20020 0x4>;
89 clocks = <&osc24M>;
90 clock-output-names = "pll5_ddr", "pll5_other";
91 };
92
Chen-Yu Tsai3dce8322014-02-03 09:51:42 +080093 pll6: clk@01c20028 {
Emilio Lópezc3e5e662013-12-23 00:32:38 -030094 #clock-cells = <1>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +010095 compatible = "allwinner,sun4i-a10-pll6-clk";
Emilio Lópezc3e5e662013-12-23 00:32:38 -030096 reg = <0x01c20028 0x4>;
97 clocks = <&osc24M>;
98 clock-output-names = "pll6_sata", "pll6_other", "pll6";
99 };
100
Maxime Ripardd3ae0782013-06-09 10:40:53 +0200101 /* dummy is 200M */
102 cpu: cpu@01c20054 {
103 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100104 compatible = "allwinner,sun4i-a10-cpu-clk";
Maxime Ripardd3ae0782013-06-09 10:40:53 +0200105 reg = <0x01c20054 0x4>;
106 clocks = <&osc32k>, <&osc24M>, <&pll1>, <&dummy>;
Chen-Yu Tsai3dce8322014-02-03 09:51:42 +0800107 clock-output-names = "cpu";
Maxime Ripardd3ae0782013-06-09 10:40:53 +0200108 };
109
110 axi: axi@01c20054 {
111 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100112 compatible = "allwinner,sun4i-a10-axi-clk";
Maxime Ripardd3ae0782013-06-09 10:40:53 +0200113 reg = <0x01c20054 0x4>;
114 clocks = <&cpu>;
Chen-Yu Tsai3dce8322014-02-03 09:51:42 +0800115 clock-output-names = "axi";
Maxime Ripardd3ae0782013-06-09 10:40:53 +0200116 };
117
Chen-Yu Tsai3dce8322014-02-03 09:51:42 +0800118 axi_gates: clk@01c2005c {
Maxime Ripardd3ae0782013-06-09 10:40:53 +0200119 #clock-cells = <1>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100120 compatible = "allwinner,sun4i-a10-axi-gates-clk";
Maxime Ripardd3ae0782013-06-09 10:40:53 +0200121 reg = <0x01c2005c 0x4>;
122 clocks = <&axi>;
123 clock-output-names = "axi_dram";
124 };
125
126 ahb: ahb@01c20054 {
127 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100128 compatible = "allwinner,sun4i-a10-ahb-clk";
Maxime Ripardd3ae0782013-06-09 10:40:53 +0200129 reg = <0x01c20054 0x4>;
130 clocks = <&axi>;
Chen-Yu Tsai3dce8322014-02-03 09:51:42 +0800131 clock-output-names = "ahb";
Maxime Ripardd3ae0782013-06-09 10:40:53 +0200132 };
133
Chen-Yu Tsai3dce8322014-02-03 09:51:42 +0800134 ahb_gates: clk@01c20060 {
Maxime Ripardd3ae0782013-06-09 10:40:53 +0200135 #clock-cells = <1>;
Maxime Ripard29bb8052013-07-16 11:28:58 +0200136 compatible = "allwinner,sun5i-a10s-ahb-gates-clk";
Maxime Ripardd3ae0782013-06-09 10:40:53 +0200137 reg = <0x01c20060 0x8>;
138 clocks = <&ahb>;
Maxime Ripard29bb8052013-07-16 11:28:58 +0200139 clock-output-names = "ahb_usbotg", "ahb_ehci", "ahb_ohci",
140 "ahb_ss", "ahb_dma", "ahb_bist", "ahb_mmc0",
141 "ahb_mmc1", "ahb_mmc2", "ahb_nand", "ahb_sdram",
142 "ahb_emac", "ahb_ts", "ahb_spi0", "ahb_spi1",
143 "ahb_spi2", "ahb_gps", "ahb_stimer", "ahb_ve",
144 "ahb_tve", "ahb_lcd", "ahb_csi", "ahb_hdmi",
145 "ahb_de_be", "ahb_de_fe", "ahb_iep", "ahb_mali400";
Maxime Ripardd3ae0782013-06-09 10:40:53 +0200146 };
147
148 apb0: apb0@01c20054 {
149 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100150 compatible = "allwinner,sun4i-a10-apb0-clk";
Maxime Ripardd3ae0782013-06-09 10:40:53 +0200151 reg = <0x01c20054 0x4>;
152 clocks = <&ahb>;
Chen-Yu Tsai3dce8322014-02-03 09:51:42 +0800153 clock-output-names = "apb0";
Maxime Ripardd3ae0782013-06-09 10:40:53 +0200154 };
155
Chen-Yu Tsai3dce8322014-02-03 09:51:42 +0800156 apb0_gates: clk@01c20068 {
Maxime Ripardd3ae0782013-06-09 10:40:53 +0200157 #clock-cells = <1>;
Maxime Ripard29bb8052013-07-16 11:28:58 +0200158 compatible = "allwinner,sun5i-a10s-apb0-gates-clk";
Maxime Ripardd3ae0782013-06-09 10:40:53 +0200159 reg = <0x01c20068 0x4>;
160 clocks = <&apb0>;
Maxime Ripard29bb8052013-07-16 11:28:58 +0200161 clock-output-names = "apb0_codec", "apb0_iis", "apb0_pio",
162 "apb0_ir", "apb0_keypad";
Maxime Ripardd3ae0782013-06-09 10:40:53 +0200163 };
164
Maxime Ripardd3ae0782013-06-09 10:40:53 +0200165 apb1_mux: apb1_mux@01c20058 {
166 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100167 compatible = "allwinner,sun4i-a10-apb1-mux-clk";
Maxime Ripardd3ae0782013-06-09 10:40:53 +0200168 reg = <0x01c20058 0x4>;
Emilio Lópezc3e5e662013-12-23 00:32:38 -0300169 clocks = <&osc24M>, <&pll6 1>, <&osc32k>;
Chen-Yu Tsai3dce8322014-02-03 09:51:42 +0800170 clock-output-names = "apb1_mux";
Maxime Ripardd3ae0782013-06-09 10:40:53 +0200171 };
172
173 apb1: apb1@01c20058 {
174 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100175 compatible = "allwinner,sun4i-a10-apb1-clk";
Maxime Ripardd3ae0782013-06-09 10:40:53 +0200176 reg = <0x01c20058 0x4>;
177 clocks = <&apb1_mux>;
Chen-Yu Tsai3dce8322014-02-03 09:51:42 +0800178 clock-output-names = "apb1";
Maxime Ripardd3ae0782013-06-09 10:40:53 +0200179 };
180
Chen-Yu Tsai3dce8322014-02-03 09:51:42 +0800181 apb1_gates: clk@01c2006c {
Maxime Ripardd3ae0782013-06-09 10:40:53 +0200182 #clock-cells = <1>;
Maxime Ripard29bb8052013-07-16 11:28:58 +0200183 compatible = "allwinner,sun5i-a10s-apb1-gates-clk";
Maxime Ripardd3ae0782013-06-09 10:40:53 +0200184 reg = <0x01c2006c 0x4>;
185 clocks = <&apb1>;
186 clock-output-names = "apb1_i2c0", "apb1_i2c1",
Maxime Ripard29bb8052013-07-16 11:28:58 +0200187 "apb1_i2c2", "apb1_uart0", "apb1_uart1",
188 "apb1_uart2", "apb1_uart3";
Maxime Ripardd3ae0782013-06-09 10:40:53 +0200189 };
Emilio López8dc36bf2013-12-23 00:32:42 -0300190
191 nand_clk: clk@01c20080 {
192 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100193 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López8dc36bf2013-12-23 00:32:42 -0300194 reg = <0x01c20080 0x4>;
195 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
196 clock-output-names = "nand";
197 };
198
199 ms_clk: clk@01c20084 {
200 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100201 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López8dc36bf2013-12-23 00:32:42 -0300202 reg = <0x01c20084 0x4>;
203 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
204 clock-output-names = "ms";
205 };
206
207 mmc0_clk: clk@01c20088 {
208 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100209 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López8dc36bf2013-12-23 00:32:42 -0300210 reg = <0x01c20088 0x4>;
211 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
212 clock-output-names = "mmc0";
213 };
214
215 mmc1_clk: clk@01c2008c {
216 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100217 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López8dc36bf2013-12-23 00:32:42 -0300218 reg = <0x01c2008c 0x4>;
219 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
220 clock-output-names = "mmc1";
221 };
222
223 mmc2_clk: clk@01c20090 {
224 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100225 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López8dc36bf2013-12-23 00:32:42 -0300226 reg = <0x01c20090 0x4>;
227 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
228 clock-output-names = "mmc2";
229 };
230
231 ts_clk: clk@01c20098 {
232 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100233 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López8dc36bf2013-12-23 00:32:42 -0300234 reg = <0x01c20098 0x4>;
235 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
236 clock-output-names = "ts";
237 };
238
239 ss_clk: clk@01c2009c {
240 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100241 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López8dc36bf2013-12-23 00:32:42 -0300242 reg = <0x01c2009c 0x4>;
243 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
244 clock-output-names = "ss";
245 };
246
247 spi0_clk: clk@01c200a0 {
248 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100249 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López8dc36bf2013-12-23 00:32:42 -0300250 reg = <0x01c200a0 0x4>;
251 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
252 clock-output-names = "spi0";
253 };
254
255 spi1_clk: clk@01c200a4 {
256 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100257 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López8dc36bf2013-12-23 00:32:42 -0300258 reg = <0x01c200a4 0x4>;
259 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
260 clock-output-names = "spi1";
261 };
262
263 spi2_clk: clk@01c200a8 {
264 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100265 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López8dc36bf2013-12-23 00:32:42 -0300266 reg = <0x01c200a8 0x4>;
267 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
268 clock-output-names = "spi2";
269 };
270
271 ir0_clk: clk@01c200b0 {
272 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100273 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López8dc36bf2013-12-23 00:32:42 -0300274 reg = <0x01c200b0 0x4>;
275 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
276 clock-output-names = "ir0";
277 };
Emilio López118c07a2013-12-23 00:32:44 -0300278
Roman Byshko4c5d72f2014-02-07 16:21:52 +0100279 usb_clk: clk@01c200cc {
280 #clock-cells = <1>;
281 #reset-cells = <1>;
282 compatible = "allwinner,sun5i-a13-usb-clk";
283 reg = <0x01c200cc 0x4>;
284 clocks = <&pll6 1>;
285 clock-output-names = "usb_ohci0", "usb_phy";
286 };
287
Emilio López118c07a2013-12-23 00:32:44 -0300288 mbus_clk: clk@01c2015c {
289 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100290 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López118c07a2013-12-23 00:32:44 -0300291 reg = <0x01c2015c 0x4>;
292 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
293 clock-output-names = "mbus";
294 };
Maxime Ripardd3ae0782013-06-09 10:40:53 +0200295 };
296
Maxime Ripard9e199292013-08-03 16:07:36 +0200297 soc@01c00000 {
Maxime Ripardd3ae0782013-06-09 10:40:53 +0200298 compatible = "simple-bus";
299 #address-cells = <1>;
300 #size-cells = <1>;
Maxime Ripardd3ae0782013-06-09 10:40:53 +0200301 ranges;
302
Maxime Ripard8a689562014-02-22 22:35:56 +0100303 spi0: spi@01c05000 {
304 compatible = "allwinner,sun4i-a10-spi";
305 reg = <0x01c05000 0x1000>;
306 interrupts = <10>;
307 clocks = <&ahb_gates 20>, <&spi0_clk>;
308 clock-names = "ahb", "mod";
309 status = "disabled";
310 #address-cells = <1>;
311 #size-cells = <0>;
312 };
313
314 spi1: spi@01c06000 {
315 compatible = "allwinner,sun4i-a10-spi";
316 reg = <0x01c06000 0x1000>;
317 interrupts = <11>;
318 clocks = <&ahb_gates 21>, <&spi1_clk>;
319 clock-names = "ahb", "mod";
320 status = "disabled";
321 #address-cells = <1>;
322 #size-cells = <0>;
323 };
324
Maxime Ripardd3ae0782013-06-09 10:40:53 +0200325 emac: ethernet@01c0b000 {
Maxime Ripard1c70e092014-02-02 14:49:13 +0100326 compatible = "allwinner,sun4i-a10-emac";
Maxime Ripardd3ae0782013-06-09 10:40:53 +0200327 reg = <0x01c0b000 0x1000>;
328 interrupts = <55>;
329 clocks = <&ahb_gates 17>;
330 status = "disabled";
331 };
332
333 mdio@01c0b080 {
Maxime Ripard1c70e092014-02-02 14:49:13 +0100334 compatible = "allwinner,sun4i-a10-mdio";
Maxime Ripardd3ae0782013-06-09 10:40:53 +0200335 reg = <0x01c0b080 0x14>;
336 status = "disabled";
337 #address-cells = <1>;
338 #size-cells = <0>;
339 };
340
Roman Byshko06c7d522014-03-01 20:26:24 +0100341 usbphy: phy@01c13400 {
342 #phy-cells = <1>;
343 compatible = "allwinner,sun5i-a13-usb-phy";
344 reg = <0x01c13400 0x10 0x01c14800 0x4>;
345 reg-names = "phy_ctrl", "pmu1";
346 clocks = <&usb_clk 8>;
347 clock-names = "usb_phy";
348 resets = <&usb_clk 1>;
349 reset-names = "usb1_reset";
350 status = "disabled";
351 };
352
353 ehci0: usb@01c14000 {
354 compatible = "allwinner,sun5i-a10s-ehci", "generic-ehci";
355 reg = <0x01c14000 0x100>;
356 interrupts = <39>;
357 clocks = <&ahb_gates 1>;
358 phys = <&usbphy 1>;
359 phy-names = "usb";
360 status = "disabled";
361 };
362
363 ohci0: usb@01c14400 {
364 compatible = "allwinner,sun5i-a10s-ohci", "generic-ohci";
365 reg = <0x01c14400 0x100>;
366 interrupts = <40>;
367 clocks = <&usb_clk 6>, <&ahb_gates 2>;
368 phys = <&usbphy 1>;
369 phy-names = "usb";
370 status = "disabled";
371 };
372
Maxime Ripard8a689562014-02-22 22:35:56 +0100373 spi2: spi@01c17000 {
374 compatible = "allwinner,sun4i-a10-spi";
375 reg = <0x01c17000 0x1000>;
376 interrupts = <12>;
377 clocks = <&ahb_gates 22>, <&spi2_clk>;
378 clock-names = "ahb", "mod";
379 status = "disabled";
380 #address-cells = <1>;
381 #size-cells = <0>;
382 };
383
Maxime Ripardd3ae0782013-06-09 10:40:53 +0200384 intc: interrupt-controller@01c20400 {
Maxime Ripard09504a72014-02-07 21:50:26 +0100385 compatible = "allwinner,sun4i-a10-ic";
Maxime Ripardd3ae0782013-06-09 10:40:53 +0200386 reg = <0x01c20400 0x400>;
387 interrupt-controller;
388 #interrupt-cells = <1>;
389 };
390
391 pio: pinctrl@01c20800 {
392 compatible = "allwinner,sun5i-a10s-pinctrl";
393 reg = <0x01c20800 0x400>;
394 interrupts = <28>;
395 clocks = <&apb0_gates 5>;
396 gpio-controller;
397 interrupt-controller;
398 #address-cells = <1>;
399 #size-cells = <0>;
400 #gpio-cells = <3>;
401
402 uart0_pins_a: uart0@0 {
403 allwinner,pins = "PB19", "PB20";
404 allwinner,function = "uart0";
405 allwinner,drive = <0>;
406 allwinner,pull = <0>;
407 };
408
409 uart2_pins_a: uart2@0 {
410 allwinner,pins = "PC18", "PC19";
411 allwinner,function = "uart2";
412 allwinner,drive = <0>;
413 allwinner,pull = <0>;
414 };
415
416 uart3_pins_a: uart3@0 {
417 allwinner,pins = "PG9", "PG10";
418 allwinner,function = "uart3";
419 allwinner,drive = <0>;
420 allwinner,pull = <0>;
421 };
422
423 emac_pins_a: emac0@0 {
424 allwinner,pins = "PA0", "PA1", "PA2",
425 "PA3", "PA4", "PA5", "PA6",
426 "PA7", "PA8", "PA9", "PA10",
427 "PA11", "PA12", "PA13", "PA14",
428 "PA15", "PA16";
429 allwinner,function = "emac";
430 allwinner,drive = <0>;
431 allwinner,pull = <0>;
432 };
Emilio López170ab432013-07-07 18:31:56 -0300433
434 i2c0_pins_a: i2c0@0 {
435 allwinner,pins = "PB0", "PB1";
436 allwinner,function = "i2c0";
437 allwinner,drive = <0>;
438 allwinner,pull = <0>;
439 };
440
441 i2c1_pins_a: i2c1@0 {
442 allwinner,pins = "PB15", "PB16";
443 allwinner,function = "i2c1";
444 allwinner,drive = <0>;
445 allwinner,pull = <0>;
446 };
447
448 i2c2_pins_a: i2c2@0 {
449 allwinner,pins = "PB17", "PB18";
450 allwinner,function = "i2c2";
451 allwinner,drive = <0>;
452 allwinner,pull = <0>;
453 };
Maxime Ripardd3ae0782013-06-09 10:40:53 +0200454 };
455
456 timer@01c20c00 {
Maxime Ripardb4f26442014-02-06 10:40:32 +0100457 compatible = "allwinner,sun4i-a10-timer";
Maxime Ripardd3ae0782013-06-09 10:40:53 +0200458 reg = <0x01c20c00 0x90>;
459 interrupts = <22>;
460 clocks = <&osc24M>;
461 };
462
463 wdt: watchdog@01c20c90 {
Maxime Ripardca5d04d2014-02-07 22:29:26 +0100464 compatible = "allwinner,sun4i-a10-wdt";
Maxime Ripardd3ae0782013-06-09 10:40:53 +0200465 reg = <0x01c20c90 0x10>;
466 };
467
Oliver Schinagl2bad9692013-09-03 12:33:28 +0200468 sid: eeprom@01c23800 {
Maxime Ripard043d56e2014-02-07 22:20:40 +0100469 compatible = "allwinner,sun4i-a10-sid";
Oliver Schinagl2bad9692013-09-03 12:33:28 +0200470 reg = <0x01c23800 0x10>;
471 };
472
Hans de Goedef65c93a2013-12-31 17:20:51 +0100473 rtp: rtp@01c25000 {
Maxime Ripard40dd8f32014-02-02 14:52:40 +0100474 compatible = "allwinner,sun4i-a10-ts";
Hans de Goedef65c93a2013-12-31 17:20:51 +0100475 reg = <0x01c25000 0x100>;
476 interrupts = <29>;
477 };
478
Maxime Ripardd3ae0782013-06-09 10:40:53 +0200479 uart0: serial@01c28000 {
480 compatible = "snps,dw-apb-uart";
481 reg = <0x01c28000 0x400>;
482 interrupts = <1>;
483 reg-shift = <2>;
484 reg-io-width = <4>;
485 clocks = <&apb1_gates 16>;
486 status = "disabled";
487 };
488
489 uart1: serial@01c28400 {
490 compatible = "snps,dw-apb-uart";
491 reg = <0x01c28400 0x400>;
492 interrupts = <2>;
493 reg-shift = <2>;
494 reg-io-width = <4>;
495 clocks = <&apb1_gates 17>;
496 status = "disabled";
497 };
498
499 uart2: serial@01c28800 {
500 compatible = "snps,dw-apb-uart";
501 reg = <0x01c28800 0x400>;
502 interrupts = <3>;
503 reg-shift = <2>;
504 reg-io-width = <4>;
505 clocks = <&apb1_gates 18>;
506 status = "disabled";
507 };
508
509 uart3: serial@01c28c00 {
510 compatible = "snps,dw-apb-uart";
511 reg = <0x01c28c00 0x400>;
512 interrupts = <4>;
513 reg-shift = <2>;
514 reg-io-width = <4>;
515 clocks = <&apb1_gates 19>;
516 status = "disabled";
517 };
Emilio Lópezca3d4ed2013-07-07 18:31:57 -0300518
519 i2c0: i2c@01c2ac00 {
520 #address-cells = <1>;
521 #size-cells = <0>;
522 compatible = "allwinner,sun4i-i2c";
523 reg = <0x01c2ac00 0x400>;
524 interrupts = <7>;
525 clocks = <&apb1_gates 0>;
526 clock-frequency = <100000>;
527 status = "disabled";
528 };
529
530 i2c1: i2c@01c2b000 {
531 #address-cells = <1>;
532 #size-cells = <0>;
533 compatible = "allwinner,sun4i-i2c";
534 reg = <0x01c2b000 0x400>;
535 interrupts = <8>;
536 clocks = <&apb1_gates 1>;
537 clock-frequency = <100000>;
538 status = "disabled";
539 };
540
541 i2c2: i2c@01c2b400 {
542 #address-cells = <1>;
543 #size-cells = <0>;
544 compatible = "allwinner,sun4i-i2c";
545 reg = <0x01c2b400 0x400>;
546 interrupts = <9>;
547 clocks = <&apb1_gates 2>;
548 clock-frequency = <100000>;
549 status = "disabled";
550 };
Maxime Ripardf2b50022013-11-07 12:01:48 +0100551
552 timer@01c60000 {
553 compatible = "allwinner,sun5i-a13-hstimer";
554 reg = <0x01c60000 0x1000>;
555 interrupts = <82>, <83>;
556 clocks = <&ahb_gates 28>;
557 };
Maxime Ripardd3ae0782013-06-09 10:40:53 +0200558 };
559};