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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id A44E8C636CD for ; Thu, 2 Feb 2023 01:59:07 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2F41D85D86; Thu, 2 Feb 2023 02:59:04 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="ZDwkKIl/"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 28D8485D6E; Thu, 2 Feb 2023 02:59:00 +0100 (CET) Received: from mail-il1-x133.google.com (mail-il1-x133.google.com [IPv6:2607:f8b0:4864:20::133]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 8E9A385E2B for ; Thu, 2 Feb 2023 02:58:57 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=aford173@gmail.com Received: by mail-il1-x133.google.com with SMTP id z2so257355ilq.2 for ; Wed, 01 Feb 2023 17:58:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=6MwZ4Zk6bRHl3aUb7NuYpWlt8MczsCCk4MYy0AUqvTo=; b=ZDwkKIl/UYjQpHOlgb4mtPhNoqiO3zKfK42poNVzuXUcZjGZuPVjVOuNNzLmrbnrTd SX85NQ3xrVw3JkDK/xzLab3nULZ9FpgohK8k4ffxa+rYwEKRq5Lv3YGjllOQC8uP0HUu egf/uXi99FAXt9cbalHDOgV759L+4okXGzj/vmlqxaRcD45CFVjN1VSFBDexSuS6p1lt H/bUp43MGX67P5IsAEPR5n1e1zizHSUrteroG0+m0sFsnvRlLYKZs+7zneDegJN9W5qR XwxPi0bNactHt5wWdODI1uunGwvyNSpczM9bRkka8J88PNQBti6nZ+uk3/vp7seKNAgB aSpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=6MwZ4Zk6bRHl3aUb7NuYpWlt8MczsCCk4MYy0AUqvTo=; b=CyuO/98B67i5HlcXSfHwAQiXPNAL05bKAOE87SjerFneRJkYuc70ATe8woLqRG1E2K uuJTujFvBim3mNlvXmRizvm/2f3IQaNqt+QaamTGwf+1TnE4+XkDBzrkkVYViTcKRlV8 4YIata2l5V04XS/sO3kbVO2OerDzDgSYs5guWsArDAF0pYOHp9pq4dxUsj/b8w5oLCT+ QSnBvvT/96Q3viqcpcKL/PeskmvQD8910ImOusw1E/IQHnV9BEX8kehv3uH4VrAERuDB dolQdZiUwDV/6HSn725cX5XVLtYpFcFHw2XCl8Qp3Pmwg/vYslcwWmdlfmJzlR8Omo25 lzjw== X-Gm-Message-State: AO0yUKXxaCAWin3cZOult1hZ3Y4pMaWRx0yTnXcjdBIah7zA8ugesEZw CtNNssNHxfBH1naAKhBeMheea6T7c/4= X-Google-Smtp-Source: AK7set+8TlIahofwk7AaKE9t186sxMxggQaUYqZhHxJkwKqtIiHMxWVAGHJptviC8g135gv1e/PS2g== X-Received: by 2002:a05:6e02:1c88:b0:311:ad48:ff1e with SMTP id w8-20020a056e021c8800b00311ad48ff1emr834658ill.6.1675303135518; Wed, 01 Feb 2023 17:58:55 -0800 (PST) Received: from aford-IdeaCentre-A730.lan (c-75-72-166-104.hsd1.mn.comcast.net. [75.72.166.104]) by smtp.gmail.com with ESMTPSA id t190-20020a0254c7000000b0038a3b8aaf11sm7162439jaa.37.2023.02.01.17.58.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Feb 2023 17:58:54 -0800 (PST) From: Adam Ford To: u-boot@lists.denx.de Cc: sbabic@denx.de, aford@beaconembedded.com, Adam Ford Subject: [PATCH V2 1/2] imx: imx8mm-beacon: Enable FlexSPI in U-Boot Date: Wed, 1 Feb 2023 19:58:40 -0600 Message-Id: <20230202015841.248835-1-aford173@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.6 at phobos.denx.de X-Virus-Status: Clean In order to use the FlexSPI interface in U-Boot, configure the alias to make spi0 point to flexspi. With that enabled, sf probe detects the QSPI part as: SF: Detected n25q256ax1 with page size 256 Bytes, erase size 4 KiB, total 32 MiB Signed-off-by: Adam Ford --- V2: No Change diff --git a/arch/arm/dts/imx8mm-beacon-kit-u-boot.dtsi b/arch/arm/dts/imx8mm-beacon-kit-u-boot.dtsi index 00ac413f36..4f5b9cd23c 100644 --- a/arch/arm/dts/imx8mm-beacon-kit-u-boot.dtsi +++ b/arch/arm/dts/imx8mm-beacon-kit-u-boot.dtsi @@ -6,6 +6,10 @@ #include "imx8mm-u-boot.dtsi" / { + aliases { + spi0 = &flexspi; + }; + wdt-reboot { compatible = "wdt-reboot"; wdt = <&wdog1>; -- 2.34.1