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:
parent
18202d0db3
commit
e4e3386f9c
|
@ -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
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -98,3 +98,9 @@
|
|||
sda-gpios = <&gpioa 2 GPIO_ACTIVE_HIGH>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&lpspi0 {
|
||||
pinctrl-0 = <&lpspi0_default>;
|
||||
pinctrl-names = "default";
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -16,3 +16,4 @@ supported:
|
|||
- uart
|
||||
- pinctrl
|
||||
- i2c
|
||||
- spi
|
||||
|
|
Loading…
Reference in a new issue