From patchwork Thu Apr 7 10:58:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kavyasree Kotagiri X-Patchwork-Id: 12805047 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 AEB98C433F5 for ; Thu, 7 Apr 2022 11:01:44 +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=hqWq6vl8gGdKGqKs4G69FtcSfmNhRmhefk4EYX+4V0Q=; b=Csm7ox5mkF5p74 zvAT8aILP8urZDNMomWiFRd0HCr67ZH0lsmigIdFFEXftTs8QhFQqJqYmcijelvNNDb/RPa+sHJQ7 15r2+l5Ujwm2Q1sLiyzeqwBlNwkXE0ZzEu9I1aXt1Z17YiPfiE9SbJQy8ND4xW4m1O1b2xjnDAtiR luz/Ed2QF6WvjgpBj4vuzLGWA86aeXj+7uOce78BiOeSPVO8kzmKJ/qv7UJzuw72sTQvG7g4CeLHY ZRupa0Ny7te+zCw0m/+C2E1yKvxh9/hVxVTlxgc58wXLIQFcSH/Wn+99zgaDjk2g2SaiHaDwNfQYJ SBka4eWBXs+Z2xPhzmAg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ncPsA-00BQlQ-N1; Thu, 07 Apr 2022 11:00:18 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ncPr9-00BQIa-E5 for linux-arm-kernel@lists.infradead.org; Thu, 07 Apr 2022 10:59:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1649329155; x=1680865155; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=KwvSJSFlJAxuW3H3oWRDTORiHi4D6agtNPl+L//vHlM=; b=kPzxmSI3Ftl7KHNhcF+fM22gJGt8JsCCKzyfPwXmwruZDDGDQATCyu9a c1O8YGnPmBGvxZQ8uU06j2RxC8A3w6tX716NjUOJBqUA2GBQWfRtH+T39 FmJHKENovIpF5yIGCKgTooltzcxB3gKEdxby7YcQX356PS46dApydjpZd Arba5yByOUOnBzXanIyoP3onWJbRK8pj7xTXCcEYmwr0OJQq/puJWY5A4 mHQiDzFo34ZcLl20Vv7Jc26PuVR2VBa/WGe29Wo9ka0YvW2a536fvvj7k X0EJyWzTZKRPU9qS+ddWWqu+3H4fufLcLmSgBqLYMp1EOUbSmxtJNsygo g==; X-IronPort-AV: E=Sophos;i="5.90,241,1643698800"; d="scan'208";a="159274389" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 07 Apr 2022 03:59:11 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex03.mchp-main.com (10.10.85.151) 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:10 -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:05 -0700 From: Kavyasree Kotagiri To: , , , , , , CC: , , , , , , Subject: [PATCH 1/2] ARM: dts: lan966x: Add QSPI nodes Date: Thu, 7 Apr 2022 16:28:34 +0530 Message-ID: <20220407105835.10962-2-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_035915_539435_C541B29E X-CRM114-Status: UNSURE ( 8.22 ) 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 LAN966x SoC supports 3 instances of QSPI. Data and clock of qspi0, qspi1, qspi2 works upto 100Mhz. Signed-off-by: Kavyasree Kotagiri --- arch/arm/boot/dts/lan966x.dtsi | 48 ++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/arch/arm/boot/dts/lan966x.dtsi b/arch/arm/boot/dts/lan966x.dtsi index 7d2869648050..b3c687db0aea 100644 --- a/arch/arm/boot/dts/lan966x.dtsi +++ b/arch/arm/boot/dts/lan966x.dtsi @@ -196,6 +196,54 @@ status = "disabled"; }; + qspi0: spi@e0804000 { + compatible = "microchip,lan966x-qspi"; + reg = <0xe0804000 0x100>, + <0x20000000 0x08000000>; + reg-names = "qspi_base", "qspi_mmap"; + interrupts = ; + clocks = <&clks GCK_ID_QSPI0>; + clock-names = "gclk"; + dmas = <&dma0 AT91_XDMAC_DT_PERID(0)>, + <&dma0 AT91_XDMAC_DT_PERID(1)>; + dma-names = "rx", "tx"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + qspi1: spi@e0054000 { + compatible = "microchip,lan966x-qspi"; + reg = <0xe0054000 0x100>, + <0x40000000 0x08000000>; + reg-names = "qspi_base", "qspi_mmap"; + interrupts = ; + clocks = <&clks GCK_ID_QSPI1>; + clock-names = "gclk"; + dmas = <&dma0 AT91_XDMAC_DT_PERID(15)>, + <&dma0 AT91_XDMAC_DT_PERID(16)>; + dma-names = "rx", "tx"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + qspi2: spi@e0834000 { + compatible = "microchip,lan966x-qspi"; + reg = <0xe0834000 0x100>, + <0x30000000 0x08000000>; + reg-names = "qspi_base", "qspi_mmap"; + interrupts = ; + clocks = <&clks GCK_ID_QSPI2>; + clock-names = "gclk"; + dmas = <&dma0 AT91_XDMAC_DT_PERID(17)>, + <&dma0 AT91_XDMAC_DT_PERID(18)>; + dma-names = "rx", "tx"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + can0: can@e081c000 { compatible = "bosch,m_can"; reg = <0xe081c000 0xfc>, <0x00100000 0x4000>;