diff options
author | Chanh Nguyen <chanh@os.amperecomputing.com> | 2023-10-05 06:55:21 +0300 |
---|---|---|
committer | Joel Stanley <joel@jms.id.au> | 2023-10-13 07:29:03 +0300 |
commit | 1edcc7251f8b12eff3c4aff6d6c7fdf650ec7918 (patch) | |
tree | 6a427a2148436a94719b8078ced2ef1bc27d923d /arch/arm/boot/dts | |
parent | e71d1a92550a44e0dc29c2fb4c254e4959183719 (diff) | |
download | linux-1edcc7251f8b12eff3c4aff6d6c7fdf650ec7918.tar.xz |
ARM: dts: aspeed: mtjade: Add the gpio-hog
Add the GPIOR5 as a gpio-hog with output high so that can
power the OCP card once the BMC booting.
Add the GPIOAC5 as a gpio-hog with output high to notice
the BMC state.
Signed-off-by: Chanh Nguyen <chanh@os.amperecomputing.com>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20231005035525.19036-4-chanh@os.amperecomputing.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'arch/arm/boot/dts')
-rw-r--r-- | arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtjade.dts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtjade.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtjade.dts index c87be433bdd0..8ab5f301f926 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtjade.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtjade.dts @@ -805,4 +805,18 @@ output-high; line-name = "i2c4-o-en"; }; + + ocp-aux-pwren-hog { + gpio-hog; + gpios = <ASPEED_GPIO(R, 3) GPIO_ACTIVE_HIGH>; + output-high; + line-name = "ocp-aux-pwren"; + }; + + bmc-ready { + gpio-hog; + gpios = <ASPEED_GPIO(AC, 5) GPIO_ACTIVE_HIGH>; + output-high; + line-name = "bmc-ready"; + }; }; |