arm64: dts: qcom: apq8016-sbc: Add resin node
authorVinod Koul <vkoul@kernel.org>
Mon, 10 Sep 2018 09:48:48 +0000 (15:18 +0530)
committerAndy Gross <andy.gross@linaro.org>
Thu, 13 Sep 2018 18:43:03 +0000 (13:43 -0500)
Resin is board specific so add the resin node in apq8016-sbc dtsi

Signed-off-by: Vinod Koul <vkoul@kernel.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi

index 78ce3979ef096fd1dc3059c9d8e9e9f44ca56ba9..46feedf7c989bbe5126d182b5f0e791e76a283cc 100644 (file)
        };
 };
 
+&spmi_bus {
+       pm8916_0: pm8916@0 {
+               pon@800 {
+                       resin {
+                               compatible = "qcom,pm8941-resin";
+                               interrupts = <0x0 0x8 1 IRQ_TYPE_EDGE_BOTH>;
+                               debounce = <15625>;
+                               bias-pull-up;
+                               linux,code = <KEY_VOLUMEDOWN>;
+                       };
+               };
+       };
+};
+
 &wcd_codec {
         status = "okay";
         clocks = <&gcc GCC_CODEC_DIGCODEC_CLK>;