Received: by 2002:ab2:4a89:0:b0:1f4:a8b6:6e69 with SMTP id w9csp21906lqj; Wed, 10 Apr 2024 02:35:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVunBZIr11IYQpelve92DCGZY8yofUA27GL6aCu1AlCwaZqWOJPu7TTOOgUsnG9goI7mkmrKAjB2t09ONtFeHJiHiUEnQWm4MZY5NLixw== X-Google-Smtp-Source: AGHT+IHyTziX9l6nZHuDLeS61yUHICT1t+iydsYtkHYFA0WFhu4us9e1WOn2lGYUMGu7X+rxmuKv X-Received: by 2002:a05:6871:7a9:b0:229:ec0e:7348 with SMTP id o41-20020a05687107a900b00229ec0e7348mr2223704oap.46.1712741746569; Wed, 10 Apr 2024 02:35:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712741746; cv=pass; d=google.com; s=arc-20160816; b=zCOsQ0ls3H9F6yLX3wlVnvJDlOIfTk7GXlAN2hX3rS1mPExY+rjL1v0VeLLQ5TygkG PvY3a7yGJymmnTeU97nHimwGxOoYQvMPBhQJ3G2VunhsdcTCg7+E1fUIdHrRLRUdtyTC EKQfgG+aX2ju21b6YSgDVB+9O14pNCcsebboLXNaCndemO49lAxZygWsKFDEe7gtuz0q 3TBO9vLqxhmQ1kjmIvU8s1TO/zAV8SqkfipzxeP5YeX90BNnc05uH1Ch0ZKdTxeFAxND 34FW8IVpM96hFQk1O00gK4q4FaBUbDhMAlAFAZSylEBqQyjStShh9rgYZqJRsR5vcS0J /2+A== 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=tK2ZwPrzf0wEjErhiOYEkdXvNUDFUxIIS/fYILyFyNs=; b=SIwbA/d9h0o79YAWQMHVVrhnYHW2CNawBBC/4eOyCq4jsxjbw4VPA/BGWGzjoYvUK/ ZVYu95i9lly9mQ1ZUKIIi1z55pcLda0C19FZNQD12bVew7vFgcYWjITcC2St5+ROUo5z Inn0iq7XYa5FfF5KDO67aVfa9KLgA2OLj0I5Bm85Dhed5Rfb/18MemVDRjSWzJfX2ftD eL+2kaNknU4qNNTMfkMkIklbaIqQrq7VzhcNNN/mny9VGARtQDZ8yFFG01bs+2Ad7cw+ 6168NEb6CuzRZUJpKaIw2j+wvUg6v9xQUkI7mHPtOptuq7er35rkNjVJw9L+TNNPrE+8 zLNA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=DuEN1tE7; 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-138257-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138257-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id e29-20020a63745d000000b005dc894ea130si10730365pgn.384.2024.04.10.02.35.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 02:35:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-138257-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=DuEN1tE7; 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-138257-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138257-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 6A8E4B22031 for ; Wed, 10 Apr 2024 09:30:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AC36015959D; Wed, 10 Apr 2024 09:29:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="DuEN1tE7" 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 B324A156C67; Wed, 10 Apr 2024 09:29:16 +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=1712741358; cv=none; b=dPeub1UboPJJSTS2pjoXTiuki4+gFm8uTzBdWtpuD3toqpWiUVZ6BvxBYaqCINJtv2Um4+3y6gGKOhb5ghqDSzldrSxzvr981dy41ikdHQ08XPcTkqJOEsfv8Yhz6BmRUrXnYMRbHvpMVRsy06igaqA43X+sAtGnWmC5HSZ5RuQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712741358; c=relaxed/simple; bh=vuFml2Tbieyo6tIWPbphQoCJOz5E27f346lkQPXpqDA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=htJ+kC9ArNxFWdXkkNapuxbyUU3R5EETk2kLEq18eJ8G18yIcE4DOcXcScNnBP1xbLgIqPWtdnkn7lUSw5+v0KII9p3QX9MOBCJLnGRaxx+YvtEVxtEmucN6obhTWEyIf2eqw7uv1g4u8+isYsRbJgdTnoLWGNig6B8eSm6HWjY= 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=DuEN1tE7; 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 4F571C0015; Wed, 10 Apr 2024 09:29:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1712741354; 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=DuEN1tE7IEmwzzZI41CG8Wl+2Q91FSN024Kmli244kCLZCdJ3w35RL8XTJat16WMIAVdN3 Uf+unyEXT7yYVJhu0zXL5gib5t//O1q5m6Q/9HdG/JX2fF1eKnV7mslRbcoKtbnM51ZUOL LZfaRqu/UDsss7gJb5LTuOEEb835LChQ2K/bFJmu31+Md/W9inFbnEK4IjkdxP0XmIhmjN 4ClCzHDNjPf1syt2qn1srXxqrgneneaL5otzFM/CYocVIqGRifrcUVq0ER0hbCApYrhDIc zQ5FsosqZNTyKu3pVT5hgjQvE9d4h0BNxyHn5MVlrwUIqbW1qcr5DCTyjievAg== From: =?utf-8?q?Th=C3=A9o_Lebrun?= Date: Wed, 10 Apr 2024 11:29:11 +0200 Subject: [PATCH v3 8/9] 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: <20240410-cdns-qspi-mbly-v3-8-7b7053449cf7@bootlin.com> References: <20240410-cdns-qspi-mbly-v3-0-7b7053449cf7@bootlin.com> In-Reply-To: <20240410-cdns-qspi-mbly-v3-0-7b7053449cf7@bootlin.com> To: Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vaishnav Achath , Thomas Bogendoerfer , Rob Herring 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