[PATCH v1 4/8] ARM: imx6sx: udoo-neo: configure GPIO pins for board auto detection.
Oleksij Rempel
o.rempel at pengutronix.de
Fri Jan 13 03:34:03 PST 2023
We have two pins for board version. Configure it to allow board code to
use it.
Signed-off-by: Oleksij Rempel <o.rempel at pengutronix.de>
---
arch/arm/dts/imx6sx-udoo-neo-full.dts | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/arch/arm/dts/imx6sx-udoo-neo-full.dts b/arch/arm/dts/imx6sx-udoo-neo-full.dts
index 1609781b7f..2e5e1a9ed4 100644
--- a/arch/arm/dts/imx6sx-udoo-neo-full.dts
+++ b/arch/arm/dts/imx6sx-udoo-neo-full.dts
@@ -27,3 +27,15 @@
&ocotp {
barebox,provide-mac-address = <&fec1 0x620>;
};
+
+&iomuxc {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_hog>;
+
+ pinctrl_hog: hoggrp {
+ fsl,pins = <
+ MX6SX_PAD_NAND_READY_B__GPIO4_IO_13 0x1b0b0
+ MX6SX_PAD_NAND_ALE__GPIO4_IO_0 0x1b0b0
+ >;
+ };
+};
--
2.30.2
More information about the barebox
mailing list