This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM62A3-Q1: Unable to boot custom Hardware

Part Number: AM62A3-Q1
Other Parts Discussed in Thread: AM62A3

Tool/software:

Hello TI,
  I am trying to boot up my custom hardware, with AM62A3 processor but unable to get the MMC1_CLK (E22). also unable to get vddshv5  and vpp_1v8 supply. 
The only difference between my custom hardware and the evm board(AM62A Starter Kit) is that i am using B19 pin as a gpio for SD-CARD Load Switch enable. That is instead of mapping MMC1_SD_EN pin to the IO expander, we have mapped it to the B19 pin. Attaching the part of Device tree configurations for your reference.

 &sdhci1 {
	 /* SD/MMC */
	 status = "okay";
	 vmmc-supply = <&vdd_mmc1>;
	 vqmmc-supply = <&vddshv_sdio>;
	 pinctrl-names = "default";
	 pinctrl-0 = <&main_mmc1_pins_default>; 
	 ti,driver-strength-ohm = <50>;
	 disable-wp;
 };
	 vdd_mmc1: regulator-3 {
		 /* TPS22918DBVR */
		 compatible = "regulator-fixed";
		 regulator-name = "vdd_mmc1";
		 regulator-min-microvolt = <3300000>;
		 regulator-max-microvolt = <3300000>;
		 regulator-boot-on;
		 enable-active-high;
		 pinctrl-names = "default";
		 pinctrl-0 = <&gpio_3v3_pins_default>; 
		/* gpio = <&exp1 3 GPIO_ACTIVE_HIGH>; -  orginal */
		 gpio = <&main_gpio1 8 GPIO_ACTIVE_HIGH>; // Changes done
	 };
 
 
 &main_pmx0 {
	gpio_3v3_pins_default: gpio_3v3-default-pins {

		pinctrl-single,pins = <
		 	AM62AX_IOPAD(0x0198, PIN_OUTPUT, 7) /* (B19) MCASP0_AXR2.GPIO1_8  //INPUT */
		>;
	};
	}


Thanks & Regards,
Monica Sharma

  • Hello Monica,

    Could you specify if the DTS changes mentioned above are done in U-boot dts file or Kernel dts?

    Meanwhile, I will loop in our hardware expert to look at the hardware level configuration for custom board.

    Regards,
    Aparna

  • Hello Aparna,

        The changes are done in the kernel dts file k3-am6a7-sk.dts. I also tried the same changes for u-boot device tree

  • The IO cell associated with pin B19 is turned off by default, which is the same behavior as the IO expansion device. This signal is pulled high to enable power to the SD Card as soon as power is applied and the AM62Ax device is released from reset. There should not be any hardware issue with moving the SD-CARD Load Switch enable signal from the IO expansion device to a GPIO on the AM62Ax device as long as the pull is still present and the software controlling the enable is changed to use a AM62Ax GPIO rather than the I2C IO expansion device.

    The SD Card power should be applied as soon as the AM62Ax device is released from reset if this was the only change. If not, you need to debug your power circuit to understand why it is not turning on.

    Regards,
    Paul