added gpio-ir-tx for IR board from RM Mini 3
[linux-gpio-pinout] / device-tree / gpio-3-buttons.dts
index 450325d..d1cfcd9 100644 (file)
@@ -13,7 +13,7 @@
                target = <&pio>;
                __overlay__ {
                        gpio_button_0: gpio_button_0 {
-                               pins = "PG9","PG10","PG11";
+                               pins = "PG3","PG1","PG5";
                                function = "gpio_in";
                                bias-pull-up;
                        };
                                pinctrl-names = "default";
                                pinctrl-0 = <&gpio_button_0>;
 
-                               up {
-                                       label = "button-up";
-                                       linux,code = <103>; /* KEY_UP, see include/uapi/linux/input-event-codes.h */
-                                       gpios = <&pio 6 9 1>; /* PG9 GPIO_ACTIVE_LOW */
+                               email {
+                                       label = "E-mail";
+                                       linux,code = <215>; /* KEY_EMAIL, see include/uapi/linux/input-event-codes.h */
+                                       gpios = <&pio 6 3 1>; /* PG3 GPIO_ACTIVE_LOW */
                                };
 
-                               down {
-                                       label = "button-down";
-                                       linux,code = <108>; /* KEY_DOWN, see include/uapi/linux/input-event-codes.h */
-                                       gpios = <&pio 6 10 1>; /* PG10 GPIO_ACTIVE_LOW */
+                               connect {
+                                       label = "Connect";
+                                       linux,code = <218>; /* KEY_CONNECT, see include/uapi/linux/input-event-codes.h */
+                                       gpios = <&pio 6 1 1>; /* PG1 GPIO_ACTIVE_LOW */
                                };
 
-                               enter {
-                                       label = "button-enter";
-                                       linux,code = <28>; /* KEY_DOWN, see include/uapi/linux/input-event-codes.h */
-                                       gpios = <&pio 6 11 1>; /* PG11 GPIO_ACTIVE_LOW */
+                               print {
+                                       label = "Print";
+                                       linux,code = <210>; /* KEY_PRINT, see include/uapi/linux/input-event-codes.h */
+                                       gpios = <&pio 6 5 1>; /* PG5 GPIO_ACTIVE_LOW */
                                };
                        };
                };