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>
};
};
+/* Colibri SPI */
+&lpspi2 {
+ status = "okay";
+};
+
/* Colibri UART_B */
&lpuart0 {
status = "okay";
};
};
+/* 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>;