From patchwork Sun Jun 19 12:39:01 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlo Caione X-Patchwork-Id: 9186123 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 9E17E60465 for ; Sun, 19 Jun 2016 12:40:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8670A1FEBD for ; Sun, 19 Jun 2016 12:40:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 781A42821F; Sun, 19 Jun 2016 12:40:01 +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 B74F21FEBD for ; Sun, 19 Jun 2016 12:40:00 +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 1bEc15-0002zw-DV; Sun, 19 Jun 2016 12:39:55 +0000 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1bEc0m-0002sI-9d; Sun, 19 Jun 2016 12:39:38 +0000 Received: by mail-wm0-x242.google.com with SMTP id c82so4948101wme.3; Sun, 19 Jun 2016 05:39:19 -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=HsqGd8UQzCU/hA6zg9y9ioDOXFuQFo8eh1yxcCSYyqM=; b=XoI9c2ho2lNfMHgTSf38V1FnWDEUiGN0NgKYuj8PYLSwFo0BPyTn7UbTA6aiil1mlp /O3w5bx7XWN09g0sjDMuqURIFqzhrqsjfrSAW6pdNbGXr2jWw810eUkGssQuR1SbkyNr JvUOfKMrAtlu9VoYPs/q9DF8F2WIuxFjE3Fm4Fuj4+nhYzkZZSDovBBGlDgLMn61T+kT NBZaii44lFQkfdy6DZVhgxddHYEcSuNLoiP7F8VAnn2q0OpRYc5FJmZtDD5enlpQOu5a 6E4V8Xm1kcLshEhLw0FEkVbApiR+h5SFR7aeyHWg+LxkVRyyVE86Yi91mk6BBoYRdK+x PWBg== 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=HsqGd8UQzCU/hA6zg9y9ioDOXFuQFo8eh1yxcCSYyqM=; b=fWwJO2TuP1cpI7UHoLYwG90CncBURuriAgzIkdonsFtl29D1RM7th9Vd9UoJHkUl04 E1AOoCBD4+eH/CEGk7nZJU/P0t4gTr9pizPC492kUFFoRDBKeDmpTznQCy0AR0wYMssg /RI9kfHQlCynTK6rKXANFvBfFv5Wu0qWBMYTtc+sLgICr8DWTGj7hR6UFR4QIZUbVi/U +f+L/fOQU43gJKsvb7VLLRSfumjthEwu3WMZ/uDjUQxyJeLcQCw9plFBrIlD/kQvOEAc AmUyTC2HRZrA8oy6KMzy9WgCp/0YyJ79tvXVNA/ddpXuGAq9mfYiPZZzaJH6czRSiJAV xAFQ== X-Gm-Message-State: ALyK8tKLhQeMEuoYhVzJSzEphqUBscsbeHbl2+M/FwlL8GDiiVFy/oHhiyVir/WfbVB1Fg== X-Received: by 10.28.236.73 with SMTP id k70mr6228308wmh.65.1466339958686; Sun, 19 Jun 2016 05:39:18 -0700 (PDT) Received: from localhost.localdomain (2-238-57-164.ip242.fastwebnet.it. [2.238.57.164]) by smtp.gmail.com with ESMTPSA id b187sm6683639wmg.15.2016.06.19.05.39.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 19 Jun 2016 05:39:17 -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, bjdooks@googlemail.com, srinivas.kandagatla@linaro.org, maxime.ripard@free-electrons.com Subject: [PATCH 3/6] ARM64: dts: amlogic: gxbb: Enable secure monitor Date: Sun, 19 Jun 2016 14:39:01 +0200 Message-Id: <1466339944-602-4-git-send-email-carlo@caione.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1466339944-602-1-git-send-email-carlo@caione.org> References: <1466339944-602-1-git-send-email-carlo@caione.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160619_053936_524844_56F3D612 X-CRM114-Status: UNSURE ( 8.08 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@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-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=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 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi index 76b3b6d..407f24c 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi @@ -98,6 +98,12 @@ method = "smc"; }; + firmware { + sm: secure-monitor { + compatible = "amlogic,meson-gxbb-sm"; + }; + }; + timer { compatible = "arm,armv8-timer"; interrupts =