blob: b605672424ac95bf554fd02c24f68f63ba80eb95 [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
13/include/ "sunxi.dtsi"
14
15/ {
16 memory {
17 reg = <0x40000000 0x80000000>;
18 };
Maxime Ripard874b4e42013-01-26 15:36:54 +010019
20 soc {
Maxime Riparde10911e2013-01-27 19:26:05 +010021 pio: pinctrl@01c20800 {
Maxime Ripard874b4e42013-01-26 15:36:54 +010022 compatible = "allwinner,sun4i-a10-pinctrl";
23 reg = <0x01c20800 0x400>;
Maxime Riparde10911e2013-01-27 19:26:05 +010024 gpio-controller;
Maxime Ripard874b4e42013-01-26 15:36:54 +010025 #address-cells = <1>;
26 #size-cells = <0>;
Maxime Riparde10911e2013-01-27 19:26:05 +010027 #gpio-cells = <3>;
Maxime Ripard581981b2013-01-26 15:36:55 +010028
29 uart0_pins_a: uart0@0 {
30 allwinner,pins = "PB22", "PB23";
31 allwinner,function = "uart0";
32 allwinner,drive = <0>;
33 allwinner,pull = <0>;
34 };
35
36 uart0_pins_b: uart0@1 {
37 allwinner,pins = "PF2", "PF4";
38 allwinner,function = "uart0";
39 allwinner,drive = <0>;
40 allwinner,pull = <0>;
41 };
42
43 uart1_pins_a: uart1@0 {
44 allwinner,pins = "PA10", "PA11";
45 allwinner,function = "uart1";
46 allwinner,drive = <0>;
47 allwinner,pull = <0>;
48 };
Maxime Ripard874b4e42013-01-26 15:36:54 +010049 };
Maxime Ripard89b3c992013-02-20 17:25:03 -080050
51 uart0: serial@01c28000 {
52 compatible = "snps,dw-apb-uart";
53 reg = <0x01c28000 0x400>;
54 interrupts = <1>;
55 reg-shift = <2>;
56 reg-io-width = <4>;
57 clocks = <&osc>;
58 status = "disabled";
59 };
Maxime Ripard874b4e42013-01-26 15:36:54 +010060 };
Stefan Roese7423d2d2012-11-26 15:46:12 +010061};