diff options
author | Dan Murphy <a0272616@ti.com> | 2020-08-21 06:54:09 -0500 |
---|---|---|
committer | Dan Murphy <a0272616@ti.com> | 2020-08-21 06:54:09 -0500 |
commit | 006806a245273e5489b715a0a7bdd0ef31a43646 (patch) | |
tree | 88b8066899ac8c1442d508a1eb1435b1f739da59 | |
parent | 6edf34e41110fcf8bdcbff134f24b74a58e8ae8b (diff) | |
parent | 53de14c602744d5e5fc16b4ddf59515c4c185d4a (diff) | |
download | linux-dt-006806a245273e5489b715a0a7bdd0ef31a43646.tar.gz |
Merge pull request #12 in LCPDPUB/ti-upstream-tools from ~A0393678/kishon-ti-upstream-tools:j7200_enable_pci to next
* commit '53de14c602744d5e5fc16b4ddf59515c4c185d4a':
system_test: Add overlays for testing PCIe RC and EP
-rw-r--r-- | arch/arm64/boot/dts/ti/system_test/pcie/pcie_ep/k3-j7200-common-proc-board-pcie-ep.dtso | 17 | ||||
-rw-r--r-- | arch/arm64/boot/dts/ti/system_test/pcie/pcie_ep/k3-j7200-common-proc-board-pcie.dtso | 25 |
2 files changed, 42 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/ti/system_test/pcie/pcie_ep/k3-j7200-common-proc-board-pcie-ep.dtso b/arch/arm64/boot/dts/ti/system_test/pcie/pcie_ep/k3-j7200-common-proc-board-pcie-ep.dtso new file mode 100644 index 0000000..83d08b1 --- /dev/null +++ b/arch/arm64/boot/dts/ti/system_test/pcie/pcie_ep/k3-j7200-common-proc-board-pcie-ep.dtso @@ -0,0 +1,17 @@ +// SPDX-License-Identifier: GPL-2.0 +/** + * Overlay for enabling PCIe on k3-j7200-evm board + * + * Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com/ + */ + +/dts-v1/; +/plugin/; + +&pcie1_rc { + status = "disabled"; +}; + +&pcie1_ep { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/ti/system_test/pcie/pcie_ep/k3-j7200-common-proc-board-pcie.dtso b/arch/arm64/boot/dts/ti/system_test/pcie/pcie_ep/k3-j7200-common-proc-board-pcie.dtso new file mode 100644 index 0000000..dcf133a --- /dev/null +++ b/arch/arm64/boot/dts/ti/system_test/pcie/pcie_ep/k3-j7200-common-proc-board-pcie.dtso @@ -0,0 +1,25 @@ +// SPDX-License-Identifier: GPL-2.0 +/** + * Overlay for enabling PCIe on k3-j7200-evm board + * + * Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com/ + */ + +/dts-v1/; +/plugin/; + +#include <dt-bindings/mux/mux-j7200-wiz.h> + +&serdes_ln_ctrl { + idle-states = <SERDES0_LANE0_PCIE1_LANE0>, <SERDES0_LANE1_PCIE1_LANE1>, + <SERDES0_LANE2_PCIE1_LANE2>, <SERDES0_LANE3_PCIE1_LANE3>; + status = "okay"; +}; + +&serdes_wiz0 { + status = "okay"; +}; + +&pcie1_rc { + status = "okay"; +}; |