From patchwork Mon Feb 21 16:08:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 544434 Delivered-To: patch@linaro.org Received: by 2002:ac0:e142:0:0:0:0:0 with SMTP id r2csp3350340imn; Mon, 21 Feb 2022 08:09:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJwcOIT8MkVfUBzmUOElOuBnGHreHAVQhIBIe2A3ebRQ9ZvagcjA6Qu1kBS2jVfj/yKbRYKU X-Received: by 2002:a17:906:a85:b0:6d0:827a:89d0 with SMTP id y5-20020a1709060a8500b006d0827a89d0mr15248078ejf.230.1645459795258; Mon, 21 Feb 2022 08:09:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645459795; cv=none; d=google.com; s=arc-20160816; b=wyyQcSVch9I3e45ctwo3rnZEyBTEsiuBUONzCJ081AYXHSNpduute3k9RI4NoOugvQ 34qFkLcfUOJm5FB57POLtX9WYkZ+WmbVgmNPtWFqw380HI/Y/W8UR3aC+hK+4jR4Qz0F RXBpxLupr/FGyE7mHwtGf2Bw5ozX8KorzRjzoWTL1lCO5lueBueveIl/grV2j9wY7UMu YGEbEatzeUrMuv7dc9Rrja4fsOY/MjPnkGVuGgnyCvSB4SBv4m0G5538mN+zJBfHOSOr A4DKcgCL3SZAzq2M3WgFxlA12clss4uLKiS+GnCVD4g8KFEvH6Gjh5Bk4w97nxOOc/Vh tfwA== 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=Ll1pK3aZokQ5bfArk4XAkfhMNd1qMDQ4g+ZA9Md6giHcopp5bo9vZgjGsEZV4PSZoH xpq4LC8G99YuhyMI/emzTdqcBS5kHRyMbSQORFbv/8GqTbUIqX88NHCtTCmg80urKcd8 mJb6IUZ7VWw7uVUTwI/BL4bupJhuN1kK2RDb2Kvir9Lk1uReJRSjzkd3KvG7tzYq9Sa3 3wGGeXbbm154aK7aKGuEOnWH0ezN+DoejpLjggQQH3mwyINqpFRh1DI+VK36WEgqh3FJ hLw+vMQyu9fqdZ1HCVVRcEf2+68S9kjMrk5vUKB3SakG6XEERWrqhXLpQYi6DcYsry3c ygrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="iZs/bUsk"; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 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. [85.214.62.61]) by mx.google.com with ESMTPS id j14si11258785eda.172.2022.02.21.08.09.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 08:09:55 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="iZs/bUsk"; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 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 A117F83C27; Mon, 21 Feb 2022 17:09:50 +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="iZs/bUsk"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3604283C29; Mon, 21 Feb 2022 17:09:49 +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-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) (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 9E14583A5B for ; Mon, 21 Feb 2022 17:09:45 +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-x32d.google.com with SMTP id x3-20020a05600c21c300b0037c01ad715bso11525281wmj.2 for ; Mon, 21 Feb 2022 08:09:45 -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=iZs/bUskS6oNk02PtFcfFsgpbyIvFxrmQQ+NDVcd+tAgSM2fBhGDSfp4SoVziRWAUg j3q7busWEkuqjDX8XFwxEwSNBG4BM7DlqgxbmlHpJpxTLm6D0pBFytlvFyhGkLHoLS1u 2OEM3HhDidmFvfGALaVeWar0LXXB/GNfuMm1oAszslMN2F7Bkk8gMxjuOvsVl1huQFyk 7gnu6MGkD96Mg5vqb6lFyKjiS0QE+SfAhGOptF7DrjZnPSlSasXlaPL4KWGdRtPhvNWr AHx2iCH61TVNiPvU4BU8zZQXS1PgtKs1FshLn31ASbvXITLlUyIUWKMc7dYOOjmES5mU /gcA== 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=D0B0+XLC9OZqgMs6gzemFOcQHEe+VoO0mRGZ5PoLmRfuR1h4dvLcJg0ObHzfVB23ug RqndneCne93JY3CER+od3NBPBhBBc55b8fnNr3mnOmvxQ26wxbZ8zDvKfkCK2Nub110D 8jKOYj7O20c5vKZn9LmbrEI0wVe+QBRhtO6Y0qbP2E3AysxkgPjt5Myri4PvVu4dHIgh rW2NxkrxwVYxxD59IUz/9wXvXMPdUb0vIg7xmR5KGY5YtWBBZrPu127vkXlT/7LaBoyE FDiQ9F3if8/VqxOO+APYUKCKEKzTGWIq0rCLuf4oHl+NFfvZrxYzlbuiGjtw/a1MkXR4 k5ow== X-Gm-Message-State: AOAM531T9mLFNzldW6G05do365ERvkW/0/lbaMJ8FYlGxm5w5jWcEPi6 U69cKIRg5lIq1wmK13PfTr+uDJqL2n8zGQ== X-Received: by 2002:a7b:c5d1:0:b0:37f:a8a3:9e17 with SMTP id n17-20020a7bc5d1000000b0037fa8a39e17mr1560547wmk.109.1645459784745; Mon, 21 Feb 2022 08:09:44 -0800 (PST) Received: from xps15-9570.lan ([85.210.221.158]) by smtp.gmail.com with ESMTPSA id p7sm26692322wrr.95.2022.02.21.08.09.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 08:09:44 -0800 (PST) From: Peter Griffin To: u-boot@lists.denx.de, sjg@chromium.or, 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:08:40 +0000 Message-Id: <20220221160841.2919633-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 Reviewed-by: Kever Yang --- 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"; + }; + }; + +};