mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
ARM: dts: msm: Add child node entry for CPE 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: Ib7e85c463a0072dd2919559ab4d701d5eb42f400
This commit is contained in:
parent
927ea7aaae
commit
b49809f9d8
1 changed files with 15 additions and 0 deletions
|
|
@ -35,7 +35,22 @@
|
|||
};
|
||||
};
|
||||
|
||||
&i2c_5 {
|
||||
status = "ok"
|
||||
|
||||
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 = <0xf>;
|
||||
dump-regs = <0x801330 0x801350 0x801370>;
|
||||
};
|
||||
};
|
||||
|
||||
&pcie0 {
|
||||
pcie-i2c-phandle = <&i2c_5>;
|
||||
|
||||
vreg-3p3-supply = <&aqr_vreg>;
|
||||
|
||||
iommu-map = <0x0 &apps_smmu 0x0200 0x1>,
|
||||
|
|
|
|||
Loading…
Reference in a new issue