mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
ODROID_N2: Add GPIO-KEYS Drivers
Pin Number | Net Name 11 | GPIOX.3 13 | GPIOX.4 15 | GPIOX.7 19 | GPIOX.8 Change-Id: I14ab93ef168a60afa65b281dfc1a05f4de1d6d5f
This commit is contained in:
@@ -57,6 +57,36 @@
|
||||
compatible = "odroid-sysfs";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
gpio_keys_polled {
|
||||
status = "disabled";
|
||||
compatible =
|
||||
"gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <100>;
|
||||
autorepeat;
|
||||
button@1 {
|
||||
label = "GPIO Key F7";
|
||||
linux,code = <65>;
|
||||
gpios = <&gpio GPIOX_3 1>;
|
||||
};
|
||||
button@2 {
|
||||
label = "GPIO Key F8";
|
||||
linux,code = <66>;
|
||||
gpios = <&gpio GPIOX_4 1>;
|
||||
};
|
||||
button@3 {
|
||||
label = "GPIO Key F9";
|
||||
linux,code = <67>;
|
||||
gpios = <&gpio GPIOX_7 1>;
|
||||
};
|
||||
button@4 {
|
||||
label = "GPIO Key F10";
|
||||
linux,code = <68>;
|
||||
gpios = <&gpio GPIOX_8 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&custom_maps {
|
||||
|
||||
Reference in New Issue
Block a user