|
1100 | 1100 | qcom,bcm-voters = <&apps_bcm_voter>; |
1101 | 1101 | }; |
1102 | 1102 |
|
| 1103 | + pcie: pcie@1c08000 { |
| 1104 | + device_type = "pci"; |
| 1105 | + compatible = "qcom,qcs615-pcie"; |
| 1106 | + reg = <0x0 0x01c08000 0x0 0x3000>, |
| 1107 | + <0x0 0x40000000 0x0 0xf1d>, |
| 1108 | + <0x0 0x40000f20 0x0 0xa8>, |
| 1109 | + <0x0 0x40001000 0x0 0x1000>, |
| 1110 | + <0x0 0x40100000 0x0 0x100000>, |
| 1111 | + <0x0 0x01c0b000 0x0 0x1000>; |
| 1112 | + reg-names = "parf", |
| 1113 | + "dbi", |
| 1114 | + "elbi", |
| 1115 | + "atu", |
| 1116 | + "config", |
| 1117 | + "mhi"; |
| 1118 | + #address-cells = <3>; |
| 1119 | + #size-cells = <2>; |
| 1120 | + ranges = <0x01000000 0x0 0x00000000 0x0 0x40200000 0x0 0x100000>, |
| 1121 | + <0x02000000 0x0 0x40300000 0x0 0x40300000 0x0 0x1fd00000>; |
| 1122 | + bus-range = <0x00 0xff>; |
| 1123 | + |
| 1124 | + dma-coherent; |
| 1125 | + |
| 1126 | + linux,pci-domain = <0>; |
| 1127 | + num-lanes = <1>; |
| 1128 | + |
| 1129 | + interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>, |
| 1130 | + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>, |
| 1131 | + <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>, |
| 1132 | + <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>, |
| 1133 | + <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>, |
| 1134 | + <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>, |
| 1135 | + <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>, |
| 1136 | + <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>, |
| 1137 | + <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>; |
| 1138 | + interrupt-names = "msi0", |
| 1139 | + "msi1", |
| 1140 | + "msi2", |
| 1141 | + "msi3", |
| 1142 | + "msi4", |
| 1143 | + "msi5", |
| 1144 | + "msi6", |
| 1145 | + "msi7", |
| 1146 | + "global"; |
| 1147 | + |
| 1148 | + #interrupt-cells = <1>; |
| 1149 | + interrupt-map-mask = <0 0 0 0x7>; |
| 1150 | + interrupt-map = <0 0 0 1 &intc GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>, |
| 1151 | + <0 0 0 2 &intc GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>, |
| 1152 | + <0 0 0 3 &intc GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>, |
| 1153 | + <0 0 0 4 &intc GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>; |
| 1154 | + |
| 1155 | + clocks = <&gcc GCC_PCIE_0_AUX_CLK>, |
| 1156 | + <&gcc GCC_PCIE_0_CFG_AHB_CLK>, |
| 1157 | + <&gcc GCC_PCIE_0_MSTR_AXI_CLK>, |
| 1158 | + <&gcc GCC_PCIE_0_SLV_AXI_CLK>, |
| 1159 | + <&gcc GCC_PCIE_0_SLV_Q2A_AXI_CLK>, |
| 1160 | + <&rpmhcc RPMH_CXO_CLK>; |
| 1161 | + clock-names = "aux", |
| 1162 | + "cfg", |
| 1163 | + "bus_master", |
| 1164 | + "bus_slave", |
| 1165 | + "slave_q2a", |
| 1166 | + "ref"; |
| 1167 | + assigned-clocks = <&gcc GCC_PCIE_0_AUX_CLK>; |
| 1168 | + assigned-clock-rates = <19200000>; |
| 1169 | + |
| 1170 | + interconnects = <&aggre1_noc MASTER_PCIE QCOM_ICC_TAG_ALWAYS |
| 1171 | + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>, |
| 1172 | + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY |
| 1173 | + &config_noc SLAVE_PCIE_0 QCOM_ICC_TAG_ACTIVE_ONLY>; |
| 1174 | + interconnect-names = "pcie-mem", "cpu-pcie"; |
| 1175 | + |
| 1176 | + iommu-map = <0x0 &apps_smmu 0x400 0x1>, |
| 1177 | + <0x100 &apps_smmu 0x401 0x1>; |
| 1178 | + |
| 1179 | + resets = <&gcc GCC_PCIE_0_BCR>; |
| 1180 | + reset-names = "pci"; |
| 1181 | + |
| 1182 | + power-domains = <&gcc PCIE_0_GDSC>; |
| 1183 | + |
| 1184 | + phys = <&pcie_phy>; |
| 1185 | + phy-names = "pciephy"; |
| 1186 | + |
| 1187 | + eq-presets-8gts = /bits/ 16 <0x5555 0x5555 0x5555 0x5555 |
| 1188 | + 0x5555 0x5555 0x5555 0x5555>; |
| 1189 | + |
| 1190 | + operating-points-v2 = <&pcie_opp_table>; |
| 1191 | + |
| 1192 | + status = "disabled"; |
| 1193 | + |
| 1194 | + pcie_opp_table: opp-table { |
| 1195 | + compatible = "operating-points-v2"; |
| 1196 | + |
| 1197 | + /* GEN 1 x1 */ |
| 1198 | + opp-2500000 { |
| 1199 | + opp-hz = /bits/ 64 <2500000>; |
| 1200 | + required-opps = <&rpmhpd_opp_low_svs>; |
| 1201 | + opp-peak-kBps = <250000 1>; |
| 1202 | + }; |
| 1203 | + |
| 1204 | + /* GEN 2 x1 */ |
| 1205 | + opp-5000000 { |
| 1206 | + opp-hz = /bits/ 64 <5000000>; |
| 1207 | + required-opps = <&rpmhpd_opp_low_svs>; |
| 1208 | + opp-peak-kBps = <500000 1>; |
| 1209 | + }; |
| 1210 | + |
| 1211 | + /* GEN 3 x1 */ |
| 1212 | + opp-8000000 { |
| 1213 | + opp-hz = /bits/ 64 <8000000>; |
| 1214 | + required-opps = <&rpmhpd_opp_svs_l1>; |
| 1215 | + opp-peak-kBps = <984500 1>; |
| 1216 | + }; |
| 1217 | + }; |
| 1218 | + }; |
| 1219 | + |
| 1220 | + pcie_phy: phy@1c0e000 { |
| 1221 | + compatible = "qcom,qcs615-qmp-gen3x1-pcie-phy"; |
| 1222 | + reg = <0x0 0x01c0e000 0x0 0x1000>; |
| 1223 | + |
| 1224 | + clocks = <&gcc GCC_PCIE_PHY_AUX_CLK>, |
| 1225 | + <&gcc GCC_PCIE_0_CFG_AHB_CLK>, |
| 1226 | + <&gcc GCC_PCIE_0_CLKREF_CLK>, |
| 1227 | + <&gcc GCC_PCIE0_PHY_REFGEN_CLK>, |
| 1228 | + <&gcc GCC_PCIE_0_PIPE_CLK>; |
| 1229 | + clock-names = "aux", |
| 1230 | + "cfg_ahb", |
| 1231 | + "ref", |
| 1232 | + "refgen", |
| 1233 | + "pipe"; |
| 1234 | + |
| 1235 | + resets = <&gcc GCC_PCIE_0_PHY_BCR>; |
| 1236 | + reset-names = "phy"; |
| 1237 | + |
| 1238 | + assigned-clocks = <&gcc GCC_PCIE0_PHY_REFGEN_CLK>; |
| 1239 | + assigned-clock-rates = <100000000>; |
| 1240 | + |
| 1241 | + #clock-cells = <0>; |
| 1242 | + clock-output-names = "pcie_0_pipe_clk"; |
| 1243 | + |
| 1244 | + #phy-cells = <0>; |
| 1245 | + |
| 1246 | + status = "disabled"; |
| 1247 | + }; |
| 1248 | + |
1103 | 1249 | ufs_mem_hc: ufshc@1d84000 { |
1104 | 1250 | compatible = "qcom,qcs615-ufshc", "qcom,ufshc", "jedec,ufs-2.0"; |
1105 | 1251 | reg = <0x0 0x01d84000 0x0 0x3000>, |
|
0 commit comments