arm64: dts: qcom: qrb5165-rb5: enabled pwrkey and resin nodes
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Thu, 16 Sep 2021 15:13:41 +0000 (18:13 +0300)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Fri, 24 Sep 2021 14:44:28 +0000 (09:44 -0500)
Enable powerkey and resin nodes to let the board handle POWER and
Volume- keys properly.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Tested-by: Amit Pundir <amit.pundir@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20210916151341.1797512-3-dmitry.baryshkov@linaro.org
arch/arm64/boot/dts/qcom/qrb5165-rb5.dts

index 8ac96f8..28d5b55 100644 (file)
        };
 };
 
+&pon_pwrkey {
+       status = "okay";
+};
+
+&pon_resin {
+       status = "okay";
+
+       linux,code = <KEY_VOLUMEDOWN>;
+};
+
 &qupv3_id_0 {
        status = "okay";
 };