diff options
author | Andrew Lunn <andrew@lunn.ch> | 2013-12-04 19:51:39 +0400 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2013-12-08 05:00:54 +0400 |
commit | 3a31f2d7fce39f3bca0106e69d21119eafb28c85 (patch) | |
tree | 26f27131a1693d458e7a99d6f2d1444d63a38157 /arch/arm/boot/dts/kirkwood-topkick.dts | |
parent | 23301190d2a9a8c41a3d9f626791fa7a65f8ccfa (diff) | |
download | linux-3a31f2d7fce39f3bca0106e69d21119eafb28c85.tar.xz |
ARM: DT: Kirkwood: Use symbolic names from gpio.h
Use GPIO_ACTIVE_HIGH and GPIO_ACTIVE_LOW instead of 0 and 1.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/boot/dts/kirkwood-topkick.dts')
-rw-r--r-- | arch/arm/boot/dts/kirkwood-topkick.dts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/boot/dts/kirkwood-topkick.dts b/arch/arm/boot/dts/kirkwood-topkick.dts index 320da677b984..40d6adf678ca 100644 --- a/arch/arm/boot/dts/kirkwood-topkick.dts +++ b/arch/arm/boot/dts/kirkwood-topkick.dts @@ -131,25 +131,25 @@ disk { label = "topkick:yellow:disk"; - gpios = <&gpio0 21 1>; + gpios = <&gpio0 21 GPIO_ACTIVE_LOW>; linux,default-trigger = "ide-disk"; }; system2 { label = "topkick:red:system"; - gpios = <&gpio1 5 1>; + gpios = <&gpio1 5 GPIO_ACTIVE_LOW>; }; system { label = "topkick:blue:system"; - gpios = <&gpio1 6 1>; + gpios = <&gpio1 6 GPIO_ACTIVE_LOW>; default-state = "on"; }; wifi { label = "topkick:green:wifi"; - gpios = <&gpio1 7 1>; + gpios = <&gpio1 7 GPIO_ACTIVE_LOW>; }; wifi2 { label = "topkick:yellow:wifi"; - gpios = <&gpio1 16 1>; + gpios = <&gpio1 16 GPIO_ACTIVE_LOW>; }; }; regulators { |