]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ARM: dts: turris-omnia: Fix mpp26 pin name and comment
authorMarek Behún <kabel@kernel.org>
Wed, 27 Jul 2022 12:56:10 +0000 (14:56 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Oct 2022 11:22:32 +0000 (13:22 +0200)
[ Upstream commit d6e2d356b9f5378ffd519750cda14116751a548f ]

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: 694371b0ef9a ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/armada-385-turris-omnia.dts

index fde4c302f08ec7bc88c304815420f39b5f6ffdb7..92e08486ec81fbdb8e9eefb5b874bc31e9a3d424 100644 (file)
                marvell,function = "spi0";
        };
 
-       spi0cs1_pins: spi0cs1-pins {
+       spi0cs2_pins: spi0cs2-pins {
                marvell,pins = "mpp26";
                marvell,function = "spi0";
        };
                };
        };
 
-       /* MISO, MOSI, SCLK and CS1 are routed to pin header CN11 */
+       /* MISO, MOSI, SCLK and CS2 are routed to pin header CN11 */
 };
 
 &uart0 {