|
159 | 159 | reg = <0x0 0x10000000 0x0 0x1000>; |
160 | 160 | clocks = <&hfclk>, <&rtcclk>; |
161 | 161 | #clock-cells = <1>; |
| 162 | + #reset-cells = <1>; |
162 | 163 | }; |
163 | 164 | uart0: serial@10010000 { |
164 | 165 | compatible = "sifive,fu740-c000-uart", "sifive,uart0"; |
|
289 | 290 | clocks = <&prci PRCI_CLK_PCLK>; |
290 | 291 | status = "disabled"; |
291 | 292 | }; |
| 293 | + pcie@e00000000 { |
| 294 | + compatible = "sifive,fu740-pcie"; |
| 295 | + #address-cells = <3>; |
| 296 | + #size-cells = <2>; |
| 297 | + #interrupt-cells = <1>; |
| 298 | + reg = <0xe 0x00000000 0x0 0x80000000>, |
| 299 | + <0xd 0xf0000000 0x0 0x10000000>, |
| 300 | + <0x0 0x100d0000 0x0 0x1000>; |
| 301 | + reg-names = "dbi", "config", "mgmt"; |
| 302 | + device_type = "pci"; |
| 303 | + dma-coherent; |
| 304 | + bus-range = <0x0 0xff>; |
| 305 | + ranges = <0x81000000 0x0 0x60080000 0x0 0x60080000 0x0 0x10000>, /* I/O */ |
| 306 | + <0x82000000 0x0 0x60090000 0x0 0x60090000 0x0 0xff70000>, /* mem */ |
| 307 | + <0x82000000 0x0 0x70000000 0x0 0x70000000 0x0 0x1000000>, /* mem */ |
| 308 | + <0xc3000000 0x20 0x00000000 0x20 0x00000000 0x20 0x00000000>; /* mem prefetchable */ |
| 309 | + num-lanes = <0x8>; |
| 310 | + interrupts = <56>, <57>, <58>, <59>, <60>, <61>, <62>, <63>, <64>; |
| 311 | + interrupt-names = "msi", "inta", "intb", "intc", "intd"; |
| 312 | + interrupt-parent = <&plic0>; |
| 313 | + interrupt-map-mask = <0x0 0x0 0x0 0x7>; |
| 314 | + interrupt-map = <0x0 0x0 0x0 0x1 &plic0 57>, |
| 315 | + <0x0 0x0 0x0 0x2 &plic0 58>, |
| 316 | + <0x0 0x0 0x0 0x3 &plic0 59>, |
| 317 | + <0x0 0x0 0x0 0x4 &plic0 60>; |
| 318 | + clock-names = "pcie_aux"; |
| 319 | + clocks = <&prci PRCI_CLK_PCIE_AUX>; |
| 320 | + pwren-gpios = <&gpio 5 0>; |
| 321 | + reset-gpios = <&gpio 8 0>; |
| 322 | + resets = <&prci 4>; |
| 323 | + status = "okay"; |
| 324 | + }; |
292 | 325 | }; |
293 | 326 | }; |
0 commit comments