Received: by 2002:a05:6a10:83d0:0:0:0:0 with SMTP id o16csp57034pxh; Thu, 7 Apr 2022 13:52:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx9qZV+XmBTsoRjzVem6tORi53k9u4QN1h5jmv1tuEaI23sPKk7T1An3s/AlRzBKdcmuJ5C X-Received: by 2002:a63:4a23:0:b0:39c:c255:11ef with SMTP id x35-20020a634a23000000b0039cc25511efmr4939434pga.569.1649364741684; Thu, 07 Apr 2022 13:52:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649364741; cv=none; d=google.com; s=arc-20160816; b=C2O9aXbQvSGo24Cls1TUQmktCGw1jsg5Dn5W2+CPjePkaMMNfdVqp4x6IMZ134ht4S Hcqk4JjDjUfVEtjOKcw62E6LcjPCAIkuJZtsoJnoLCL1U6H3vBxg27wd2bnPjkQf7Q0+ mHZg+LSeH9LyEbsIk5WGbTdZcHimCSZES69RXDtENSHNjXOKfLwhUAKMZZ6XtcWT+Gtj 5a7H9o0KovT+Kv8tJf0hekLek8flCBfHhi03VPuWWLtqno4lyYW7Jt+XjQZWYzY8n3wp uDtgQVYhSPwwwpax25UDIOEzJVtau0zMqSRgcX23HXGJFvyrnuMzdJGPSRwugfWG8ab4 kJ2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=6P+oM+5EZxgrnELO/ne1QXO5Z49DGinhfT24KnTV0R8=; b=d9nljcOTOpx/VQfB0L264EZspnz9EduZUfNpDPGFSpkMqU5L9VhC21HeQvIkDv4TyI 5Xvdo+1hiAQl0UpIh2uyWiVYftZVHud6LWmDU53C3ix2ZiDVschm3cf07dhtkHGpngJ+ XdEpcDE+h6I/Sk/TNbtEhaHNCJnOUVZoMK2xjhTcrw2fo/3DDlOJ2KnPK+AkL6UEgeyn pq8l1/5d8fjYEiEYVdwfHKKZ9uavDoI3ahpEEeXEQTRMJutJPn3pR+bdoJOO9QynJFw8 X5B9whJHsytQEUb4iOcS3y0PUKd0ckxj0fYjDuh0MiKJZMcBX1mu7LE01OzvMiIGNQ3Y U9mQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=jzVf6RtM; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id u17-20020a170902e21100b00153cc9db550si571143plb.314.2022.04.07.13.52.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Apr 2022 13:52:21 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=jzVf6RtM; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A435F411F2C; Thu, 7 Apr 2022 13:00:30 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231701AbiDGLBO (ORCPT + 99 others); Thu, 7 Apr 2022 07:01:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244652AbiDGLBM (ORCPT ); Thu, 7 Apr 2022 07:01:12 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE40512C6EE; Thu, 7 Apr 2022 03:59:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1649329152; x=1680865152; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=KwvSJSFlJAxuW3H3oWRDTORiHi4D6agtNPl+L//vHlM=; b=jzVf6RtMygjEEn32RME24N/snpYauWUECE6UwBnPd+VumbmkGfSWeW9e zyBqjr37NGsm31qVyO5s/8lhKUzjoyhpR/xRuEuj1urNqCpu222PJurOt nMMhjbImUUFzzsFkzG6NX8N7UzNa+VRC6P8SGVDKhPIDeJqyXRl9uTLU8 UNacbL7xzP73Ai5U4/S9Gd6diNXCgXC5/6L2B5/C0Sv7d1LcUG022rdZo 9KnVbSR2BPvP84dXBp7psNk7zzQnU0m8AXKfpLD+e8EvrAj/IoWMt/Cr+ imQozTDzLU+flxyTWftAttMcF2ZD1yK+zWBJQALdUwwybPtvQAXob+nTt Q==; 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 Content-Type: text/plain X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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>; -- 2.17.1