]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
ARM: sun9i: optimus: Set UART0 muxing
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 28 Oct 2014 21:41:29 +0000 (22:41 +0100)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Sun, 23 Nov 2014 15:53:02 +0000 (16:53 +0100)
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>
arch/arm/boot/dts/sun9i-a80-optimus.dts
arch/arm/boot/dts/sun9i-a80.dtsi

index 3a70fdf8877ec26c45cb6ab64d15952eb33989e1..5d9bc80afef2784fec172f5a4c3ff39acf0cd08c 100644 (file)
@@ -60,6 +60,8 @@
 
        soc {
                uart0: serial@07000000 {
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&uart0_pins_a>;
                        status = "okay";
                };
        };
index fe9832a2d8b8fa942ea42be886484d42b5094e64..da680cf195e20dea6f8e16bbf398408bd7956d30 100644 (file)
                        #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 {