]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: imx93-var-som-symphony: Enable LPSPI6 controller
authorStefano Radaelli <stefano.r@variscite.com>
Fri, 5 Dec 2025 18:22:57 +0000 (19:22 +0100)
committerShawn Guo <shawnguo@kernel.org>
Tue, 30 Dec 2025 02:57:07 +0000 (10:57 +0800)
Enable the LPSPI6 controller so it can be used by user applications
through the board’s expansion connector.

Signed-off-by: Stefano Radaelli <stefano.r@variscite.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx93-var-som-symphony.dts

index ee69d6b268a469c1b78350d4f71ddd7d132cd58e..c0842fb3cfa33a2b8c2942cf5f2bd8e74385c239 100644 (file)
        status = "okay";
 };
 
+&lpspi6 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_lpspi6>;
+       cs-gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
+       status = "okay";
+};
+
 /* J18.7, J18.9 */
 &lpuart6 {
        pinctrl-names = "default";
                >;
        };
 
+        pinctrl_lpspi6: lpspi6grp {
+               fsl,pins = <
+                       MX93_PAD_GPIO_IO00__GPIO2_IO00                  0x31e
+                       MX93_PAD_GPIO_IO01__LPSPI6_SIN                  0x31e
+                       MX93_PAD_GPIO_IO02__LPSPI6_SOUT                 0x31e
+                       MX93_PAD_GPIO_IO03__LPSPI6_SCK                  0x31e
+               >;
+       };
+
        pinctrl_pca9534: pca9534grp {
                fsl,pins = <
                        MX93_PAD_CCM_CLKO1__GPIO3_IO26          0x31e