The PCI-USB2 daughtercard can be mounted on the AM654-Base-Board to
enable PCI in x2 Lane configuration along with USB2.0. Hence, package
the corresponding device-tree overlay.

Signed-off-by: Siddharth Vadapalli <[email protected]>
---
 arch/arm/dts/k3-am65x-binman.dtsi | 35 +++++++++++++++++++++++++++++--
 1 file changed, 33 insertions(+), 2 deletions(-)

diff --git a/arch/arm/dts/k3-am65x-binman.dtsi 
b/arch/arm/dts/k3-am65x-binman.dtsi
index cc82c8b5768..47b0986e65c 100644
--- a/arch/arm/dts/k3-am65x-binman.dtsi
+++ b/arch/arm/dts/k3-am65x-binman.dtsi
@@ -96,6 +96,7 @@
 #define AM654_EVM_DTB "u-boot.dtb"
 
 #define AM654_EVM_ICSSG2_DTBO "ti/k3-am654-icssg2.dtbo"
+#define AM654_EVM_PCIE_USB2_DTBO "ti/k3-am654-pcie-usb2.dtbo"
 
 &binman {
        ti-spl {
@@ -199,6 +200,23 @@
                                        };
                                };
 
+                               fdt-am654-pcie-usb2 {
+                                       description = "k3-am654-pcie-usb2 
overlay";
+                                       type = "flat_dt";
+                                       arch = "arm";
+                                       compression = "none";
+                                       ti-secure {
+                                               content = 
<&am65x_evm_pcie_usb2_dtb>;
+                                               keyfile = "custMpk.pem";
+                                       };
+                                       am65x_evm_pcie_usb2_dtb: blob-ext {
+                                               filename = 
AM654_EVM_PCIE_USB2_DTBO;
+                                       };
+                                       hash {
+                                               algo = "crc32";
+                                       };
+                               };
+
                        };
 
                        configurations {
@@ -208,7 +226,7 @@
                                        description = "k3-am654-base-board";
                                        firmware = "uboot";
                                        loadables = "uboot";
-                                       fdt = "fdt-0", "fdt-1";
+                                       fdt = "fdt-0", "fdt-1", 
"fdt-am654-pcie-usb2";
                                };
                        };
                };
@@ -297,6 +315,19 @@
                                                algo = "crc32";
                                        };
                                };
+
+                               fdt-am654-pcie-usb2 {
+                                       description = "k3-am654-pcie-usb2 
overlay";
+                                       type = "flat_dt";
+                                       arch = "arm";
+                                       compression = "none";
+                                       blob {
+                                               filename = 
AM654_EVM_PCIE_USB2_DTBO;
+                                       };
+                                       hash {
+                                               algo = "crc32";
+                                       };
+                               };
                        };
 
                        configurations {
@@ -306,7 +337,7 @@
                                        description = "k3-am654-base-board";
                                        firmware = "uboot";
                                        loadables = "uboot";
-                                       fdt = "fdt-0", "fdt-1";
+                                       fdt = "fdt-0", "fdt-1", 
"fdt-am654-pcie-usb2";
                                };
                        };
                };
-- 
2.51.1

Reply via email to