Received: by 2002:ab2:3319:0:b0:1ef:7a0f:c32d with SMTP id i25csp711927lqc; Fri, 8 Mar 2024 09:27:12 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUb0l5vj4gc5WwvHkxnAVOZPC17CWDvDP6JnRsjLEemuVYvmi+VS3ocL2TVCFdPGTx5z1eAXERoVwmHX+IDw0o2f/GgdMx9Ld9wCdJ7RA== X-Google-Smtp-Source: AGHT+IHiyksUdnG/Smf2eLbb7ZMW9a4KImQBZ13oEgGrWLH0xLzAkuG+x8/qK8wthT+G1pNYTiHE X-Received: by 2002:a17:906:3559:b0:a44:df65:b7e5 with SMTP id s25-20020a170906355900b00a44df65b7e5mr12970654eja.49.1709918832540; Fri, 08 Mar 2024 09:27:12 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709918832; cv=pass; d=google.com; s=arc-20160816; b=Jwk5xOKfcjNGZpua16wsHfXCDfA2j5M27qV0Qk/370fbueYmglKzBIMYKqy7PylYgR 2L2wJBOqniQRiKUHCAFzwI8OwUZqZu2T3IZqB/DXOJDxOKxLxy/dnu0kwGrm181OJv6w nHifd0Q3tni0fF3bC+29stNvRQB1EAbyt5BQEmA+OgllpRtSQuwCcLc3l81ByR4DQAFs hphOVQKEJEmoI7bbR7kY1Fyh/XekEFbpdUrcheaXu65jHbX3BqOyehWKsot6/LLt5AO4 yzmVU23WiyvLPUQhpCicrVh9Y8ZiJW7n/2xSPOGwBFJ/idS54vSPZjcwklO/V1HqSpPn SpLQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=/Ysm4DbzpqSZj84XzesirmTyGQsD5pPgqx8ZXriQXW0=; fh=IFZx66juwxwjgBVbjzEtAtqYWBzPzwE1Kpx7PM9KIjE=; b=Rb3vtCQjarX/aWl/IGbpx+l4MjRuuZyuWogdYxslEMAHbV1vSaEoa7WRjcnX4h+EiJ TXIndmNVYcrvqJPq7SZe2GBqLgwhY3gMrA1TxfCbX96L3P9kshCY6x7idbzS4oExTgYi Tp3Z6ckFO2GicD6t/KnoQPwR/1oBSP2iFC0T/2iVGbW9to3Ht6UMVbO0PJtr4hLYeP4V J0AQH1UErJEqva2aazxHwFnRcqlQx01P9v5h9FTR7ZMgzHHPHQlz8/S4ZszFe9BWqVkF NQ8rxwfzNePSffQ7FDra7B4smEigPsPqjP3O+R3ms4WZGZIY6B5riaTTrP8ErTmaU3xk eGTA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="h3E/C7Di"; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-97373-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-97373-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id kk1-20020a170907766100b00a451594909asi3951ejc.165.2024.03.08.09.27.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Mar 2024 09:27:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-97373-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="h3E/C7Di"; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-97373-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-97373-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 2A64E1F24472 for ; Fri, 8 Mar 2024 17:20:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B71775D75A; Fri, 8 Mar 2024 17:18:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="h3E/C7Di" Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [217.70.183.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 79C05288D7; Fri, 8 Mar 2024 17:18:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.198 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709918311; cv=none; b=aKQVhljKpZUbc4G7zVNC8E8/ookUmHf+xGUWLYaGjxjE1u5U/BQ6nYL299qcjX4sUwMN6+H1u0+HFRK3sLEAjrbR/5eDLIUt2+wNASyfQL923kSIges00VqL+oAFix4ZFtMYU/hKw+gBFp3sKP4j1S2I4vF4VOnvHe0jYMSqaiw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709918311; c=relaxed/simple; bh=vuFml2Tbieyo6tIWPbphQoCJOz5E27f346lkQPXpqDA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=JtnYlOLtrLuPOL9ioUQ4IXr8YXSakUqklXNhBKvplea1dK6U/NY2QMac1lX6XWcFavlpNNFDRTvngAg1QWU0JNPAx+X2J2uFkD9Lv7LO2ddaaOZWjGv0lppGwn2LphEN10ceD3bKkdMzGK7RFw2fkb+iBE81xGdAaYWG+92QuBw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=h3E/C7Di; arc=none smtp.client-ip=217.70.183.198 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 9507CC000F; Fri, 8 Mar 2024 17:18:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1709918304; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/Ysm4DbzpqSZj84XzesirmTyGQsD5pPgqx8ZXriQXW0=; b=h3E/C7DiZv3ayScQSpUCUMbOsEaJi0tFj7x8KaIcN90BYdd9nxpSxiRXZmntS4LSNK4PHq q3SusbJu06VlHM+zNfQ2Z8lAKnPxvqQ4gpeMCU+9e8gP6uU97BSZAXs6laQbbUJm9ykjD5 2e9EYHeCVmfgsWuMQEMuZ+f+FML6HXXAZ0UO33XGtocDMRGDpn/6hKsLkjK4Lw7Ywcqtgh IByWJ3sm6vgvw6O7PdsPE6ZZc8ZkYLBbcZDnIxEgEyWDIqvl2e4Owl/x252G9ihMkFLKuj sGOUCcC3QLuni2IN3IAg1MVSMuFAdkrQUG90ZMvhdDLUWs/gFJ2LfIMJyLTRzQ== From: =?utf-8?q?Th=C3=A9o_Lebrun?= Date: Fri, 08 Mar 2024 18:18:25 +0100 Subject: [PATCH 10/11] MIPS: mobileye: eyeq5: Add SPI-NOR controller node Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20240308-cdns-qspi-mbly-v1-10-a503856dd205@bootlin.com> References: <20240308-cdns-qspi-mbly-v1-0-a503856dd205@bootlin.com> In-Reply-To: <20240308-cdns-qspi-mbly-v1-0-a503856dd205@bootlin.com> To: Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vaishnav Achath , Thomas Bogendoerfer Cc: linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, Vladimir Kondratiev , Gregory CLEMENT , Thomas Petazzoni , Tawfik Bayouk , =?utf-8?q?Th=C3=A9o_Lebrun?= X-Mailer: b4 0.13.0 X-GND-Sasl: theo.lebrun@bootlin.com Add Cadence Quad SPI controller node to EyeQ5 SoC devicetree. Octal is supported. Signed-off-by: Théo Lebrun --- arch/mips/boot/dts/mobileye/eyeq5.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/mips/boot/dts/mobileye/eyeq5.dtsi b/arch/mips/boot/dts/mobileye/eyeq5.dtsi index 8d4f65ec912d..1543c2b9bcb6 100644 --- a/arch/mips/boot/dts/mobileye/eyeq5.dtsi +++ b/arch/mips/boot/dts/mobileye/eyeq5.dtsi @@ -158,6 +158,21 @@ timer { clocks = <&core0_clk>; }; }; + + ospi: spi@2100000 { + compatible = "mobileye,eyeq5-ospi", "cdns,qspi-nor"; + reg = <0 0x2100000 0x0 0x1000>, + <0 0x10000000 0x0 0x8000000>; + interrupt-parent = <&gic>; + interrupts = ; + clocks = <&clocks EQ5C_DIV_OSPI>; + assigned-clocks = <&clocks EQ5C_DIV_OSPI>; + assigned-clock-rates = <167000000>; + #address-cells = <1>; + #size-cells = <0>; + cdns,fifo-width = <4>; + cdns,trigger-address = <0x00000000>; + }; }; }; -- 2.44.0