mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
Added delay for AQR113 PHY to be in ready state after PHY reset. Change-Id: I90003b155e4567c2a9bed6539f70ec4f7f99b465
132 lines
2.9 KiB
Devicetree
132 lines
2.9 KiB
Devicetree
#include "sdxlemur-mtp-mbb.dtsi"
|
|
|
|
&soc {
|
|
qps615_vreg: qps615_vreg {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "qps615_vreg";
|
|
gpio = <&tlmm 107 GPIO_ACTIVE_HIGH>;
|
|
regulator-min-microvolt = <1000000>;
|
|
regulator-max-microvolt = <1000000>;
|
|
enable-active-high;
|
|
regulator-enable-ramp-delay = <4300>;
|
|
};
|
|
|
|
aqr_vreg: aqr_vreg {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "aqr_vreg";
|
|
gpio = <&tlmm 105 GPIO_ACTIVE_HIGH>;
|
|
vin-supply = <&qps615_vreg>;
|
|
regulator-min-microvolt = <1000000>;
|
|
regulator-max-microvolt = <1000000>;
|
|
enable-active-high;
|
|
regulator-enable-ramp-delay = <10000>;
|
|
};
|
|
|
|
ioss_qps615_rx: qps615_rx@eth {
|
|
qcom,dir-rx;
|
|
qcom,rx-filter-ip;
|
|
|
|
qcom,ring-size = <128>;
|
|
qcom,buff-size = <2048>;
|
|
|
|
qcom,mod-count-min = <64>;
|
|
qcom,mod-count-max = <64>;
|
|
qcom,mod-usecs-min = <30>;
|
|
qcom,mod-usecs-max = <60>;
|
|
};
|
|
|
|
ioss_qps615_tx: qps615_tx@eth {
|
|
qcom,dir-tx;
|
|
qcom,ring-size = <512>;
|
|
qcom,buff-size = <2048>;
|
|
|
|
qcom,mod-count-min = <64>;
|
|
qcom,mod-count-max = <64>;
|
|
qcom,mod-usecs-min = <30>;
|
|
qcom,mod-usecs-max = <60>;
|
|
};
|
|
};
|
|
|
|
&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 = <&qps615_vreg>;
|
|
|
|
iommu-map = <0x0 &apps_smmu 0x0200 0x1>,
|
|
<0x100 &apps_smmu 0x0201 0x1>,
|
|
<0x210 &apps_smmu 0x0202 0x1>,
|
|
<0x218 &apps_smmu 0x0203 0x1>,
|
|
<0x300 &apps_smmu 0x0208 0x1>,
|
|
<0x400 &apps_smmu 0x020c 0x1>,
|
|
<0x401 &apps_smmu 0x020e 0x1>;
|
|
};
|
|
|
|
&pcie0_rp {
|
|
#address-cells = <5>;
|
|
#size-cells = <0>;
|
|
|
|
/* BDF 1.0.0 */
|
|
pcie0_bus1_dev0_fn0: pcie0_bus1_dev0_fn0 {
|
|
reg = <0 0 0 0 0>;
|
|
|
|
/* BDF 2.1.0 */
|
|
pcie0_bus2_dev1_fn0: pcie0_bus2_dev1_fn0 {
|
|
reg = <0x800 0x0 0x0 0x0 0x0>;
|
|
};
|
|
|
|
/* BDF 2.2.0 */
|
|
pcie0_bus2_dev2_fn0: pcie0_bus2_dev2_fn0 {
|
|
reg = <0x1000 0x0 0x0 0x0 0x0>;
|
|
};
|
|
|
|
/* BDF 2.3.0 */
|
|
pcie0_bus2_dev3_fn0: pcie0_bus2_dev3_fn0 {
|
|
reg = <0x1800 0x0 0x0 0x0 0x0>;
|
|
qps615_eth0,qps615_eth0@pcie0_rp {
|
|
reg = <0x0 0x0 0x0 0x0 0x0>;
|
|
|
|
compatible = "qcom,ioss-v2-device";
|
|
qcom,ioss = <&ioss>;
|
|
qcom,ioss_instance = <0>;
|
|
qcom,ioss_channels =
|
|
<&ioss_qps615_rx>,
|
|
<&ioss_qps615_tx>;
|
|
|
|
/* ipa shares this group */
|
|
qcom,iommu-group = <&ipa_eth_group1>;
|
|
phy-supply = <&aqr_vreg>;
|
|
qcom,phy-rst-delay-us = <221000>;
|
|
|
|
interrupts-extended = <&tlmm 103 IRQ_TYPE_EDGE_FALLING>;
|
|
interrupt-names = "wol_irq";
|
|
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&aqr_intn_wol_sig>;
|
|
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
};
|
|
/* BDF 5.0.0 */
|
|
pcie0_bus5_dev0_fn0: pcie0_ntn3_eth0 {
|
|
reg = <0x0 0x0 0x0 0x0 0x0>;
|
|
qcom,iommu-group = <ð_pci_iommu_group>;
|
|
eth_pci_iommu_group: eth_pci_iommu_group {
|
|
qcom,iommu-dma = "atomic";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|