From patchwork Wed May 25 20:18:31 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlo Caione X-Patchwork-Id: 9136171 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 8AAE2607D7 for ; Wed, 25 May 2016 20:21:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7DE7128123 for ; Wed, 25 May 2016 20:21:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 71E4C282B3; Wed, 25 May 2016 20:21:31 +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 0D99828123 for ; Wed, 25 May 2016 20:21:31 +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 1b5fHm-0002nR-W3; Wed, 25 May 2016 20:20:11 +0000 Received: from mail-wm0-f65.google.com ([74.125.82.65]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1b5fHh-0001Pu-Vs; Wed, 25 May 2016 20:20:08 +0000 Received: by mail-wm0-f65.google.com with SMTP id n129so19002563wmn.1; Wed, 25 May 2016 13:19:45 -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=ClyHzG8f3JsH8lGc6yU5P2SAFNhLSFjfOwFxd/wEb8I=; b=0c2tSrjMVc7zr1XJNoGqcxnamo/ZdL6JVI/WWAB7R8SqGrbPN5uDXStSM00St0J+um kPx2gEXpWl7FKUykeQNyKLjd2qzIGWHRBpI5eeAZLsd/uvSdUP5MNw88v3CfqYLrM2ce dN54UjPvcMSQNLM8T2ku5bI6RhuKY4mW9RWj5maIw1+ix6r/Vlj8Ap/b60muEZ+7ZPpx SiIFY0WA9QoPRW4lrLeGfz67x512pmzfBIZ5W9rBQ8RWfWeVq3hXN+4ltByFiKCTeLe9 pwx12w1LTXfnsu5e3vmOM1RXVyy2+xVas5/T5DIENp0edD0IUAGT3n0Go3DTA4OjzM4q tyeQ== 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=ClyHzG8f3JsH8lGc6yU5P2SAFNhLSFjfOwFxd/wEb8I=; b=fYkZ0tfq4XTbdRINsL3A6s8pojhQ84D/y3jiyFDcN2gciQmRe1SOf8NyS46dKM8Doh rVtCT3FUUd6MPMaXDzEEJBHtJs4Y667KH077A1S8E0bePtxIsEMRqpFcZGQdNnhDD5j6 OpTnMzgCqHBTnxQJDTp/7HdHavySWpwyA4EAaLFGP1wEjymesOxM9+HjZ40zMQDXoYAA qJuMVZppxxuSJDMWG182CaJoqIRHjVWc8I1vKLpadINRxzRjDPuftC5SaYvDxEF+pEN3 0TO4WgL/VuL2C1ZRP6VIzDspRn0dK4KBHXTQ8kx6oS4J0BkqlmRPoYCR6S+2myRXw6sb T7Yg== X-Gm-Message-State: ALyK8tJ2WiuETP/fYmnn/o0g5KJ8KIgrEga6h842/0MKJDRjkDIKgU0VWH8woubhaBgSCg== X-Received: by 10.28.137.14 with SMTP id l14mr5235875wmd.64.1464207519466; Wed, 25 May 2016 13:18:39 -0700 (PDT) Received: from localhost.localdomain (2-238-57-164.ip242.fastwebnet.it. [2.238.57.164]) by smtp.gmail.com with ESMTPSA id az2sm10630522wjc.6.2016.05.25.13.18.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 25 May 2016 13:18:38 -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 Subject: [PATCH v4 3/3] ARM64: dts: amlogic: gxbb: Enable secure monitor Date: Wed, 25 May 2016 22:18:31 +0200 Message-Id: <1464207511-11786-4-git-send-email-carlo@caione.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1464207511-11786-1-git-send-email-carlo@caione.org> References: <1464207511-11786-1-git-send-email-carlo@caione.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160525_132006_198944_9B3194D9 X-CRM114-Status: UNSURE ( 9.14 ) 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 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi index 76b3b6d..735a751 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,14 @@ method = "smc"; }; + firmware { + compatible = "simple-bus"; + + sm: secure-monitor { + compatible = "amlogic,meson-gxbb-sm"; + }; + }; + timer { compatible = "arm,armv8-timer"; interrupts =