aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorAnson Huang <b20788@freescale.com>2014-01-20 06:30:09 -0500
committerNitin Garg <nitin.garg@freescale.com>2014-04-16 09:57:20 -0400
commitb310602965e6f2479355220bd262c90862925acb (patch)
treef671b0fac63d28468d0c3ce97cfcd3330eac80fb /arch/arm/boot
parent6616b59dd6b8d977d62c1026dc1981953f3258b3 (diff)
ENGR00295814 ARM: dts: imx6qdl: correct gpio key's active state
From schematic, below GPIO keys' active state is low, so we need to set correct active state in dts. i.MX6Q/DL-SABRESD board: power, vol+ and vol-. i.MX6Q/DL-SABREAUTO board: home, back, prog, vol+ and vol-. Signed-off-by: Anson Huang <b20788@freescale.com>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r--arch/arm/boot/dts/imx6qdl-sabreauto.dtsi10
-rw-r--r--arch/arm/boot/dts/imx6qdl-sabresd.dtsi6
2 files changed, 8 insertions, 8 deletions
diff --git a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi
index 0de24ba7bffb..461e18a0b7bb 100644
--- a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi
@@ -41,35 +41,35 @@
41 compatible = "gpio-keys"; 41 compatible = "gpio-keys";
42 home { 42 home {
43 label = "Home"; 43 label = "Home";
44 gpios = <&gpio1 11 0>; 44 gpios = <&gpio1 11 1>;
45 linux,code = <102>; /* KEY_HOME */ 45 linux,code = <102>; /* KEY_HOME */
46 gpio-key,wakeup; 46 gpio-key,wakeup;
47 }; 47 };
48 48
49 back { 49 back {
50 label = "Back"; 50 label = "Back";
51 gpios = <&gpio1 12 0>; 51 gpios = <&gpio1 12 1>;
52 linux,code = <158>; /* KEY_BACK */ 52 linux,code = <158>; /* KEY_BACK */
53 gpio-key,wakeup; 53 gpio-key,wakeup;
54 }; 54 };
55 55
56 program { 56 program {
57 label = "Program"; 57 label = "Program";
58 gpios = <&gpio2 12 0>; 58 gpios = <&gpio2 12 1>;
59 linux,code = <362>; /* KEY_PROGRAM */ 59 linux,code = <362>; /* KEY_PROGRAM */
60 gpio-key,wakeup; 60 gpio-key,wakeup;
61 }; 61 };
62 62
63 volume-up { 63 volume-up {
64 label = "Volume Up"; 64 label = "Volume Up";
65 gpios = <&gpio2 15 0>; 65 gpios = <&gpio2 15 1>;
66 linux,code = <115>; /* KEY_VOLUMEUP */ 66 linux,code = <115>; /* KEY_VOLUMEUP */
67 gpio-key,wakeup; 67 gpio-key,wakeup;
68 }; 68 };
69 69
70 volume-down { 70 volume-down {
71 label = "Volume Down"; 71 label = "Volume Down";
72 gpios = <&gpio5 14 0>; 72 gpios = <&gpio5 14 1>;
73 linux,code = <114>; /* KEY_VOLUMEDOWN */ 73 linux,code = <114>; /* KEY_VOLUMEDOWN */
74 gpio-key,wakeup; 74 gpio-key,wakeup;
75 }; 75 };
diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
index b9c93ac8322e..9710150eb8ab 100644
--- a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
@@ -94,20 +94,20 @@
94 compatible = "gpio-keys"; 94 compatible = "gpio-keys";
95 power { 95 power {
96 label = "Power Button"; 96 label = "Power Button";
97 gpios = <&gpio3 29 0>; 97 gpios = <&gpio3 29 1>;
98 linux,code = <116>; /* KEY_POWER */ 98 linux,code = <116>; /* KEY_POWER */
99 gpio-key,wakeup; 99 gpio-key,wakeup;
100 }; 100 };
101 101
102 volume-up { 102 volume-up {
103 label = "Volume Up"; 103 label = "Volume Up";
104 gpios = <&gpio1 4 0>; 104 gpios = <&gpio1 4 1>;
105 linux,code = <115>; /* KEY_VOLUMEUP */ 105 linux,code = <115>; /* KEY_VOLUMEUP */
106 }; 106 };
107 107
108 volume-down { 108 volume-down {
109 label = "Volume Down"; 109 label = "Volume Down";
110 gpios = <&gpio1 5 0>; 110 gpios = <&gpio1 5 1>;
111 linux,code = <114>; /* KEY_VOLUMEDOWN */ 111 linux,code = <114>; /* KEY_VOLUMEDOWN */
112 }; 112 };
113 }; 113 };