From patchwork Thu Feb 16 13:39:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ilias Apalodimas X-Patchwork-Id: 654031 Delivered-To: patch@linaro.org Received: by 2002:adf:f90f:0:0:0:0:0 with SMTP id b15csp356137wrr; Thu, 16 Feb 2023 05:39:37 -0800 (PST) X-Google-Smtp-Source: AK7set///mTj9hPidgOHMFr0H72NGwBPVt2tD4p/fAwVg8PWs3E0bA1c5RisR7ZFfDLgEizTu789 X-Received: by 2002:a54:4787:0:b0:35e:d286:231a with SMTP id o7-20020a544787000000b0035ed286231amr2239632oic.22.1676554776768; Thu, 16 Feb 2023 05:39:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676554776; cv=none; d=google.com; s=arc-20160816; b=SmIbEnpOfVWSrSbCA3faFTJgbUw8bOSObxlv5flTOHu7rfqIVsVKuuKemQPSUq5w/o 3/35zfdKODgl/XYm0QUIm7VsyDt21dKIfpbKbpkCw/idRsvya9D3fVQxXyWh0TQ4vXZm WaCmkTan/O+YBVgnMWfMFw43S7cyoCiwpOUZwpMl4wmYKDPYCdinIY8sox2xNw/EzrGp SmD3t1Yb8ir4jsp0OLPGhr5a7sH0gjQpdo/eE6XHQNPWcdZ+PfTMQVcPtqElmL52TKDR 2PL/swIQyLxNNEcNyV7jEnUPzQcviR/zAnS6p/tlAWajs7LZrbW05yr5jU3+t6zl8yD1 BnoA== 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=M0SzDprINHl26jH+IcNAZ7Il4xsqy/qRNEcMULAEK0c=; b=pL+UEdXczSxMn+RQ/098ytS7Nz4P4feqcNSifUMkwN5+bWeSjIvFioWKMkAo4iZgcN IzZtZ5k09FJ/TYI5IlkDg00NROhY53bO66VQlZbZWwyR3yQjrG43JHDyb7O9w/ahcyfj NnFhFkqeY/x7JlH/7bL1vJhQcb+eMdIVgLf/Em8vzqhjy3NQtjDHFR8rRaMvZT3Kqgxe cVOeDb3F1IdXl0HOtP2bAb8pxljdg3+v6/5TbDYxMEdMLQdxr1OULr94jlcHwQvy51Ji 5xZRzR3oKBxbCd/fbNntidJHC0bxLBa83rji5zrcoYD9f29jAWMrCyivS0h+JQVv+3St o3Og== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=T6gvXlhI; 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 bd25-20020a056808221900b0037d7b6f9bd1si1523369oib.145.2023.02.16.05.39.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Feb 2023 05:39:36 -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=T6gvXlhI; 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 3337F85B37; Thu, 16 Feb 2023 14:39:32 +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="T6gvXlhI"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 452F985B36; Thu, 16 Feb 2023 14:39:30 +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-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) (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 9EFCF85B3E for ; Thu, 16 Feb 2023 14:39:25 +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-x432.google.com with SMTP id r28so1412942wra.5 for ; Thu, 16 Feb 2023 05:39:25 -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=M0SzDprINHl26jH+IcNAZ7Il4xsqy/qRNEcMULAEK0c=; b=T6gvXlhIJmVzTLSshxyjKp+mEpkZyxHIeipSlNUR4mgxMBk+rnFaGNNOiXycW0ded/ nwj5e1IqfWqwCB8I3XZZjTo0C3H0r6UMmjhKxDtGTiA37VOTOyVEmYTbW8Ir9bo0CLj0 M+PApeDKQRyGISwQXaW7Ck07anvIjaBAlADlmL9OmJT4TwLiXatmENwKyxtYZ2i4/7rI R21qZGqQBjMZss4Ws1whlcHGvG210G41h96juCjp4zHzOw9SLowl3pnu9dnIiA4w3/Kj WFEj54RRJQ9bPEpFWGqG2Cgamfa1rTCgMhzMHJUF5dJHRwaHDJW4+crjY6h563d83xLo rcUg== 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=M0SzDprINHl26jH+IcNAZ7Il4xsqy/qRNEcMULAEK0c=; b=XXsVOMbdpWZMpTc1u0BzW9ES9xic2oMwniDCTFy5BiK6XM8i3PDMTGuzuT7ivQenpi 8H2RVZ3CCK5jprfPrj8XPlkyuvHrWc2558UhYOgZSJv4bot49NnZ2yOOllipLxG56pGN /Pv0ZqQXoGRV5PdZ38UkgzjGt/7W5pFArq8ufmFhUMqiwEDQBA2LFusFUFmT2N0DlUP4 T3nvMaYUJAkB4CNHnGLdZNwPf/Tw+C1Bn/ptJOnEQBnWH+a5Y2lGYOQSQ7GxsMA2Uoud Z1n6uhFBefRWyPCGItfqLhRKBGGSpMEjYuR6pKpmLTutNhRUCkLzDB3zfw24OF5y3Iyh f0zg== X-Gm-Message-State: AO0yUKVJfSiu5Xc6SvLbx/7qMAhbze8AKwDLRt2OxXi+Nm3yzsH5UNRh hvSRKS7dz4TykQ7bn3SBlDRIOA== X-Received: by 2002:adf:df11:0:b0:2c5:4c1f:3c9 with SMTP id y17-20020adfdf11000000b002c54c1f03c9mr4616975wrl.49.1676554764943; Thu, 16 Feb 2023 05:39:24 -0800 (PST) Received: from localhost.localdomain (ppp176092130041.access.hol.gr. [176.92.130.41]) by smtp.gmail.com with ESMTPSA id u13-20020a5d514d000000b002c55cdb1de5sm1481743wrt.116.2023.02.16.05.39.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Feb 2023 05:39:24 -0800 (PST) From: Ilias Apalodimas To: michal.simek@amd.com Cc: Ilias Apalodimas , Robert Hancock , Piyush Mehta , Harini Katakam , Ashok Reddy Soma , Ayan Kumar Halder , Sai Krishna Potthuri , u-boot@lists.denx.de Subject: [PATCH v2] arm64: zynqmp: Add an OP-TEE node to the device tree Date: Thu, 16 Feb 2023 15:39:20 +0200 Message-Id: <20230216133921.866786-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 --- changes since v1: - move the defintion to the .dtsi covering all zynqmp boards arch/arm/dts/zynqmp.dtsi | 5 +++++ 1 file changed, 5 insertions(+) -- 2.38.1 diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi index 0a06c73390b2..793ce59d8d94 100644 --- a/arch/arm/dts/zynqmp.dtsi +++ b/arch/arm/dts/zynqmp.dtsi @@ -147,6 +147,11 @@ }; firmware { + optee: optee { + compatible = "linaro,optee-tz"; + method = "smc"; + }; + zynqmp_firmware: zynqmp-firmware { compatible = "xlnx,zynqmp-firmware"; #power-domain-cells = <1>;