This patch adds gpio key dt node for power button. The dt nodes
are ported from https://github.com/hardkernel/linux.git
+refs/heads/odroidxu3-3.10.y.
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
};
};
+ gpio_keys {
+ compatible = "gpio-keys";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ poll-interval = <100>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&key_pullnone>;
+
+ button@1 {
+ label = "gpio-keys: KEY_POWER";
+ interrupts = <3 0 0>;
+ interrupt-parent = <&gpx0>;
+ linux,code = <116>;
+ gpios = <&gpx0 3 0xf>;
+ gpio-key,wakeup = <1>;
+ };
+ };
+
hsi2c_4: i2c@12CA0000 {
status = "okay";
};
&pinctrl_0 {
+ key_pullnone: key-pullnone {
+ samsung,pins = "gpx0-3";
+ samsung,pin-pud = <0>;
+ };
+
otg_ida: otg-ida {
samsung,pins = "gpx1-1";
samsung,pin-pud = <0>;