arm: mvebu: turris_omnia: Fix mpp26 pin name and comment
authorMarek Behún <kabel@kernel.org>
Wed, 27 Jul 2022 13:00:27 +0000 (15:00 +0200)
committerStefan Roese <sr@denx.de>
Fri, 29 Jul 2022 11:55:52 +0000 (13:55 +0200)
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.

Signed-off-by: Marek Behún <kabel@kernel.org>
arch/arm/dts/armada-385-turris-omnia.dts

index 9980a85..0be55f8 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 {