|
218 | 218 | <AIC_IRQ 396 IRQ_TYPE_LEVEL_HIGH>,
|
219 | 219 | <AIC_IRQ 397 IRQ_TYPE_LEVEL_HIGH>;
|
220 | 220 | };
|
| 221 | + |
| 222 | + pcie0: pcie@690000000 { |
| 223 | + compatible = "apple,t8103-pcie", "apple,pcie"; |
| 224 | + device_type = "pci"; |
| 225 | + |
| 226 | + reg = <0x6 0x90000000 0x0 0x1000000>, |
| 227 | + <0x6 0x80000000 0x0 0x100000>, |
| 228 | + <0x6 0x81000000 0x0 0x4000>, |
| 229 | + <0x6 0x82000000 0x0 0x4000>, |
| 230 | + <0x6 0x83000000 0x0 0x4000>; |
| 231 | + reg-names = "config", "rc", "port0", "port1", "port2"; |
| 232 | + |
| 233 | + interrupt-parent = <&aic>; |
| 234 | + interrupts = <AIC_IRQ 695 IRQ_TYPE_LEVEL_HIGH>, |
| 235 | + <AIC_IRQ 698 IRQ_TYPE_LEVEL_HIGH>, |
| 236 | + <AIC_IRQ 701 IRQ_TYPE_LEVEL_HIGH>; |
| 237 | + |
| 238 | + msi-controller; |
| 239 | + msi-parent = <&pcie0>; |
| 240 | + msi-ranges = <&aic AIC_IRQ 704 IRQ_TYPE_EDGE_RISING 32>; |
| 241 | + |
| 242 | + bus-range = <0 3>; |
| 243 | + #address-cells = <3>; |
| 244 | + #size-cells = <2>; |
| 245 | + ranges = <0x43000000 0x6 0xa0000000 0x6 0xa0000000 0x0 0x20000000>, |
| 246 | + <0x02000000 0x0 0xc0000000 0x6 0xc0000000 0x0 0x40000000>; |
| 247 | + |
| 248 | + pinctrl-0 = <&pcie_pins>; |
| 249 | + pinctrl-names = "default"; |
| 250 | + |
| 251 | + pci@0,0 { |
| 252 | + device_type = "pci"; |
| 253 | + reg = <0x0 0x0 0x0 0x0 0x0>; |
| 254 | + reset-gpios = <&pinctrl_ap 152 0>; |
| 255 | + max-link-speed = <2>; |
| 256 | + |
| 257 | + #address-cells = <3>; |
| 258 | + #size-cells = <2>; |
| 259 | + ranges; |
| 260 | + }; |
| 261 | + |
| 262 | + pci@1,0 { |
| 263 | + device_type = "pci"; |
| 264 | + reg = <0x800 0x0 0x0 0x0 0x0>; |
| 265 | + reset-gpios = <&pinctrl_ap 153 0>; |
| 266 | + max-link-speed = <2>; |
| 267 | + |
| 268 | + #address-cells = <3>; |
| 269 | + #size-cells = <2>; |
| 270 | + ranges; |
| 271 | + }; |
| 272 | + |
| 273 | + pci@2,0 { |
| 274 | + device_type = "pci"; |
| 275 | + reg = <0x1000 0x0 0x0 0x0 0x0>; |
| 276 | + reset-gpios = <&pinctrl_ap 33 0>; |
| 277 | + max-link-speed = <1>; |
| 278 | + |
| 279 | + #address-cells = <3>; |
| 280 | + #size-cells = <2>; |
| 281 | + ranges; |
| 282 | + }; |
| 283 | + }; |
221 | 284 | };
|
222 | 285 | };
|
0 commit comments