From patchwork Mon May 2 03:16:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Packham X-Patchwork-Id: 1624947 X-Patchwork-Delegate: sr@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=fveemar+; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4Ks7YV50Fhz9s09 for ; Mon, 2 May 2022 13:17:00 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 58B33839BA; Mon, 2 May 2022 05:16:44 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="fveemar+"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 436FE83879; Mon, 2 May 2022 05:16:42 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mail-pg1-x52e.google.com (mail-pg1-x52e.google.com [IPv6:2607:f8b0:4864:20::52e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id A0457839BA for ; Mon, 2 May 2022 05:16:39 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=judge.packham@gmail.com Received: by mail-pg1-x52e.google.com with SMTP id x12so10772214pgj.7 for ; Sun, 01 May 2022 20:16:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=wlXdclW2Q57JjMRghAXVteRe8cLt4cyx3iBYNqK8/Fk=; b=fveemar+gpyqYfINnOosUB4q9OqA2k90SAqhkgpSW8wyan/6cKucqqJseU4WaYJWoJ qgct7V/UvkVYHGaclhA8EoSCIZ5rokyiquA1clfLkaVP1KFHsIyV8G0wHy7VDlJQ9DbA 036T3bx8G0QvatWmM5lLJLr2eXNRAP0nks0sDTdwZz7Y0zaFme+RsaSbF2gtPNwSJBDS Sy/z5msvjVpjuXg9zNb8G+Xp8n1CRpFiB0fDa8vc+UXWQZkZbCarWkJrMbNkl4aEQuVi WduHFMWIL5rtF7+Jn4b7WajZEXwEb/20JWMhMdyYwvMJuelW3dFdGjixZJBmv9Yxzc+4 eGHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=wlXdclW2Q57JjMRghAXVteRe8cLt4cyx3iBYNqK8/Fk=; b=Jb2h1KfPHZ/cpU3Xe9VnC4vb7APZJcWMJrX4lndHFDs8lt1EBkkQ8Yz3QXWB00W6/U +llPvh7uht/+pw9N5E+tCNqudSsSQPSPfdmHt08kLfh1JM0qqIMGLspdndt7NSGVFnk8 Q3JRGjwIgt2lc5GJnSMegjTgw8uF6yVQGqucB6hbAIWIyiyM0Tj8SzRSNuiqwuJjE+xv eMYdsMDpbzP56yFrpy1cnFPLdkHGu5YFyx8Y9Kwcg6Kr/2gu+qfkhNhIhxr6RZW07WND 6fjuxS7ZKjIMaLw1kLFL2pBqgF+k0+D6XDbSFIcifGAX+OBM3/ezgQW2CubeUZrrD/mU 6GKQ== X-Gm-Message-State: AOAM5308qrEsGnbuFpfkUW/mfflHkpQrEJ/hK900fAty02ZF1VWtCj3z 1hqd18fnugaxD/3n0ECopPipyHMAbIw= X-Google-Smtp-Source: ABdhPJzPO+mcmfomELzCFOVDVlAg1ZixUUmotxDuNbtqfD3AslrA4OEM2HcmqcmbDdBolOP/XKn0rQ== X-Received: by 2002:a62:33c2:0:b0:50d:a588:daab with SMTP id z185-20020a6233c2000000b0050da588daabmr9138074pfz.31.1651461397479; Sun, 01 May 2022 20:16:37 -0700 (PDT) Received: from chrisp-dl.atlnz.lc ([2001:df5:b000:22:a417:603e:3de0:d430]) by smtp.gmail.com with ESMTPSA id q26-20020a63505a000000b003aa8b87feb5sm10542990pgl.0.2022.05.01.20.16.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 May 2022 20:16:36 -0700 (PDT) From: Chris Packham To: u-boot@lists.denx.de Cc: Chris Packham , Chris Packham , Stefan Roese , Tom Rini Subject: [PATCH] ARM: mvebu: x530: set MPP55 to gpio Date: Mon, 2 May 2022 15:16:25 +1200 Message-Id: <20220502031625.1725916-1-judge.packham@gmail.com> X-Mailer: git-send-email 2.36.0 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean MPP55 is used as a reset connected to the L3 switch chip. This doesn't matter for u-boot as it doesn't use the L3 switch but it is useful to be able to toggle the switch in/out of reset for the OS. Signed-off-by: Chris Packham Reviewed-by: Stefan Roese --- I sent this out a while back but it was part of a series that has been dropped for the time being. There's not reason to hold this change up behind the other so I'm sending it as a standalong change. board/alliedtelesis/x530/x530.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/alliedtelesis/x530/x530.c b/board/alliedtelesis/x530/x530.c index c0ec2afa3011..cbf4533e78de 100644 --- a/board/alliedtelesis/x530/x530.c +++ b/board/alliedtelesis/x530/x530.c @@ -93,7 +93,7 @@ int board_early_init_f(void) writel(0x55550550, MVEBU_MPP_BASE + 0x0c); writel(0x55555555, MVEBU_MPP_BASE + 0x10); writel(0x00100565, MVEBU_MPP_BASE + 0x14); - writel(0x40000000, MVEBU_MPP_BASE + 0x18); + writel(0x00000000, MVEBU_MPP_BASE + 0x18); writel(0x00004444, MVEBU_MPP_BASE + 0x1c); return 0;