]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ARM: dts: imx6ul-var-som: fix warning for boolean property with a value
authorHugo Villeneuve <hvilleneuve@dimonoff.com>
Thu, 5 Mar 2026 18:06:17 +0000 (13:06 -0500)
committerFrank Li <Frank.Li@nxp.com>
Mon, 4 May 2026 22:27:29 +0000 (18:27 -0400)
dmesg warning:

  OF: /soc/bus@2000000/ethernet@20b4000/mdio/ethernet-phy@3: Read of
      boolean property 'micrel,rmii-reference-clock-select-25-mhz' with a
      value.

Using of_property_read_bool() for non-boolean properties is deprecated and
results in a warning during runtime since commit c141ecc3cecd
("of: Warn when of_property_read_bool() is used on non-boolean properties")

micrel,rmii-reference-clock-select-25-mhz is a boolean property and should
not have a value, so remove it.

Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
arch/arm/boot/dts/nxp/imx/imx6ul-var-som-concerto.dts
arch/arm/boot/dts/nxp/imx/imx6ul-var-som.dtsi

index 9ff3b374a2b31ceb7c4974adf86c2f036c78d4d5..085985356668f462d932da7695161ce7d971559b 100644 (file)
@@ -79,7 +79,7 @@
                        reset-gpios = <&gpio5 5 GPIO_ACTIVE_LOW>;
                        reset-assert-us = <100000>;
                        micrel,led-mode = <0>;
-                       micrel,rmii-reference-clock-select-25-mhz = <1>;
+                       micrel,rmii-reference-clock-select-25-mhz;
                };
        };
 };
index 3fb5e2fb687771adcacb5d3a7bc91fa8449dfd7b..30032be6fdd50d5f57cc99876b97151d779827df 100644 (file)
@@ -64,7 +64,7 @@
                        reset-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
                        reset-assert-us = <100000>;
                        micrel,led-mode = <1>;
-                       micrel,rmii-reference-clock-select-25-mhz = <1>;
+                       micrel,rmii-reference-clock-select-25-mhz;
                };
        };
 };