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

ARM: dts: turris-omnia: Fix mpp26 pin name and comment

There is a bug in Turris Omnia's schematics, whereupon the MPP[26] pin,
which is routed to CN11 pin header, is documented as SPI CS1, but
MPP[26] pin does not support this function. Instead it controls chip
select 2 if in "spi0" mode.

Fix the name of the pin node in pinctrl node and fix the comment in SPI
node.

Fixes: 26ca8b52d6e1 ("ARM: dts: add support for Turris Omnia")
Signed-off-by: Marek Behún <kabel@kernel.org>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>

authored by

Marek Behún and committed by
Gregory CLEMENT
49e93898 568035b0

+2 -2
+2 -2
arch/arm/boot/dts/armada-385-turris-omnia.dts
··· 476 476 marvell,function = "spi0"; 477 477 }; 478 478 479 - spi0cs1_pins: spi0cs1-pins { 479 + spi0cs2_pins: spi0cs2-pins { 480 480 marvell,pins = "mpp26"; 481 481 marvell,function = "spi0"; 482 482 }; ··· 511 511 }; 512 512 }; 513 513 514 - /* MISO, MOSI, SCLK and CS1 are routed to pin header CN11 */ 514 + /* MISO, MOSI, SCLK and CS2 are routed to pin header CN11 */ 515 515 }; 516 516 517 517 &uart0 {