From patchwork Tue Jul 27 03:45:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 12401413 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT,WEIRD_QUOTING autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4A0A8C4338F for ; Tue, 27 Jul 2021 03:48:27 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0202361051 for ; Tue, 27 Jul 2021 03:48:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 0202361051 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=jms.id.au Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=9jODmfgk3Io6fG1HkXAOsUHWiclm2vncetyKTVRpxio=; b=CU4XNo8fZv4q0m ORCGVCGUUBL5qsW6NQrz+2VsOIvUNHvqRw2RBLrk9i+hW0hewY9Kftd1tbBaqv+tglDk0vEtCyRSY AigPyvAVCww6fdwVV5+USZCiofO9+rQp5fFLAsyKnBncbsSHl2wztGEJuT6fi0n/kKpemgjMVJt9w n2lP/66AxBmNNmVS8bF4Ox5JwNvsPCGC6YXOrWAjCY45dqih/N8/a//bbpuyEhUZ4QI2SKC6kyxev TE2Q88jMl553k2R8kg4oWNQ7nKricbVExbBXdCLXPg2bqSGyNArlVtSrreutsjnIaxFd+g00nhTtm 5xJtA8EIMw06oK/i8exw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m8E2I-00D3dB-7i; Tue, 27 Jul 2021 03:45:43 +0000 Received: from mail-pj1-x102b.google.com ([2607:f8b0:4864:20::102b]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m8E24-00D3c3-79 for linux-arm-kernel@lists.infradead.org; Tue, 27 Jul 2021 03:45:29 +0000 Received: by mail-pj1-x102b.google.com with SMTP id a4-20020a17090aa504b0290176a0d2b67aso2208351pjq.2 for ; Mon, 26 Jul 2021 20:45:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=B9hnvixYLx+Mbh/V+fqgD8k3DA6gCdWi2FOiiA5JvqE=; b=OgSvMsmZgcrP3TBJcm+NaGx2br6XhBjElKw6xhO1Yc7LAOBbjktS/EiiKVYTcngDz+ u2UQcHJlsQ5SsEe0YOqjD8KAkCbjZyM/nKpDB9LKqQQoiFhzc3OrPHvarC8FzLY/uMOh 60XJ7o9bGpS4aWOIumCTFxWToslAHk3ENEOrfdGD28yyBDEtKQkKRBudcoSmVu1Jdqfp IPltpNROkPLzvJXzpx+U25kbPIcSKwKnh7igo+K/MVtiNOk4jKRUDyAPFlSEaz/e3EKN ErzIMQDs9/eMRsU2A1vix9peZNchkdSZdv6iay/nxnXyhkKCYmIwrh1SV9IXgmhJl3J/ 2JWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=B9hnvixYLx+Mbh/V+fqgD8k3DA6gCdWi2FOiiA5JvqE=; b=d7F+3XIZ/WZuuMSE8rY00pQz55/2lbmlj/0QKdDs22Zq9mCP9M/z6WPqbhWnmQazxC jU/zkUM7yCgpDANO8UleZCX4P8U2G/cfhTvgWRWYEY7RLUnFIUaHo+7GD54wJQzSwxks T2hgm5mo2ThHlKa9ZPNXVRbJAvYVDbMdLLDTlGACYnykVz2UJFQBccmF9TUqjvNiM1yJ B1FWCTbILLjfXwR56kUOqYMVXqJWxiM3NtxZlYZQeyyytUGq4fV2XxAdEw7TJGR4Q4/A 3sJbcEHiXtp+K/wWtgRYUks9+zv0JxCmFtRH2+qzkCfcXESNfj1Ly0HS8D2SZemnAy+G i/yg== X-Gm-Message-State: AOAM53202QnzQSCOlWgyfmn4xMU6MY33EPSiNKiZoUu6NttqvN0lNQcw oeXBNnZxiWrY0hSIUohtdKo= X-Google-Smtp-Source: ABdhPJz58GGfBYcZ1L4gPOUQ8+TCxyFqNMgQ3k3rqU+QwphY7eptrOk/mDMVpHOHn1iQLqLr5JvicQ== X-Received: by 2002:a63:3601:: with SMTP id d1mr21192310pga.299.1627357527183; Mon, 26 Jul 2021 20:45:27 -0700 (PDT) Received: from localhost.localdomain ([45.124.203.18]) by smtp.gmail.com with ESMTPSA id n32sm1536391pfv.59.2021.07.26.20.45.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Jul 2021 20:45:26 -0700 (PDT) From: Joel Stanley To: openbmc@lists.ozlabs.org, andrew@aj.id.au Cc: linux-aspeed@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM: dts: aspeed: rainier, everest: Add secure boot GPIO Date: Tue, 27 Jul 2021 13:15:11 +0930 Message-Id: <20210727034511.474205-1-joel@jms.id.au> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210726_204528_335164_234AAB85 X-CRM114-Status: GOOD ( 12.16 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The secure boot enable GPIO is used to indicate that the secure boot jumper is set, which in these systems will make the key storage EEPROM read only, and indicates that the system should enforce boot security. The net in both systems is called SECURE_BOOT. Signed-off-by: Joel Stanley --- arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts | 2 +- arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts index 4536cd538af9..40efdba5f7cd 100644 --- a/arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts +++ b/arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts @@ -244,7 +244,7 @@ &gpio0 { "PIN_HOLE_RESET_OUT_N","","","","", /*G0-G7*/ "","","","","","","","", /*H0-H7*/ "led-rtc-battery","led-bmc","led-rear-enc-id0","led-rear-enc-fault0","","","","", - /*I0-I7*/ "","","","","","","","", + /*I0-I7*/ "","","","","","","secure-boot-enabled","", /*J0-J7*/ "","","","","","","","", /*K0-K7*/ "","","","","","","","", /*L0-L7*/ "","","","","","","","", diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts index 06b3d1573780..b41af45d8f8b 100644 --- a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts +++ b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts @@ -262,7 +262,7 @@ &gpio0 { /*F0-F7*/ "","","","","","","","", /*G0-G7*/ "","","","","","","","", /*H0-H7*/ "","bmc-ingraham0","rear-enc-id0","rear-enc-fault0","","","","", - /*I0-I7*/ "","","","","","","","", + /*I0-I7*/ "","","","","","","secure-boot-enabled","", /*J0-J7*/ "","","","","","","","", /*K0-K7*/ "","","","","","","","", /*L0-L7*/ "","","","","","","","",