From patchwork Thu Apr 7 10:58:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kavyasree Kotagiri X-Patchwork-Id: 12805048 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 49993C433F5 for ; Thu, 7 Apr 2022 11:02:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=VBjNuckj4vig5787Lr63uWONJDYsWedEqSeNo9ariVY=; b=z/sXIpDgjPQ5mL g/dK5J2N4XuugANmLTTyi8Kuw66LdpJZ3zlD31MQqUItjZZvMfmZLyC5EnkFHGnHn/NJFVDRc7AFo W10c1efnwWX2ky1U2jOegC0Zwp9OZ96eNmxvtppOlhaynG+0pl6WJ8RRcw/sFiyA5GKxX8zvkCvwR 281WZuM1xgCJBYgK5hWmLrosEMJwMpq9SZ1Covho8OZ+MST1ECbQi82mrTwR8yHPjjgw6C8FSCn3H 8p972/dZAszvRkvQaGgdeftHUS+awE0bzNBWhczwvFEp1k8t5NGXUkSPJbd5eyKjb6y6vT2cEL61j LsoJfXHrpo8i9RsT7Myw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ncPt2-00BR6z-Uy; Thu, 07 Apr 2022 11:01:13 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ncPrC-00BQM7-9Q for linux-arm-kernel@lists.infradead.org; Thu, 07 Apr 2022 10:59:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1649329158; x=1680865158; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=U1ExlaQ0xLgzrMqOMAXenCfNzoFHQXdgfyOJjDemSpc=; b=WgRXazan30IUPnbGlb1+HQBeQiS7AtB0UA5w4LYpvAcpqukZQpyzVfyo HBPbRzVTDFwV52057/3dAC+YAq8JCkrndA6z+UKURdvFcTzenw0zuxRcF Ai/eLiBWAd4FcbtpcY4RrpfJh8HMyAyxS935rtMbrJcpBTjj14qCQ9z5+ x91FPNW9S9L81l1Sa+c93GiKm4I12/wgezoeg86EzPGkxjIucXN2i6pQr e4vpSX/A8uYSKBUplhPWxru8YBfjNYMI/DoN843gGX3/rO396I4TG+u3L mkK/G1oizaJbF6nCUfyO0lOZbIIcNsqr7ZHOaMMMq1AFFoedbh4L7Csng A==; X-IronPort-AV: E=Sophos;i="5.90,241,1643698800"; d="scan'208";a="91613510" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 07 Apr 2022 03:59:17 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Thu, 7 Apr 2022 03:59:16 -0700 Received: from kavya-HP-Compaq-6000-Pro-SFF-PC.microchip.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Thu, 7 Apr 2022 03:59:12 -0700 From: Kavyasree Kotagiri To: , , , , , , CC: , , , , , , Subject: [PATCH 2/2] ARM: dts: lan966x-pcb8291: Add QSPI0 and SPI NOR memory nodes Date: Thu, 7 Apr 2022 16:28:35 +0530 Message-ID: <20220407105835.10962-3-kavyasree.kotagiri@microchip.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220407105835.10962-1-kavyasree.kotagiri@microchip.com> References: <20220407105835.10962-1-kavyasree.kotagiri@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220407_035918_453164_334359A6 X-CRM114-Status: UNSURE ( 8.55 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Enable QSPI0 controller and sst26vf016b SPI-NOR flash present on it. Signed-off-by: Kavyasree Kotagiri --- arch/arm/boot/dts/lan966x-pcb8291.dts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/lan966x-pcb8291.dts b/arch/arm/boot/dts/lan966x-pcb8291.dts index 3281af90ac6d..99d96d46661d 100644 --- a/arch/arm/boot/dts/lan966x-pcb8291.dts +++ b/arch/arm/boot/dts/lan966x-pcb8291.dts @@ -62,3 +62,18 @@ &watchdog { status = "okay"; }; + +&qspi0 { + status = "okay"; + + spi-flash@0 { + compatible = "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <20000000>; + #address-cells = <1>; + #size-cells = <1>; + spi-tx-bus-width = <4>; + spi-rx-bus-width = <4>; + m25p,fast-read; + }; +};