| 1 |
// SPDX-License-Identifier: (GPL-2.0 OR MIT) |
| 2 |
/* Copyright (c) 2020-2022 Microchip Technology Inc */ |
| 3 |
|
| 4 |
/ { |
| 5 |
fabric_clk3: fabric-clk3 { |
| 6 |
compatible = "fixed-clock"; |
| 7 |
#clock-cells = <0>; |
| 8 |
clock-frequency = <62500000>; |
| 9 |
}; |
| 10 |
|
| 11 |
fabric_clk1: fabric-clk1 { |
| 12 |
compatible = "fixed-clock"; |
| 13 |
#clock-cells = <0>; |
| 14 |
clock-frequency = <125000000>; |
| 15 |
}; |
| 16 |
|
| 17 |
pcie: pcie@2000000000 { |
| 18 |
compatible = "microchip,pcie-host-1.0"; |
| 19 |
#address-cells = <0x3>; |
| 20 |
#interrupt-cells = <0x1>; |
| 21 |
#size-cells = <0x2>; |
| 22 |
device_type = "pci"; |
| 23 |
reg = <0x20 0x0 0x0 0x8000000>, <0x0 0x43008000 0x0 0x2000>, |
| 24 |
<0x0 0x4300a000 0x0 0x2000>; |
| 25 |
reg-names = "cfg", "bridge", "ctrl"; |
| 26 |
bus-range = <0x0 0x7f>; |
| 27 |
interrupt-parent = <&plic>; |
| 28 |
interrupts = <119>; |
| 29 |
interrupt-map = <0 0 0 1 &pcie_intc 0>, |
| 30 |
<0 0 0 2 &pcie_intc 1>, |
| 31 |
<0 0 0 3 &pcie_intc 2>, |
| 32 |
<0 0 0 4 &pcie_intc 3>; |
| 33 |
interrupt-map-mask = <0 0 0 7>; |
| 34 |
clocks = <&fabric_clk1>, <&fabric_clk3>; |
| 35 |
clock-names = "fic0", "fic3"; |
| 36 |
ranges = <0x3000000 0x0 0x8000000 0x20 0x8000000 0x0 0x80000000>; |
| 37 |
msi-parent = <&pcie>; |
| 38 |
msi-controller; |
| 39 |
status = "disabled"; |
| 40 |
pcie_intc: interrupt-controller { |
| 41 |
#address-cells = <0>; |
| 42 |
#interrupt-cells = <1>; |
| 43 |
interrupt-controller; |
| 44 |
}; |
| 45 |
}; |
| 46 |
}; |