diff options
author | Stefan Wahren <stefan.wahren@i2se.com> | 2017-12-03 17:36:18 +0100 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2017-12-08 22:10:09 +0100 |
commit | 3edb73d87e9e824326f588b5d5c5661bf53449be (patch) | |
tree | fe033d1d754d95383a87aa5c01a2fcd631fe1741 /arch/arm/boot/dts/bcm2835-rpi-a-plus.dts | |
parent | Linux 4.15-rc1 (diff) | |
download | linux-3edb73d87e9e824326f588b5d5c5661bf53449be.tar.xz linux-3edb73d87e9e824326f588b5d5c5661bf53449be.zip |
ARM: dts: bcm283x: Use GPIO polarity defines consistently
Currently most of the Raspberry Pi DTS have a mixture of magic
numbers and the proper GPIO polarity defines. So use the latter
one consistently.
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'arch/arm/boot/dts/bcm2835-rpi-a-plus.dts')
-rw-r--r-- | arch/arm/boot/dts/bcm2835-rpi-a-plus.dts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/bcm2835-rpi-a-plus.dts b/arch/arm/boot/dts/bcm2835-rpi-a-plus.dts index f81ae0a10310..aa1fc7babfea 100644 --- a/arch/arm/boot/dts/bcm2835-rpi-a-plus.dts +++ b/arch/arm/boot/dts/bcm2835-rpi-a-plus.dts @@ -10,12 +10,12 @@ leds { act { - gpios = <&gpio 47 0>; + gpios = <&gpio 47 GPIO_ACTIVE_HIGH>; }; pwr { label = "PWR"; - gpios = <&gpio 35 0>; + gpios = <&gpio 35 GPIO_ACTIVE_HIGH>; default-state = "keep"; linux,default-trigger = "default-on"; }; |