Skip to content

Commit 5e6c009

Browse files
committed
Sync lpspi section with gateway root devicetree
1 parent 906218c commit 5e6c009

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

meta-arduino-bsp/recipes-bsp/device-tree/arduino-device-tree/portenta-x9/arduino_portenta-x9.dts

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,9 @@
425425
&lpspi1 {
426426
fsl,spi-num-chipselects = <1>;
427427
pinctrl-names = "default";
428-
pinctrl-0 = <&pinctrl_lpspi1>;
428+
/*pinctrl-0 = <&pinctrl_lpspi1>;*/
429+
pinctrl-0 = <&pinctrl_lpspi1_cs_gpio>;
430+
cs-gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
429431
status = "okay";
430432

431433
spidev0: spi@0 {
@@ -772,6 +774,7 @@
772774
>;
773775
};
774776

777+
/* Standard, full HW support */
775778
pinctrl_lpspi1: lpspi1grp {
776779
fsl,pins = <
777780
MX93_PAD_SAI1_TXFS__LPSPI1_PCS0 0x3fe
@@ -781,6 +784,17 @@
781784
>;
782785
};
783786

787+
/* Mixed, CS are gpio toggled */
788+
pinctrl_lpspi1_cs_gpio: lpspi1csgpiogrp {
789+
fsl,pins = <
790+
MX93_PAD_SAI1_TXFS__GPIO1_IO11 0x31e
791+
MX93_PAD_SAI1_TXD0__LPSPI1_SCK 0x3fe
792+
MX93_PAD_SAI1_TXC__LPSPI1_SIN 0x3fe
793+
MX93_PAD_SAI1_RXD0__LPSPI1_SOUT 0x3fe
794+
>;
795+
};
796+
797+
/* Standard, full HW support */
784798
pinctrl_lpspi4: lpspi4grp {
785799
fsl,pins = <
786800
MX93_PAD_GPIO_IO16__LPSPI4_PCS2 0x3fe

0 commit comments

Comments
 (0)