arm64: dts: colibri-imx8x: Add SPI

Add Colibri SPI to the board. lpspi2 is being exposed on the SoM edge.
Add settings to the module-level but finally enable it on the eval-board
dtsi.

Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
Philippe Schenker
2023-03-14 11:23:56 +01:00
committed by Shawn Guo
parent 9c279d216f
commit a537c9618d
2 changed files with 12 additions and 0 deletions

View File

@@ -36,6 +36,11 @@ rtc_i2c: rtc@68 {
};
};
/* Colibri SPI */
&lpspi2 {
status = "okay";
};
/* Colibri UART_B */
&lpuart0 {
status = "okay";

View File

@@ -91,6 +91,13 @@ ethphy0: ethernet-phy@2 {
};
};
/* Colibri SPI */
&lpspi2 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_lpspi2>;
cs-gpios = <&lsio_gpio1 0 GPIO_ACTIVE_LOW>;
};
/* On-module eMMC */
&usdhc1 {
bus-width = <8>;