Skip to contentSkip to conversation

Enable PCI functionality on AM654 at U-Boot proper

PATCH In review Siddharth Vadapalli 2 participants 12 messages Nov 16 – Nov 18

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

v3 cover Enable PCI functionality on AM654 at U-Boot proper

Hello,

This series enables PCI Root-Complex functionality at U-Boot proper on the AM654 SoC. Although this was apparently enabled in the past, it is not functional as of now (without this series).

Series is based on commit
6487c50b8a4 .gitlab-ci.yml: remove Simon's lab from CI of the main branch of U-Boot.

Series has been validated with the PCI x2 Lane + USB2.0 daughtercard mounted on the AM654 Base Board. The PCI-Ethernet Adapter mounted on the PCIe-Connector has been validated (enumeration + dhcp). Logs:
https://gist.github.com/Siddharth-Vadapalli-at-TI/55a4d3889e389f211bc6f3def3af94de

v2 of this series is at:
https://lore.kernel.org/u-boot/[email protected]/
Changes since v2:
- Collected R-b tags from Neil Armstrong <[email protected]>
- Rebased series on latest main branch

v1 of this series is at:
https://lore.kernel.org/u-boot/[email protected]/
Changes since v1:
- The polarity of the Reset GPIOs in patch 3/7 has been corrected.

Regards,
Siddharth.

Siddharth Vadapalli (7):
phy: ti: phy-ti-am654: fix logic for programming clock parent
pci: pcie_dw_ti: fetch num-lanes from the device-tree and use it
pci: pcie_dw_ti: fetch reset-gpios from the device-tree and use it
board: ti: am65x: evm: add support for SPL to update U-Boot
device-tree
arm: dts: k3-am65x-binman: package overlay for PCI-USB2 daughtercard
arm: dts: k3-am654: add bootph-all to gpio@38 for daughtercard
detection
configs: am65x_evm_a53_defconfig: enable support for PCI-USB2
daughtercard

 arch/arm/dts/k3-am654-base-board-u-boot.dtsi |  4 +-
 arch/arm/dts/k3-am65x-binman.dtsi            | 35 ++++++++-
 board/ti/am65x/evm.c                         | 76 ++++++++++++++++++--
 configs/am65x_evm_a53_defconfig              |  6 +-
 drivers/pci/pcie_dw_ti.c                     | 27 +++++++
 drivers/phy/phy-ti-am654.c                   | 12 +++-
 6 files changed, 146 insertions(+), 14 deletions(-)
Signature · 1 line
2.56.0
#1 lore raw

PATCH v3 1/7 phy: ti: phy-ti-am654: fix logic for programming clock parent

The current implementation of serdes_am654_mux_clk_set_parent() assumes that the register for programming the clock parents is exclusive to the SERDES instance. However, that isn't the case when both instances of the SERDES on the AM654 SoC are used (for PCIe x2 Lane as an example), which results in the second SERDES instance's clock parent programming overwriting that of the first one.

Fix this by using a dynamic mask rather than the existing static mask namely SERDES_CTL_CLK_SEL_MASK.

---
 drivers/phy/phy-ti-am654.c | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)
