aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/kirkwood-nsa310.dts
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2013-12-04 10:51:39 -0500
committerJason Cooper <jason@lakedaemon.net>2013-12-07 20:00:54 -0500
commit3a31f2d7fce39f3bca0106e69d21119eafb28c85 (patch)
tree26f27131a1693d458e7a99d6f2d1444d63a38157 /arch/arm/boot/dts/kirkwood-nsa310.dts
parent23301190d2a9a8c41a3d9f626791fa7a65f8ccfa (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-nsa310.dts')
-rw-r--r--arch/arm/boot/dts/kirkwood-nsa310.dts26
1 files changed, 13 insertions, 13 deletions
diff --git a/arch/arm/boot/dts/kirkwood-nsa310.dts b/arch/arm/boot/dts/kirkwood-nsa310.dts
index c45a26ce8b57..03fa24cf3344 100644
--- a/arch/arm/boot/dts/kirkwood-nsa310.dts
+++ b/arch/arm/boot/dts/kirkwood-nsa310.dts
@@ -120,17 +120,17 @@
120 button@1 { 120 button@1 {
121 label = "Power Button"; 121 label = "Power Button";
122 linux,code = <KEY_POWER>; 122 linux,code = <KEY_POWER>;
123 gpios = <&gpio1 14 0>; 123 gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
124 }; 124 };
125 button@2 { 125 button@2 {
126 label = "Copy Button"; 126 label = "Copy Button";
127 linux,code = <KEY_COPY>; 127 linux,code = <KEY_COPY>;
128 gpios = <&gpio1 5 1>; 128 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
129 }; 129 };
130 button@3 { 130 button@3 {
131 label = "Reset Button"; 131 label = "Reset Button";
132 linux,code = <KEY_RESTART>; 132 linux,code = <KEY_RESTART>;
133 gpios = <&gpio1 4 1>; 133 gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
134 }; 134 };
135 }; 135 };
136 136
@@ -145,43 +145,43 @@
145 145
146 green-sys { 146 green-sys {
147 label = "nsa310:green:sys"; 147 label = "nsa310:green:sys";
148 gpios = <&gpio0 28 0>; 148 gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>;
149 }; 149 };
150 red-sys { 150 red-sys {
151 label = "nsa310:red:sys"; 151 label = "nsa310:red:sys";
152 gpios = <&gpio0 29 0>; 152 gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>;
153 }; 153 };
154 green-hdd { 154 green-hdd {
155 label = "nsa310:green:hdd"; 155 label = "nsa310:green:hdd";
156 gpios = <&gpio1 9 0>; 156 gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
157 }; 157 };
158 red-hdd { 158 red-hdd {
159 label = "nsa310:red:hdd"; 159 label = "nsa310:red:hdd";
160 gpios = <&gpio1 10 0>; 160 gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
161 }; 161 };
162 green-esata { 162 green-esata {
163 label = "nsa310:green:esata"; 163 label = "nsa310:green:esata";
164 gpios = <&gpio0 12 0>; 164 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
165 }; 165 };
166 red-esata { 166 red-esata {
167 label = "nsa310:red:esata"; 167 label = "nsa310:red:esata";
168 gpios = <&gpio0 13 0>; 168 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
169 }; 169 };
170 green-usb { 170 green-usb {
171 label = "nsa310:green:usb"; 171 label = "nsa310:green:usb";
172 gpios = <&gpio0 15 0>; 172 gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
173 }; 173 };
174 red-usb { 174 red-usb {
175 label = "nsa310:red:usb"; 175 label = "nsa310:red:usb";
176 gpios = <&gpio0 16 0>; 176 gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
177 }; 177 };
178 green-copy { 178 green-copy {
179 label = "nsa310:green:copy"; 179 label = "nsa310:green:copy";
180 gpios = <&gpio1 7 0>; 180 gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
181 }; 181 };
182 red-copy { 182 red-copy {
183 label = "nsa310:red:copy"; 183 label = "nsa310:red:copy";
184 gpios = <&gpio1 8 0>; 184 gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
185 }; 185 };
186 }; 186 };
187}; 187};