ARM: dts: sun8i: Add pinmux set for uart0
authorChen-Yu Tsai <wens@csie.org>
Sun, 17 Aug 2014 03:52:09 +0000 (11:52 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Sun, 17 Aug 2014 07:57:50 +0000 (09:57 +0200)
uart0 on sun8i is only muxed with mmc0, which makes it a poor choice
for the console. However, some tablets only have pads for uart0
available on the circuit board.

Here we add the uart0 pinmux set for people who need it.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun8i-a23.dtsi

index cb1fbfcd7f069a1b546be576912813bfc7493987..cbd481eff55d162f83ee38333a95a163b62f03f6 100644 (file)
                        #address-cells = <1>;
                        #size-cells = <0>;
                        #gpio-cells = <3>;
+
+                       uart0_pins_a: uart0@0 {
+                               allwinner,pins = "PF2", "PF4";
+                               allwinner,function = "uart0";
+                               allwinner,drive = <0>;
+                               allwinner,pull = <0>;
+                       };
                };
 
                ahb1_rst: reset@01c202c0 {