Received: by 2002:a05:7208:31d3:b0:81:e143:7c29 with SMTP id v19csp414324rbd; Fri, 5 Apr 2024 08:11:34 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWGyQYBc5+7JargZMbCmI1vFmpma896Lj5Nd1ltAQpekvb5RTBIrj3hyyDpDaNk8/qcM74VSzdhYZ2mJBcHEM204w1rNuTI36CAE39uKQ== X-Google-Smtp-Source: AGHT+IEcSP9vUF4w9hb1MWp9UOGQUQoY2iqCtlup6hYarFbnzIr/2+3x6LHzJVRCgzAjmzpjqCCZ X-Received: by 2002:a05:6214:20ee:b0:698:d692:9bc7 with SMTP id 14-20020a05621420ee00b00698d6929bc7mr1625015qvk.13.1712329894474; Fri, 05 Apr 2024 08:11:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712329894; cv=pass; d=google.com; s=arc-20160816; b=fADINRRazF9xHVxNToBD5AwfeqhqDi+ABixEO6Y6iiI/Z/D8OcIDfFnUNlyM5PhwP7 CtXQAg0vu/Q2HKYtOXK0ztCH4p7GyroHTNpw/P3UV1G5KjNDnUNgB9zEN/+CFKeN2rr8 RLFcI948cWQ0aw/q++rRhUKZnpOB1eomkEOG5/Rr7ryEVd2lh6spWchp3Qz7q9CveB4q 2hi8HmpmesTGlLkdCBockuwQjUkVXcdS1otiawva7QwAgq1e3vy6FmqDb0HT5tIuOawv N9MPuEupH3VOJR20EdX3N5i9MQPRergJvEoN0Tw1OvOEuU5xHrpZSvBgn//DxpCwZJuM W/og== 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=IGKQn2sohL6FF5Fl2wL5l9/mF0LJVlG9N4brIGPu8bG+sbTyJqEygV7dSrPr5ZyzqJ a6vQAoMuQ4vyxVs+O/tRYnZARdZxu8P7tOQk97yFdGWoB2CA0AFp4PeNwTSzYLtSbkPC yri/RiCVoHk7SK91ozvneZVP2qvMjrXefYTysd+6l8vAQQqmyCBcbyXzXmZdhRcbo3in xy0pWTcTILyboE5IpadWRyb/y73AJi3NWRDbSKE2xcALtbaIzYXmNrCQJKU+WN6+XwSB t1tOv2E4LczhbVb52ukOMayFuLjA7NsBtF5sc/LvtagFvdeuAKTP39FDHpg58A09lTwF JTZw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=i9FHPIFB; 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-133213-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133213-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id y7-20020a0cd987000000b00699480970e1si391138qvj.598.2024.04.05.08.11.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Apr 2024 08:11:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-133213-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=i9FHPIFB; 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-133213-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133213-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id DDCA01C227E7 for ; Fri, 5 Apr 2024 15:11:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AF46F172781; Fri, 5 Apr 2024 15:02:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="i9FHPIFB" Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) (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 A7EB4171665; Fri, 5 Apr 2024 15:02:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712329346; cv=none; b=Eb1IVYMOA10zuyoB1E9DWK5Gw8meNXKg6TO/JuvvzZCclq47N5IXW4y1TqUSVK530qVX9Xh2rzVBBNMDGbMkTQQnUcajPmDObGMrwoXWmQ6e5Ub6KzGzXLlAPm2hVOkf4G3lAxxtabSOXaDqUSd1FIv+nDlrHgDpd8Mr3eASun8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712329346; c=relaxed/simple; bh=vuFml2Tbieyo6tIWPbphQoCJOz5E27f346lkQPXpqDA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ItGpp8SNbEDxowHN9H/PvFNYnNy1yf60dl9zlL200205TS9571qI9Walng5i02+0xxer8c4A7TLH6mk4lGEhws1XiUqcMb0961dXvKOUTASGRiqODCJUZFQg2B6b6vUddxpn35q/M94PIgKLI9CfYxKgBxBFU0CEGct5tfWKTA8= 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=i9FHPIFB; arc=none smtp.client-ip=217.70.183.201 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 911331BF20D; Fri, 5 Apr 2024 15:02:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1712329343; 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=i9FHPIFB1bOTuAZcGIoU/ftnZ1SVa2TEZ4z60oYsvn9aHVv/Uk4SbpUmrq1vaMA8ZmrVtJ LU6OEAASLKMZu8HWnEztddFvjSLGMUJ5nEvF/SegcCPd4tYZd+GP1bN/OV0jwEVOxhiWG5 g+judT4b4OySqJnJBIYLbaDgHcEG0O7Al9MDknvb7npfUcN2pfUskWYfoVKg7LHJ4Wr8Ia 5xpKHPgynaNhpZrfvygj3Uzzg0+/NQJV6JL9xpPg2oR80MCFtGZpKEMznlXnD3zoEwUZzo UauH5cs5bCB8SWHnDVQ6qN6FHh3SpBXn1hGonj7YtDH//eWGJLEI4OZ3YPkXDg== From: =?utf-8?q?Th=C3=A9o_Lebrun?= Date: Fri, 05 Apr 2024 17:02:20 +0200 Subject: [PATCH v2 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: <20240405-cdns-qspi-mbly-v2-10-956679866d6d@bootlin.com> References: <20240405-cdns-qspi-mbly-v2-0-956679866d6d@bootlin.com> In-Reply-To: <20240405-cdns-qspi-mbly-v2-0-956679866d6d@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