Commit ba1ab8cc authored by Declan Snyder's avatar Declan Snyder Committed by Anas Nashif
Browse files

boards: rd_rw612_bga: Enable FC0 as SPI



Enable flexcomm0 as SPI on rd_rw612_bga

Signed-off-by: default avatarDeclan Snyder <declan.snyder@nxp.com>
parent fa6e894e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -39,6 +39,8 @@ Supported Features
+-----------+------------+-----------------------------------+
| USART     | on-chip    | serial                            |
+-----------+------------+-----------------------------------+
| SPI       | on-chip    | spi                               |
+-----------+------------+-----------------------------------+

The default configuration can be found in the defconfig file:

+10 −0
Original line number Diff line number Diff line
@@ -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";
		};
	};
};
+9 −0
Original line number Diff line number Diff line
@@ -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";
+1 −0
Original line number Diff line number Diff line
@@ -16,3 +16,4 @@ ram: 960
flash: 65536
supported:
  - gpio
  - spi