diff options
author | Stanimir Varbanov <stanimir.varbanov@linaro.org> | 2015-12-18 07:38:58 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-01-11 01:25:02 -0500 |
commit | bcc74b0957d63394f873680cce705eacfb41eed0 (patch) | |
tree | bb14fb18a99f24613928a5dc9d39e605bafeb8a5 | |
parent | 82a823833f4e3769e82cdb4df1bc2234bc65b16c (diff) |
ARM: dts: apq8064: add PCIe devicetree node
Add the PCIe DT node so that it can probe and be used.
Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
-rw-r--r-- | arch/arm/boot/dts/qcom-apq8064.dtsi | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi index a4c1762b53ea..847150fbfdbf 100644 --- a/arch/arm/boot/dts/qcom-apq8064.dtsi +++ b/arch/arm/boot/dts/qcom-apq8064.dtsi | |||
@@ -659,5 +659,41 @@ | |||
659 | compatible = "qcom,tcsr-apq8064", "syscon"; | 659 | compatible = "qcom,tcsr-apq8064", "syscon"; |
660 | reg = <0x1a400000 0x100>; | 660 | reg = <0x1a400000 0x100>; |
661 | }; | 661 | }; |
662 | |||
663 | pcie: pci@1b500000 { | ||
664 | compatible = "qcom,pcie-apq8064", "snps,dw-pcie"; | ||
665 | reg = <0x1b500000 0x1000 | ||
666 | 0x1b502000 0x80 | ||
667 | 0x1b600000 0x100 | ||
668 | 0x0ff00000 0x100000>; | ||
669 | reg-names = "dbi", "elbi", "parf", "config"; | ||
670 | device_type = "pci"; | ||
671 | linux,pci-domain = <0>; | ||
672 | bus-range = <0x00 0xff>; | ||
673 | num-lanes = <1>; | ||
674 | #address-cells = <3>; | ||
675 | #size-cells = <2>; | ||
676 | ranges = <0x81000000 0 0 0x0fe00000 0 0x00100000 /* I/O */ | ||
677 | 0x82000000 0 0 0x08000000 0 0x07e00000>; /* memory */ | ||
678 | interrupts = <GIC_SPI 238 IRQ_TYPE_NONE>; | ||
679 | interrupt-names = "msi"; | ||
680 | #interrupt-cells = <1>; | ||
681 | interrupt-map-mask = <0 0 0 0x7>; | ||
682 | interrupt-map = <0 0 0 1 &intc 0 36 IRQ_TYPE_LEVEL_HIGH>, /* int_a */ | ||
683 | <0 0 0 2 &intc 0 37 IRQ_TYPE_LEVEL_HIGH>, /* int_b */ | ||
684 | <0 0 0 3 &intc 0 38 IRQ_TYPE_LEVEL_HIGH>, /* int_c */ | ||
685 | <0 0 0 4 &intc 0 39 IRQ_TYPE_LEVEL_HIGH>; /* int_d */ | ||
686 | clocks = <&gcc PCIE_A_CLK>, | ||
687 | <&gcc PCIE_H_CLK>, | ||
688 | <&gcc PCIE_PHY_REF_CLK>; | ||
689 | clock-names = "core", "iface", "phy"; | ||
690 | resets = <&gcc PCIE_ACLK_RESET>, | ||
691 | <&gcc PCIE_HCLK_RESET>, | ||
692 | <&gcc PCIE_POR_RESET>, | ||
693 | <&gcc PCIE_PCI_RESET>, | ||
694 | <&gcc PCIE_PHY_RESET>; | ||
695 | reset-names = "axi", "ahb", "por", "pci", "phy"; | ||
696 | status = "disabled"; | ||
697 | }; | ||
662 | }; | 698 | }; |
663 | }; | 699 | }; |