]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: sun7i: a20-olinuxino: Enable UARTs muxing
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 24 Jul 2013 22:10:53 +0000 (00:10 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 21 Aug 2013 22:19:18 +0000 (00:19 +0200)
Instead of relying on the bootloader to mux the UART pins properly, do
it on our own and register the rightful pins for the A20-olinuxino in
the DT using pinctrl.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts

index d3395846491c79ecd37acc2d2f79d5c9e891809c..4d988df1a49cf60168d6223d3dc520dc8f69b907 100644 (file)
 
        soc@01c00000 {
                uart0: serial@01c28000 {
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&uart0_pins_a>;
                        status = "okay";
                };
 
                uart6: serial@01c29800 {
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&uart6_pins_a>;
                        status = "okay";
                };
 
                uart7: serial@01c29c00 {
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&uart7_pins_a>;
                        status = "okay";
                };
        };