Skip to content

Commit

Permalink
arm64: dts: colibri-imx8x: move pinctrl property from SoM to eval board
Browse files Browse the repository at this point in the history
Each carrier board device tree except the eval board one already override
iomuxc pinctrl property to configure unused pins as gpio.
So move also the pinctrl property to eval board device tree.
Leave the pin group definition in imx8x-colibri.dtsi to avoid duplication
and simplify configuration of gpio.

Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
  • Loading branch information
Emanuele Ghidoli authored and Shawn Guo committed May 15, 2023
1 parent a346d4d commit 25acffb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 6 additions & 0 deletions arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@
};
};

&iomuxc {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ext_io0>, <&pinctrl_hog0>, <&pinctrl_hog1>,
<&pinctrl_lpspi2_cs2>;
};

/* Colibri SPI */
&lpspi2 {
status = "okay";
Expand Down
4 changes: 0 additions & 4 deletions arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -363,10 +363,6 @@
/* TODO VPU Encoder/Decoder */

&iomuxc {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ext_io0>, <&pinctrl_hog0>, <&pinctrl_hog1>,
<&pinctrl_lpspi2_cs2>;

/* On-module touch pen-down interrupt */
pinctrl_ad7879_int: ad7879intgrp {
fsl,pins = <IMX8QXP_MIPI_CSI0_I2C0_SCL_LSIO_GPIO3_IO05 0x21>;
Expand Down

0 comments on commit 25acffb

Please sign in to comment.