boards: ucans32k1sic: enable LPSPI support

Enable LPSPI support on ucans32k1sic board.

Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
This commit is contained in:
Manuel Argüelles 2023-12-01 13:28:36 +07:00 committed by David Leach
parent 18202d0db3
commit e4e3386f9c
4 changed files with 18 additions and 0 deletions

View file

@ -48,6 +48,7 @@ PORT on-chip pinctrl
GPIO on-chip gpio
LPUART on-chip serial
LPI2C on-chip i2c
LPSPI on-chip spi
============ ========== ================================
The default configuration can be found in the Kconfig file

View file

@ -27,4 +27,14 @@
drive-strength = "low";
};
};
lpspi0_default: lpspi0_default {
group0 {
pinmux = <LPSPI0_SCK_PTB2>,
<LPSPI0_SIN_PTB3>,
<LPSPI0_SOUT_PTB4>,
<LPSPI0_PCS0_PTB5>;
drive-strength = "low";
};
};
};

View file

@ -98,3 +98,9 @@
sda-gpios = <&gpioa 2 GPIO_ACTIVE_HIGH>;
status = "okay";
};
&lpspi0 {
pinctrl-0 = <&lpspi0_default>;
pinctrl-names = "default";
status = "okay";
};

View file

@ -16,3 +16,4 @@ supported:
- uart
- pinctrl
- i2c
- spi