From patchwork Thu Nov 8 13:07:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10674171 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1B2DF14BD for ; Thu, 8 Nov 2018 13:08:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0953D2D4AA for ; Thu, 8 Nov 2018 13:08:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F0F932D4B7; Thu, 8 Nov 2018 13:08:13 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 53C3D2D4B7 for ; Thu, 8 Nov 2018 13:08:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=pTN/cF89E7j9BgypB+zwgxxhgJhMpFz9C4MQqVBp8ZA=; b=EG5DQL6mOnYYNE sA0Vu7yZ0U3p+SkYjjVv52rz3sCghlToGaWaXO84JUJodAhnsh/itYHpYoWplwHQiWQFAKVbgJje3 xUT3g7c/3Lge0sjqFjI7dmZjQM3A/BVaPXGC0b3+p+Lc480WS3Hp45Vg3jfDYNwIx2+HYBWHIHy+y shrmUiWFVOKrtQ9U9kq5Oym7QB+NjE4rr+dKiLSKAWE4R6hUrIXtwZ8mWRtVur9ppSOYxy3MiQTBV 3fCsbj/XHCi+4/aTzoxMG3JR659uMv5lN3U8Wew+PNxy52GMkzIYIbHJ7S7YO7jFkGP7Z51Pzn22M GwsPj1p6EmJvxUTd8Z3g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gKk2f-0006OH-0X; Thu, 08 Nov 2018 13:08:13 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gKk2b-0006NH-Lu for linux-amlogic@lists.infradead.org; Thu, 08 Nov 2018 13:08:11 +0000 Received: by mail-wr1-x441.google.com with SMTP id y15-v6so21172475wru.9 for ; Thu, 08 Nov 2018 05:07:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=VMANpgw3nwcwWTbuyAAxjzE/eF1CssOReOoXUx3LoKo=; b=nNQCYeOfYYQt63bplmqDiT+aO28GZA2R8b/GEF7XDaaUpplruh0HWNh9xn3fy1nB+J sEKuo1hlZPQMzjqUcOoay0JpvegjTS5v6NxxfRMK6/syEutcw3wsnVJjxWjc4L0QUQ6e n+Rpx3Uz1oSnfPhwJdoLNPPtGKnaATXaRbdfEb6hlUO+c/hE4h0qTeBwoHHVCp53xj5B XCvtKtcPDj+/TztDxmijcR/Lol2sRduJRK8MsP+pZfp1KUU8n3VaKMFtnZYDqJQume0J pSC/c3nxRoJC5ITiG4TRc6VD0TS/AgZ+cQueGJXLLUY9q98Kr0//x2PvpABypDeCU70e ocuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=VMANpgw3nwcwWTbuyAAxjzE/eF1CssOReOoXUx3LoKo=; b=F9oycho0eKbaYMYyBYoa4wwmipawnKG+xQDVvh4GqcqdbFo8p073DHRmemFWhM+HYD L9ioOkXsiyrf8hhrpNpVjHf791TacIZKfhD2Uby7RMBx9qgwPb0YIEnn8bMmtcj2noUd 1hLC9Hk0rY1/NFYSmv3iuo8umz3PlQrTAqgAo9oQo+F1hVEMplTaoW+Pg6DyWIfKy+zN bc84cDG4nysHhlYpOcCC2VVVaeuuICe9uT80Qzbvn2ekH4DRMtfQpDqCrxFAnVGvJ1gJ 0uVJhQ+04Ggk4zNV/An5ZiyhmsVnYzer5eQozGY0aoPDeEx8dnnDgeOBBGslqXBn/KoD /Xbw== X-Gm-Message-State: AGRZ1gLZLMzXt+wU9N25UfC85HwhH6FhljozSbamU7EJxtb+Ly5wIAhy UwaWO8wiV0FHdnH0RYLoFyu16g== X-Google-Smtp-Source: AJdET5fcYq86ss3tPTM1DZ24HTInam8bGUeXPCUeKSzIrqjMqWqK7hnhVLrAXB1zpvKiMt1PdD1w9g== X-Received: by 2002:adf:a31c:: with SMTP id c28-v6mr4115303wrb.195.1541682476843; Thu, 08 Nov 2018 05:07:56 -0800 (PST) Received: from boomer.local ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id y83-v6sm2916138wmg.13.2018.11.08.05.07.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 08 Nov 2018 05:07:56 -0800 (PST) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Subject: [PATCH] arm64: dts: meson-axg: add secure monitor Date: Thu, 8 Nov 2018 14:07:44 +0100 Message-Id: <20181108130744.32323-1-jbrunet@baylibre.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181108_050809_710841_4D4C53D0 X-CRM114-Status: UNSURE ( 8.24 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, Jerome Brunet Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add the secure monitor device to the axg platform. With this, we can read the SoC serial number. Signed-off-by: Jerome Brunet Reviewed-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi index e0139f174726..3cc0044d3468 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi @@ -110,6 +110,10 @@ }; }; + sm: secure-monitor { + compatible = "amlogic,meson-gxbb-sm"; + }; + psci { compatible = "arm,psci-1.0"; method = "smc";