From patchwork Thu Feb 16 12:44:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ilias Apalodimas X-Patchwork-Id: 654030 Delivered-To: patch@linaro.org Received: by 2002:adf:f90f:0:0:0:0:0 with SMTP id b15csp329388wrr; Thu, 16 Feb 2023 04:45:00 -0800 (PST) X-Google-Smtp-Source: AK7set86SMTU6P9GP7PayIokp6p2bet4HVe3U7GMvvjaEyNXqWdix+PlX4xOEeHbJ6vzsKuRqBcS X-Received: by 2002:a9d:7cc6:0:b0:68d:972c:478d with SMTP id r6-20020a9d7cc6000000b0068d972c478dmr2533744otn.16.1676551500678; Thu, 16 Feb 2023 04:45:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676551500; cv=none; d=google.com; s=arc-20160816; b=pZMo/FqReU7ktFrHMq0jyOzA9zVshJR5xAJ2ZAEuVecpRyMLJ1uXVzZfyFrAq12Ns9 vreM7s5M0FPxYQBfB/m4v5sYyLG9LxkPr+JWxyhmf6emCw17qj4o8fWX7hpm//a6HkV+ MMPJiRo7Vda8fevcJeODiMHiLRa9cTvfzmIWe+31fnnPX4pHcWBsupLwL58MTL+5Ndk9 1dctS68299S6t5EPGjfjCzfW0W1cwCW7Kb7dC7fq8ApPu8vCU+0pGk9SyFLz6hhor/Cf PRjRiJASWZrMWb2QrYgJ+jT21CqytSVQ4fFdpFM0RDSfnSSgn0pRDuSbZac892X5j7ES pMgg== 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=ur+SwPBc5avr5AwMr6XrXf+TRyuGpUB6M9u1S20+eAY=; b=ADGfTsJDjN6exGzXQFZ7tLLpdFnE4dL4N0umuDzNv309ukzD0tLUna5n0YHpccNuWU h6nZCL7wmn7GnvkeBl92texZTYmVhhAlkSHsd9CLORVuvd8rWExS9F4xx3yQDjb3FsOQ X3aV5YRq9UW/qiy1pV1rQGgj/kef2qQyVPHzj29AW3bhJ/5UbRiZNCydxQ8Rme7p2p8r d7lWXxeqSHvLTQH+GTJY+rolDGJ+trgVQZIjMZMLarXrg0l3RwbIOfZ68zPPe5d9GGep O3wm60lOOu2PTp1uFOV0tMMHmstNzNiX5glMbGx6uwj+uLpZceo6t6t5uSUPEcOmqMio 3Szw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TtaP+HoL; 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 z5-20020aca3305000000b0037da82f15basi1608876oiz.11.2023.02.16.04.45.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Feb 2023 04:45:00 -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=TtaP+HoL; 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 B90D685AB9; Thu, 16 Feb 2023 13:44:55 +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="TtaP+HoL"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4D1D885AD9; Thu, 16 Feb 2023 13:44:54 +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 autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) (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 6748D85AAA for ; Thu, 16 Feb 2023 13:44:51 +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=ilias.apalodimas@linaro.org Received: by mail-wr1-x431.google.com with SMTP id m14so1685550wrg.13 for ; Thu, 16 Feb 2023 04:44:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ur+SwPBc5avr5AwMr6XrXf+TRyuGpUB6M9u1S20+eAY=; b=TtaP+HoLZ8soyoCI8h2t3vIWNbe4mIM2YyfdjCbxrrDKW+FtwReHnDUPcHczz2hviv WPTBbHFSVArlGbLfLfN5CY+0f2KdF8Jt2iYr7LnKiJ7NN64Z0q9eWGa4WFpuxKOfHD4p mei4gz+RmdybsCG3P2zyyydNxd79nuWveB5dUMMfGNxR0hIvM+v9DM8fWDUseU9nMuwU CU+6XGNSW8L72L1tLZK2HQo3wAk35C9L3jcUtpr7m9jsS6XIoX90Ns8w1YxbgySpWus2 zVEH7A9fcpu104f99Fon+kvHj2KYrZk2TICkmqvHV7Pgr8/8gbZwDnw4bS2T7QDvypRx erMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ur+SwPBc5avr5AwMr6XrXf+TRyuGpUB6M9u1S20+eAY=; b=n3RHiinDvK4XHon6HrsCo3g1rA9J5VdxQu4eKLKwYuMRnTxfR+qkBhpZ17VVDU9amg 2qqGgpaRuNWgWyegjo/nTyqfHk7dzufE/8y953yafKGFkeXifz9WDibhrS6sgnGNCWYG D17oe+WZUAYLM9Eg2fe0zngiOrZc1y4RzOqe/5VrXLN02GSkmTnvixXGOjzN7R0QYqnt qr4MfEyNqP2zeqgkU88gdhog+2WazKVA+DaZTPXTEHrKnMEzHgpx7yJERIx/eFIrxbsX eLFdMxcO9LRhhaRC4A35lmsJyZIqfJzreUua0SErALMkVMtlzAYtVm5q/jQMZFFhX9S1 ZBoQ== X-Gm-Message-State: AO0yUKUKDyOaRIV0tN1XRILs2O88qSrDx8QsReRKl7Q/FZ+VeZnDNjBk TSXVQkmTsxfCrzeOR8VB3r2jdQ== X-Received: by 2002:adf:e390:0:b0:2c5:99af:6ad7 with SMTP id e16-20020adfe390000000b002c599af6ad7mr589766wrm.24.1676551490822; Thu, 16 Feb 2023 04:44:50 -0800 (PST) Received: from localhost.localdomain (ppp079167090036.access.hol.gr. [79.167.90.36]) by smtp.gmail.com with ESMTPSA id bh25-20020a05600c3d1900b003dc5b59ed7asm1720049wmb.11.2023.02.16.04.44.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Feb 2023 04:44:50 -0800 (PST) From: Ilias Apalodimas To: michal.simek@amd.com Cc: Ilias Apalodimas , u-boot@lists.denx.de Subject: [PATCH] arm64: zynqmp: Add an OP-TEE node to the device tree Date: Thu, 16 Feb 2023 14:44:45 +0200 Message-Id: <20230216124445.836777-1-ilias.apalodimas@linaro.org> X-Mailer: git-send-email 2.38.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.6 at phobos.denx.de X-Virus-Status: Clean Since the zynqmp boards can run upstream OP-TEE, and having the DT node present doesn't cause any side effects add it in case someone tries to load OP-TEE. Signed-off-by: Ilias Apalodimas --- arch/arm/dts/zynqmp-sm-k26-revA.dts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/dts/zynqmp-sm-k26-revA.dts b/arch/arm/dts/zynqmp-sm-k26-revA.dts index bae24aabdbd1..8f457f1a449c 100644 --- a/arch/arm/dts/zynqmp-sm-k26-revA.dts +++ b/arch/arm/dts/zynqmp-sm-k26-revA.dts @@ -45,6 +45,13 @@ stdout-path = "serial1:115200n8"; }; + firmware { + optee: optee { + compatible = "linaro,optee-tz"; + method = "smc"; + }; + }; + memory@0 { device_type = "memory"; /* 4GB */ reg = <0x0 0x0 0x0 0x80000000>, <0x8 0x00000000 0x0 0x80000000>;