8128-pci-layerscape-add-LS1046A-support.patch 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. From 5a95e58e58da417ca8a8f4ae11347ad9a66803cd Mon Sep 17 00:00:00 2001
  2. From: Mingkai Hu <mingkai.hu@nxp.com>
  3. Date: Mon, 26 Sep 2016 12:17:36 +0800
  4. Subject: [PATCH 128/141] pci/layerscape: add LS1046A support
  5. commit a52797fe443a79c53d0b63c505c99f65264de8b7
  6. [context adjustment]
  7. Signed-off-by: Mingkai Hu <mingkai.hu@nxp.com>
  8. Integrated-by: Zhao Qiang <qiang.zhao@nxp.com>
  9. Integrated-by: Yutang Jiang <yutang.jiang@nxp.com>
  10. ---
  11. drivers/pci/host/pci-layerscape.c | 7 +++++++
  12. 1 file changed, 7 insertions(+)
  13. --- a/drivers/pci/host/pci-layerscape.c
  14. +++ b/drivers/pci/host/pci-layerscape.c
  15. @@ -205,6 +205,12 @@ static struct ls_pcie_drvdata ls1043_drv
  16. .ops = &ls_pcie_host_ops,
  17. };
  18. +static struct ls_pcie_drvdata ls1046_drvdata = {
  19. + .lut_offset = 0x10000,
  20. + .ltssm_shift = 24,
  21. + .ops = &ls_pcie_host_ops,
  22. +};
  23. +
  24. static struct ls_pcie_drvdata ls2080_drvdata = {
  25. .lut_offset = 0x80000,
  26. .ltssm_shift = 0,
  27. @@ -215,6 +221,7 @@ static const struct of_device_id ls_pcie
  28. { .compatible = "fsl,ls1012a-pcie", .data = &ls1012_drvdata },
  29. { .compatible = "fsl,ls1021a-pcie", .data = &ls1021_drvdata },
  30. { .compatible = "fsl,ls1043a-pcie", .data = &ls1043_drvdata },
  31. + { .compatible = "fsl,ls1046a-pcie", .data = &ls1046_drvdata },
  32. { .compatible = "fsl,ls2080a-pcie", .data = &ls2080_drvdata },
  33. { .compatible = "fsl,ls2085a-pcie", .data = &ls2080_drvdata },
  34. { },