From patchwork Sun May 29 11:12:03 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlo Caione X-Patchwork-Id: 9139747 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7CA5A60221 for ; Sun, 29 May 2016 11:14:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6BD5520410 for ; Sun, 29 May 2016 11:14:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5D64A2796F; Sun, 29 May 2016 11:14:54 +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=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1780720410 for ; Sun, 29 May 2016 11:14:54 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1b6yeZ-0006VW-FZ; Sun, 29 May 2016 11:13:07 +0000 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1b6yeG-0006RK-6o; Sun, 29 May 2016 11:12:50 +0000 Received: by mail-wm0-x241.google.com with SMTP id a136so13800308wme.0; Sun, 29 May 2016 04:12:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=tlO7b9nh2EmxvgoJlp5EtlIK80RYawPLuKeh2iDaaSQ=; b=P1SdHSP3u7FhzwuY1izvsfYRhLwfNlOdTfu3U25rT4tLt6d6WcGfV5JSummAhyIS7A Ziytp011856L1Wt7qId0Ul1s/KwWCU+IKzz5lpDKZS3DuLjl/de4WAAOTUT66A9GQCmY umBY5Q0lYd6jBjBezoKcpgBkrXlmIALbbuz3vQT4Su6mKNmB9WT3++NfDgZRSquVPKe0 HgQm47TiKjhIx9OpkCmXh4iIZFpUCEga0sWE7aILl1h9+Jl2eBd3C2iCPmXJGqOBlVjT Yq1kUKeZgHOiCdn+X2IxkyGTGFByVw6zi4AkGPeLan+e9UojCKA7Vhi25WgMny6J0TF9 5IuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=tlO7b9nh2EmxvgoJlp5EtlIK80RYawPLuKeh2iDaaSQ=; b=aMFHe0+LT/8aHy/Z4petzlKP0feTjeHxgFegmsHvFJADFD5qKNclJvIN9lQYX0OvSy b8vyl8p7TmJ8BKneaYvnG5AStdGr05+veRqA/mQl/X7BI1kAbZ1PvGZpffZYXFFjH+ri VOrA12SiFXd4H3CytXglUWnZ9Y74D5IfQCQQ5vckhiSOyCz+g+RO/f5TzeERs/mN0bUh KJ9ARM16D8+7DmaZDQtAgHjvXS3Ta0uvtpdsiaCpBshp6FmiCockGvABbOSu7orxhs/9 2/SM096q/JCmmQ6I1snFhE53/b1HGNxAd1gXs/Mdo2KS3mqWq2qJgEquP0hjCbGgtYRj 0s8w== X-Gm-Message-State: ALyK8tLUPxFNM7B6skJWWrzc0FOVE6agnnqne35bnvZYOIkl7WsfKmBqQg8VslmZlCHJyw== X-Received: by 10.28.113.67 with SMTP id m64mr6688814wmc.3.1464520347898; Sun, 29 May 2016 04:12:27 -0700 (PDT) Received: from localhost.localdomain (2-238-57-164.ip242.fastwebnet.it. [2.238.57.164]) by smtp.gmail.com with ESMTPSA id h2sm6107095wjv.15.2016.05.29.04.12.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 29 May 2016 04:12:27 -0700 (PDT) From: Carlo Caione To: linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux@endlessm.com, devicetree@vger.kernel.org, khilman@baylibre.com, mark.rutland@arm.com, robh+dt@kernel.org, matthias.bgg@gmail.com, narmstrong@baylibre.com Subject: [PATCH v5 3/3] ARM64: dts: amlogic: gxbb: Enable secure monitor Date: Sun, 29 May 2016 13:12:03 +0200 Message-Id: <1464520323-19531-4-git-send-email-carlo@caione.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1464520323-19531-1-git-send-email-carlo@caione.org> References: <1464520323-19531-1-git-send-email-carlo@caione.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160529_041248_407179_82F5FD0C X-CRM114-Status: UNSURE ( 8.37 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Carlo Caione MIME-Version: 1.0 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 From: Carlo Caione Add the secure monitor node in the Amlogic Meson GXBB DTSI file to enable it. Signed-off-by: Carlo Caione --- arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi index 76b3b6d..a453bbf 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi @@ -98,6 +98,14 @@ method = "smc"; }; + firmware { + compatible = "simple-bus"; + + sm: secure-monitor { + compatible = "amlogic,meson-gxbb-sm"; + }; + }; + timer { compatible = "arm,armv8-timer"; interrupts =