boards: rd_rw612_bga: Enable FC0 as SPI

Enable flexcomm0 as SPI on rd_rw612_bga

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
This commit is contained in:
Declan Snyder 2024-03-13 16:45:18 -05:00 committed by Anas Nashif
commit ba1ab8cc5e
4 changed files with 22 additions and 0 deletions

View file

@ -39,6 +39,8 @@ Supported Features
+-----------+------------+-----------------------------------+
| USART | on-chip | serial |
+-----------+------------+-----------------------------------+
| SPI | on-chip | spi |
+-----------+------------+-----------------------------------+
The default configuration can be found in the defconfig file:

View file

@ -13,4 +13,14 @@
slew-rate = "normal";
};
};
pinmux_flexcomm0_spi: pinmux_flexcomm0_spi {
group0 {
pinmux = <IO_MUX_FC0_SPI_SS0_IO0>,
<IO_MUX_FC0_SPI_SS0_IO2>,
<IO_MUX_FC0_SPI_SS0_IO3>,
<IO_MUX_FC0_SPI_SS0_IO4>;
slew-rate = "ultra";
};
};
};

View file

@ -39,6 +39,15 @@
};
};
arduino_spi: &flexcomm0 {
compatible = "nxp,lpc-spi";
pinctrl-0 = <&pinmux_flexcomm0_spi>;
pinctrl-names = "default";
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
};
&flexcomm3 {
compatible = "nxp,lpc-usart";
status = "okay";

View file

@ -16,3 +16,4 @@ ram: 960
flash: 65536
supported:
- gpio
- spi