diff options
author | Javier Martinez Canillas <javier@osg.samsung.com> | 2015-10-08 01:39:58 +0300 |
---|---|---|
committer | Kukjin Kim <kgene@kernel.org> | 2015-10-08 01:39:58 +0300 |
commit | df829b06f0079165d9dc7719af8f8a7da852fe51 (patch) | |
tree | e50f3eb998859da232e8ce90fe10231439caeb34 /arch/arm/boot/dts/exynos5440-ssdk5440.dts | |
parent | 31b9903c233e831f3b0c05c6a62c0e39e85e77ec (diff) | |
download | linux-df829b06f0079165d9dc7719af8f8a7da852fe51.tar.xz |
ARM: dts: Use GPIO constants for flags cells in exynos5440 boards
The board DTS are using numeric values instead of the defined GPIO
constanst to express polarity, use them to make the DTS more clear.
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Kukjin Kim <kgene@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/exynos5440-ssdk5440.dts')
-rw-r--r-- | arch/arm/boot/dts/exynos5440-ssdk5440.dts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/exynos5440-ssdk5440.dts b/arch/arm/boot/dts/exynos5440-ssdk5440.dts index e4443f4e6572..6a0d802e87c8 100644 --- a/arch/arm/boot/dts/exynos5440-ssdk5440.dts +++ b/arch/arm/boot/dts/exynos5440-ssdk5440.dts @@ -11,6 +11,7 @@ /dts-v1/; #include "exynos5440.dtsi" +#include <dt-bindings/gpio/gpio.h> / { model = "SAMSUNG SSDK5440 board based on EXYNOS5440"; @@ -29,12 +30,12 @@ }; &pcie_0 { - reset-gpio = <&pin_ctrl 5 0>; + reset-gpio = <&pin_ctrl 5 GPIO_ACTIVE_HIGH>; status = "okay"; }; &pcie_1 { - reset-gpio = <&pin_ctrl 22 0>; + reset-gpio = <&pin_ctrl 22 GPIO_ACTIVE_HIGH>; status = "okay"; }; |