1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/pci/intel-gw-pcie.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: PCIe RC controller on Intel Gateway SoCs
10 - Dilip Kota <eswara.kota@linux.intel.com>
15 - const: intel,lgm-pcie
29 - description: Controller control and status registers.
30 - description: PCIe configuration registers.
31 - description: Controller application registers.
57 linux,pci-domain: true
61 description: Number of lanes to use for this port.
67 description: Standard PCI IRQ mapping properties.
70 description: Standard PCI IRQ mapping properties.
73 description: Specify PCI Gen for link capability.
75 - $ref: /schemas/types.yaml#/definitions/uint32
76 - enum: [ 1, 2, 3, 4 ]
80 description: Range of bus numbers associated with this controller.
84 Delay after asserting reset to the PCIe device.
105 additionalProperties: false
109 #include <dt-bindings/gpio/gpio.h>
110 #include <dt-bindings/clock/intel,lgm-clk.h>
111 pcie10: pcie@d0e00000 {
112 compatible = "intel,lgm-pcie", "snps,dw-pcie";
114 #address-cells = <3>;
116 reg = <0xd0e00000 0x1000>,
117 <0xd2000000 0x800000>,
119 reg-names = "dbi", "config", "app";
120 linux,pci-domain = <0>;
121 max-link-speed = <4>;
122 bus-range = <0x00 0x08>;
123 interrupt-parent = <&ioapic1>;
124 #interrupt-cells = <1>;
125 interrupt-map-mask = <0 0 0 0x7>;
126 interrupt-map = <0 0 0 1 &ioapic1 27 1>,
127 <0 0 0 2 &ioapic1 28 1>,
128 <0 0 0 3 &ioapic1 29 1>,
129 <0 0 0 4 &ioapic1 30 1>;
130 ranges = <0x02000000 0 0xd4000000 0xd4000000 0 0x04000000>;
131 resets = <&rcu0 0x50 0>;
132 clocks = <&cgu0 LGM_GCLK_PCIE10>;
135 reset-assert-ms = <500>;
136 reset-gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;