8137-armv8-ls1088a-Add-PCIe-compatible.patch 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. From 1aeb63c52ade1219032161fcdb923aa4c62b3796 Mon Sep 17 00:00:00 2001
  2. From: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
  3. Date: Sun, 9 Oct 2016 14:52:49 +0800
  4. Subject: [PATCH 137/141] armv8: ls1088a: Add PCIe compatible
  5. commit: 1a089a382b187c80390f022d1e3f3749b2adcc64
  6. [don't apply dtsi]
  7. Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
  8. Integrated-by: Zhao Qiang <qiang.zhao@nxp.com>
  9. ---
  10. drivers/pci/host/pci-layerscape.c | 8 ++++++++
  11. 1 file changed, 8 insertions(+)
  12. --- a/drivers/pci/host/pci-layerscape.c
  13. +++ b/drivers/pci/host/pci-layerscape.c
  14. @@ -215,6 +215,13 @@ static struct ls_pcie_drvdata ls1046_drv
  15. .ops = &ls_pcie_host_ops,
  16. };
  17. +static struct ls_pcie_drvdata ls1088_drvdata = {
  18. + .lut_offset = 0x80000,
  19. + .ltssm_shift = 0,
  20. + .lut_dbg = 0x407fc,
  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. @@ -227,6 +234,7 @@ static const struct of_device_id ls_pcie
  28. { .compatible = "fsl,ls1021a-pcie", .data = &ls1021_drvdata },
  29. { .compatible = "fsl,ls1043a-pcie", .data = &ls1043_drvdata },
  30. { .compatible = "fsl,ls1046a-pcie", .data = &ls1046_drvdata },
  31. + { .compatible = "fsl,ls1088a-pcie", .data = &ls1088_drvdata },
  32. { .compatible = "fsl,ls2080a-pcie", .data = &ls2080_drvdata },
  33. { .compatible = "fsl,ls2085a-pcie", .data = &ls2080_drvdata },
  34. { },