Skip to content

Commit fcb79ee

Browse files
mwalleclaudiubeznea
authored andcommitted
ARM: dts: lan966x: kontron-d10: fix SPI CS
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: 79d83b3 ("ARM: dts: lan966x: add basic Kontron KSwitch D10 support") Signed-off-by: Michael Walle <mwalle@kernel.org> Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com> Link: https://lore.kernel.org/r/20230616-feature-d10-dt-cleanups-v1-2-50dd0452b8fe@kernel.org
1 parent bfcd571 commit fcb79ee

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

arch/arm/boot/dts/lan966x-kontron-kswitch-d10-mmt.dtsi

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
status = "okay";
4242

4343
spi3: spi@400 {
44-
pinctrl-0 = <&fc3_b_pins>;
44+
pinctrl-0 = <&fc3_b_pins>, <&spi3_cs_pins>;
4545
pinctrl-names = "default";
4646
status = "okay";
4747
cs-gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
@@ -79,6 +79,12 @@
7979
function = "sgpio_b";
8080
};
8181

82+
spi3_cs_pins: spi3-cs-pins {
83+
/* CS# */
84+
pins = "GPIO_46";
85+
function = "gpio";
86+
};
87+
8288
usart0_pins: usart0-pins {
8389
/* RXD, TXD */
8490
pins = "GPIO_25", "GPIO_26";

0 commit comments

Comments
 (0)