mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 18:47:06 +00:00
39 lines
1.3 KiB
Diff
39 lines
1.3 KiB
Diff
|
From 5a95e58e58da417ca8a8f4ae11347ad9a66803cd Mon Sep 17 00:00:00 2001
|
||
|
From: Mingkai Hu <mingkai.hu@nxp.com>
|
||
|
Date: Mon, 26 Sep 2016 12:17:36 +0800
|
||
|
Subject: [PATCH 128/141] pci/layerscape: add LS1046A support
|
||
|
|
||
|
commit a52797fe443a79c53d0b63c505c99f65264de8b7
|
||
|
[context adjustment]
|
||
|
|
||
|
Signed-off-by: Mingkai Hu <mingkai.hu@nxp.com>
|
||
|
Integrated-by: Zhao Qiang <qiang.zhao@nxp.com>
|
||
|
Integrated-by: Yutang Jiang <yutang.jiang@nxp.com>
|
||
|
---
|
||
|
drivers/pci/host/pci-layerscape.c | 7 +++++++
|
||
|
1 file changed, 7 insertions(+)
|
||
|
|
||
|
--- a/drivers/pci/host/pci-layerscape.c
|
||
|
+++ b/drivers/pci/host/pci-layerscape.c
|
||
|
@@ -205,6 +205,12 @@ static struct ls_pcie_drvdata ls1043_drv
|
||
|
.ops = &ls_pcie_host_ops,
|
||
|
};
|
||
|
|
||
|
+static struct ls_pcie_drvdata ls1046_drvdata = {
|
||
|
+ .lut_offset = 0x10000,
|
||
|
+ .ltssm_shift = 24,
|
||
|
+ .ops = &ls_pcie_host_ops,
|
||
|
+};
|
||
|
+
|
||
|
static struct ls_pcie_drvdata ls2080_drvdata = {
|
||
|
.lut_offset = 0x80000,
|
||
|
.ltssm_shift = 0,
|
||
|
@@ -215,6 +221,7 @@ static const struct of_device_id ls_pcie
|
||
|
{ .compatible = "fsl,ls1012a-pcie", .data = &ls1012_drvdata },
|
||
|
{ .compatible = "fsl,ls1021a-pcie", .data = &ls1021_drvdata },
|
||
|
{ .compatible = "fsl,ls1043a-pcie", .data = &ls1043_drvdata },
|
||
|
+ { .compatible = "fsl,ls1046a-pcie", .data = &ls1046_drvdata },
|
||
|
{ .compatible = "fsl,ls2080a-pcie", .data = &ls2080_drvdata },
|
||
|
{ .compatible = "fsl,ls2085a-pcie", .data = &ls2080_drvdata },
|
||
|
{ },
|