Skip to content

Commit b7f865e

Browse files
Icenowymripard
authored andcommitted
ARM: dts: sun8i: fix the pinmux for UART1
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: 82eec38 (ARM: dts: sun8i: add pinmux for UART1 at PG) Signed-off-by: Icenowy Zheng <[email protected]> Signed-off-by: Maxime Ripard <[email protected]>
1 parent 1001354 commit b7f865e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

arch/arm/boot/dts/sun8i-a23-a33.dtsi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,11 +282,15 @@
282282
uart1_pins_a: uart1@0 {
283283
allwinner,pins = "PG6", "PG7";
284284
allwinner,function = "uart1";
285+
allwinner,drive = <SUN4I_PINCTRL_10_MA>;
286+
allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
285287
};
286288

287289
uart1_pins_cts_rts_a: uart1-cts-rts@0 {
288290
allwinner,pins = "PG8", "PG9";
289291
allwinner,function = "uart1";
292+
allwinner,drive = <SUN4I_PINCTRL_10_MA>;
293+
allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
290294
};
291295

292296
mmc0_pins_a: mmc0@0 {

0 commit comments

Comments
 (0)