From patchwork Mon May 23 16:30:23 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlo Caione X-Patchwork-Id: 9132147 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 A7B78607D3 for ; Mon, 23 May 2016 16:33:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9E23D28238 for ; Mon, 23 May 2016 16:33:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 92D2E2823D; Mon, 23 May 2016 16:33:41 +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 5B37728238 for ; Mon, 23 May 2016 16:33:41 +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 1b4smI-0003xi-8E; Mon, 23 May 2016 16:32:26 +0000 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1b4sm0-0003dJ-H8; Mon, 23 May 2016 16:32:11 +0000 Received: by mail-wm0-x244.google.com with SMTP id 67so16729496wmg.0; Mon, 23 May 2016 09:31:49 -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=o676jNM9Tox75ze+1DjeJahXGNE4/F70l/D7GDcL9c8=; b=jXpz1mB2ui7RHeqaFHAYTwidyzEmWfl+s0I9Wv5ErjlsLigxl3EvVC/Procf09/Rq9 DKOFXnzLL/qLAogXaQbn9E5A1xKPTKTLQE3vyEXgZXovnRpbbxs3LzUAYH+VAXOMBedE hGcjr9OC8qiDdL0Ve6v5sCIulo9MCxeKoVH0NwK5mg4dfmNxUfl9XnmcBVHcKMU2VbLp /+Wfq3mP/k+YaOS+cQ1wfpkr2/uh80cF4c+6JJov50371e3QRY4n2q3/LPT1XoXHPQEV TBIjqtVD5fxkrmjT1DFVGsRmOzaYdZXCCLUtVo0YtuvtzZgPzmysYc4SQbtg1zA83FQN iEug== 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=o676jNM9Tox75ze+1DjeJahXGNE4/F70l/D7GDcL9c8=; b=DK3VCg9Nr3b8oUanHbG9WWBGgW+mL+umK1coXObtTEs8IrEq7wdY8vpjcV7j/Uku8a 3o+cmv1+NDnhBitp1BPbUHjmETlkE+fGl9+BZ4bgjzwSNXfo8m5J26auBTdWkKXS0Aly lYHT2w4x4EtLC41CmBSx8UK/2IWn0FbgpzengqCw0Z8T1L/VAzFPR+cPaWUYdrFY02R1 45OVoTr5AwS2DUESn6ckLMsgVFsMqaaAXW5YJzEmbSAm7z4KAYBdM495lfr30mryyJxx xSfLikDpynsMJJezswBo66ssdgF5gBGFhtXmzvPdzdVAfZLZm7+Bn+Mrk6HeaiJwuvJ9 9INw== X-Gm-Message-State: AOPr4FWyFbxRUHzQpuW4Y3PHw46s6UDZcTXFUyDg6Ox0WoOXAYmaOZALCpN5+CTe2HcEIQ== X-Received: by 10.194.242.230 with SMTP id wt6mr19135102wjc.143.1464021107947; Mon, 23 May 2016 09:31:47 -0700 (PDT) Received: from localhost.localdomain (2-238-57-164.ip242.fastwebnet.it. [2.238.57.164]) by smtp.gmail.com with ESMTPSA id o129sm14483647wmb.17.2016.05.23.09.31.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 23 May 2016 09:31:46 -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, afaerber@suse.de, arnd@arndb.de, jens.wiklander@linaro.org, mark.rutland@arm.com, robh+dt@kernel.org, matthias.bgg@gmail.com Subject: [PATCH v3 3/4] ARM64: dts: amlogic: gxbb: Enable secure monitor Date: Mon, 23 May 2016 18:30:23 +0200 Message-Id: <1464021024-29380-4-git-send-email-carlo@caione.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1464021024-29380-1-git-send-email-carlo@caione.org> References: <1464021024-29380-1-git-send-email-carlo@caione.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160523_093208_826264_1206E8CD X-CRM114-Status: UNSURE ( 9.03 ) 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 | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi index 76b3b6d..aeff919 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi @@ -44,6 +44,7 @@ #include #include #include +#include / { compatible = "amlogic,meson-gxbb"; @@ -98,6 +99,16 @@ method = "smc"; }; + firmware { + compatible = "simple-bus"; + + sm: secure-monitor { + compatible = "amlogic,meson-sm"; + amlogic,sm-cmd-input-base = ; + amlogic,sm-cmd-output-base = ; + }; + }; + timer { compatible = "arm,armv8-timer"; interrupts =