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 13:10:09 -0800 |
commit | 3edb73d87e9e824326f588b5d5c5661bf53449be (patch) | |
tree | fe033d1d754d95383a87aa5c01a2fcd631fe1741 /arch/arm/boot/dts/bcm2836-rpi-2-b.dts | |
parent | 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323 (diff) | |
download | talos-op-linux-3edb73d87e9e824326f588b5d5c5661bf53449be.tar.gz talos-op-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/bcm2836-rpi-2-b.dts')
-rw-r--r-- | arch/arm/boot/dts/bcm2836-rpi-2-b.dts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/bcm2836-rpi-2-b.dts b/arch/arm/boot/dts/bcm2836-rpi-2-b.dts index 6669355fd655..5c339adabdf0 100644 --- a/arch/arm/boot/dts/bcm2836-rpi-2-b.dts +++ b/arch/arm/boot/dts/bcm2836-rpi-2-b.dts @@ -15,12 +15,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"; }; |