Dinh Nguyen | 53126a2 | 2013-09-16 15:57:48 -0500 | [diff] [blame] | 1 | * Synopsys Designware PCIe interface |
Jingoo Han | 340cba6 | 2013-06-21 16:24:54 +0900 | [diff] [blame] | 2 | |
| 3 | Required properties: |
Lucas Stach | 1db823e | 2014-06-03 08:44:25 -0600 | [diff] [blame] | 4 | - compatible: should contain "snps,dw-pcie" to identify the core. |
Kishon Vijay Abraham I | 4dd964d | 2014-07-17 14:30:40 +0530 | [diff] [blame] | 5 | - reg: Should contain the configuration address space. |
| 6 | - reg-names: Must be "config" for the PCIe configuration space. |
| 7 | (The old way of getting the configuration address space from "ranges" |
| 8 | is deprecated and should be avoided.) |
Jingoo Han | 340cba6 | 2013-06-21 16:24:54 +0900 | [diff] [blame] | 9 | - #address-cells: set to <3> |
| 10 | - #size-cells: set to <2> |
| 11 | - device_type: set to "pci" |
| 12 | - ranges: ranges for the PCI memory and I/O regions |
| 13 | - #interrupt-cells: set to <1> |
| 14 | - interrupt-map-mask and interrupt-map: standard PCI properties |
| 15 | to define the mapping of the PCIe interface to interrupt |
| 16 | numbers. |
Jingoo Han | 4b1ced8 | 2013-07-31 17:14:10 +0900 | [diff] [blame] | 17 | - num-lanes: number of lanes to use |
Lucas Stach | 1db823e | 2014-06-03 08:44:25 -0600 | [diff] [blame] | 18 | - clocks: Must contain an entry for each entry in clock-names. |
| 19 | See ../clocks/clock-bindings.txt for details. |
| 20 | - clock-names: Must include the following entries: |
| 21 | - "pcie" |
| 22 | - "pcie_bus" |
Marek Vasut | c28f8a1 | 2013-12-12 22:49:58 +0100 | [diff] [blame] | 23 | |
| 24 | Optional properties: |
Jingoo Han | 340cba6 | 2013-06-21 16:24:54 +0900 | [diff] [blame] | 25 | - reset-gpio: gpio pin number of power good signal |
Lucas Stach | 4f2ebe0 | 2014-07-23 19:52:38 +0200 | [diff] [blame] | 26 | - bus-range: PCI bus numbers covered (it is recommended for new devicetrees to |
| 27 | specify this property, to keep backwards compatibility a range of 0x00-0xff |
| 28 | is assumed if not present) |