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.

[参考译文] AM6442:重新启动期间的 GPIO 复位

Guru**** 2328790 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1515658/am6442-gpio-reset-during-reboot

器件型号:AM6442

工具/软件:

Hallo、

是否可以防止重新设置 GPIO 引脚。  

我们将一个 GPIO 配置为 gpio-hog 并将其设置为高电平:

main_gpio0_pins_default: main-gpio0-pins-default {
...
	    AM64X_IOPAD(0x00d8, PIN_OUTPUT, 7) /* (W13) PRG1_PRU0_GPO8.GPIO0_53 */
...
}

&main_gpio0 {
	pinctrl-names = "default";
	pinctrl-0 = <&main_gpio0_pins_default>;
	
	    ...

		nReset {
			gpio-hog;
			gpios = <53 0>;
			output-high;
		};
};

此引脚在重新启动期间设置为低电平。 但我们想保持高电平。 有可能吗?

我已经在 u-boot 中检查了 GPIO、但它没有在这里使用。

此致、
Artur