From patchwork Mon Feb 21 16:12:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 544435 Delivered-To: patch@linaro.org Received: by 2002:ac0:e142:0:0:0:0:0 with SMTP id r2csp3353086imn; Mon, 21 Feb 2022 08:13:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJw7KjY0pbCeu8TrsYKGezsVNCVCKsMFsOkD4mG6lHI98JNJz3zVI7WusD/AHxSFhIpGsODp X-Received: by 2002:a17:907:7656:b0:6d0:1f5a:2bec with SMTP id kj22-20020a170907765600b006d01f5a2becmr16142164ejc.164.1645459997298; Mon, 21 Feb 2022 08:13:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645459997; cv=none; d=google.com; s=arc-20160816; b=pnTAb6BwA/RJf5LhlZ0/Py92GdXJXofaO0YHzVwO3g6OF7idb/n5rK8Nop0t5RaCzr z9OdyD7qKjSmuMEOKA91GDtWqBiIYpCx8ggXv+O2kdpt+NgctjxFS3qT7NMLZoIA21OY i1phWoJRKzlD5ecZOKZ0FxQ3I8550UKjEW/O880fqZaNH8Wu7gr2+Fyy71/HeXysQU86 7a8P4br9fuF8GFU/LtSymFhtOQjPOEO2zXnVtey8LhgJphxQGDu18fosT30reHT+C7wU JGR67Px4Qn8yYKkEQO5lBBR2udCELAGYg+lng9kdJykGJu/QnMu3Jd5aqa2PiIU9iNWF a1Bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=hBi14NftX451gsBpTUACO+GR6mY7B3mWdElClQ+WoTY=; b=Vs/QAVpw/TQKckTDsMIB7TiX+dP0fTwaqEV/FQr3sIlpzimkf91B4r0ILRmi47s39A XM+s46gBHgkwfqFPSjJXrTGb8ytEIzYuW+BbBH4Ez7QkHEwXH1n3snjYXfRIuYGtQCbN loTurqpSY8f0mKry9pFCwSVlknagXsMxpnH30MHEU7IbhCv76Jbw2r6TA+TPJOjwrHST hwUaeMYJdQ7LRqQV5+Rcuj20Qo9e8rZc6S2u2z17KZstsgJfZ/hAGqJRkGKzcoApJSZj +Lq+BGwP1/mpcHXbW8XYdPkC+xwCdhNsPxmgHL+UVr5JNVdrqGHIaJxxHfBMC8vXr/Zf MgHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CW34SZ5W; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id fz1si11782158ejc.338.2022.02.21.08.13.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 08:13:17 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CW34SZ5W; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 064F583C29; Mon, 21 Feb 2022 17:13:14 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="CW34SZ5W"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 456FD83C27; Mon, 21 Feb 2022 17:13:12 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id B28A883C3C for ; Mon, 21 Feb 2022 17:13:08 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=peter.griffin@linaro.org Received: by mail-wm1-x335.google.com with SMTP id i19so9803475wmq.5 for ; Mon, 21 Feb 2022 08:13:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=hBi14NftX451gsBpTUACO+GR6mY7B3mWdElClQ+WoTY=; b=CW34SZ5WOr1mqMaOKlwYzp2AyM8yOMtZnhMY35O3fmDVleuQpbUdjt0hATwYY90RJZ 7kzqri77lvPIIYMfzlh634xXnkeFK5iidJEWlT2f6FZbPe6OXX2VOtnCU3ikBclXft+Q kEfq97rM+CS2THqVdk96PAYddFnwKbMdUyVqhPxzB0V505bwaLr9pvLnMRDFQvpvHFNP avByY+oEYBE/wOFsUtQyUzhgr4C9Lfh2SwTtW7qNbiTtrAlLzW+hlVh+OX9LU1mq/rq2 zo6fBshppWYuMX5/4PFD7+FXgdsxolJ/fCR+jTk77/oZwuSqM9rQX7pdfPCNy52rvLxj fY7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=hBi14NftX451gsBpTUACO+GR6mY7B3mWdElClQ+WoTY=; b=ukqorXUGxIyTAb7JYZWYvHaNWsYjm9UY1UaWxMnjeDlBfQ5gPQUcRh4RHcpjToVg30 Mk0/tqOQDH1FSVsApY8q0JsFmXdtrL5dk+NTGp++y48Jw5d4Sn+bE+AmjhXxWnQh5vR+ VRLHcqozbfu63q/VhpHiKJpPaMHQmJk7pRrySZrU53w4HLw/eabZmN5tYwFB24PzCkgX oAuQ6VZcANdfvMJWsKopAjVDmL0HXiG9NIwlJuuECzLBvwgmW8eMFl2qt9uNDdYBI5Ok wh/uM681+eET0wtOk7erl0C9z+pZKDmC3GxeUBwkNBozN9tCy60OjVl5NapPRJ1iJ+zw LQpw== X-Gm-Message-State: AOAM533LU0ZygXNqo9Fyg6MB0jJpAXsr46RIKN/jmfdPUz4ZdUvzefn6 Vm2KvpPhdPfqZV79SOtk7sdNEFIg/gF1Ww== X-Received: by 2002:a05:600c:2108:b0:34e:870:966e with SMTP id u8-20020a05600c210800b0034e0870966emr21951239wml.173.1645459987914; Mon, 21 Feb 2022 08:13:07 -0800 (PST) Received: from localhost.localdomain ([85.210.221.158]) by smtp.gmail.com with ESMTPSA id p12sm8158304wmg.36.2022.02.21.08.12.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 08:13:07 -0800 (PST) From: Peter Griffin To: u-boot@lists.denx.de, sjg@chromium.org, philipp.tomsich@vrull.eu, kever.yang@rock-chips.com Cc: peter.griffin@linaro.org Subject: [PATCH 1/2] arm64: dts: rk3399-rock-pi-4b-u-boot: add optee node Date: Mon, 21 Feb 2022 16:12:23 +0000 Message-Id: <20220221161224.2919883-1-peter.griffin@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean Allow u-boot to probe optee so we can access secure os from the bootloader. Signed-off-by: Peter Griffin --- arch/arm/dts/rk3399-rock-pi-4b-u-boot.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/dts/rk3399-rock-pi-4b-u-boot.dtsi b/arch/arm/dts/rk3399-rock-pi-4b-u-boot.dtsi index 85ee5770ad..95ca99ecbc 100644 --- a/arch/arm/dts/rk3399-rock-pi-4b-u-boot.dtsi +++ b/arch/arm/dts/rk3399-rock-pi-4b-u-boot.dtsi @@ -4,3 +4,13 @@ */ #include "rk3399-rock-pi-4-u-boot.dtsi" + +/ { + firmware { + optee { + compatible = "linaro,optee-tz"; + method = "smc"; + }; + }; + +};