]> www.infradead.org Git - linux.git/commitdiff
arm64: dts: freescale: imx93-tqma9352-mba93xxla: add missing pad configurations
authorAlexander Stein <alexander.stein@ew.tq-group.com>
Mon, 19 Aug 2024 12:03:20 +0000 (14:03 +0200)
committerShawn Guo <shawnguo@kernel.org>
Wed, 4 Sep 2024 09:36:20 +0000 (17:36 +0800)
- add missing (and currently unused) pad groups
- assign muxed GPIO pads for X1 to gpio2 node

Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
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 dd6e0b559a410881cf180be1313078418765236c..41d2e4246d67a2583b9ec68148ba9a90ffb8226c 100644 (file)
        };
 };
 
+&gpio2 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_gpio2>;
+};
+
 &gpio3 {
        ethphy-eqos-irq-hog {
                gpio-hog;
 };
 
 &iomuxc {
+       pinctrl_afe: afegrp {
+               fsl,pins = <
+                       /* FSEL_2 | DSE X4 */
+                       MX93_PAD_GPIO_IO07__GPIO2_IO07                  0x011e
+                       /* PD | FSEL_2 | DSE X4 */
+                       MX93_PAD_GPIO_IO08__GPIO2_IO08                  0x051e
+                       /* HYS | PD */
+                       MX93_PAD_GPIO_IO09__GPIO2_IO09                  0x1400
+                       /* HYS */
+                       MX93_PAD_GPIO_IO24__GPIO2_IO24                  0x1000
+               >;
+       };
+
        pinctrl_eqos: eqosgrp {
                fsl,pins = <
                        /* PD | FSEL_2 | DSE X4 */
                >;
        };
 
+       pinctrl_gpio2: gpio2grp {
+               fsl,pins = <
+                       /* HYS | PD | FSEL_2 | DSE X4 */
+                       MX93_PAD_GPIO_IO16__GPIO2_IO16                  0x151e
+                       MX93_PAD_GPIO_IO17__GPIO2_IO17                  0x151e
+                       MX93_PAD_GPIO_IO18__GPIO2_IO18                  0x151e
+                       MX93_PAD_GPIO_IO19__GPIO2_IO19                  0x151e
+                       MX93_PAD_GPIO_IO20__GPIO2_IO20                  0x151e
+                       MX93_PAD_GPIO_IO21__GPIO2_IO21                  0x151e
+                       MX93_PAD_GPIO_IO26__GPIO2_IO26                  0x151e
+               >;
+       };
+
+       pinctrl_jtag: jtaggrp {
+               fsl,pins = <
+                       MX93_PAD_DAP_TCLK_SWCLK__JTAG_MUX_TCK           0x051e
+                       MX93_PAD_DAP_TDI__JTAG_MUX_TDI                  0x1200
+                       MX93_PAD_DAP_TDO_TRACESWO__JTAG_MUX_TDO         0x031e
+                       MX93_PAD_DAP_TMS_SWDIO__JTAG_MUX_TMS            0x1200
+               >;
+       };
+
        pinctrl_lpi2c3: lpi2c3grp {
                fsl,pins = <
                        /* SION | HYS | OD | FSEL_3 | DSE X4 */
                >;
        };
 
+       pinctrl_mipi_csi: mipicsigrp {
+               fsl,pins = <
+                       MX93_PAD_CCM_CLKO3__CCMSRCGPCMIX_CLKO3          0x051e /* MCLK */
+                       MX93_PAD_GPIO_IO10__GPIO2_IO10                  0x051e /* TRIGGER */
+                       MX93_PAD_GPIO_IO11__GPIO2_IO11                  0x1400 /* SYNC */
+               >;
+       };
+
        pinctrl_pcf85063: pcf85063grp {
                fsl,pins = <
                        /* HYS | FSEL_0 | No DSE */