ARM: dts: imx6ull-dhcom: Remove /omit-if-no-ref/ from node usdhc1-pwrseq
authorChristoph Niedermaier <cniedermaier@dh-electronics.com>
Thu, 25 Jan 2024 12:46:21 +0000 (13:46 +0100)
committerShawn Guo <shawnguo@kernel.org>
Tue, 6 Feb 2024 08:24:52 +0000 (16:24 +0800)
Remove /omit-if-no-ref/ from node usdhc1-pwrseq, because if the compile
flag -@ (include symbols) is used the node will always be there. In this
case, GPIO H is not released and therefore cannot be used. Therefore,
remove this node manually from the corresponding devicetree file and
don't rely on /omit-if-no-ref/.

Signed-off-by: Christoph Niedermaier <cniedermaier@dh-electronics.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/nxp/imx/imx6ull-dhcom-som-cfg-sdcard.dtsi
arch/arm/boot/dts/nxp/imx/imx6ull-dhcom-som.dtsi

index 040421f9c9700d66a9c94d906bbc95836ab38289..5e39f8dc1351fb027814ee1dad3bbdc3b391abee 100644 (file)
  */
 
 /*
- * To use usdhc1 as SD card, the WiFi node must be deleted.
+ * To use usdhc1 as SD card, the WiFi node must be deleted. The associated
+ * pwrseq node is also deleted in order to ensure that GPIO H is released.
  * BT is also not available, so remove BT from the UART node.
  */
 /delete-node/ &brcmf;
+/delete-node/ &usdhc1_pwrseq;
 /delete-node/ &bluetooth;
 
 / {
index 830b5a5064f28b45e7f387fbe2d506540bedafa8..f914fe3818c2fed684e9549d0390f8e63d6d7bd7 100644 (file)
@@ -52,7 +52,7 @@
        };
 
        /* SoM with WiFi/BT: WiFi pin WL_REG_ON is connected to a DHCOM GPIO */
-       /omit-if-no-ref/ usdhc1_pwrseq: usdhc1-pwrseq {
+       usdhc1_pwrseq: usdhc1-pwrseq {
                compatible = "mmc-pwrseq-simple";
                reset-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>; /* GPIO H */
        };