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: 1743626 X-Patchwork-Delegate: monstr@monstr.eu Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=TtaP+HoL; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PHZR25DFmz23r4 for ; Thu, 16 Feb 2023 23:45:02 +1100 (AEDT) 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-Google-Smtp-Source: AK7set9Uqz7Qfwz6hXJmBRj/DkDMBsqKhkvEiHsQ8Y5BcrwqcBAi9qGjVIySmsYOcrnxVxY+wDU+6Q== 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>;