From 2666bf4597b907c13c42e1e2566a66317552e266 Mon Sep 17 00:00:00 2001 From: Madhukar Sandi Date: Thu, 26 Sep 2019 13:46:14 +0530 Subject: [PATCH] Arm: dts: msm: Enable mute button for nightfury gpio-19 configured for nightfury device(evb2) Change-Id: Iae3c1a9b583afb8a8a58b3ae05dd0445a673b830 Signed-off-by: Madhukar Sandi --- arch/arm64/boot/dts/qcom/qcs403-iot-sku1.dts | 32 ++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs403-iot-sku1.dts b/arch/arm64/boot/dts/qcom/qcs403-iot-sku1.dts index 34de78d0baf6..9517cf03a01b 100644 --- a/arch/arm64/boot/dts/qcom/qcs403-iot-sku1.dts +++ b/arch/arm64/boot/dts/qcom/qcs403-iot-sku1.dts @@ -24,6 +24,14 @@ }; +&soc { + gpio_keys { + vol_mute { + gpios = <&tlmm 19 GPIO_ACTIVE_LOW>; + }; + }; +}; + &qnand_1 { status = "ok"; }; @@ -31,3 +39,27 @@ &qseecom_mem { size = <0 0x400000>; }; + +&tlmm { + evb_tlmm_gpio_key{ + tlmm_gpio_key_active: tlmm_gpio_key_active { + mux { + pins = "gpio19","gpio52","gpio54","gpio115"; + }; + + config { + pins = "gpio19","gpio52","gpio54","gpio115"; + }; + }; + + tlmm_gpio_key_suspend: tlmm_gpio_key_suspend { + mux { + pins = "gpio19","gpio52","gpio54","gpio115"; + }; + + config { + pins = "gpio19","gpio52","gpio54","gpio115"; + }; + }; + }; +};