From patchwork Wed Nov 17 03:51:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 12692813 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1283FC433F5 for ; Wed, 17 Nov 2021 03:53:12 +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 CDF6961B30 for ; Wed, 17 Nov 2021 03:53:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org CDF6961B30 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:References:In-Reply-To: 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: List-Owner; bh=LnqolvbI0TIAy8XFsdMGhG/qZAyRL48ZQ/l+QFDZfqk=; b=rtWfL3ptfygXVS LJD/WUf93/zkLVsg00ethWfhmAgyKnOrmZI7//6kaqB9v7lekTQMFO93/9pfgnM6TXz9AZNd6sH/+ fHG0h9zISnUSQgmZwxi3oA63HtWVWOI/GfcTPRJ56F3DxfpoWvk1GgXJBSgYL5F8GAsHKHOop5sJV d4zj3spikunFMQzhf/ZhLw7EHtgZbXi9WU1FyKImyIJ7q7Ij76Qk6R3FiAAd8qccHKyM/V+PKo4YH 74vWyfA/AqT0nkvK6HQk34ZJV1J6LUxrypw/6FYTm4uhrMVQNE2tenNTizZzrIgqRnts5iVfNO5jZ KVvqPw23xgqtIwzY9Apw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mnBz7-003FKY-Up; Wed, 17 Nov 2021 03:51:46 +0000 Received: from mail-pj1-x1033.google.com ([2607:f8b0:4864:20::1033]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mnByk-003F8o-VT for linux-arm-kernel@lists.infradead.org; Wed, 17 Nov 2021 03:51:24 +0000 Received: by mail-pj1-x1033.google.com with SMTP id gt5so1200741pjb.1 for ; Tue, 16 Nov 2021 19:51:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=tIhZG+CbbMmgzuL06GZqXJZNzmxGG5DYaNDz94CFpeY=; b=RmBFqPTIMkFmrsaBO+0iCxe94FYp5PQsfcdYHGedbuSIithhbmP8MeUQ8nKHXBye1Q hHS6QUzwtBLvjNwgPywRNR4JzDISdb38yBokfzlP4Izsc4DzDA3RPLNSM2mQt7p6xKff 2CaOI4x882fDDE5uxOxJsKqHZwwMHOW9Le9rHDTSmwSf19s0sXj53cayzuFFC2fsqyAw imYMl2m+He/T4/gxK09SsTxAvhu/SZ9C2wRGV8dM+ZWA83GmpEIMbsy5lhAsjVjrjNw9 MjJ3pf1KwY5m7nX5Cz1DPzVcDqnjiafBpNdY/4YWUvsY5iUKLsODCiFn+ONSK60sHCyr MH9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=tIhZG+CbbMmgzuL06GZqXJZNzmxGG5DYaNDz94CFpeY=; b=D9yHh/eO4fSrlTIRjFIpr0sKbJvZLJP1TEotTQms1nlxrTnwhGCkM+2tY6JmKu9mbl VbP8NqJRvDE4AZJjQwPhan4pWbUWxofERaoPpu9Weui1T16479xIACVF9w3Mi4Cq2s+G 7SuLrJZ/iRS442ecRQ9GL3Zoj43IPAiaXRjeJrwIq1EpJHox08NN+W0PovFiQyr4YQ29 hWfmDDiDr6ZjN/YuAcNvjKZIw+xcvsF/gIuj7MgLzbmdZG0mFvhNEvD/H1D+kXoSYBnL 2LuN6gLl0ZlhnvQDuvOd2CdTcOpALwQK8Dcb6Ki2nCrK72NnHWgR8pZCrdPhIZHMDgwp HLGg== X-Gm-Message-State: AOAM531WW8z7DCTvtP1/p6s5QL9zZiEZASXGA6OQP9qbk47HYIldxa9i SrWt8hamQs7sfmUOwTDmpZ4= X-Google-Smtp-Source: ABdhPJzEbj9ggqVmPebbmGB6+qsREhi30XIsiNVa2iPnIOqFNcysnM/GBHI7tl2kQnNqYPUCMNll2Q== X-Received: by 2002:a17:90a:690d:: with SMTP id r13mr5509019pjj.40.1637121082351; Tue, 16 Nov 2021 19:51:22 -0800 (PST) Received: from voyager.guest.fluxperth.local (210-10-213-150.per.static-ipl.aapt.com.au. [210.10.213.150]) by smtp.gmail.com with ESMTPSA id c15sm3671339pjg.53.2021.11.16.19.51.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Nov 2021 19:51:21 -0800 (PST) From: Joel Stanley To: Andrew Jeffery , Rob Herring Cc: Ryan Chen , Paul Menzel , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org Subject: [PATCH 1/3] dt-bindings: aspeed: Add Secure Boot Controller bindings Date: Wed, 17 Nov 2021 11:51:04 +0800 Message-Id: <20211117035106.321454-2-joel@jms.id.au> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211117035106.321454-1-joel@jms.id.au> References: <20211117035106.321454-1-joel@jms.id.au> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211116_195123_046048_6DA856AB X-CRM114-Status: GOOD ( 12.37 ) 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 controller was first introduced in the AST2600. Signed-off-by: Joel Stanley Reviewed-by: Rob Herring --- .../bindings/arm/aspeed/aspeed,sbc.yaml | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/aspeed/aspeed,sbc.yaml diff --git a/Documentation/devicetree/bindings/arm/aspeed/aspeed,sbc.yaml b/Documentation/devicetree/bindings/arm/aspeed/aspeed,sbc.yaml new file mode 100644 index 000000000000..c72aab706484 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/aspeed/aspeed,sbc.yaml @@ -0,0 +1,37 @@ +# SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) +# Copyright 2021 Joel Stanley, IBM Corp. +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/arm/aspeed/aspeed,sbc.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: ASPEED Secure Boot Controller + +maintainers: + - Joel Stanley + - Andrew Jeffery + +description: | + The ASPEED SoCs have a register bank for interacting with the secure boot + controller. + +properties: + compatible: + items: + - const: aspeed,ast2600-sbc + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + sbc: secure-boot-controller@1e6f2000 { + compatible = "aspeed,ast2600-sbc"; + reg = <0x1e6f2000 0x1000>; + };