ARM: sun9i: optimus: Set UART0 muxing

Enable the UART0 muxing, as set up by the bootloader.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
Maxime Ripard 2014-10-28 22:41:29 +01:00
parent 43d024d36a
commit 888366fa17
2 changed files with 9 additions and 0 deletions

View file

@ -60,6 +60,8 @@ chosen {
soc {
uart0: serial@07000000 {
pinctrl-names = "default";
pinctrl-0 = <&uart0_pins_a>;
status = "okay";
};
};

View file

@ -351,6 +351,13 @@ pio: pinctrl@06000800 {
#interrupt-cells = <2>;
#size-cells = <0>;
#gpio-cells = <3>;
uart0_pins_a: uart0@0 {
allwinner,pins = "PH12", "PH13";
allwinner,function = "uart0";
allwinner,drive = <0>;
allwinner,pull = <0>;
};
};
uart0: serial@07000000 {