From patchwork Thu Jun 22 12:34:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lee, Kah Jing" X-Patchwork-Id: 111658 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp5058803vqr; Thu, 22 Jun 2023 06:13:51 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ69yZj8ivJ8RAfR72XB/bolu/WcHwB0+0MMr8fhuGdHw0QsEmleFXcQWf19tKMqhzcZtKt1 X-Received: by 2002:a05:6870:a895:b0:1a6:98de:e458 with SMTP id eb21-20020a056870a89500b001a698dee458mr11150736oab.8.1687439631641; Thu, 22 Jun 2023 06:13:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687439631; cv=none; d=google.com; s=arc-20160816; b=REQ+0m2MWlCHJHLGl31p4UR40qbbVawq2Ow7xOvrA1lKIou9qsk5GR/101KVkew81D 1Dv4gyELX1t3ehq4njpJEwynbvjICCHpttm8qHUaFsPpRy6WCrMfJNEF5Ua7HDIknyax tnxLJMFhWjDR+4Q1M0wA33QMejI225gSc0npubwaALYQhhngkouQ6Gz1suB2bz/Nqf9b Gk3FGeQSuOl61OdgSNJ5sCzoSjSOfsdNOA0fZz0w+ZHh+1/oF88Q5OClxW4RDghymmZh rpoGivJ5ZvaIgXT1XGiFXPQlhnSQ9NkSMCgaYvnYgvsFuPmA8Z9m/P6kJgHeEZ2HlA4u 4qXw== 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=Ds7zUon0yAbh6PyaGQcp79nTQsr55Hg1gj+hBM0rOXQ=; b=PC9OZ3ZhrmKbri63P0DFvEiUEGaCYGcaRy/V5g0hIKg1nIkgp70hPgVcu38qwWMWNX 0xyLjUzKzIHC9hXcZDywTpeNR6AlAM+77WwL55yMNs7sVy74LAgq4/avEUY7EkIVqEDL SwnmResNwcSDGFbXUIFmICKeCcvk6QmewDbjXex4fIfumC/ZL06Ti1dDmh29wHeE5mU9 cgYZXlTcMDKEHrpTgU+f0T/Df0bF/971l+0L2LF/oggNBfmZf/uz69Pd1Y99Hr0ZHl0f k4megiwdwxSX+emweiBTrUBrfbW26UPm/slL1g0xxtnvHl6zeq6gv0OLgOtqUrHjrpda mO+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ATrMUzi8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s184-20020a6377c1000000b0054402b987eesi6301600pgc.213.2023.06.22.06.13.38; Thu, 22 Jun 2023 06:13:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ATrMUzi8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231363AbjFVMfm (ORCPT + 99 others); Thu, 22 Jun 2023 08:35:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230513AbjFVMfl (ORCPT ); Thu, 22 Jun 2023 08:35:41 -0400 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8795DE; Thu, 22 Jun 2023 05:35:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1687437338; x=1718973338; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=KuWmZUFS+bzuFupSqBTPY5LMVOmTmWXNrryWlmfEZl4=; b=ATrMUzi8xRSmzBgtsV7xfAZGLvJPaP7MjaXTokkxsqLaoS3Oi5fL4x5p PxccP3sSGYoQ5LyhdIgrobRzZzDD98dZutTxgFFnHmbzxSoaxgKsZhfKm FR2hlci3wtbajZr/dqH3he1/xxj6E7GsEIFG4xBHcLJWnHReKVGwxtBhf DRpWSvDSoq15diTwtEUvsNIZlI/H5u+PiNLf2vcbBrmFAKeOkLNyYQhsB lp7D/8uBSAAdSh4N2EXi6jqGA5XxdutbloSK1Y//oJSkp4fPpbFOOCPeR EmTfsygOF4yAfxfXWpCEMmXk/hyd97UoMKC8tQD2F9ofst/XjtLu5UNRO g==; X-IronPort-AV: E=McAfee;i="6600,9927,10748"; a="340077388" X-IronPort-AV: E=Sophos;i="6.00,263,1681196400"; d="scan'208";a="340077388" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jun 2023 05:35:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10748"; a="714888943" X-IronPort-AV: E=Sophos;i="6.00,263,1681196400"; d="scan'208";a="714888943" Received: from unknown (HELO localhost.localdomain) ([10.226.216.117]) by orsmga002.jf.intel.com with ESMTP; 22 Jun 2023 05:35:35 -0700 From: kah.jing.lee@intel.com To: Dinh Nguyen , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Catalin Marinas , Will Deacon Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Alif Zakuan Yuslaimi , Kah Jing Lee Subject: [PATCH v2 1/2] arm64: dts: agilex/stratix10: Updated QSPI Flash layout for UBIFS Date: Thu, 22 Jun 2023 20:34:34 +0800 Message-Id: <20230622123432.593548-1-kah.jing.lee@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230622123254.593308-1-kah.jing.lee@intel.com> References: <20230622123254.593308-1-kah.jing.lee@intel.com> MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769408698921946134?= X-GMAIL-MSGID: =?utf-8?q?1769408698921946134?= From: Alif Zakuan Yuslaimi This patch is to update the QSPI flash layout to support UBIFS in mtd root partition. Signed-off-by: Alif Zakuan Yuslaimi Signed-off-by: Kah Jing Lee --- v2: Update subject prefix --- arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts | 8 ++++---- arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts b/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts index 38ae674f2f02..12b960b9183c 100644 --- a/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts +++ b/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts @@ -202,12 +202,12 @@ partitions { qspi_boot: partition@0 { label = "Boot and fpga data"; - reg = <0x0 0x03FE0000>; + reg = <0x0 0x04200000>; }; - qspi_rootfs: partition@3FE0000 { - label = "Root Filesystem - JFFS2"; - reg = <0x03FE0000 0x0C020000>; + root: partition@4200000 { + label = "Root Filesystem - UBIFS"; + reg = <0x04200000 0x0BE00000>; }; }; }; diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts b/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts index 07c3f8876613..608017e6e36a 100644 --- a/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts +++ b/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts @@ -128,12 +128,12 @@ partitions { qspi_boot: partition@0 { label = "Boot and fpga data"; - reg = <0x0 0x03FE0000>; + reg = <0x0 0x04200000>; }; - qspi_rootfs: partition@3FE0000 { - label = "Root Filesystem - JFFS2"; - reg = <0x03FE0000 0x0C020000>; + root: partition@4200000 { + label = "Root Filesystem - UBIFS"; + reg = <0x04200000 0x0BE00000>; }; }; };