arm64: dts: freescale: imx93-tqma9352-mba93xxla: enable LPSPI6 interface
authorAlexander Stein <alexander.stein@ew.tq-group.com>
Mon, 19 Aug 2024 12:03:18 +0000 (14:03 +0200)
committerShawn Guo <shawnguo@kernel.org>
Wed, 4 Sep 2024 09:36:20 +0000 (17:36 +0800)
LPSPI6 features a NAFE13388 analog frontend.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxla.dts

index 65aeacfbda1e34e4d5a14a1e159d2253c8349e9b..718032cf57962fdad7e4f9ced2d3f1392b704f94 100644 (file)
        };
 };
 
+&lpspi6 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_lpspi6>, <&pinctrl_lpspi6_cs>;
+       cs-gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
+       status = "okay";
+};
+
 &lpuart1 {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_uart1>;
                >;
        };
 
+       pinctrl_lpspi6: lpspi6grp {
+               fsl,pins = <
+                       /* HYS | PD | FSEL_0 | DSE no drive */
+                       MX93_PAD_GPIO_IO01__LPSPI6_SIN                  0x1400
+                       /* PD | FSEL_2 | DSE X4 */
+                       MX93_PAD_GPIO_IO02__LPSPI6_SOUT                 0x051e
+                       MX93_PAD_GPIO_IO03__LPSPI6_SCK                  0x051e
+               >;
+       };
+
+       pinctrl_lpspi6_cs: lpspi6csgrp {
+               fsl,pins = <
+                       /* FSEL_2 | DSE X4 */
+                       MX93_PAD_GPIO_IO00__GPIO2_IO00                  0x011e
+               >;
+       };
+
        pinctrl_pcf85063: pcf85063grp {
                fsl,pins = <
                        /* HYS | FSEL_0 | No DSE */