提交 cc54ccd9 编写于 作者: S Sebastian Hesselbarth 提交者: Jason Cooper

PCI: mvebu: add support for Marvell Dove SoCs

This patch adds a compatible for the PCIe controller found on Marvell
Dove SoCs. Binding documentation and Kconfig entry are also updated.
Signed-off-by: NSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: NJason Cooper <jason@lakedaemon.net>
上级 52ba992e
...@@ -5,6 +5,7 @@ Mandatory properties: ...@@ -5,6 +5,7 @@ Mandatory properties:
- compatible: one of the following values: - compatible: one of the following values:
marvell,armada-370-pcie marvell,armada-370-pcie
marvell,armada-xp-pcie marvell,armada-xp-pcie
marvell,dove-pcie
marvell,kirkwood-pcie marvell,kirkwood-pcie
- #address-cells, set to <3> - #address-cells, set to <3>
- #size-cells, set to <2> - #size-cells, set to <2>
......
...@@ -3,7 +3,7 @@ menu "PCI host controller drivers" ...@@ -3,7 +3,7 @@ menu "PCI host controller drivers"
config PCI_MVEBU config PCI_MVEBU
bool "Marvell EBU PCIe controller" bool "Marvell EBU PCIe controller"
depends on ARCH_MVEBU || ARCH_KIRKWOOD depends on ARCH_MVEBU || ARCH_DOVE || ARCH_KIRKWOOD
depends on OF depends on OF
config PCIE_DW config PCIE_DW
......
...@@ -976,6 +976,7 @@ static int mvebu_pcie_probe(struct platform_device *pdev) ...@@ -976,6 +976,7 @@ static int mvebu_pcie_probe(struct platform_device *pdev)
static const struct of_device_id mvebu_pcie_of_match_table[] = { static const struct of_device_id mvebu_pcie_of_match_table[] = {
{ .compatible = "marvell,armada-xp-pcie", }, { .compatible = "marvell,armada-xp-pcie", },
{ .compatible = "marvell,armada-370-pcie", }, { .compatible = "marvell,armada-370-pcie", },
{ .compatible = "marvell,dove-pcie", },
{ .compatible = "marvell,kirkwood-pcie", }, { .compatible = "marvell,kirkwood-pcie", },
{}, {},
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册