aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/kirkwood-ib62x0.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-ib62x0.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-ib62x0.dts')
-rw-r--r--arch/arm/boot/dts/kirkwood-ib62x0.dts12
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/arm/boot/dts/kirkwood-ib62x0.dts b/arch/arm/boot/dts/kirkwood-ib62x0.dts
index c376b756cbf2..6ccc78866e6d 100644
--- a/arch/arm/boot/dts/kirkwood-ib62x0.dts
+++ b/arch/arm/boot/dts/kirkwood-ib62x0.dts
@@ -64,12 +64,12 @@
64 button@1 { 64 button@1 {
65 label = "USB Copy"; 65 label = "USB Copy";
66 linux,code = <KEY_COPY>; 66 linux,code = <KEY_COPY>;
67 gpios = <&gpio0 29 1>; 67 gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;
68 }; 68 };
69 button@2 { 69 button@2 {
70 label = "Reset"; 70 label = "Reset";
71 linux,code = <KEY_RESTART>; 71 linux,code = <KEY_RESTART>;
72 gpios = <&gpio0 28 1>; 72 gpios = <&gpio0 28 GPIO_ACTIVE_LOW>;
73 }; 73 };
74 }; 74 };
75 75
@@ -81,16 +81,16 @@
81 81
82 green-os { 82 green-os {
83 label = "ib62x0:green:os"; 83 label = "ib62x0:green:os";
84 gpios = <&gpio0 25 0>; 84 gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>;
85 default-state = "keep"; 85 default-state = "keep";
86 }; 86 };
87 red-os { 87 red-os {
88 label = "ib62x0:red:os"; 88 label = "ib62x0:red:os";
89 gpios = <&gpio0 22 0>; 89 gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>;
90 }; 90 };
91 usb-copy { 91 usb-copy {
92 label = "ib62x0:red:usb_copy"; 92 label = "ib62x0:red:usb_copy";
93 gpios = <&gpio0 27 0>; 93 gpios = <&gpio0 27 GPIO_ACTIVE_HIGH>;
94 }; 94 };
95 }; 95 };
96 96
@@ -98,7 +98,7 @@
98 compatible = "gpio-poweroff"; 98 compatible = "gpio-poweroff";
99 pinctrl-0 = <&pmx_power_off>; 99 pinctrl-0 = <&pmx_power_off>;
100 pinctrl-names = "default"; 100 pinctrl-names = "default";
101 gpios = <&gpio0 24 0>; 101 gpios = <&gpio0 24 GPIO_ACTIVE_HIGH>;
102 }; 102 };
103}; 103};
104 104