]> Git Repo - linux.git/commitdiff
ARM: dts: lan966x: kontron-d10: fix SPI CS
authorMichael Walle <[email protected]>
Fri, 16 Jun 2023 13:18:40 +0000 (15:18 +0200)
committerClaudiu Beznea <[email protected]>
Wed, 21 Jun 2023 07:22:40 +0000 (10:22 +0300)
The pinctrl node was missing which change the pin mux to GPIO mode.
Add it so we don't have to rely on the bootloader to set the correct
mode.

Fixes: 79d83b3a458e ("ARM: dts: lan966x: add basic Kontron KSwitch D10 support")
Signed-off-by: Michael Walle <[email protected]>
Signed-off-by: Claudiu Beznea <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
arch/arm/boot/dts/lan966x-kontron-kswitch-d10-mmt.dtsi

index 42be207509a46ca60879175d1baeb7b3812be6dc..f4df4cc1dfa5e6b15d6189c9f8fcc84abb78a61e 100644 (file)
@@ -41,7 +41,7 @@
        status = "okay";
 
        spi3: spi@400 {
-               pinctrl-0 = <&fc3_b_pins>;
+               pinctrl-0 = <&fc3_b_pins>, <&spi3_cs_pins>;
                pinctrl-names = "default";
                status = "okay";
                cs-gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
                function = "sgpio_b";
        };
 
+       spi3_cs_pins: spi3-cs-pins {
+               /* CS# */
+               pins = "GPIO_46";
+               function = "gpio";
+       };
+
        usart0_pins: usart0-pins {
                /* RXD, TXD */
                pins = "GPIO_25", "GPIO_26";
This page took 0.075389 seconds and 4 git commands to generate.