diff options
author | Andrew Lunn <andrew@lunn.ch> | 2013-12-04 10:51:39 -0500 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2013-12-07 20:00:54 -0500 |
commit | 3a31f2d7fce39f3bca0106e69d21119eafb28c85 (patch) | |
tree | 26f27131a1693d458e7a99d6f2d1444d63a38157 /arch/arm/boot/dts/kirkwood-topkick.dts | |
parent | 23301190d2a9a8c41a3d9f626791fa7a65f8ccfa (diff) |
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 @@ | |||
131 | 131 | ||
132 | disk { | 132 | disk { |
133 | label = "topkick:yellow:disk"; | 133 | label = "topkick:yellow:disk"; |
134 | gpios = <&gpio0 21 1>; | 134 | gpios = <&gpio0 21 GPIO_ACTIVE_LOW>; |
135 | linux,default-trigger = "ide-disk"; | 135 | linux,default-trigger = "ide-disk"; |
136 | }; | 136 | }; |
137 | system2 { | 137 | system2 { |
138 | label = "topkick:red:system"; | 138 | label = "topkick:red:system"; |
139 | gpios = <&gpio1 5 1>; | 139 | gpios = <&gpio1 5 GPIO_ACTIVE_LOW>; |
140 | }; | 140 | }; |
141 | system { | 141 | system { |
142 | label = "topkick:blue:system"; | 142 | label = "topkick:blue:system"; |
143 | gpios = <&gpio1 6 1>; | 143 | gpios = <&gpio1 6 GPIO_ACTIVE_LOW>; |
144 | default-state = "on"; | 144 | default-state = "on"; |
145 | }; | 145 | }; |
146 | wifi { | 146 | wifi { |
147 | label = "topkick:green:wifi"; | 147 | label = "topkick:green:wifi"; |
148 | gpios = <&gpio1 7 1>; | 148 | gpios = <&gpio1 7 GPIO_ACTIVE_LOW>; |
149 | }; | 149 | }; |
150 | wifi2 { | 150 | wifi2 { |
151 | label = "topkick:yellow:wifi"; | 151 | label = "topkick:yellow:wifi"; |
152 | gpios = <&gpio1 16 1>; | 152 | gpios = <&gpio1 16 GPIO_ACTIVE_LOW>; |
153 | }; | 153 | }; |
154 | }; | 154 | }; |
155 | regulators { | 155 | regulators { |