blob: 234e4de39fb586b03c5b7bab8e62c58017aa5d2b [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
Chen-Yu Tsai541ce2c2015-01-12 12:34:08 +080015#include <dt-bindings/thermal/thermal.h>
16
Maxime Ripard1f9f6a72014-12-16 22:59:56 +010017#include <dt-bindings/dma/sun4i-a10.h>
Maxime Ripard092a0c32014-12-16 22:59:57 +010018#include <dt-bindings/pinctrl/sun4i-a10.h>
Maxime Ripard1f9f6a72014-12-16 22:59:56 +010019
Stefan Roese7423d2d2012-11-26 15:46:12 +010020/ {
Maxime Ripard69144e32013-03-13 20:07:37 +010021 interrupt-parent = <&intc>;
22
Emilio Lópeze751cce2013-11-16 15:17:29 -030023 aliases {
24 ethernet0 = &emac;
Maxime Ripard10b302a2013-11-17 10:03:04 +010025 serial0 = &uart0;
26 serial1 = &uart1;
Maxime Ripard143b13d2014-01-02 22:05:04 +010027 serial2 = &uart2;
28 serial3 = &uart3;
29 serial4 = &uart4;
30 serial5 = &uart5;
31 serial6 = &uart6;
32 serial7 = &uart7;
Emilio Lópeze751cce2013-11-16 15:17:29 -030033 };
34
Hans de Goede5790d4e2014-11-14 16:34:34 +010035 chosen {
36 #address-cells = <1>;
37 #size-cells = <1>;
38 ranges;
39
Hans de Goedea9f8cda2014-11-18 12:07:13 +010040 framebuffer@0 {
41 compatible = "allwinner,simple-framebuffer", "simple-framebuffer";
42 allwinner,pipeline = "de_be0-lcd0-hdmi";
Hans de Goede678e75d2014-11-16 17:09:32 +010043 clocks = <&pll5 1>, <&ahb_gates 36>, <&ahb_gates 43>,
44 <&ahb_gates 44>;
Hans de Goede5790d4e2014-11-14 16:34:34 +010045 status = "disabled";
46 };
Hans de Goede8cedd662015-01-19 14:01:17 +010047
48 framebuffer@1 {
49 compatible = "allwinner,simple-framebuffer", "simple-framebuffer";
50 allwinner,pipeline = "de_fe0-de_be0-lcd0-hdmi";
51 clocks = <&pll5 1>, <&ahb_gates 36>, <&ahb_gates 43>,
52 <&ahb_gates 44>, <&ahb_gates 46>;
53 status = "disabled";
54 };
Hans de Goedefd18c7e2015-01-19 14:05:12 +010055
56 framebuffer@2 {
57 compatible = "allwinner,simple-framebuffer",
58 "simple-framebuffer";
59 allwinner,pipeline = "de_fe0-de_be0-lcd0";
60 clocks = <&pll5 1>, <&ahb_gates 36>, <&ahb_gates 44>,
61 <&ahb_gates 46>;
62 status = "disabled";
63 };
64
65 framebuffer@3 {
66 compatible = "allwinner,simple-framebuffer",
67 "simple-framebuffer";
68 allwinner,pipeline = "de_fe0-de_be0-lcd0-tve0";
69 clocks = <&pll5 1>, <&ahb_gates 34>, <&ahb_gates 36>,
70 <&ahb_gates 44>, <&ahb_gates 46>;
71 status = "disabled";
72 };
Hans de Goede5790d4e2014-11-14 16:34:34 +010073 };
74
Maxime Ripard69144e32013-03-13 20:07:37 +010075 cpus {
Arnd Bergmann8b2efa892013-06-10 16:48:36 +020076 #address-cells = <1>;
77 #size-cells = <0>;
Chen-Yu Tsai7294be52015-01-06 10:35:23 +080078 cpu0: cpu@0 {
Lorenzo Pieralisi14c44aa2013-04-18 18:41:57 +010079 device_type = "cpu";
Maxime Ripard69144e32013-03-13 20:07:37 +010080 compatible = "arm,cortex-a8";
Lorenzo Pieralisi14c44aa2013-04-18 18:41:57 +010081 reg = <0x0>;
Chen-Yu Tsai7294be52015-01-06 10:35:23 +080082 clocks = <&cpu>;
83 clock-latency = <244144>; /* 8 32k periods */
84 operating-points = <
85 /* kHz uV */
86 1056000 1500000
87 1008000 1400000
88 912000 1350000
89 864000 1300000
90 624000 1250000
91 >;
92 #cooling-cells = <2>;
93 cooling-min-level = <0>;
94 cooling-max-level = <4>;
Maxime Ripard69144e32013-03-13 20:07:37 +010095 };
96 };
97
Chen-Yu Tsai541ce2c2015-01-12 12:34:08 +080098 thermal-zones {
99 cpu_thermal {
100 /* milliseconds */
101 polling-delay-passive = <250>;
102 polling-delay = <1000>;
103 thermal-sensors = <&rtp>;
104
105 cooling-maps {
106 map0 {
107 trip = <&cpu_alert0>;
108 cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
109 };
110 };
111
112 trips {
113 cpu_alert0: cpu_alert0 {
114 /* milliCelsius */
115 temperature = <850000>;
116 hysteresis = <2000>;
117 type = "passive";
118 };
119
120 cpu_crit: cpu_crit {
121 /* milliCelsius */
122 temperature = <100000>;
123 hysteresis = <2000>;
124 type = "critical";
125 };
126 };
127 };
128 };
129
Stefan Roese7423d2d2012-11-26 15:46:12 +0100130 memory {
131 reg = <0x40000000 0x80000000>;
132 };
Maxime Ripard874b4e42013-01-26 15:36:54 +0100133
Maxime Ripard69144e32013-03-13 20:07:37 +0100134 clocks {
135 #address-cells = <1>;
136 #size-cells = <1>;
137 ranges;
138
139 /*
140 * This is a dummy clock, to be used as placeholder on
141 * other mux clocks when a specific parent clock is not
142 * yet implemented. It should be dropped when the driver
143 * is complete.
144 */
145 dummy: dummy {
146 #clock-cells = <0>;
147 compatible = "fixed-clock";
148 clock-frequency = <0>;
149 };
150
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800151 osc24M: clk@01c20050 {
Maxime Ripard69144e32013-03-13 20:07:37 +0100152 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100153 compatible = "allwinner,sun4i-a10-osc-clk";
Maxime Ripard69144e32013-03-13 20:07:37 +0100154 reg = <0x01c20050 0x4>;
Emilio López92fd6e02013-04-09 10:48:04 -0300155 clock-frequency = <24000000>;
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800156 clock-output-names = "osc24M";
Maxime Ripard69144e32013-03-13 20:07:37 +0100157 };
158
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800159 osc32k: clk@0 {
Maxime Ripard69144e32013-03-13 20:07:37 +0100160 #clock-cells = <0>;
161 compatible = "fixed-clock";
162 clock-frequency = <32768>;
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800163 clock-output-names = "osc32k";
Maxime Ripard69144e32013-03-13 20:07:37 +0100164 };
165
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800166 pll1: clk@01c20000 {
Maxime Ripard69144e32013-03-13 20:07:37 +0100167 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100168 compatible = "allwinner,sun4i-a10-pll1-clk";
Maxime Ripard69144e32013-03-13 20:07:37 +0100169 reg = <0x01c20000 0x4>;
170 clocks = <&osc24M>;
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800171 clock-output-names = "pll1";
Maxime Ripard69144e32013-03-13 20:07:37 +0100172 };
173
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800174 pll4: clk@01c20018 {
Emilio Lópezec5589f2013-12-23 00:32:35 -0300175 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100176 compatible = "allwinner,sun4i-a10-pll1-clk";
Emilio Lópezec5589f2013-12-23 00:32:35 -0300177 reg = <0x01c20018 0x4>;
178 clocks = <&osc24M>;
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800179 clock-output-names = "pll4";
Emilio Lópezec5589f2013-12-23 00:32:35 -0300180 };
181
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800182 pll5: clk@01c20020 {
Emilio Lópezc3e5e662013-12-23 00:32:38 -0300183 #clock-cells = <1>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100184 compatible = "allwinner,sun4i-a10-pll5-clk";
Emilio Lópezc3e5e662013-12-23 00:32:38 -0300185 reg = <0x01c20020 0x4>;
186 clocks = <&osc24M>;
187 clock-output-names = "pll5_ddr", "pll5_other";
188 };
189
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800190 pll6: clk@01c20028 {
Emilio Lópezc3e5e662013-12-23 00:32:38 -0300191 #clock-cells = <1>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100192 compatible = "allwinner,sun4i-a10-pll6-clk";
Emilio Lópezc3e5e662013-12-23 00:32:38 -0300193 reg = <0x01c20028 0x4>;
194 clocks = <&osc24M>;
195 clock-output-names = "pll6_sata", "pll6_other", "pll6";
196 };
197
Maxime Ripard69144e32013-03-13 20:07:37 +0100198 /* dummy is 200M */
199 cpu: cpu@01c20054 {
200 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100201 compatible = "allwinner,sun4i-a10-cpu-clk";
Maxime Ripard69144e32013-03-13 20:07:37 +0100202 reg = <0x01c20054 0x4>;
203 clocks = <&osc32k>, <&osc24M>, <&pll1>, <&dummy>;
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800204 clock-output-names = "cpu";
Maxime Ripard69144e32013-03-13 20:07:37 +0100205 };
206
207 axi: axi@01c20054 {
208 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100209 compatible = "allwinner,sun4i-a10-axi-clk";
Maxime Ripard69144e32013-03-13 20:07:37 +0100210 reg = <0x01c20054 0x4>;
211 clocks = <&cpu>;
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800212 clock-output-names = "axi";
Maxime Ripard69144e32013-03-13 20:07:37 +0100213 };
214
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800215 axi_gates: clk@01c2005c {
Maxime Ripard69144e32013-03-13 20:07:37 +0100216 #clock-cells = <1>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100217 compatible = "allwinner,sun4i-a10-axi-gates-clk";
Maxime Ripard69144e32013-03-13 20:07:37 +0100218 reg = <0x01c2005c 0x4>;
219 clocks = <&axi>;
220 clock-output-names = "axi_dram";
221 };
222
223 ahb: ahb@01c20054 {
224 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100225 compatible = "allwinner,sun4i-a10-ahb-clk";
Maxime Ripard69144e32013-03-13 20:07:37 +0100226 reg = <0x01c20054 0x4>;
227 clocks = <&axi>;
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800228 clock-output-names = "ahb";
Maxime Ripard69144e32013-03-13 20:07:37 +0100229 };
230
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800231 ahb_gates: clk@01c20060 {
Maxime Ripard69144e32013-03-13 20:07:37 +0100232 #clock-cells = <1>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100233 compatible = "allwinner,sun4i-a10-ahb-gates-clk";
Maxime Ripard69144e32013-03-13 20:07:37 +0100234 reg = <0x01c20060 0x8>;
235 clocks = <&ahb>;
236 clock-output-names = "ahb_usb0", "ahb_ehci0",
237 "ahb_ohci0", "ahb_ehci1", "ahb_ohci1", "ahb_ss",
238 "ahb_dma", "ahb_bist", "ahb_mmc0", "ahb_mmc1",
239 "ahb_mmc2", "ahb_mmc3", "ahb_ms", "ahb_nand",
240 "ahb_sdram", "ahb_ace", "ahb_emac", "ahb_ts",
241 "ahb_spi0", "ahb_spi1", "ahb_spi2", "ahb_spi3",
242 "ahb_pata", "ahb_sata", "ahb_gps", "ahb_ve",
243 "ahb_tvd", "ahb_tve0", "ahb_tve1", "ahb_lcd0",
244 "ahb_lcd1", "ahb_csi0", "ahb_csi1", "ahb_hdmi",
245 "ahb_de_be0", "ahb_de_be1", "ahb_de_fe0",
246 "ahb_de_fe1", "ahb_mp", "ahb_mali400";
247 };
248
249 apb0: apb0@01c20054 {
250 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100251 compatible = "allwinner,sun4i-a10-apb0-clk";
Maxime Ripard69144e32013-03-13 20:07:37 +0100252 reg = <0x01c20054 0x4>;
253 clocks = <&ahb>;
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800254 clock-output-names = "apb0";
Maxime Ripard69144e32013-03-13 20:07:37 +0100255 };
256
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800257 apb0_gates: clk@01c20068 {
Maxime Ripard69144e32013-03-13 20:07:37 +0100258 #clock-cells = <1>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100259 compatible = "allwinner,sun4i-a10-apb0-gates-clk";
Maxime Ripard69144e32013-03-13 20:07:37 +0100260 reg = <0x01c20068 0x4>;
261 clocks = <&apb0>;
262 clock-output-names = "apb0_codec", "apb0_spdif",
263 "apb0_ac97", "apb0_iis", "apb0_pio", "apb0_ir0",
264 "apb0_ir1", "apb0_keypad";
265 };
266
Emilio Lópezacbcc0f2014-11-06 11:40:30 +0800267 apb1: clk@01c20058 {
Maxime Ripard69144e32013-03-13 20:07:37 +0100268 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100269 compatible = "allwinner,sun4i-a10-apb1-clk";
Maxime Ripard69144e32013-03-13 20:07:37 +0100270 reg = <0x01c20058 0x4>;
Emilio Lópezacbcc0f2014-11-06 11:40:30 +0800271 clocks = <&osc24M>, <&pll6 1>, <&osc32k>;
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800272 clock-output-names = "apb1";
Maxime Ripard69144e32013-03-13 20:07:37 +0100273 };
274
Chen-Yu Tsaidfb12c02014-02-03 09:51:41 +0800275 apb1_gates: clk@01c2006c {
Maxime Ripard69144e32013-03-13 20:07:37 +0100276 #clock-cells = <1>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100277 compatible = "allwinner,sun4i-a10-apb1-gates-clk";
Maxime Ripard69144e32013-03-13 20:07:37 +0100278 reg = <0x01c2006c 0x4>;
279 clocks = <&apb1>;
280 clock-output-names = "apb1_i2c0", "apb1_i2c1",
281 "apb1_i2c2", "apb1_can", "apb1_scr",
282 "apb1_ps20", "apb1_ps21", "apb1_uart0",
283 "apb1_uart1", "apb1_uart2", "apb1_uart3",
284 "apb1_uart4", "apb1_uart5", "apb1_uart6",
285 "apb1_uart7";
286 };
Emilio López4b756ff2013-12-23 00:32:41 -0300287
288 nand_clk: clk@01c20080 {
289 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100290 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López4b756ff2013-12-23 00:32:41 -0300291 reg = <0x01c20080 0x4>;
292 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
293 clock-output-names = "nand";
294 };
295
296 ms_clk: clk@01c20084 {
297 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100298 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López4b756ff2013-12-23 00:32:41 -0300299 reg = <0x01c20084 0x4>;
300 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
301 clock-output-names = "ms";
302 };
303
304 mmc0_clk: clk@01c20088 {
305 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100306 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López4b756ff2013-12-23 00:32:41 -0300307 reg = <0x01c20088 0x4>;
308 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
309 clock-output-names = "mmc0";
310 };
311
312 mmc1_clk: clk@01c2008c {
313 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100314 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López4b756ff2013-12-23 00:32:41 -0300315 reg = <0x01c2008c 0x4>;
316 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
317 clock-output-names = "mmc1";
318 };
319
320 mmc2_clk: clk@01c20090 {
321 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100322 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López4b756ff2013-12-23 00:32:41 -0300323 reg = <0x01c20090 0x4>;
324 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
325 clock-output-names = "mmc2";
326 };
327
328 mmc3_clk: clk@01c20094 {
329 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100330 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López4b756ff2013-12-23 00:32:41 -0300331 reg = <0x01c20094 0x4>;
332 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
333 clock-output-names = "mmc3";
334 };
335
336 ts_clk: clk@01c20098 {
337 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100338 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López4b756ff2013-12-23 00:32:41 -0300339 reg = <0x01c20098 0x4>;
340 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
341 clock-output-names = "ts";
342 };
343
344 ss_clk: clk@01c2009c {
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 = <0x01c2009c 0x4>;
348 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
349 clock-output-names = "ss";
350 };
351
352 spi0_clk: clk@01c200a0 {
353 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100354 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López4b756ff2013-12-23 00:32:41 -0300355 reg = <0x01c200a0 0x4>;
356 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
357 clock-output-names = "spi0";
358 };
359
360 spi1_clk: clk@01c200a4 {
361 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100362 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López4b756ff2013-12-23 00:32:41 -0300363 reg = <0x01c200a4 0x4>;
364 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
365 clock-output-names = "spi1";
366 };
367
368 spi2_clk: clk@01c200a8 {
369 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100370 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López4b756ff2013-12-23 00:32:41 -0300371 reg = <0x01c200a8 0x4>;
372 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
373 clock-output-names = "spi2";
374 };
375
376 pata_clk: clk@01c200ac {
377 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100378 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López4b756ff2013-12-23 00:32:41 -0300379 reg = <0x01c200ac 0x4>;
380 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
381 clock-output-names = "pata";
382 };
383
384 ir0_clk: clk@01c200b0 {
385 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100386 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López4b756ff2013-12-23 00:32:41 -0300387 reg = <0x01c200b0 0x4>;
388 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
389 clock-output-names = "ir0";
390 };
391
392 ir1_clk: clk@01c200b4 {
393 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100394 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López4b756ff2013-12-23 00:32:41 -0300395 reg = <0x01c200b4 0x4>;
396 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
397 clock-output-names = "ir1";
398 };
399
Roman Byshko0076c8b2014-02-07 16:21:51 +0100400 usb_clk: clk@01c200cc {
401 #clock-cells = <1>;
402 #reset-cells = <1>;
403 compatible = "allwinner,sun4i-a10-usb-clk";
404 reg = <0x01c200cc 0x4>;
405 clocks = <&pll6 1>;
406 clock-output-names = "usb_ohci0", "usb_ohci1", "usb_phy";
407 };
408
Emilio López4b756ff2013-12-23 00:32:41 -0300409 spi3_clk: clk@01c200d4 {
410 #clock-cells = <0>;
Maxime Ripardbf6534a2014-02-06 09:55:58 +0100411 compatible = "allwinner,sun4i-a10-mod0-clk";
Emilio López4b756ff2013-12-23 00:32:41 -0300412 reg = <0x01c200d4 0x4>;
413 clocks = <&osc24M>, <&pll6 1>, <&pll5 1>;
414 clock-output-names = "spi3";
415 };
Maxime Ripard69144e32013-03-13 20:07:37 +0100416 };
417
Maxime Ripardb74aec12013-08-03 16:07:36 +0200418 soc@01c00000 {
Maxime Ripard69144e32013-03-13 20:07:37 +0100419 compatible = "simple-bus";
420 #address-cells = <1>;
421 #size-cells = <1>;
Maxime Ripard69144e32013-03-13 20:07:37 +0100422 ranges;
423
Emilio López1324f532014-08-04 17:09:57 -0300424 dma: dma-controller@01c02000 {
425 compatible = "allwinner,sun4i-a10-dma";
426 reg = <0x01c02000 0x1000>;
427 interrupts = <27>;
428 clocks = <&ahb_gates 6>;
429 #dma-cells = <2>;
430 };
431
Maxime Ripard65918e22014-02-22 22:35:55 +0100432 spi0: spi@01c05000 {
433 compatible = "allwinner,sun4i-a10-spi";
434 reg = <0x01c05000 0x1000>;
435 interrupts = <10>;
436 clocks = <&ahb_gates 20>, <&spi0_clk>;
437 clock-names = "ahb", "mod";
Maxime Ripard1f9f6a72014-12-16 22:59:56 +0100438 dmas = <&dma SUN4I_DMA_DEDICATED 27>,
439 <&dma SUN4I_DMA_DEDICATED 26>;
Emilio López4192ff82014-08-04 17:10:00 -0300440 dma-names = "rx", "tx";
Maxime Ripard65918e22014-02-22 22:35:55 +0100441 status = "disabled";
442 #address-cells = <1>;
443 #size-cells = <0>;
444 };
445
446 spi1: spi@01c06000 {
447 compatible = "allwinner,sun4i-a10-spi";
448 reg = <0x01c06000 0x1000>;
449 interrupts = <11>;
450 clocks = <&ahb_gates 21>, <&spi1_clk>;
451 clock-names = "ahb", "mod";
Maxime Ripard1f9f6a72014-12-16 22:59:56 +0100452 dmas = <&dma SUN4I_DMA_DEDICATED 9>,
453 <&dma SUN4I_DMA_DEDICATED 8>;
Emilio López4192ff82014-08-04 17:10:00 -0300454 dma-names = "rx", "tx";
Maxime Ripard65918e22014-02-22 22:35:55 +0100455 status = "disabled";
456 #address-cells = <1>;
457 #size-cells = <0>;
458 };
459
Maxime Riparde38afcb2013-05-30 03:49:23 +0000460 emac: ethernet@01c0b000 {
Maxime Ripard1c70e092014-02-02 14:49:13 +0100461 compatible = "allwinner,sun4i-a10-emac";
Maxime Riparde38afcb2013-05-30 03:49:23 +0000462 reg = <0x01c0b000 0x1000>;
463 interrupts = <55>;
464 clocks = <&ahb_gates 17>;
465 status = "disabled";
466 };
467
Aleksei Mamlin92395f52015-01-19 22:35:22 +0300468 mdio: mdio@01c0b080 {
Maxime Ripard1c70e092014-02-02 14:49:13 +0100469 compatible = "allwinner,sun4i-a10-mdio";
Maxime Riparde38afcb2013-05-30 03:49:23 +0000470 reg = <0x01c0b080 0x14>;
471 status = "disabled";
472 #address-cells = <1>;
473 #size-cells = <0>;
474 };
475
David Lanzendörferb258b362014-05-02 17:57:18 +0200476 mmc0: mmc@01c0f000 {
477 compatible = "allwinner,sun4i-a10-mmc";
478 reg = <0x01c0f000 0x1000>;
479 clocks = <&ahb_gates 8>, <&mmc0_clk>;
480 clock-names = "ahb", "mmc";
481 interrupts = <32>;
482 status = "disabled";
483 };
484
485 mmc1: mmc@01c10000 {
486 compatible = "allwinner,sun4i-a10-mmc";
487 reg = <0x01c10000 0x1000>;
488 clocks = <&ahb_gates 9>, <&mmc1_clk>;
489 clock-names = "ahb", "mmc";
490 interrupts = <33>;
491 status = "disabled";
492 };
493
494 mmc2: mmc@01c11000 {
495 compatible = "allwinner,sun4i-a10-mmc";
496 reg = <0x01c11000 0x1000>;
497 clocks = <&ahb_gates 10>, <&mmc2_clk>;
498 clock-names = "ahb", "mmc";
499 interrupts = <34>;
500 status = "disabled";
501 };
502
503 mmc3: mmc@01c12000 {
504 compatible = "allwinner,sun4i-a10-mmc";
505 reg = <0x01c12000 0x1000>;
506 clocks = <&ahb_gates 11>, <&mmc3_clk>;
507 clock-names = "ahb", "mmc";
508 interrupts = <35>;
509 status = "disabled";
510 };
511
Roman Byshko6ab1ce22014-03-01 20:26:23 +0100512 usbphy: phy@01c13400 {
513 #phy-cells = <1>;
514 compatible = "allwinner,sun4i-a10-usb-phy";
515 reg = <0x01c13400 0x10 0x01c14800 0x4 0x01c1c800 0x4>;
516 reg-names = "phy_ctrl", "pmu1", "pmu2";
517 clocks = <&usb_clk 8>;
518 clock-names = "usb_phy";
Chen-Yu Tsai4dba4182014-12-18 19:10:35 +0800519 resets = <&usb_clk 0>, <&usb_clk 1>, <&usb_clk 2>;
520 reset-names = "usb0_reset", "usb1_reset", "usb2_reset";
Roman Byshko6ab1ce22014-03-01 20:26:23 +0100521 status = "disabled";
522 };
523
524 ehci0: usb@01c14000 {
525 compatible = "allwinner,sun4i-a10-ehci", "generic-ehci";
526 reg = <0x01c14000 0x100>;
527 interrupts = <39>;
528 clocks = <&ahb_gates 1>;
529 phys = <&usbphy 1>;
530 phy-names = "usb";
531 status = "disabled";
532 };
533
534 ohci0: usb@01c14400 {
535 compatible = "allwinner,sun4i-a10-ohci", "generic-ohci";
536 reg = <0x01c14400 0x100>;
537 interrupts = <64>;
538 clocks = <&usb_clk 6>, <&ahb_gates 2>;
539 phys = <&usbphy 1>;
540 phy-names = "usb";
541 status = "disabled";
542 };
543
Maxime Ripard65918e22014-02-22 22:35:55 +0100544 spi2: spi@01c17000 {
545 compatible = "allwinner,sun4i-a10-spi";
546 reg = <0x01c17000 0x1000>;
547 interrupts = <12>;
548 clocks = <&ahb_gates 22>, <&spi2_clk>;
549 clock-names = "ahb", "mod";
Maxime Ripard1f9f6a72014-12-16 22:59:56 +0100550 dmas = <&dma SUN4I_DMA_DEDICATED 29>,
551 <&dma SUN4I_DMA_DEDICATED 28>;
Emilio López4192ff82014-08-04 17:10:00 -0300552 dma-names = "rx", "tx";
Maxime Ripard65918e22014-02-22 22:35:55 +0100553 status = "disabled";
554 #address-cells = <1>;
555 #size-cells = <0>;
556 };
557
Oliver Schinagl248bd1e2014-03-01 20:26:21 +0100558 ahci: sata@01c18000 {
559 compatible = "allwinner,sun4i-a10-ahci";
560 reg = <0x01c18000 0x1000>;
561 interrupts = <56>;
562 clocks = <&pll6 0>, <&ahb_gates 25>;
563 status = "disabled";
564 };
565
Roman Byshko6ab1ce22014-03-01 20:26:23 +0100566 ehci1: usb@01c1c000 {
567 compatible = "allwinner,sun4i-a10-ehci", "generic-ehci";
568 reg = <0x01c1c000 0x100>;
569 interrupts = <40>;
570 clocks = <&ahb_gates 3>;
571 phys = <&usbphy 2>;
572 phy-names = "usb";
573 status = "disabled";
574 };
575
576 ohci1: usb@01c1c400 {
577 compatible = "allwinner,sun4i-a10-ohci", "generic-ohci";
578 reg = <0x01c1c400 0x100>;
579 interrupts = <65>;
580 clocks = <&usb_clk 7>, <&ahb_gates 4>;
581 phys = <&usbphy 2>;
582 phy-names = "usb";
583 status = "disabled";
584 };
585
Maxime Ripard65918e22014-02-22 22:35:55 +0100586 spi3: spi@01c1f000 {
587 compatible = "allwinner,sun4i-a10-spi";
588 reg = <0x01c1f000 0x1000>;
589 interrupts = <50>;
590 clocks = <&ahb_gates 23>, <&spi3_clk>;
591 clock-names = "ahb", "mod";
Maxime Ripard1f9f6a72014-12-16 22:59:56 +0100592 dmas = <&dma SUN4I_DMA_DEDICATED 31>,
593 <&dma SUN4I_DMA_DEDICATED 30>;
Emilio López4192ff82014-08-04 17:10:00 -0300594 dma-names = "rx", "tx";
Maxime Ripard65918e22014-02-22 22:35:55 +0100595 status = "disabled";
596 #address-cells = <1>;
597 #size-cells = <0>;
598 };
599
Maxime Ripard69144e32013-03-13 20:07:37 +0100600 intc: interrupt-controller@01c20400 {
Maxime Ripard09504a72014-02-07 21:50:26 +0100601 compatible = "allwinner,sun4i-a10-ic";
Maxime Ripard69144e32013-03-13 20:07:37 +0100602 reg = <0x01c20400 0x400>;
603 interrupt-controller;
604 #interrupt-cells = <1>;
605 };
606
Maxime Riparde10911e2013-01-27 19:26:05 +0100607 pio: pinctrl@01c20800 {
Maxime Ripard874b4e42013-01-26 15:36:54 +0100608 compatible = "allwinner,sun4i-a10-pinctrl";
609 reg = <0x01c20800 0x400>;
Maxime Ripard39138bc2013-04-06 15:00:48 +0200610 interrupts = <28>;
Emilio López36386d62013-03-27 18:20:41 -0300611 clocks = <&apb0_gates 5>;
Maxime Riparde10911e2013-01-27 19:26:05 +0100612 gpio-controller;
Maxime Ripard39138bc2013-04-06 15:00:48 +0200613 interrupt-controller;
Chen-Yu Tsai7d4ff962014-06-30 23:57:51 +0200614 #interrupt-cells = <2>;
Maxime Ripard874b4e42013-01-26 15:36:54 +0100615 #size-cells = <0>;
Maxime Riparde10911e2013-01-27 19:26:05 +0100616 #gpio-cells = <3>;
Maxime Ripard581981b2013-01-26 15:36:55 +0100617
Alexandre Belloni1d5726e2014-04-28 18:17:10 +0200618 pwm0_pins_a: pwm0@0 {
619 allwinner,pins = "PB2";
620 allwinner,function = "pwm";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100621 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
622 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
Alexandre Belloni1d5726e2014-04-28 18:17:10 +0200623 };
624
625 pwm1_pins_a: pwm1@0 {
626 allwinner,pins = "PI3";
627 allwinner,function = "pwm";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100628 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
629 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
Alexandre Belloni1d5726e2014-04-28 18:17:10 +0200630 };
631
Maxime Ripard581981b2013-01-26 15:36:55 +0100632 uart0_pins_a: uart0@0 {
633 allwinner,pins = "PB22", "PB23";
634 allwinner,function = "uart0";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100635 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
636 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
Maxime Ripard581981b2013-01-26 15:36:55 +0100637 };
638
639 uart0_pins_b: uart0@1 {
640 allwinner,pins = "PF2", "PF4";
641 allwinner,function = "uart0";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100642 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
643 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
Maxime Ripard581981b2013-01-26 15:36:55 +0100644 };
645
646 uart1_pins_a: uart1@0 {
647 allwinner,pins = "PA10", "PA11";
648 allwinner,function = "uart1";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100649 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
650 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
Maxime Ripard581981b2013-01-26 15:36:55 +0100651 };
Maxime Ripard27cce4f2013-03-10 13:44:38 +0100652
653 i2c0_pins_a: i2c0@0 {
654 allwinner,pins = "PB0", "PB1";
655 allwinner,function = "i2c0";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100656 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
657 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
Maxime Ripard27cce4f2013-03-10 13:44:38 +0100658 };
659
660 i2c1_pins_a: i2c1@0 {
661 allwinner,pins = "PB18", "PB19";
662 allwinner,function = "i2c1";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100663 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
664 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
Maxime Ripard27cce4f2013-03-10 13:44:38 +0100665 };
666
667 i2c2_pins_a: i2c2@0 {
668 allwinner,pins = "PB20", "PB21";
669 allwinner,function = "i2c2";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100670 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
671 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
Maxime Ripard27cce4f2013-03-10 13:44:38 +0100672 };
Linus Torvalds496322b2013-07-09 18:24:39 -0700673
Maxime Ripardb21da662013-05-30 03:49:22 +0000674 emac_pins_a: emac0@0 {
675 allwinner,pins = "PA0", "PA1", "PA2",
676 "PA3", "PA4", "PA5", "PA6",
677 "PA7", "PA8", "PA9", "PA10",
678 "PA11", "PA12", "PA13", "PA14",
679 "PA15", "PA16";
680 allwinner,function = "emac";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100681 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
682 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
Maxime Ripardb21da662013-05-30 03:49:22 +0000683 };
Hans de Goedeb5f86a32014-05-02 17:57:19 +0200684
685 mmc0_pins_a: mmc0@0 {
686 allwinner,pins = "PF0","PF1","PF2","PF3","PF4","PF5";
687 allwinner,function = "mmc0";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100688 allwinner,drive = <SUN4I_PINCTRL_30_MA>;
689 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
Hans de Goedeb5f86a32014-05-02 17:57:19 +0200690 };
691
692 mmc0_cd_pin_reference_design: mmc0_cd_pin@0 {
693 allwinner,pins = "PH1";
694 allwinner,function = "gpio_in";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100695 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
696 allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
Hans de Goedeb5f86a32014-05-02 17:57:19 +0200697 };
Hans de Goedea4e10992014-06-30 23:57:58 +0200698
699 ir0_pins_a: ir0@0 {
700 allwinner,pins = "PB3","PB4";
701 allwinner,function = "ir0";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100702 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
703 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
Hans de Goedea4e10992014-06-30 23:57:58 +0200704 };
705
706 ir1_pins_a: ir1@0 {
707 allwinner,pins = "PB22","PB23";
708 allwinner,function = "ir1";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100709 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
710 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
Hans de Goedea4e10992014-06-30 23:57:58 +0200711 };
Alexandru Gagniucec66d0b2014-12-08 04:14:01 -0600712
713 spi0_pins_a: spi0@0 {
714 allwinner,pins = "PI10", "PI11", "PI12", "PI13";
715 allwinner,function = "spi0";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100716 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
717 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
Alexandru Gagniucec66d0b2014-12-08 04:14:01 -0600718 };
719
720 spi1_pins_a: spi1@0 {
721 allwinner,pins = "PI16", "PI17", "PI18", "PI19";
722 allwinner,function = "spi1";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100723 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
724 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
Alexandru Gagniucec66d0b2014-12-08 04:14:01 -0600725 };
726
727 spi2_pins_a: spi2@0 {
728 allwinner,pins = "PB14", "PB15", "PB16", "PB17";
729 allwinner,function = "spi2";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100730 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
731 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
Alexandru Gagniucec66d0b2014-12-08 04:14:01 -0600732 };
733
734 spi2_pins_b: spi2@1 {
735 allwinner,pins = "PC19", "PC20", "PC21", "PC22";
736 allwinner,function = "spi2";
Maxime Ripard092a0c32014-12-16 22:59:57 +0100737 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
738 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
Alexandru Gagniucec66d0b2014-12-08 04:14:01 -0600739 };
Maxime Ripard874b4e42013-01-26 15:36:54 +0100740 };
Maxime Ripard89b3c992013-02-20 17:25:03 -0800741
Maxime Ripard69144e32013-03-13 20:07:37 +0100742 timer@01c20c00 {
Maxime Ripardb4f26442014-02-06 10:40:32 +0100743 compatible = "allwinner,sun4i-a10-timer";
Maxime Ripard69144e32013-03-13 20:07:37 +0100744 reg = <0x01c20c00 0x90>;
745 interrupts = <22>;
746 clocks = <&osc24M>;
747 };
748
749 wdt: watchdog@01c20c90 {
Maxime Ripardca5d04d2014-02-07 22:29:26 +0100750 compatible = "allwinner,sun4i-a10-wdt";
Maxime Ripard69144e32013-03-13 20:07:37 +0100751 reg = <0x01c20c90 0x10>;
752 };
753
Carlo Caioneb5d905c2013-10-16 20:30:26 +0200754 rtc: rtc@01c20d00 {
Maxime Ripard5fc4bc82014-04-03 14:50:03 -0700755 compatible = "allwinner,sun4i-a10-rtc";
Carlo Caioneb5d905c2013-10-16 20:30:26 +0200756 reg = <0x01c20d00 0x20>;
757 interrupts = <24>;
758 };
759
Alexandre Belloni4b57a392014-04-28 18:17:11 +0200760 pwm: pwm@01c20e00 {
761 compatible = "allwinner,sun4i-a10-pwm";
762 reg = <0x01c20e00 0xc>;
763 clocks = <&osc24M>;
764 #pwm-cells = <3>;
765 status = "disabled";
766 };
767
Hans de Goedea4e10992014-06-30 23:57:58 +0200768 ir0: ir@01c21800 {
769 compatible = "allwinner,sun4i-a10-ir";
770 clocks = <&apb0_gates 6>, <&ir0_clk>;
771 clock-names = "apb", "ir";
772 interrupts = <5>;
773 reg = <0x01c21800 0x40>;
774 status = "disabled";
775 };
776
777 ir1: ir@01c21c00 {
778 compatible = "allwinner,sun4i-a10-ir";
779 clocks = <&apb0_gates 7>, <&ir1_clk>;
780 clock-names = "apb", "ir";
781 interrupts = <6>;
782 reg = <0x01c21c00 0x40>;
783 status = "disabled";
784 };
785
Hans de Goedeb0512e12014-12-23 11:13:20 +0100786 lradc: lradc@01c22800 {
787 compatible = "allwinner,sun4i-a10-lradc-keys";
788 reg = <0x01c22800 0x100>;
789 interrupts = <31>;
790 status = "disabled";
791 };
792
Oliver Schinagl2bad9692013-09-03 12:33:28 +0200793 sid: eeprom@01c23800 {
Maxime Ripard043d56e2014-02-07 22:20:40 +0100794 compatible = "allwinner,sun4i-a10-sid";
Oliver Schinagl2bad9692013-09-03 12:33:28 +0200795 reg = <0x01c23800 0x10>;
796 };
797
Hans de Goede57c88392013-12-31 17:20:50 +0100798 rtp: rtp@01c25000 {
Maxime Ripard40dd8f32014-02-02 14:52:40 +0100799 compatible = "allwinner,sun4i-a10-ts";
Hans de Goede57c88392013-12-31 17:20:50 +0100800 reg = <0x01c25000 0x100>;
801 interrupts = <29>;
Chen-Yu Tsai41e7afb2015-01-06 10:35:15 +0800802 #thermal-sensor-cells = <0>;
Hans de Goede57c88392013-12-31 17:20:50 +0100803 };
804
Maxime Ripard89b3c992013-02-20 17:25:03 -0800805 uart0: serial@01c28000 {
806 compatible = "snps,dw-apb-uart";
807 reg = <0x01c28000 0x400>;
808 interrupts = <1>;
809 reg-shift = <2>;
810 reg-io-width = <4>;
Emilio López9ff49ec2013-03-27 18:20:39 -0300811 clocks = <&apb1_gates 16>;
Maxime Ripard89b3c992013-02-20 17:25:03 -0800812 status = "disabled";
813 };
Maxime Ripard76f14d0a2013-02-20 17:38:27 -0800814
Maxime Ripard69144e32013-03-13 20:07:37 +0100815 uart1: serial@01c28400 {
816 compatible = "snps,dw-apb-uart";
817 reg = <0x01c28400 0x400>;
818 interrupts = <2>;
819 reg-shift = <2>;
820 reg-io-width = <4>;
821 clocks = <&apb1_gates 17>;
822 status = "disabled";
823 };
824
Maxime Ripard76f14d0a2013-02-20 17:38:27 -0800825 uart2: serial@01c28800 {
826 compatible = "snps,dw-apb-uart";
827 reg = <0x01c28800 0x400>;
828 interrupts = <3>;
829 reg-shift = <2>;
830 reg-io-width = <4>;
Emilio López9ff49ec2013-03-27 18:20:39 -0300831 clocks = <&apb1_gates 18>;
Maxime Ripard76f14d0a2013-02-20 17:38:27 -0800832 status = "disabled";
833 };
834
Maxime Ripard69144e32013-03-13 20:07:37 +0100835 uart3: serial@01c28c00 {
836 compatible = "snps,dw-apb-uart";
837 reg = <0x01c28c00 0x400>;
838 interrupts = <4>;
839 reg-shift = <2>;
840 reg-io-width = <4>;
841 clocks = <&apb1_gates 19>;
842 status = "disabled";
843 };
844
Maxime Ripard76f14d0a2013-02-20 17:38:27 -0800845 uart4: serial@01c29000 {
846 compatible = "snps,dw-apb-uart";
847 reg = <0x01c29000 0x400>;
848 interrupts = <17>;
849 reg-shift = <2>;
850 reg-io-width = <4>;
Emilio López9ff49ec2013-03-27 18:20:39 -0300851 clocks = <&apb1_gates 20>;
Maxime Ripard76f14d0a2013-02-20 17:38:27 -0800852 status = "disabled";
853 };
854
855 uart5: serial@01c29400 {
856 compatible = "snps,dw-apb-uart";
857 reg = <0x01c29400 0x400>;
858 interrupts = <18>;
859 reg-shift = <2>;
860 reg-io-width = <4>;
Emilio López9ff49ec2013-03-27 18:20:39 -0300861 clocks = <&apb1_gates 21>;
Maxime Ripard76f14d0a2013-02-20 17:38:27 -0800862 status = "disabled";
863 };
864
865 uart6: serial@01c29800 {
866 compatible = "snps,dw-apb-uart";
867 reg = <0x01c29800 0x400>;
868 interrupts = <19>;
869 reg-shift = <2>;
870 reg-io-width = <4>;
Emilio López9ff49ec2013-03-27 18:20:39 -0300871 clocks = <&apb1_gates 22>;
Maxime Ripard76f14d0a2013-02-20 17:38:27 -0800872 status = "disabled";
873 };
874
875 uart7: serial@01c29c00 {
876 compatible = "snps,dw-apb-uart";
877 reg = <0x01c29c00 0x400>;
878 interrupts = <20>;
879 reg-shift = <2>;
880 reg-io-width = <4>;
Emilio López9ff49ec2013-03-27 18:20:39 -0300881 clocks = <&apb1_gates 23>;
Maxime Ripard76f14d0a2013-02-20 17:38:27 -0800882 status = "disabled";
883 };
Maxime Ripardf1741fd2013-03-10 13:34:36 +0100884
885 i2c0: i2c@01c2ac00 {
Maxime Ripardd2755452014-03-31 14:54:58 +0200886 compatible = "allwinner,sun4i-a10-i2c";
Maxime Ripardf1741fd2013-03-10 13:34:36 +0100887 reg = <0x01c2ac00 0x400>;
888 interrupts = <7>;
889 clocks = <&apb1_gates 0>;
Maxime Ripardf1741fd2013-03-10 13:34:36 +0100890 status = "disabled";
Hans de Goede60bbe312014-04-13 13:41:03 +0200891 #address-cells = <1>;
892 #size-cells = <0>;
Maxime Ripardf1741fd2013-03-10 13:34:36 +0100893 };
894
895 i2c1: i2c@01c2b000 {
Maxime Ripardd2755452014-03-31 14:54:58 +0200896 compatible = "allwinner,sun4i-a10-i2c";
Maxime Ripardf1741fd2013-03-10 13:34:36 +0100897 reg = <0x01c2b000 0x400>;
898 interrupts = <8>;
899 clocks = <&apb1_gates 1>;
Maxime Ripardf1741fd2013-03-10 13:34:36 +0100900 status = "disabled";
Hans de Goede60bbe312014-04-13 13:41:03 +0200901 #address-cells = <1>;
902 #size-cells = <0>;
Maxime Ripardf1741fd2013-03-10 13:34:36 +0100903 };
904
905 i2c2: i2c@01c2b400 {
Maxime Ripardd2755452014-03-31 14:54:58 +0200906 compatible = "allwinner,sun4i-a10-i2c";
Maxime Ripardf1741fd2013-03-10 13:34:36 +0100907 reg = <0x01c2b400 0x400>;
908 interrupts = <9>;
909 clocks = <&apb1_gates 2>;
Maxime Ripardf1741fd2013-03-10 13:34:36 +0100910 status = "disabled";
Hans de Goede60bbe312014-04-13 13:41:03 +0200911 #address-cells = <1>;
912 #size-cells = <0>;
Maxime Ripardf1741fd2013-03-10 13:34:36 +0100913 };
Maxime Ripard874b4e42013-01-26 15:36:54 +0100914 };
Stefan Roese7423d2d2012-11-26 15:46:12 +0100915};