drivers/phy/phy-ti-am654.c +9 -3
index c3d9972397a..23a5d1483b2 100644
@@ -142,8 +142,8 @@ static int mux_table[SERDES_NUM_CLOCKS][3] = {
 static int serdes_am654_mux_clk_set_parent(struct clk *clk, struct clk *parent)
 {
 	struct serdes_am654_mux_clk_data *data = dev_get_priv(clk->dev);
-	u32 val;
-	int i;
+	u32 val, mask = 0;
+	int i, j;
 
 	debug("%s(clk=%s, parent=%s)\n", __func__, clk->dev->name,
 	      parent->dev->name);
@@ -169,10 +169,16 @@ static int serdes_am654_mux_clk_set_parent(struct clk *clk, struct clk *parent)
 	if (i >= data->parents.count)
 		return -EINVAL;
 
+	for (j = 0; j < SERDES_NUM_CLOCKS; j++) {
+		if (mux_table[clk->id][j] != -1)
+			mask |= mux_table[clk->id][j];
+	}
+
+	mask <<= SERDES_CTL_CLK_SEL_SHIFT;
 	val = mux_table[clk->id][i];
 	val <<= SERDES_CTL_CLK_SEL_SHIFT;
 
-	regmap_update_bits(data->regmap, 0, SERDES_CTL_CLK_SEL_MASK, val);
+	regmap_update_bits(data->regmap, 0, mask, val);
 
 	return 0;
 }
Signature · 1 line
2.56.0
#2 lore raw

PATCH v3 2/7 pci: pcie_dw_ti: fetch num-lanes from the device-tree and use it

In reply to Siddharth Vadapalli

Currently, the PCI Controller is programmed in a '1 lane' configuration unconditionally. As an improvement, fetch the 'num-lanes' property from the device-tree and use the specified value. Fallback to the existing '1 lane' configuration in the absence of the 'num-lanes' device-tree property.

---
 drivers/pci/pcie_dw_ti.c | 6 ++++++
 1 file changed, 6 insertions(+)
drivers/pci/pcie_dw_ti.c +6 -0
index 37c295fdd38..fb39132f7c1 100644
@@ -58,6 +58,7 @@ struct pcie_dw_ti {
 	/* Must be first member of the struct */
 	struct pcie_dw dw;
 	void *app_base;
+	u32 num_lanes;
 };
 
 enum dw_pcie_device_mode {
@@ -278,6 +279,8 @@ static int pcie_dw_ti_probe(struct udevice *dev)
 	if (device_is_compatible(dev, "ti,am654-pcie-rc"))
 		pcie_am654_set_mode(pci, DW_PCIE_RC_TYPE);
 
+	dw_pcie_link_set_max_link_width(&pci->dw, pci->num_lanes);
+
 	if (!pcie_dw_ti_pcie_link_up(pci, LINK_SPEED_GEN_2)) {
 		printf("PCIE-%d: Link down\n", dev_seq(dev));
 		return -ENODEV;
@@ -332,6 +335,9 @@ static int pcie_dw_ti_of_to_plat(struct udevice *dev)
 	if ((fdt_addr_t)pcie->app_base == FDT_ADDR_T_NONE)
 		return -EINVAL;
 
+	/* Get the link-width (number of lanes) */
+	pcie->num_lanes = dev_read_u32_default(dev, "num-lanes", 1);
+
 	return 0;
 }
 
Signature · 1 line
2.56.0
#3 lore raw

PATCH v3 3/7 pci: pcie_dw_ti: fetch reset-gpios from the device-tree and use it

In reply to Siddharth Vadapalli

The 'reset-gpios' property specified in the device-tree corresponds to the PCI PERST# signal that is used to reset a PCI Endpoint. Since the on-board circuitry may not reset the PCI Endpoint, fetch the 'reset-gpios' device-tree property and toggle the GPIO line corresponding to the PERST# signal to enable the PCI Endpoint. In the absence of the 'reset-gpios' property in the device-tree, existing behavior is retained rather than returning an error.

---
 drivers/pci/pcie_dw_ti.c | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
drivers/pci/pcie_dw_ti.c +21 -0
index fb39132f7c1..ac2045991c2 100644
@@ -58,6 +58,7 @@ struct pcie_dw_ti {
 	/* Must be first member of the struct */
 	struct pcie_dw dw;
 	void *app_base;
+	struct gpio_desc rst_gpio;
 	u32 num_lanes;
 };
 
@@ -252,6 +253,17 @@ static int pcie_dw_ti_probe(struct udevice *dev)
 		return ret;
 	}
 
+	ret = gpio_request_by_name(dev, "reset-gpios", 0, &pci->rst_gpio,
+				   GPIOD_IS_OUT);
+	if (ret && ret != -ENOENT) {
+		dev_err(dev, "failed to get reset-gpios\n");
+		return ret;
+	}
+
+	/* Keep the reset-line asserted until the PCI Controller is ready */
+	if (dm_gpio_is_valid(&pci->rst_gpio))
+		dm_gpio_set_value(&pci->rst_gpio, 0);
+
 	ret = generic_phy_get_by_name(dev,  "pcie-phy0", &phy0);
 	if (ret) {
 		dev_err(dev, "Unable to get phy0");
@@ -281,6 +293,15 @@ static int pcie_dw_ti_probe(struct udevice *dev)
 
 	dw_pcie_link_set_max_link_width(&pci->dw, pci->num_lanes);
 
+	/*
+	 * The reset-gpio (PERST#) should be held deasserted for at-least 100 ms
+	 * before the link is brought up.
+	 */
+	if (dm_gpio_is_valid(&pci->rst_gpio)) {
+		dm_gpio_set_value(&pci->rst_gpio, 1);
+		mdelay(100);
+	}
+
 	if (!pcie_dw_ti_pcie_link_up(pci, LINK_SPEED_GEN_2)) {
 		printf("PCIE-%d: Link down\n", dev_seq(dev));
 		return -ENODEV;
Signature · 1 line
2.56.0
#4 lore raw

PATCH v3 4/7 board: ti: am65x: evm: add support for SPL to update U-Boot device-tree

In reply to Siddharth Vadapalli

Since the device-tree description of the peripherals contained on daughtercards that can be mounted on the base-board is present in the device-tree overlays for the respective daughtercards, in order to utilize the functionality offered by the daughtercards, it is necessary to have the device-tree overlay applied for the current stage bootloader by the previous stage bootloader.

Two such use-cases are that of the PCI x2 Lane + USB 2.0 daughtercard and the PCI x1 Lane + USB 3.0 daughtercard which provide PCI and USB functionality. For U-Boot proper to detect and use them, SPL has to update U-Boot proper's device-tree by applying the corresponding device-tree overlay at runtime.

Hence, add support for this.

---
 board/ti/am65x/evm.c | 76 ++++++++++++++++++++++++++++++++++++++++----
 1 file changed, 69 insertions(+), 7 deletions(-)
board/ti/am65x/evm.c +69 -7
index b35a9229033..1ee7ce5e30f 100644
@@ -126,6 +126,14 @@ static int init_daughtercard_det_gpio(char *gpio_name, struct gpio_desc *desc)
 	return dm_gpio_set_dir_flags(desc, GPIOD_IS_IN);
 }
 
+#ifdef CONFIG_XPL_BUILD
+/*
+ * Populated by probe_daughtercards() in SPL and used by
+ * board_spl_fit_append_fdt_skip().
+ */
+static char spl_detected_overlays[1024];
+#endif
+
 static int probe_daughtercards(void)
 {
 	struct ti_am6_eeprom ep;
@@ -133,8 +141,7 @@ static int probe_daughtercards(void)
 	char mac_addr[DAUGHTER_CARD_NO_OF_MAC_ADDR][TI_EEPROM_HDR_ETH_ALEN];
 	u8 mac_addr_cnt;
 	char name_overlays[1024] = { 0 };
-	int i, j;
-	int ret;
+	int ret, i;
 
 	/*
 	 * Daughter card presence detection signal name to GPIO (via I2C I/O
@@ -242,9 +249,10 @@ static int probe_daughtercards(void)
 		 * Populate any MAC addresses from daughtercard into the U-Boot
 		 * environment, starting with a card-specific offset so we can
 		 * have multiple cards contribute to the MAC pool in a well-
-		 * defined manner.
+		 * defined manner. Not applicable to SPL.
 		 */
-		for (j = 0; j < mac_addr_cnt; j++) {
+#ifndef CONFIG_XPL_BUILD
+		for (int j = 0; j < mac_addr_cnt; j++) {
 			if (!is_valid_ethaddr((u8 *)mac_addr[j]))
 				continue;
 
@@ -252,6 +260,7 @@ static int probe_daughtercards(void)
 						      cards[i].eth_offset + j,
 						      (uchar *)mac_addr[j]);
 		}
+#endif
 
 		/*
 		 * It has been observed that setting SERDES0 lane mux to USB prevents USB
@@ -283,13 +292,66 @@ static int probe_daughtercards(void)
 		strcat(name_overlays, " ");
 	}
 
+	if (!strlen(name_overlays))
+		return 0;
+
+#ifdef CONFIG_XPL_BUILD
+	/* Store for board_spl_fit_append_fdt_skip() */
+	strlcpy(spl_detected_overlays, name_overlays,
+		sizeof(spl_detected_overlays));
+	return 0;
+#else
 	/* Apply device tree overlay(s) to the U-Boot environment, if any */
-	if (strlen(name_overlays))
-		return env_set("name_overlays", name_overlays);
+	return env_set("name_overlays", name_overlays);
+#endif
+}
+
+#ifdef CONFIG_XPL_BUILD
+void spl_board_init(void)
+{
+	/*
+	 * Detect daughtercards to allow board_spl_fit_append_fdt_skip()
+	 * to apply the overlays to U-Boot FIT image itself, allowing
+	 * U-Boot proper to enable and use the peripherals on the
+	 * daughtercards.
+	 */
+	probe_daughtercards();
+}
+
+/*
+ * Mapping between FDTs in binman.dtsi and their corresponding Device-Tree
+ * overlays. Depending on the daughtercards detected, we conditionally
+ * apply the device-tree overlay's fdt if it is packaged.
+ */
+static const struct {
+	const char *fit_node;
+	const char *dtbo_name;
+} spl_fit_overlay_map[] = {
+	{ "fdt-am654-pcie-usb2", "k3-am654-pcie-usb2.dtbo" },
+	{ "fdt-am654-pcie-usb3", "k3-am654-pcie-usb3.dtbo" },
+};
+
+int board_spl_fit_append_fdt_skip(const char *name)
+{
+	int i;
 
+	/*
+	 * For the overlays to be 'conditionally' applied, return 0 to apply them
+	 * if the daughtercard corresponding to them was detected and return 1
+	 * otherwise to skip applying the overlay.
+	 */
+	for (i = 0; i < ARRAY_SIZE(spl_fit_overlay_map); i++) {
+		if (!strcmp(name, spl_fit_overlay_map[i].fit_node))
+			return strstr(spl_detected_overlays,
+				      spl_fit_overlay_map[i].dtbo_name) ? 0 : 1;
+	}
+
+	/* Any overlay not in the list of 'conditional' overlays is always applied */
 	return 0;
 }
-#endif
+#endif /* CONFIG_XPL_BUILD */
+
+#endif /* CONFIG_TI_I2C_BOARD_DETECT */
 
 int board_late_init(void)
 {
Signature · 1 line
2.56.0
#5 lore raw

PATCH v3 5/7 arm: dts: k3-am65x-binman: package overlay for PCI-USB2 daughtercard

In reply to Siddharth Vadapalli

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.

---
 arch/arm/dts/k3-am65x-binman.dtsi | 35 +++++++++++++++++++++++++++++--
 1 file changed, 33 insertions(+), 2 deletions(-)
arch/arm/dts/k3-am65x-binman.dtsi +33 -2
index cc82c8b5768..47b0986e65c 100644
@@ -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";
 				};
 			};
 		};
