Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3180608pxb; Tue, 19 Jan 2021 16:24:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJzxXUTu3/gRir4rGjfrhYW+1UexsiFss0GAtVg42JBmQ0DXD0zCvbW01EbGmDSmDqm2h5Lv X-Received: by 2002:aa7:d905:: with SMTP id a5mr5589720edr.78.1611102289004; Tue, 19 Jan 2021 16:24:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611102288; cv=none; d=google.com; s=arc-20160816; b=kXa1gV6gnY9Wqm5Y24RuKBxEgpdkQofndOHDOCHqMcyEffUhmWTtW1IvEy18dYNJVy DakXiXpxW7I/TYuwYe8BxYiq6RZy8OndSTFW/tHSK1v99Iy9DaYlnifQhJjd63YVF0yx rFCNgKON6viqQwPFgAD3pN3UVlZ1TJ7p62Amk6sQUxE63j6gqhBogY+hLNKKpO9oUDKJ aP587m+CdO8whY+mRrElSr6PtddnDPQHzGTu5KlihCDiev4pdAzPFzlWDHeJ9J44bQmM SkqSyAWcQm6ERXzRXOHraJUi2eH6bVcpNlxC95kGKu+uH5Ed8SkmoptgNBMraCJ4Hv2F FiSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=MHwfLm8TdnlPFCLjJ2Zkj+deJcFpN0CRDlVMvLD+EEM=; b=otJZZHvd78qaNrNaMm1rg/e3CGhS/FmloCA1tH95nij2yPD/8c4y9XVqEDjbtf5VxO KjTYfoKPlcyzjNhvKa0y5d6xxJ1eh02YE+UfWnLZW5gJYU/gmaWl36hOg89Ydp/qpfUa XEhLLi1dNNtNXpr7uhpwHfMoxRb8BhocGl/IETYHrmMhJghB5SFa3qf6w7FeaDCf0KAa 1L4if6ZiZhXJ9WhuxSn53LjLad94Fnm+55FCzVnvfJCjVE4BQkIddHpAnmr6sfJpojXf L2CDMrh1TTKxKLlpBf7bcQCHLwEE7UDSvsqiP6sHWSZP6H0uKkSQ+7KTmZZyWe+uvwjh +xvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="usIZ9/gE"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dk23si187937edb.368.2021.01.19.16.24.25; Tue, 19 Jan 2021 16:24:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="usIZ9/gE"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729934AbhATAW3 (ORCPT + 99 others); Tue, 19 Jan 2021 19:22:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387668AbhASNnv (ORCPT ); Tue, 19 Jan 2021 08:43:51 -0500 Received: from mail-io1-xd34.google.com (mail-io1-xd34.google.com [IPv6:2607:f8b0:4864:20::d34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B3E6C061575; Tue, 19 Jan 2021 05:43:10 -0800 (PST) Received: by mail-io1-xd34.google.com with SMTP id q2so37934177iow.13; Tue, 19 Jan 2021 05:43:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=MHwfLm8TdnlPFCLjJ2Zkj+deJcFpN0CRDlVMvLD+EEM=; b=usIZ9/gE0dUW2y85w6sfpEQ8lQEjnrrtjNcovJTGysIKxbfXSOC1qQuqUPzdvhD358 PDjl2z5W4H18mbjR80oDR6VU3Ad+Qy6qDtkWBlTRr0PgcNPh8C31HE6ns6HjiyPQEulr MApuLrlPMtJdgkPrl83hgbABjQ5/UPG4sR0f91Dfm6xzN6i41r0mNsw8znhtG3V7YpPW WVI+FCNMVF1ymG6x/TldRBDtrul9Pp+NN/wDf935uVzXHn3EVk83cJ4FPGuo6fkDjvnA T9tF5HHDgPN/uHNyll0kbpJsPEdbJZCE5I7E5wFGNpdTK6W9EZDc0UBkL/B9IQW62Ga0 a0WA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=MHwfLm8TdnlPFCLjJ2Zkj+deJcFpN0CRDlVMvLD+EEM=; b=ZLhe3I94ECSHlrWRw55mklZ/Yv5GORy53PaLa0jZ8CaC9MdEiwr01BcvFsRpdgKTgq KCXanRTx6s5xGxElDbVQv4i1Dkl2aPHFjfMc4x0qbppva3LQzsJSx4w4/iZqDqDkDwIc c5oO0YuY753zTjn6IdHIWZ7IyQoaNjSqNFzUU5pyrGTbksD0CEw2XFTO74026xPT6Nyk vs472Q8dlmw9k14Tgb/FdAsbfBqWa7qkySDNnqw/CNT8CI8fd64UT99v5APk/pBEtsiF e0jXxzHgrFkadqTGaYf7mIuzjuKKxfbmgtwNqleFa6YlGAbnTbmJlhWu9p7b4SBqsAar 528Q== X-Gm-Message-State: AOAM532L0PK0c2X2ohsOybW0dz8RxVg85iLLzaFTx3OJWSGFswozzh5v Gy6/nFTOAHV+ygNhl6oe8xU= X-Received: by 2002:a05:6e02:128e:: with SMTP id y14mr3327571ilq.106.1611063789602; Tue, 19 Jan 2021 05:43:09 -0800 (PST) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:2386:3a11:421c:65a9]) by smtp.gmail.com with ESMTPSA id h14sm1795829ilh.63.2021.01.19.05.43.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Jan 2021 05:43:08 -0800 (PST) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Cc: aford@beaconembedded.com, Adam Ford , Rob Herring , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] arm64: dts: imx8mn-beacon-som: Enable QSPI on SOM Date: Tue, 19 Jan 2021 07:42:58 -0600 Message-Id: <20210119134258.774480-2-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210119134258.774480-1-aford173@gmail.com> References: <20210119134258.774480-1-aford173@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There is a QSPI chip connected to the FlexSPI bus. Enable it. Signed-off-by: Adam Ford diff --git a/arch/arm64/boot/dts/freescale/imx8mn-beacon-som.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-beacon-som.dtsi index 2120e6485393..9f575184d899 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-beacon-som.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn-beacon-som.dtsi @@ -7,6 +7,7 @@ / { aliases { rtc0 = &rtc; rtc1 = &snvs_rtc; + spi0 = &flexspi; }; usdhc1_pwrseq: usdhc1_pwrseq { @@ -89,6 +90,22 @@ ethphy0: ethernet-phy@0 { }; }; +&flexspi { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_flexspi>; + status = "okay"; + + flash@0 { + reg = <0>; + #address-cells = <1>; + #size-cells = <1>; + compatible = "jedec,spi-nor"; + spi-max-frequency = <80000000>; + spi-tx-bus-width = <4>; + spi-rx-bus-width = <4>; + }; +}; + &i2c1 { clock-frequency = <400000>; pinctrl-names = "default"; @@ -318,6 +335,18 @@ MX8MN_IOMUXC_I2C3_SDA_I2C3_SDA 0x400001c3 >; }; + pinctrl_flexspi: flexspigrp { + fsl,pins = < + MX8MN_IOMUXC_NAND_ALE_QSPI_A_SCLK 0x1c2 + MX8MN_IOMUXC_NAND_CE0_B_QSPI_A_SS0_B 0x82 + MX8MN_IOMUXC_NAND_DATA00_QSPI_A_DATA0 0x82 + MX8MN_IOMUXC_NAND_DATA01_QSPI_A_DATA1 0x82 + MX8MN_IOMUXC_NAND_DATA02_QSPI_A_DATA2 0x82 + MX8MN_IOMUXC_NAND_DATA03_QSPI_A_DATA3 0x82 + >; + }; + + pinctrl_pmic: pmicirqgrp { fsl,pins = < MX8MN_IOMUXC_GPIO1_IO03_GPIO1_IO3 0x141 -- 2.25.1