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:
parent
fa6e894e1d
commit
ba1ab8cc5e
4 changed files with 22 additions and 0 deletions
|
@ -39,6 +39,8 @@ Supported Features
|
|||
+-----------+------------+-----------------------------------+
|
||||
| USART | on-chip | serial |
|
||||
+-----------+------------+-----------------------------------+
|
||||
| SPI | on-chip | spi |
|
||||
+-----------+------------+-----------------------------------+
|
||||
|
||||
The default configuration can be found in the defconfig 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -16,3 +16,4 @@ ram: 960
|
|||
flash: 65536
|
||||
supported:
|
||||
- gpio
|
||||
- spi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue