]> Git Repo - linux.git/commitdiff
ARM: dts: sun8i: fix the pinmux for UART1
authorIcenowy Zheng <[email protected]>
Mon, 24 Oct 2016 17:08:31 +0000 (01:08 +0800)
committerMaxime Ripard <[email protected]>
Tue, 25 Oct 2016 10:51:06 +0000 (12:51 +0200)
When the patch is applied, the allwinner,driver and allwinner,pull
properties are removed.

Although they're described to be optional in the devicetree binding,
without them, the pinmux cannot be initialized, and the uart cannot
be used.

Add them back to fix the problem, and makes the bluetooth on iNet D978
Rev2 board work.

Fixes: 82eec384249f (ARM: dts: sun8i: add pinmux for UART1 at PG)
Signed-off-by: Icenowy Zheng <[email protected]>
Signed-off-by: Maxime Ripard <[email protected]>
arch/arm/boot/dts/sun8i-a23-a33.dtsi

index 48fc24f36fcb268b7c0ba30348e0f0cc17826a9c..300a1bd5a6ecfd42a8968c7b76d2296fbccc1a2f 100644 (file)
                        uart1_pins_a: uart1@0 {
                                allwinner,pins = "PG6", "PG7";
                                allwinner,function = "uart1";
+                               allwinner,drive = <SUN4I_PINCTRL_10_MA>;
+                               allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
                        };
 
                        uart1_pins_cts_rts_a: uart1-cts-rts@0 {
                                allwinner,pins = "PG8", "PG9";
                                allwinner,function = "uart1";
+                               allwinner,drive = <SUN4I_PINCTRL_10_MA>;
+                               allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
                        };
 
                        mmc0_pins_a: mmc0@0 {
This page took 0.063909 seconds and 4 git commands to generate.