arm64: dts: g12a_s905x2_u212_sti6130d3x0: add missing gpio_keypad
authorStricted <info@stricted.net>
Fri, 10 Sep 2021 18:29:03 +0000 (18:29 +0000)
committerStricted <info@stricted.net>
Fri, 10 Sep 2021 19:19:01 +0000 (19:19 +0000)
Change-Id: I6aba6f8efc6352c683cec5bad3189e841ebec9dd

arch/arm64/boot/dts/amlogic/g12a_s905x2_u212_sti6130d3x0.dts

index 39a7c49072bdf915788940410a0bb72bb4025478..bc22328912395553fcd681abaffb120979436ea7 100644 (file)
                };
        };
 
+       gpio_keypad {
+               compatible = "amlogic, gpio_keypad";
+               status = "okay";
+               scan_period = <20>;
+               key_num = <1>;
+               key_name = "bt_pair";
+               key_code = <249>;
+               key-gpios = <&gpio_ao  GPIOAO_3  GPIO_ACTIVE_HIGH>;
+               detect_mode = <0>;/*0:polling mode, 1:irq mode*/
+       };
+
        cvbsout {
                compatible = "amlogic, cvbsout-g12a";
                dev_name = "cvbsout";