]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: sunxi: cubieboard: Add UART muxing
authorEmilio López <emilio@elopez.com.ar>
Fri, 8 Mar 2013 11:18:56 +0000 (08:18 -0300)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Fri, 29 Mar 2013 08:27:01 +0000 (09:27 +0100)
We previously relied on the bootloader to do the muxing of the UART for
the Cubieboard. Don't rely on it anymore and use pinctrl.

Also remove uart1, as it is not enabled by default and it's not exposed
on the board headers.

Signed-off-by: Emilio López <emilio@elopez.com.ar>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun4i-a10-cubieboard.dts

index cd06a3ca21966f2ec9b71b0fc03e77d05a5c094d..99558f624554cb211e64551b13f7810be0d65e81 100644 (file)
                };
 
                uart0: serial@01c28000 {
-                       status = "okay";
-               };
-
-               uart1: serial@01c28400 {
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&uart0_pins_a>;
                        status = "okay";
                };
        };