From: Marco Felsch <m.felsch@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH 3/6] ARM: dts: imx6qdl-smarc-samx6i: remove iomuxc hog
Date: Mon, 18 Jan 2021 21:29:19 +0100 [thread overview]
Message-ID: <20210118202922.3581-3-m.felsch@pengutronix.de> (raw)
In-Reply-To: <20210118202922.3581-1-m.felsch@pengutronix.de>
Move the muxing into the gpioX nodes so we can get rid of the iomuxc
hog. While on it set the correct mux config and don't rely on the reset
value.
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
---
arch/arm/dts/imx6qdl-smarc-samx6i.dtsi | 37 +++++++++++++++++---------
1 file changed, 25 insertions(+), 12 deletions(-)
diff --git a/arch/arm/dts/imx6qdl-smarc-samx6i.dtsi b/arch/arm/dts/imx6qdl-smarc-samx6i.dtsi
index 363da66ec7..1381a551d0 100644
--- a/arch/arm/dts/imx6qdl-smarc-samx6i.dtsi
+++ b/arch/arm/dts/imx6qdl-smarc-samx6i.dtsi
@@ -129,6 +129,16 @@
status = "okay";
};
+&gpio2 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_gpio2_hog>;
+};
+
+&gpio6 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_gpio6_hog>;
+};
+
&i2c_pfuze {
pfuze100@08 {
compatible = "fsl,pfuze100";
@@ -352,18 +362,6 @@
};
&iomuxc {
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_boot>;
-
- pinctrl_boot: boot {
- fsl,pins = <
- /* GPIOS for version and id detection */
- MX6QDL_PAD_NANDF_CLE__GPIO6_IO07 0x80000000
- MX6QDL_PAD_NANDF_WP_B__GPIO6_IO09 0x80000000
- MX6QDL_PAD_NANDF_D2__GPIO2_IO02 0x80000000
- >;
- };
-
pinctrl_flexcan1: flexcan1-smarc {
fsl,pins = <
MX6QDL_PAD_GPIO_7__FLEXCAN1_TX 0x80000000
@@ -378,6 +376,21 @@
>;
};
+ pinctrl_gpio2_hog: gpio2-hog {
+ fsl,pins = <
+ /* GPIO for version detection */
+ MX6QDL_PAD_NANDF_D2__GPIO2_IO02 0xb0b0
+ >;
+ };
+
+ pinctrl_gpio6_hog: gpio6-hog {
+ fsl,pins = <
+ /* GPIOs for ddr3 size detection */
+ MX6QDL_PAD_NANDF_CLE__GPIO6_IO07 0xb0b0
+ MX6QDL_PAD_NANDF_WP_B__GPIO6_IO09 0xb0b0
+ >;
+ };
+
pinctrl_enet_smarc: fecgrp-smarc {
fsl,pins = <
MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b0b0
--
2.20.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2021-01-18 20:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-18 20:29 [PATCH 1/6] ARM: boards: kontron-samx6i: fix memory detection helper Marco Felsch
2021-01-18 20:29 ` [PATCH 2/6] ARM: boards: kontron-samx6i: simplify memory detection function Marco Felsch
2021-01-18 20:29 ` Marco Felsch [this message]
2021-01-18 20:29 ` [PATCH 4/6] ARM: dts: imx6qdl-samx6i: switch to SPDX license identifier Marco Felsch
2021-01-18 20:29 ` [PATCH 5/6] ARM: dts: imx6qdl-samx6i: use upstream device tree files Marco Felsch
2021-01-18 20:29 ` [PATCH 6/6] ARM: dts: imx6qdl-samx6i: cosmetic partition cleanup Marco Felsch
2021-01-19 10:01 ` [PATCH 1/6] ARM: boards: kontron-samx6i: fix memory detection helper Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210118202922.3581-3-m.felsch@pengutronix.de \
--to=m.felsch@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox