OSDN Git Service

arm: dts: at91: Fix boolean properties with values
authorRob Herring <robh@kernel.org>
Wed, 6 Apr 2022 19:09:47 +0000 (14:09 -0500)
committerArnd Bergmann <arnd@arndb.de>
Thu, 7 Apr 2022 12:02:25 +0000 (14:02 +0200)
commit0dc23d1a8e17839f1c071302b5f3e04a34692d44
treedd56d871748c998681495514a2be1d7c9e10ffdd
parent1f5fb1dc7497776a7dd12420ae87382e61718bf5
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>
Link: https://lore.kernel.org/r/Yk3leykDEKGBN8rk@robh.at.kernel.org'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/boot/dts/at91-kizbox3-hs.dts
arch/arm/boot/dts/at91-kizbox3_common.dtsi