brintos

brintos / linux-shallow public Read only

0
0
Text · 1.4 KiB · 2ad1fe4 Raw
47 lines · plain
1* Amazon Annapurna Labs PCIe host bridge2 3Amazon's Annapurna Labs PCIe Host Controller is based on the Synopsys DesignWare4PCI core. It inherits common properties defined in5Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml.6 7Properties of the host controller node that differ from it are:8 9- compatible:10	Usage: required11	Value type: <stringlist>12	Definition: Value should contain13			- "amazon,al-alpine-v2-pcie" for alpine_v214			- "amazon,al-alpine-v3-pcie" for alpine_v315 16- reg:17	Usage: required18	Value type: <prop-encoded-array>19	Definition: Register ranges as listed in the reg-names property20 21- reg-names:22	Usage: required23	Value type: <stringlist>24	Definition: Must include the following entries25			- "config"	PCIe ECAM space26			- "controller"	AL proprietary registers27			- "dbi"		Designware PCIe registers28 29Example:30 31	pcie-external0: pcie@fb600000 {32		compatible = "amazon,al-alpine-v3-pcie";33		reg = <0x0 0xfb600000 0x0 0x0010000034		       0x0 0xfd800000 0x0 0x0001000035		       0x0 0xfd810000 0x0 0x00001000>;36		reg-names = "config", "controller", "dbi";37		bus-range = <0 255>;38		device_type = "pci";39		#address-cells = <3>;40		#size-cells = <2>;41		#interrupt-cells = <1>;42		interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;43		interrupt-map-mask = <0x00 0 0 7>;44		interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; /* INTa */45		ranges = <0x02000000 0x0 0xc0010000 0x0 0xc0010000 0x0 0x07ff0000>;46	};47