From patchwork Thu Jun 2 14:16:04 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlo Caione X-Patchwork-Id: 9150063 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 E981E60751 for ; Thu, 2 Jun 2016 14:17:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D9F97282E8 for ; Thu, 2 Jun 2016 14:17:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CE97A282EE; Thu, 2 Jun 2016 14:17:27 +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 B303D282E8 for ; Thu, 2 Jun 2016 14:17:26 +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 1b8TR7-00086n-51; Thu, 02 Jun 2016 14:17:25 +0000 Received: from mail-pf0-x244.google.com ([2607:f8b0:400e:c00::244]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1b8TQV-0007FT-6Z; Thu, 02 Jun 2016 14:16:51 +0000 Received: by mail-pf0-x244.google.com with SMTP id b124so8213420pfb.0; Thu, 02 Jun 2016 07:16:28 -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=ZyzLXiCP38F5ivz8LiSVKL341Wx8TZ1goh97T6ejC+WP1F+MhBWBcKv07i66vUgsDB j7zzGyOlHln/PWeaP36itzTvd/XraZaw2bgAFiUvCRMZVN96DfmqyUXEOKD6Kn0Fk3Il M9K5HJ68jCRP805nr1UEjF65cZAVi9ny2LSp9p1aHtpomMj/uXeWcHJ8gOKsngALyfiy bkacacMqgi5yx6cRyuK4HZdWlX+qa4miHUVNIsQkXFCTrtuTf070ntaDYDxrLJu/q8LK C4x9ZqaFJAQgneWH/0NE56PQ7H17UPNq8deOgPThII6tu5oyWT5E4bU5Qrp3KlywHYp7 0KlQ== 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=JIWZNO/9w2olByVFMCYOANOWWA+0CDE2hH38qvMHSBIC8m94GPyTuCp/kUtTvSeD8u Wx3/z2vzH9qqv24i/fWkkx0dWaO5SGFow9fdSZ4rGs4LcvP7ZOb8WexNW/jzdvIqk44o VcW0cM+AthMisv26WLzidxowHwOuozetyhYIvRKBcMfuDhy9lYQNXOvrcbD9zyp1wfKH OQNwdoX5hdw90UFZByrjxdgigu8qCp5+N7oJxfRnSIFseIilxFj34vNR/55CJtA3bEdD RtlxSpsrfi6DNKaQXlnJGJtYrAxdPrkQmvydUCs5K4oYjIjFTKPE3LZb5ENlTf5stlHA Rg0A== X-Gm-Message-State: ALyK8tK892FaKq5F8HJwxq6ZjfvFtBlwEdBJbbL1oPt9LJye4XiDh0pBV6u6jHXbrx1ZlA== X-Received: by 10.98.42.73 with SMTP id q70mr5061192pfq.128.1464876988147; Thu, 02 Jun 2016 07:16:28 -0700 (PDT) Received: from mephisto.endlessm-sf.com (2-238-57-164.ip242.fastwebnet.it. [2.238.57.164]) by smtp.gmail.com with ESMTPSA id t77sm1292347pfa.71.2016.06.02.07.16.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 02 Jun 2016 07:16: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, bjdooks@googlemail.com Subject: [PATCH v6 3/3] ARM64: dts: amlogic: gxbb: Enable secure monitor Date: Thu, 2 Jun 2016 16:16:04 +0200 Message-Id: <1464876964-13001-4-git-send-email-carlo@caione.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1464876964-13001-1-git-send-email-carlo@caione.org> References: <1464876964-13001-1-git-send-email-carlo@caione.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160602_071647_498978_F6689D7A X-CRM114-Status: UNSURE ( 7.95 ) 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 | 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 =