Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: kirkwood: lsxl: fix serial line

Commit 327e15428977 ("ARM: dts: kirkwood: consolidate common pinctrl
settings") unknowingly broke the serial output on this board. Before
this commit, the pinmux was still configured by the bootloader and the
kernel didn't reconfigured it again. This was an oversight by the
initial board support where the pinmux for the serial line was never
configured by the kernel. But with this commit, the serial line will be
reconfigured to the wrong pins. This is especially confusing, because
the output still works, but the input doesn't. Presumingly, the input is
reconfigured to MPP10, but the output is connected to both MPP11 and
MPP5.

Override the pinmux in the board device tree.

Fixes: 327e15428977 ("ARM: dts: kirkwood: consolidate common pinctrl settings")
Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>

authored by

Michael Walle and committed by
Gregory CLEMENT
04eabc6a 54d8a6b7

+5
+5
arch/arm/boot/dts/kirkwood-lsxl.dtsi
··· 10 10 11 11 ocp@f1000000 { 12 12 pinctrl: pin-controller@10000 { 13 + /* Non-default UART pins */ 14 + pmx_uart0: pmx-uart0 { 15 + marvell,pins = "mpp4", "mpp5"; 16 + }; 17 + 13 18 pmx_power_hdd: pmx-power-hdd { 14 19 marvell,pins = "mpp10"; 15 20 marvell,function = "gpo";