[PATCH linux dev-4.10] ARM: aspeed: romulus: Add reset tolerance for power GPIOs
Andrew Jeffery
andrew at aj.id.au
Tue Oct 31 10:58:12 AEDT 2017
On Mon, 2017-10-30 at 17:20 +0800, Lei YU wrote:
> This is a similar change as Witherspoon, that enables the host to stay
> up across BMC reboots.
>
> Signed-off-by: Lei YU <mine260309 at gmail.com>
> ---
> arch/arm/mach-aspeed/aspeed.c | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/arch/arm/mach-aspeed/aspeed.c b/arch/arm/mach-aspeed/aspeed.c
> index c84c871..5965bbf 100644
> --- a/arch/arm/mach-aspeed/aspeed.c
> +++ b/arch/arm/mach-aspeed/aspeed.c
> @@ -196,7 +196,17 @@ static void __init do_witherspoon_setup(void)
>
> static void __init do_romulus_setup(void)
> {
> + unsigned long reg;
> +
> do_common_setup();
> +
> + /* Reset tolerance for BMC_POWER_UP (GPIOD1) */
> + reg = readl(AST_IO(AST_BASE_GPIO | 0x01c));
> + writel(reg | BIT(25), AST_IO(AST_BASE_GPIO | 0x01c));
> +
> + /* Reset tolerance for SOFTWARE_PGOOD (GPIOR1) and SEQ_CONT (GPIOS7) */
What is SEQ_CONT? I'd guess at "power sequence continue". GPIOS7 doesn't have
an associated net name in the schematic I have for Romulus, though it's pulled
up to 3.3V. Maybe my schematic is out of date?
Cheers,
Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20171031/25d3c4a4/attachment.sig>
More information about the openbmc
mailing list