ARM: dts: qcom-msm8974-rhine: Add NFC and enable I2C hosts
authorKonrad Dybcio <konrad.dybcio@somainline.org>
Fri, 15 Apr 2022 11:56:31 +0000 (13:56 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 20 Apr 2022 02:10:56 +0000 (21:10 -0500)
Enable I2C hosts that are (supposed to be) used on Rhine and add NXP
PN544 NFC node.

Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220415115633.575010-22-konrad.dybcio@somainline.org
arch/arm/boot/dts/qcom-msm8974-sony-xperia-rhine.dtsi

index 1120972ae4d2845eb2ee8ff3353fee409140486f..15beb9df3631d2980342465a44e303639c4f4545 100644 (file)
        };
 };
 
+&blsp1_i2c6 {
+       status = "okay";
+       clock-frequency = <355000>;
+
+       nfc@28 {
+               compatible = "nxp,pn544-i2c";
+               reg = <0x28>;
+
+               interrupt-parent = <&tlmm>;
+               interrupts = <59 IRQ_TYPE_EDGE_RISING>;
+
+               enable-gpios = <&pm8941_gpios 23 GPIO_ACTIVE_HIGH>;
+               firmware-gpios = <&tlmm 77 GPIO_ACTIVE_HIGH>;
+       };
+};
+
 &blsp1_uart2 {
        status = "okay";
 };
        qcom,controlled-remotely;
 };
 
+&blsp2_i2c5 {
+       status = "okay";
+       clock-frequency = <355000>;
+
+       /* sii8334 MHL HDMI bridge */
+};
+
 &otg {
        status = "okay";