dt-bindings: PCI: tegra234: Add ECAM support
Add support for ECAM aperture that is only supported for Tegra234 devices. Signed-off-by: Vidya Sagar <vidyas@nvidia.com> Co-developed-by: Jon Hunter <jonathanh@nvidia.com> Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
committed by
Thierry Reding
parent
0f1dfbd1ea
commit
5c3741492d
@@ -27,6 +27,7 @@ properties:
|
|||||||
- nvidia,tegra234-pcie
|
- nvidia,tegra234-pcie
|
||||||
|
|
||||||
reg:
|
reg:
|
||||||
|
minItems: 4
|
||||||
items:
|
items:
|
||||||
- description: controller's application logic registers
|
- description: controller's application logic registers
|
||||||
- description: configuration registers
|
- description: configuration registers
|
||||||
@@ -35,13 +36,16 @@ properties:
|
|||||||
available for software access.
|
available for software access.
|
||||||
- description: aperture where the Root Port's own configuration
|
- description: aperture where the Root Port's own configuration
|
||||||
registers are available.
|
registers are available.
|
||||||
|
- description: aperture to access the configuration space through ECAM.
|
||||||
|
|
||||||
reg-names:
|
reg-names:
|
||||||
|
minItems: 4
|
||||||
items:
|
items:
|
||||||
- const: appl
|
- const: appl
|
||||||
- const: config
|
- const: config
|
||||||
- const: atu_dma
|
- const: atu_dma
|
||||||
- const: dbi
|
- const: dbi
|
||||||
|
- const: ecam
|
||||||
|
|
||||||
interrupts:
|
interrupts:
|
||||||
items:
|
items:
|
||||||
@@ -202,6 +206,31 @@ properties:
|
|||||||
|
|
||||||
allOf:
|
allOf:
|
||||||
- $ref: /schemas/pci/snps,dw-pcie.yaml#
|
- $ref: /schemas/pci/snps,dw-pcie.yaml#
|
||||||
|
- if:
|
||||||
|
properties:
|
||||||
|
compatible:
|
||||||
|
contains:
|
||||||
|
enum:
|
||||||
|
- nvidia,tegra194-pcie
|
||||||
|
then:
|
||||||
|
properties:
|
||||||
|
reg:
|
||||||
|
maxItems: 4
|
||||||
|
reg-names:
|
||||||
|
maxItems: 4
|
||||||
|
|
||||||
|
- if:
|
||||||
|
properties:
|
||||||
|
compatible:
|
||||||
|
contains:
|
||||||
|
enum:
|
||||||
|
- nvidia,tegra234-pcie
|
||||||
|
then:
|
||||||
|
properties:
|
||||||
|
reg:
|
||||||
|
minItems: 5
|
||||||
|
reg-names:
|
||||||
|
minItems: 5
|
||||||
|
|
||||||
unevaluatedProperties: false
|
unevaluatedProperties: false
|
||||||
|
|
||||||
@@ -305,8 +334,9 @@ examples:
|
|||||||
reg = <0x00 0x14160000 0x0 0x00020000>, /* appl registers (128K) */
|
reg = <0x00 0x14160000 0x0 0x00020000>, /* appl registers (128K) */
|
||||||
<0x00 0x36000000 0x0 0x00040000>, /* configuration space (256K) */
|
<0x00 0x36000000 0x0 0x00040000>, /* configuration space (256K) */
|
||||||
<0x00 0x36040000 0x0 0x00040000>, /* iATU_DMA reg space (256K) */
|
<0x00 0x36040000 0x0 0x00040000>, /* iATU_DMA reg space (256K) */
|
||||||
<0x00 0x36080000 0x0 0x00040000>; /* DBI reg space (256K) */
|
<0x00 0x36080000 0x0 0x00040000>, /* DBI reg space (256K) */
|
||||||
reg-names = "appl", "config", "atu_dma", "dbi";
|
<0x24 0x30000000 0x0 0x10000000>; /* ECAM (256MB) */
|
||||||
|
reg-names = "appl", "config", "atu_dma", "dbi", "ecam";
|
||||||
|
|
||||||
#address-cells = <3>;
|
#address-cells = <3>;
|
||||||
#size-cells = <2>;
|
#size-cells = <2>;
|
||||||
|
@@ -35,7 +35,7 @@ properties:
|
|||||||
maxItems: 5
|
maxItems: 5
|
||||||
items:
|
items:
|
||||||
enum: [ dbi, dbi2, config, atu, atu_dma, app, appl, elbi, mgmt, ctrl,
|
enum: [ dbi, dbi2, config, atu, atu_dma, app, appl, elbi, mgmt, ctrl,
|
||||||
parf, cfg, link, ulreg, smu, mpu, apb, phy ]
|
parf, cfg, link, ulreg, smu, mpu, apb, phy, ecam ]
|
||||||
|
|
||||||
num-lanes:
|
num-lanes:
|
||||||
description: |
|
description: |
|
||||||
|
Reference in New Issue
Block a user