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 16812C433F5 for ; Wed, 3 Nov 2021 17:08:05 +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 656F7610EA for ; Wed, 3 Nov 2021 17:08:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 656F7610EA 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 469F5835CD; Wed, 3 Nov 2021 18:07:56 +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="d2tFQkDC"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6FEE78342C; Wed, 3 Nov 2021 18:07:52 +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 A04A383538 for ; Wed, 3 Nov 2021 18:07:48 +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=1635959268; x=1667495268; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=r7V7p1caCMEu2MHwccpQxX9t15O2+A1iPX9jhYFu18w=; b=d2tFQkDCj6e7mPYOBoQfOv3rsmb3Wxho30Jy86X0jfISsKunNcYIsfzw YDwsBn0Qav/zjJyLnU0ppdVxi3JTtEkacomDTS/Qt2d0J308oG7+TyYhN y8f4xwmbe9eDHuXCBuJRLWXFXqduIDUq1fG12e+qazZXJIhdBg0WCucsx Z7/dbINUMed97eVcaTKwxMHvUto120kwr1IRaTrA+qKoFBfyb8FrqHBVO 84rTQyYbtLWXY9aLNCOzvebmLselLjRz1TonCVEerRs/EJ54Vw1XLk7hw 3APjDllGCVhQi9Q9LB0EKo9d/iuYeYnaNmJnpdgHY6ifpm5MM7G/7vOpO w==; IronPort-SDR: mZ4k4UpjE0UJ1v6FAv/8ThV0KbVpvE8fP+B5lIxrfd9RrkigUXPlGMAm2KzIjpLKYj9Q6g8VUf pPfKib+0B8j7KRLMwbW4UihWDtC3YYzrrdBNxM0VGdz09rbluj7/N27RatnxoWgs0qL5yWx7th kS+9HkoJfrrWIvdFoduFE+PY9e18qhD4s4uAXpYXVvsKajkZAHbRTbqmrEoaycRR65h7NqjZz5 hRg8hAmw3jSIcOQzknLmXaLtae0M+oZasTqgu0rwN8kBKfWdutydL2biBXuvSd3mFrCCYIngEK Hrk/7Lh6EPy2s5DWDGooyRUl X-IronPort-AV: E=Sophos;i="5.87,206,1631602800"; d="scan'208";a="142684843" 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:46 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex01.mchp-main.com (10.10.85.143) 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:46 -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:44 -0700 From: Tudor Ambarus To: , , CC: , Tudor Ambarus Subject: [PATCH 2/2] ARM: dts: at91: sama7g5ek: Add QSPI0 node Date: Wed, 3 Nov 2021 19:07:41 +0200 Message-ID: <20211103170741.184003-2-tudor.ambarus@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211103170741.184003-1-tudor.ambarus@microchip.com> References: <20211103170741.184003-1-tudor.ambarus@microchip.com> 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 QSPI0 has a MX66LM1G45G SPI NOR flash connected. Enable the controller and describe the flash. Signed-off-by: Tudor Ambarus --- arch/arm/dts/sama7g5ek.dts | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/arch/arm/dts/sama7g5ek.dts b/arch/arm/dts/sama7g5ek.dts index 1c59a8aaf8..16192ca0b1 100644 --- a/arch/arm/dts/sama7g5ek.dts +++ b/arch/arm/dts/sama7g5ek.dts @@ -11,6 +11,7 @@ #include #include "sama7g5.dtsi" #include "sama7g5-pinfunc.h" +#include / { model = "Microchip SAMA7G5 Evaluation Kit"; @@ -64,6 +65,24 @@ }; }; +&qspi0 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_qspi>; + status = "okay"; + + flash@0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <133000000>; + spi-tx-bus-width = <8>; + spi-rx-bus-width = <8>; + m25p,fast-read; + + }; +}; + &flx1 { atmel,flexcom-mode = ; status = "okay"; @@ -126,6 +145,25 @@ bias-pull-up; }; + pinctrl_qspi: qspi { + pinmux = , + , + , + , + , + , + , + , + , + , + , + , + ; + bias-disable; + slew-rate = <0>; + atmel,drive-strength = ; + }; + pinctrl_sdmmc0_cmd_data_default: sdmmc0_cmd_data_default { pinmux = , , -- 2.25.1