ARM: dts: at91: Fix boolean properties with values
authorRob Herring <robh@kernel.org>
Wed, 6 Apr 2022 19:09:47 +0000 (14:09 -0500)
committerNicolas Ferre <nicolas.ferre@microchip.com>
Wed, 13 Apr 2022 16:42:50 +0000 (18:42 +0200)
Boolean properties in DT are present or not present and don't take a value.
A property such as 'foo = <0>;' evaluated to true. IOW, the value doesn't
matter.

It may have been intended that 0 values are false, but there is no change
in behavior with this patch.

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/Yk3leykDEKGBN8rk@robh.at.kernel.org
arch/arm/boot/dts/at91-kizbox3-hs.dts
arch/arm/boot/dts/at91-kizbox3_common.dtsi

index 2799b2a..f7d90cf 100644 (file)
                pinctrl_pio_io_reset: gpio_io_reset {
                        pinmux = <PIN_PB30__GPIO>;
                        bias-disable;
-                       drive-open-drain = <1>;
+                       drive-open-drain;
                        output-low;
                };
                pinctrl_pio_input: gpio_input {
index abe27ad..4656646 100644 (file)
                pinmux = <PIN_PD12__FLEXCOM4_IO0>, //DATA
                <PIN_PD13__FLEXCOM4_IO1>; //CLK
                bias-disable;
-               drive-open-drain = <1>;
+               drive-open-drain;
        };
 
        pinctrl_pwm0 {