Skip to content

Commit 3891222

Browse files
robherringnoglitch
authored andcommitted
ARM: dts: at91: Fix boolean properties with values
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
1 parent 4a6471e commit 3891222

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

arch/arm/boot/dts/at91-kizbox3-hs.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@
225225
pinctrl_pio_io_reset: gpio_io_reset {
226226
pinmux = <PIN_PB30__GPIO>;
227227
bias-disable;
228-
drive-open-drain = <1>;
228+
drive-open-drain;
229229
output-low;
230230
};
231231
pinctrl_pio_input: gpio_input {

arch/arm/boot/dts/at91-kizbox3_common.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@
211211
pinmux = <PIN_PD12__FLEXCOM4_IO0>, //DATA
212212
<PIN_PD13__FLEXCOM4_IO1>; //CLK
213213
bias-disable;
214-
drive-open-drain = <1>;
214+
drive-open-drain;
215215
};
216216

217217
pinctrl_pwm0 {

0 commit comments

Comments
 (0)