Skip to content

Commit 25acffb

Browse files
eghidoliShawn Guo
authored andcommitted
arm64: dts: colibri-imx8x: move pinctrl property from SoM to eval board
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>
1 parent a346d4d commit 25acffb

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@
3333
};
3434
};
3535

36+
&iomuxc {
37+
pinctrl-names = "default";
38+
pinctrl-0 = <&pinctrl_ext_io0>, <&pinctrl_hog0>, <&pinctrl_hog1>,
39+
<&pinctrl_lpspi2_cs2>;
40+
};
41+
3642
/* Colibri SPI */
3743
&lpspi2 {
3844
status = "okay";

arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -363,10 +363,6 @@
363363
/* TODO VPU Encoder/Decoder */
364364

365365
&iomuxc {
366-
pinctrl-names = "default";
367-
pinctrl-0 = <&pinctrl_ext_io0>, <&pinctrl_hog0>, <&pinctrl_hog1>,
368-
<&pinctrl_lpspi2_cs2>;
369-
370366
/* On-module touch pen-down interrupt */
371367
pinctrl_ad7879_int: ad7879intgrp {
372368
fsl,pins = <IMX8QXP_MIPI_CSI0_I2C0_SCL_LSIO_GPIO3_IO05 0x21>;

0 commit comments

Comments
 (0)