From 96f19ca5babeeca0b9c70b09ce195f821906c9ec Mon Sep 17 00:00:00 2001 From: Stricted Date: Fri, 10 Sep 2021 18:29:03 +0000 Subject: [PATCH] arm64: dts: g12a_s905x2_u212_sti6130d3x0: add missing gpio_keypad Change-Id: I6aba6f8efc6352c683cec5bad3189e841ebec9dd --- .../boot/dts/amlogic/g12a_s905x2_u212_sti6130d3x0.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/g12a_s905x2_u212_sti6130d3x0.dts b/arch/arm64/boot/dts/amlogic/g12a_s905x2_u212_sti6130d3x0.dts index 39a7c49072bd..bc2232891239 100644 --- a/arch/arm64/boot/dts/amlogic/g12a_s905x2_u212_sti6130d3x0.dts +++ b/arch/arm64/boot/dts/amlogic/g12a_s905x2_u212_sti6130d3x0.dts @@ -187,6 +187,17 @@ }; }; + 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"; -- 2.20.1