|
@@ -71,6 +71,26 @@
|
|
|
reset-supply = <&hsusb2_reset>;
|
|
|
vcc-supply = <&hsusb2_power>;
|
|
|
};
|
|
|
+
|
|
|
+ gpio_keys {
|
|
|
+ compatible = "gpio-keys";
|
|
|
+
|
|
|
+ user {
|
|
|
+ label = "user";
|
|
|
+ gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
|
|
|
+ linux,code = <0x114>;
|
|
|
+ gpio-key,wakeup;
|
|
|
+ };
|
|
|
+
|
|
|
+ };
|
|
|
+};
|
|
|
+
|
|
|
+&omap3_pmx_wkup {
|
|
|
+ gpio1_pins: pinmux_gpio1_pins {
|
|
|
+ pinctrl-single,pins = <
|
|
|
+ 0x14 (PIN_INPUT | PIN_OFF_WAKEUPENABLE | MUX_MODE4) /* sys_boot5.gpio_7 */
|
|
|
+ >;
|
|
|
+ };
|
|
|
};
|
|
|
|
|
|
&omap3_pmx_core {
|
|
@@ -154,3 +174,8 @@
|
|
|
pinctrl-names = "default";
|
|
|
pinctrl-0 = <&uart3_pins>;
|
|
|
};
|
|
|
+
|
|
|
+&gpio1 {
|
|
|
+ pinctrl-names = "default";
|
|
|
+ pinctrl-0 = <&gpio1_pins>;
|
|
|
+};
|