[U-Boot] [PATCH v3 0/7] Add PCIe root complex support for AM654x SoC

Sekhar Nori nsekhar at ti.com
Thu Aug 1 13:42:54 UTC 2019


Hi,

This patch series adds PCIe root complex support for AM654x SoC.

The device-tree files are based on bindings accepted in linux.
See files Documentation/devicetree/bindings/phy/ti,phy-am654-serdes.txt
and Documentation/devicetree/bindings/pci/pci-keystone.txt in latest
mainline master.

I have not posted the actual board-specific device-tree bits yet.
The reason is that PCIe slot is on a daughter card on the AM65x EVM.
I want to see how we can support that as an overlay in U-Boot. That
needs some more attention. Meanwhile I have tested this using a patch
that simply enables PCIe in the baseboard device-tree file itself.

v3:
- fix unit test for clk_is_match()

v2:
- add unit tests for new clock and dm APIs introduced
- add Lokesh's Reviewed-by: for patches #1 and #2

Sekhar Nori (7):
  clk: add support for clk_is_match()
  dm: core: add support for getting register address and size
  pcie: ti: add driver for AM65x PCIe RC
  phy: add support for AM654x SERDES
  configs: am65x_evm_a53: enable PCIe support
  arm: dts: k3-am65: add support for PCIe and SERDES
  configs: am65x_evm_a53: enable support for PCIe ethernet cards

 arch/arm/dts/k3-am65-main.dtsi             | 108 +++++
 arch/arm/dts/k3-am65.dtsi                  |   1 +
 configs/am65x_evm_a53_defconfig            |   8 +
 drivers/clk/clk-uclass.c                   |  13 +
 drivers/core/fdtaddr.c                     |  17 +
 drivers/core/read.c                        |  20 +
 drivers/pci/Kconfig                        |   6 +
 drivers/pci/Makefile                       |   1 +
 drivers/pci/pcie_dw_ti.c                   | 725 +++++++++++++++++++++++++++++
 drivers/phy/Kconfig                        |   9 +
 drivers/phy/Makefile                       |   1 +
 drivers/phy/phy-ti-am654.c                 | 411 ++++++++++++++++
 include/clk.h                              |  12 +
 include/dm/fdtaddr.h                       |  18 +
 include/dm/read.h                          |  41 ++
 include/dt-bindings/phy/phy-am654-serdes.h |  13 +
 test/dm/clk.c                              |   1 +
 test/dm/test-fdt.c                         |  16 +-
 18 files changed, 1417 insertions(+), 4 deletions(-)
 create mode 100644 drivers/pci/pcie_dw_ti.c
 create mode 100644 drivers/phy/phy-ti-am654.c
 create mode 100644 include/dt-bindings/phy/phy-am654-serdes.h

-- 
2.16.2



More information about the U-Boot mailing list