mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-18 08:35:08 +08:00
pci: mvebu: enable driver usage on Kirkwood
We allow the pci-mvebu driver to be compiled on the Kirkwood platform, and add the 'marvell,kirkwood-pcie' as a compatible string supported by the driver. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
This commit is contained in:
parent
3d9939c92e
commit
005625fc5d
@ -4,6 +4,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,kirkwood-pcie
|
||||||
- #address-cells, set to <3>
|
- #address-cells, set to <3>
|
||||||
- #size-cells, set to <2>
|
- #size-cells, set to <2>
|
||||||
- #interrupt-cells, set to <1>
|
- #interrupt-cells, set to <1>
|
||||||
|
@ -3,6 +3,6 @@ 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
|
depends on ARCH_MVEBU || ARCH_KIRKWOOD
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
@ -854,6 +854,7 @@ static int __init 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,kirkwood-pcie", },
|
||||||
{},
|
{},
|
||||||
};
|
};
|
||||||
MODULE_DEVICE_TABLE(of, mvebu_pcie_of_match_table);
|
MODULE_DEVICE_TABLE(of, mvebu_pcie_of_match_table);
|
||||||
|
Loading…
Reference in New Issue
Block a user