Back to home page

OSCL-LXR

 
 

    


0001 * Amazon Annapurna Labs PCIe host bridge
0002 
0003 Amazon's Annapurna Labs PCIe Host Controller is based on the Synopsys DesignWare
0004 PCI core. It inherits common properties defined in
0005 Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml.
0006 
0007 Properties of the host controller node that differ from it are:
0008 
0009 - compatible:
0010         Usage: required
0011         Value type: <stringlist>
0012         Definition: Value should contain
0013                         - "amazon,al-alpine-v2-pcie" for alpine_v2
0014                         - "amazon,al-alpine-v3-pcie" for alpine_v3
0015 
0016 - reg:
0017         Usage: required
0018         Value type: <prop-encoded-array>
0019         Definition: Register ranges as listed in the reg-names property
0020 
0021 - reg-names:
0022         Usage: required
0023         Value type: <stringlist>
0024         Definition: Must include the following entries
0025                         - "config"      PCIe ECAM space
0026                         - "controller"  AL proprietary registers
0027                         - "dbi"         Designware PCIe registers
0028 
0029 Example:
0030 
0031         pcie-external0: pcie@fb600000 {
0032                 compatible = "amazon,al-alpine-v3-pcie";
0033                 reg = <0x0 0xfb600000 0x0 0x00100000
0034                        0x0 0xfd800000 0x0 0x00010000
0035                        0x0 0xfd810000 0x0 0x00001000>;
0036                 reg-names = "config", "controller", "dbi";
0037                 bus-range = <0 255>;
0038                 device_type = "pci";
0039                 #address-cells = <3>;
0040                 #size-cells = <2>;
0041                 #interrupt-cells = <1>;
0042                 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
0043                 interrupt-map-mask = <0x00 0 0 7>;
0044                 interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; /* INTa */
0045                 ranges = <0x02000000 0x0 0xc0010000 0x0 0xc0010000 0x0 0x07ff0000>;
0046         };