Signature · 1 line
2.56.0
#6 lore raw

PATCH v3 6/7 arm: dts: k3-am654: add bootph-all to gpio@38 for daughtercard detection

In reply to Siddharth Vadapalli

The GPIO Pin 38 accessible via WKUP I2C0 is used to detect the daughtercards mounted on the AM654 Base Board. For the daughtercards to be detected at the SPL stage, add 'bootph-all' property to gpio@38. This is required for the PCI-USB2 daughtercard to be detected at the A53 SPL stage followed by A53 SPL updating A53 U-Boot's device-tree by applying the device-tree overlay corresponding to the PCI-USB2 daughtercard.

---
 arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
arch/arm/dts/k3-am654-base-board-u-boot.dtsi +3 -1
index baf5dd562f9..9e5f4b6da10 100644
@@ -146,7 +146,9 @@
 };
 
 &wkup_i2c0 {
-	bootph-all;
+	gpio@38 {
+		bootph-all;
+	};
 };
 
 &vdd_mpu {
Signature · 1 line
2.56.0
#7 lore raw

Re: [PATCH v3 6/7] arm: dts: k3-am654: add bootph-all to gpio@38 for daughtercard detection

Quoted 11 lines · Siddharth Vadapalli

The GPIO Pin 38 accessible via WKUP I2C0 is used to detect the daughtercards mounted on the AM654 Base Board. For the daughtercards to be detected at the SPL stage, add 'bootph-all' property to gpio@38. This is required for the PCI-USB2 daughtercard to be detected at the A53 SPL stage followed by A53 SPL updating A53 U-Boot's device-tree by applying the device-tree overlay corresponding to the PCI-USB2 daughtercard.

---
 arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

What's the status of upstreaming all the bootph parts of this file? Thanks.

Signature · 1 line
Tom
#8 lore raw

Re: [PATCH v3 6/7] arm: dts: k3-am654: add bootph-all to gpio@38 for daughtercard detection

Quoted 9 lines · Tom Rini
Quoted 7 lines · Siddharth Vadapalli

The GPIO Pin 38 accessible via WKUP I2C0 is used to detect the daughtercards mounted on the AM654 Base Board. For the daughtercards to be detected at the SPL stage, add 'bootph-all' property to gpio@38. This is required for the PCI-USB2 daughtercard to be detected at the A53 SPL stage followed by A53 SPL updating A53 U-Boot's device-tree by applying the device-tree overlay corresponding to the PCI-USB2 daughtercard.

Quoted 6 lines
Quoted 4 lines
---
  arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 4 +++-
  1 file changed, 3 insertions(+), 1 deletion(-)

What's the status of upstreaming all the bootph parts of this file?

I shall post the patch for having bootph-all added to the GPIO@38 node to Linux Device-Tree mailing list shortly and will get back with the status here.

For the remaining nodes, I will check internally and get back regarding the latest status.

Regards,
Siddharth.

#9 lore raw

Re: [PATCH v3 6/7] arm: dts: k3-am654: add bootph-all to gpio@38 for daughtercard detection

Quoted 10 lines · Siddharth Vadapalli
Quoted 9 lines · Tom Rini
Quoted 7 lines · Siddharth Vadapalli

The GPIO Pin 38 accessible via WKUP I2C0 is used to detect the daughtercards mounted on the AM654 Base Board. For the daughtercards to be detected at the SPL stage, add 'bootph-all' property to gpio@38. This is required for the PCI-USB2 daughtercard to be detected at the A53 SPL stage followed by A53 SPL updating A53 U-Boot's device-tree by applying the device-tree overlay corresponding to the PCI-USB2 daughtercard.

Quoted 8 lines
Quoted 6 lines
Quoted 4 lines

---
  arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 4 +++-

  1 file changed, 3 insertions(+), 1 deletion(-)

What's the status of upstreaming all the bootph parts of this file?

I shall post the patch for having bootph-all added to the GPIO@38 node to Linux Device-Tree mailing list shortly and will get back with the status here.

I have posted the patch to the Linux Device-Tree mailing list at:
https://lore.kernel.org/r/[email protected]
and will follow up to get it merged to Linux.

Regards,
Siddharth.

#10 lore raw

Re: [PATCH v3 6/7] arm: dts: k3-am654: add bootph-all to gpio@38 for daughtercard detection

Quoted 18 lines · Siddharth Vadapalli
Quoted 17 lines · Siddharth Vadapalli
Quoted 15 lines · Tom Rini
Quoted 11 lines · Siddharth Vadapalli

The GPIO Pin 38 accessible via WKUP I2C0 is used to detect the daughtercards mounted on the AM654 Base Board. For the daughtercards to be detected at the SPL stage, add 'bootph-all' property to gpio@38. This is required for the PCI-USB2 daughtercard to be detected at the A53 SPL stage followed by A53 SPL updating A53 U-Boot's device-tree by applying the device-tree overlay corresponding to the PCI-USB2 daughtercard.

---
  arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 4 +++-

  1 file changed, 3 insertions(+), 1 deletion(-)

What's the status of upstreaming all the bootph parts of this file?

Quoted 7 lines
Quoted 3 lines

I shall post the patch for having bootph-all added to the GPIO@38 node to Linux Device-Tree mailing list shortly and will get back with the status here.

I have posted the patch to the Linux Device-Tree mailing list at:
https://lore.kernel.org/r/[email protected]
and will follow up to get it merged to Linux.

Thanks.

Signature · 1 line
Tom
#11 lore raw

PATCH v3 7/7 configs: am65x_evm_a53_defconfig: enable support for PCI-USB2 daughtercard

In reply to Siddharth Vadapalli

The PCI-USB2 daughtercard can be mounted on the AM654 Base-Board (EVM) to enable PCI x2 Lane and USB2.0 functionality. Adding support for this involves:
1. Detecting the daughtercard at A53 SPL stage
=> CONFIG_SPL_BOARD_INIT (to probe daughtercards)
2. Packaging the device-tree overlay for A53 SPL to modify U-Boot proper's device-tree at runtime
=> CONFIG_OF_OVERLAY_LIST (updated to include k3-am654-pcie-usb2")
3. GPIO support at A53 SPL stage for detecting the daughtercard using GPIO pin 38 on WKUP I2C0
=> CONFIG_SPL_GPIO
=> CONFIG_SPL_DM_GPIO
=> CONFIG_SPL_DM_PCA953X

---
 configs/am65x_evm_a53_defconfig | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
configs/am65x_evm_a53_defconfig +5 -1
index 5878816f63b..036efbb0e35 100644
@@ -11,6 +11,8 @@ CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x80480000
 CONFIG_ENV_SIZE=0x20000
 CONFIG_ENV_OFFSET=0x680000
 CONFIG_DM_GPIO=y
+CONFIG_SPL_GPIO=y
+CONFIG_SPL_DM_GPIO=y
 CONFIG_SPL_DM_SPI=y
 CONFIG_DEFAULT_DEVICE_TREE="ti/k3-am654-base-board"
 CONFIG_DM_RESET=y
@@ -31,6 +33,7 @@ CONFIG_SPL_SPI=y
 CONFIG_PCI=y
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL_LOAD_FIT_APPLY_OVERLAY=y
+CONFIG_SPL_BOARD_INIT=y
 CONFIG_BOOTSTD_FULL=y
 CONFIG_BOOTSTD_BOOTCOMMAND=y
 CONFIG_DISTRO_DEFAULTS=y
@@ -64,7 +67,7 @@ CONFIG_CMD_UBI=y
 # CONFIG_ISO_PARTITION is not set
 CONFIG_OF_CONTROL=y
 CONFIG_SPL_OF_CONTROL=y
-CONFIG_OF_OVERLAY_LIST="ti/k3-am654-icssg2"
+CONFIG_OF_OVERLAY_LIST="ti/k3-am654-icssg2 ti/k3-am654-pcie-usb2"
 CONFIG_SPL_MULTI_DTB_FIT=y
 CONFIG_SPL_MULTI_DTB_FIT_NO_COMPRESSION=y
 CONFIG_ENV_OVERWRITE=y
@@ -89,6 +92,7 @@ CONFIG_TI_K3_NAVSS_UDMA=y
 CONFIG_TI_SCI_PROTOCOL=y
 CONFIG_DA8XX_GPIO=y
 CONFIG_DM_PCA953X=y
+CONFIG_SPL_DM_PCA953X=y
 CONFIG_DM_I2C=y
 CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
 CONFIG_DM_I2C_GPIO=y
Signature · 1 line
2.56.0