sun5i-a13.dtsi 984 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
/*
 * Copyright 2012 Maxime Ripard
 *
 * Maxime Ripard <maxime.ripard@free-electrons.com>
 *
 * The code contained herein is licensed under the GNU General Public
 * License. You may obtain a copy of the GNU General Public License
 * Version 2 or later at the following locations:
 *
 * http://www.opensource.org/licenses/gpl-license.html
 * http://www.gnu.org/copyleft/gpl.html
 */

14
/include/ "sunxi.dtsi"
15 16 17 18 19

/ {
	memory {
		reg = <0x40000000 0x20000000>;
	};
20 21

	soc {
22
		pio: pinctrl@01c20800 {
23 24
			compatible = "allwinner,sun5i-a13-pinctrl";
			reg = <0x01c20800 0x400>;
25
			gpio-controller;
26 27
			#address-cells = <1>;
			#size-cells = <0>;
28
			#gpio-cells = <3>;
29 30 31 32 33 34 35 36 37 38 39 40 41 42

			uart1_pins_a: uart1@0 {
				allwinner,pins = "PE10", "PE11";
				allwinner,function = "uart1";
				allwinner,drive = <0>;
				allwinner,pull = <0>;
			};

			uart1_pins_b: uart1@1 {
				allwinner,pins = "PG3", "PG4";
				allwinner,function = "uart1";
				allwinner,drive = <0>;
				allwinner,pull = <0>;
			};
43 44
		};
	};
45
};