ARM: dts: msm: Add child node entry for MBB NTN3 i2c client on sdxlemur

In order to access NTN3 switch registers add i2c client properties.
By accessing these registers, root complex driver can toggle NTN3
GPIOs tied to downstream endpoint reset. i2c interface is also
used to dump NTN3 registers for debugging PCIe link related issues.

Change-Id: Ia92127f138c2d21ed51e7803b26bcfbb7f2c127f
This commit is contained in:
Hemant Kumar 2021-03-29 16:53:26 -07:00
commit 927ea7aaae

View file

@ -24,7 +24,20 @@
};
&i2c_3 {
pcie_i2c_ctrl: pcie_i2c_ctrl {
compatible = "qcom,pcie0-i2c-ntn3";
reg = <0x77>;
gpio-config-reg = <0x801208>;
ep-reset-reg = <0x801210>;
ep-reset-gpio-mask = <0x9>;
dump-regs = <0x801330 0x801350 0x801370>;
};
};
&pcie0 {
pcie-i2c-phandle = <&i2c_3>;
qcom,filtered-bdfs = <0x02080000>;
vreg-3p3-supply = <&aqr_vreg>;