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:
Luke Go
2019-04-22 18:19:31 +09:00
committed by Chris KIM
parent 9fade02a04
commit 5f5cfddff4

View File

@@ -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 {