From patchwork Thu Mar 7 15:13:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 10843101 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C984A922 for ; Thu, 7 Mar 2019 15:14:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B420C28B26 for ; Thu, 7 Mar 2019 15:14:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A838528E91; Thu, 7 Mar 2019 15:14:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 546DD28B26 for ; Thu, 7 Mar 2019 15:14:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=1YtLvNlgu4+0lG6RznOiv36Wz16cIA6htfN2+lSS/SA=; b=kSu0CBybcwFdoN SR3s95fgq7/3beL6NZi16+C6Kt9Cd8/x+Swg8wYvhkDIsatqmq0mTsaaY7bvIaEA/QqVdtzmU1VJ6 x/diO5UdARyCnmVN/S0k8B45xWtWXzlwc1NkVpOJw3AOUkuh2lp8G28vXt+fu+UVfZEOwEmAeUD/l +pxAMs1NJ0f1LgoI9y0BYoRfck88rg8AMwUSLl5OGVVuKxFUO2Wnsf0xqtPoOr0gGTP7lFpkEpJYG KqCNi7COLNAv6nGjPp+9OfPtw1DMCTji9b2PMmnkqctPkZ8Lam89ybP4DW0phU1j1jgJsaYYKN/+V tSun3H8HBzNLa1ZRpxRg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h1uis-00041D-Us; Thu, 07 Mar 2019 15:14:14 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h1uiR-0003QA-53 for linux-arm-kernel@lists.infradead.org; Thu, 07 Mar 2019 15:13:49 +0000 Received: by mail-wr1-x441.google.com with SMTP id t18so17871270wrx.2 for ; Thu, 07 Mar 2019 07:13:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=GBFRZsUQw0bBZQL90PNVj3Jv0ULoLY5X2nGjMgBmdvc=; b=ty2zUG67x5jO05y7afpZl98SU7hXHheLhviOFxtAB/sADi7zTrPmb51U/ABPKRYMxW LlkYKH5qCtVHihrEFPYVGN5fvdAU0Sm5kb0rhkHDGj9cmL7zH3vonzwnAlYypcRCwOOr fm/yGvk51YFIH4tmYp5pylRnVKDgigPoGYYbQ4OjShrS/s0ZJxUyF0ie1wiw8O1VMB/n MWfIMPHT++rbzEGgBEinHuim9uXOiEjSTAv50GfzaHrQGo1Pr2QIzVvsVqCCRoRT2p+/ xMGz0oFRvLpm9LXxmXfYaKZAHMK7KO/7+TST9/DA6kxjyKQ3dtfa3boLmZW+3JRD2ifE IBMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=GBFRZsUQw0bBZQL90PNVj3Jv0ULoLY5X2nGjMgBmdvc=; b=Y5NzQZDj36dnZxpBDLaqwGChM177TIw/56kEhoFvd0qSw6YJRTNhgbBchTcknHvKxA p2wLTTVpnSbwqGBOJBaZlTO7YGaZ3Y48a84XQ6aZ6VWlDOoV7cKH4n4vcDMjCYI60GkJ Utt/hNNr3R3y5noYMXBp8+vANBWc+dcCq4N5Ms0N+DbpHNu6IsOylIgy+WVZoBWvoKZj s4eDhtv1mFFX0ISY8ZoVXCfSuMsTgHQOhvUlFDRjss1gjzs+Prt5jWj3DfMVoKv8eaa+ jJiV9aIEuE3pGlca+9CBlvhLGLkwZTlhAfzG4WjLMxpagaZcPxaLwvEVbscwqlXQLMdt m2Fg== X-Gm-Message-State: APjAAAV1aLDKhdFU+FotXU/wwT+vV7PNoeBOVIRtg9AV9R3mGbomUepQ o+lzO1D8eimWq6lbg4r4CcZdwA== X-Google-Smtp-Source: APXvYqw5tHzPpQjgs5Cg5xx7q1ecOXwNxUk3p6vmcrlDy60aFeZmfHWt8vu60kclREdd6stK40h3Gg== X-Received: by 2002:adf:ce91:: with SMTP id r17mr6941861wrn.80.1551971625386; Thu, 07 Mar 2019 07:13:45 -0800 (PST) Received: from bender.baylibre.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id r15sm5756563wrt.37.2019.03.07.07.13.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Mar 2019 07:13:44 -0800 (PST) From: Neil Armstrong To: khilman@baylibre.com Subject: [PATCH 2/9] arm64: dts: meson: g12a: Add AO Secure node Date: Thu, 7 Mar 2019 16:13:34 +0100 Message-Id: <20190307151342.7381-3-narmstrong@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190307151342.7381-1-narmstrong@baylibre.com> References: <20190307151342.7381-1-narmstrong@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190307_071347_189792_EEF9CFA2 X-CRM114-Status: GOOD ( 11.68 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Neil Armstrong Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This adds the Always-On ao-secure system control registers node, which is used by the meson-gx-socinfo driver to detect the SoC IDs. Signed-off-by: Neil Armstrong Reviewed-by: Martin Blumenstingl --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi index 0eb5220da82c..f2fc0f654150 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi @@ -139,6 +139,12 @@ }; }; + sec_AO: ao-secure@140 { + compatible = "amlogic,meson-gx-ao-secure", "syscon"; + reg = <0x0 0x140 0x0 0x140>; + amlogic,has-chip-id; + }; + uart_AO: serial@3000 { compatible = "amlogic,meson-gx-uart", "amlogic,meson-ao-uart";