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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A026EC433EF for ; Wed, 3 Nov 2021 17:07:55 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BCFAD61073 for ; Wed, 3 Nov 2021 17:07:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org BCFAD61073 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=microchip.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0E00E83538; Wed, 3 Nov 2021 18:07:53 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=quarantine dis=none) header.from=microchip.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=microchip.com header.i=@microchip.com header.b="d9ndTMts"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id F1184835AF; Wed, 3 Nov 2021 18:07:50 +0100 (CET) Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 8C06F8342C for ; Wed, 3 Nov 2021 18:07:47 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=Tudor.Ambarus@microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1635959267; x=1667495267; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=uWmlEX3iIdSo/a6CDAySlIFtbURQcYpi/o+Zgz2O7m8=; b=d9ndTMtsWMeci4zmlAsKOFirmjAKDNXGdN7lj6+hDEzUBE79yxTah8q/ SvoOrs23HELP2koPh3/MNJbEemvlrWr6+crRlwGvjhbpAgJ6+3auWEXFJ lTd/Tv79OJcDdl/u6syo292v1MedZoYCe4C+Wsi35ksLEUaLG9tMjnypr sOmXQuZU323LS6wYTfrXCB+VnsazFVMsutRnN8KWHz51yGziL92+phM1R YWRjg8EAjpk4H98+yUMdwhfQj73dls9kn4JQD49rHIt19lpRDs/sMk+vG 1EOlCYnSfNBYBHD5crjdp9GMCHJbUtSLeeDyO5B31K7axv7HfhtM+lJdZ Q==; IronPort-SDR: Cz6Ot7GjSQeFrFCJp9gJcZv2HRklDe9z16SCw9vBcAYalfUksptAHxd5z3ZSYI4amgWWGBq8+U 5xRQlILnP+HswUu+wznn5cijEW2+tdcP74dKnq4+B0EqZcx0qP0xins2pu33zWEoZjJ7mnL87k aZ6JJ3OaUbABehQO3+2cJo6tI0/EmmKMdxQji3K+sHoq55dy8N7JK9QfSHtFtjSPKR72x8PXSv jMDcQ8lf5Zz1Ya/BfnGN4FbY/TSusXXDFQkOrfHY04XXz9Zq8Xs1pQtHlxq/zC4csOkkMgo7NW 3XRrFSpQ3luY25q9afUa6uc9 X-IronPort-AV: E=Sophos;i="5.87,206,1631602800"; d="scan'208";a="142684841" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa3.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 03 Nov 2021 10:07:45 -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.2176.14; Wed, 3 Nov 2021 10:07:44 -0700 Received: from ROB-ULT-M18064N.mchp-main.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Wed, 3 Nov 2021 10:07:42 -0700 From: Tudor Ambarus To: , , CC: , Tudor Ambarus Subject: [PATCH 1/2] ARM: dts: at91: sama7g5: Add QSPI and OSPI nodes Date: Wed, 3 Nov 2021 19:07:40 +0200 Message-ID: <20211103170741.184003-1-tudor.ambarus@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean sama7g5 embedds an OSPI and a QSPI controller: 1/ OSPI0 Supporting Up to 200 MHz DDR. Octal, TwinQuad, Hyperflash and OctaFlash Protocols Supported. 2/ QSPI1 Supporting Up to 90 MHz DDR/133 MHz SDR. Signed-off-by: Tudor Ambarus --- arch/arm/dts/sama7g5.dtsi | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm/dts/sama7g5.dtsi b/arch/arm/dts/sama7g5.dtsi index b951aff43e..4a3c675d34 100644 --- a/arch/arm/dts/sama7g5.dtsi +++ b/arch/arm/dts/sama7g5.dtsi @@ -91,6 +91,32 @@ #clock-cells = <1>; }; + qspi0: spi@e080c000 { + compatible = "microchip,sama7g5-ospi"; + reg = <0xe080c000 0x400>, <0x20000000 0x10000000>; + reg-names = "qspi_base", "qspi_mmap"; + clocks = <&pmc PMC_TYPE_PERIPHERAL 78>, <&pmc PMC_TYPE_GCK 78>; + clock-names = "pclk", "gclk"; + assigned-clocks = <&pmc PMC_TYPE_GCK 78>; + assigned-clock-parents = <&pmc PMC_TYPE_CORE 10>; /* sys pll div. */ + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + qspi1: spi@e0810000 { + compatible = "microchip,sama7g5-qspi"; + reg = <0xe0810000 0x400>, <0x30000000 0x10000000>; + reg-names = "qspi_base", "qspi_mmap"; + clocks = <&pmc PMC_TYPE_PERIPHERAL 79>, <&pmc PMC_TYPE_GCK 79>; + clock-names = "pclk", "gclk"; + assigned-clocks = <&pmc PMC_TYPE_GCK 78>; + assigned-clock-parents = <&pmc PMC_TYPE_CORE 10>; /* sys pll div. */ + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + sdmmc0: sdio-host@e1204000 { compatible = "microchip,sama7g5-sdhci"; reg = <0xe1204000 0x300>; -- 2.25.1