diff options
author | Thang Q. Nguyen <thang@os.amperecomputing.com> | 2021-09-23 09:47:52 +0300 |
---|---|---|
committer | Thang Q. Nguyen <thang@os.amperecomputing.com> | 2021-09-23 10:25:43 +0300 |
commit | 7d0f84a633d674313354852ddbecf888c8e47226 (patch) | |
tree | 6e41391697002863073b49c7b984cbbd05048d71 /meta-wistron | |
parent | f68eae164d56f453c2ef767118f7cbed74a412b4 (diff) | |
download | openbmc-7d0f84a633d674313354852ddbecf888c8e47226.tar.xz |
meta-ampere: mtjade: initialize GPIOs
Several GPIOs should be configured properly when booting BMC. Currently,
these GPIOs are configured in u-boot. However, some must be configured
in Linux. For example, the BMC_READY GPIO should be set only after BMC
is ready to work.
This commit introduce platform-init service which starts after BMC boots
to configure GPIOs pins required by hardware design.
Tested:
1. Do A/C power, check GPIO227 is set to 0.
2. Reboot BMC, check GPIO227 is set to 0.
3. Run gpioinfo and check GPIO directions
Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com>
Change-Id: Ie0cfe171659ad740c6a25297f2fcce259870d43d
Diffstat (limited to 'meta-wistron')
0 files changed, 0 insertions, 0 deletions