summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
diff options
context:
space:
mode:
authorAnson Huang <b20788@freescale.com>2014-01-20 13:02:38 +0100
committerShawn Guo <shawn.guo@linaro.org>2014-02-10 09:27:42 +0100
commit22724cf1467137c32f6f2ba70e517f2e1c514991 (patch)
tree6a4bad092c02ca897e061c5d46c294805f93fc76 /arch/arm/boot/dts/imx6qdl-sabresd.dtsi
parentARM: dts: imx6q: Add support for Zealz GK802 (diff)
downloadlinux-22724cf1467137c32f6f2ba70e517f2e1c514991.tar.xz
linux-22724cf1467137c32f6f2ba70e517f2e1c514991.zip
ARM: dts: imx6qdl-sabresd: correct gpio key's active state
From schematic, the power, vol+/- key's active state is low, so we need to set the gpio flag to active low. Signed-off-by: Anson Huang <b20788@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/imx6qdl-sabresd.dtsi')
-rw-r--r--arch/arm/boot/dts/imx6qdl-sabresd.dtsi7
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
index bbe2ee15deef..0d816d3be4b6 100644
--- a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
@@ -10,6 +10,7 @@
* http://www.gnu.org/copyleft/gpl.html
*/
+#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
/ {
@@ -58,21 +59,21 @@
power {
label = "Power Button";
- gpios = <&gpio3 29 0>;
+ gpios = <&gpio3 29 GPIO_ACTIVE_LOW>;
gpio-key,wakeup;
linux,code = <KEY_POWER>;
};
volume-up {
label = "Volume Up";
- gpios = <&gpio1 4 0>;
+ gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
gpio-key,wakeup;
linux,code = <KEY_VOLUMEUP>;
};
volume-down {
label = "Volume Down";
- gpios = <&gpio1 5 0>;
+ gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
gpio-key,wakeup;
linux,code = <KEY_VOLUMEDOWN>;
};