File tree 1 file changed +15
-1
lines changed
meta-arduino-bsp/recipes-bsp/device-tree/arduino-device-tree/portenta-x9
1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change 425
425
&lpspi1 {
426
426
fsl,spi-num-chipselects = <1>;
427
427
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>;
429
431
status = "okay";
430
432
431
433
spidev0: spi@0 {
772
774
>;
773
775
};
774
776
777
+ /* Standard, full HW support */
775
778
pinctrl_lpspi1: lpspi1grp {
776
779
fsl,pins = <
777
780
MX93_PAD_SAI1_TXFS__LPSPI1_PCS0 0x3fe
781
784
>;
782
785
};
783
786
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 */
784
798
pinctrl_lpspi4: lpspi4grp {
785
799
fsl,pins = <
786
800
MX93_PAD_GPIO_IO16__LPSPI4_PCS2 0x3fe
You can’t perform that action at this time.
0 commit comments