Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp25854316rwd; Mon, 3 Jul 2023 01:50:45 -0700 (PDT) X-Google-Smtp-Source: APBJJlFBtLY8B06E2O+qq64HJLuPrbS+GMRm3DfDhA/FyxFLgd/UOEG3JoTi3iyON8dbSVQJSwmM X-Received: by 2002:a05:6a00:2a07:b0:668:6445:8931 with SMTP id ce7-20020a056a002a0700b0066864458931mr10377001pfb.29.1688374244870; Mon, 03 Jul 2023 01:50:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688374244; cv=none; d=google.com; s=arc-20160816; b=hY0h65TF1mJp5RDx6+TwsG4ElWTbA6/hULEq5kvKANLfCX4+WZ9/P/pzBiOAZ3q2wF 5kaS5f5CtDImZ5K3fCNJYeKg2Xb5JLyL0dzoltCceRzcAD08htikjf4EH4HsGew3qP8m 6AcF9E+asZcLIy8uYWuH8EqimVjy7NOVvOYH1mvvVZPsDCEHB97KymWUBlGWjGrs8dpo reQcDQpf92fG12pOqZ+yzKYbRRr3yhFclr905WcOCZpJES7ZdkrbQmbw8/Fcy/cC3VLS MBsKXqcZL/DsShxiIQtc+fU6qdbtGPLBQbxlo+loIXHoxcJvtXqCDbSn8Uvd9MJv6UIJ WfPg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=BPmFKKm2kdTaaboGWJjA/iJVhONSeZi3GACemWtwxas=; fh=gBLyGI5tjUKOEdvCtouGb/hBrRo67+vfrgR+cv7/wqk=; b=sTETWghWUMr7VxuDBmZQ0oLA07JLuMjHmkl+D7DGgi/qsqjU4VXbY4UExCqVn89gG8 rS8PJMPv22GsumBj5k0vDCs3/a5+hWZkC+X4YeR1fq7d5jykFMIjL549w4SCQ+NnyOsx lamQ58k0pmY9iS53fwYrQrYeDg9OYpXXqTQSQL83zexu1Do6VR2GpRqXjD04WypAuoGT a8/PpDqgJHsPtTZUmlctR1xg2/LFPuiZEd4tv/xbkQPS+6XxIx+NF7eB4D01OhYSm920 +MDC9AKMR7W5QDhwOqCq2qFjbiX8e+miThGDVXs/t68kcy5QTg/mcDn3JhIsERp9yhmN ID+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=BP7W3Mj1; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i62-20020a638741000000b005443ff97149si18494095pge.331.2023.07.03.01.50.29; Mon, 03 Jul 2023 01:50:44 -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=BP7W3Mj1; 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 S229653AbjGCIh6 (ORCPT + 99 others); Mon, 3 Jul 2023 04:37:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229750AbjGCIhz (ORCPT ); Mon, 3 Jul 2023 04:37:55 -0400 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B35DB6 for ; Mon, 3 Jul 2023 01:37:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1688373475; x=1719909475; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=h/E6h3hmj3tEEg/RR7iC38FoXOQ/rm382QmER4vbTJU=; b=BP7W3Mj1PyRQgL4pvJL/ZRZtXDhdAmLvf73x0xLFQclRKKQZOqiIFMEZ 56pNT7PFp9hm2tR0UpcX1J6C0SM9erUKXU2hVvJY2LQv+camwOkmz0ntd ym03818ds/b+W9ySfYezM6aXdJqSON37szMH+yhcDgF0UFmPEFZTaM2q3 CN/ECl4gH0C8DjOAFzhYmkZJyBdnRhFp7Z4yyyr+TdjVCvDcle/8QQH4h zL+XOKKHyPerWrD/rzQqC8H1P5ib9ue9BN4MhUwnzVLuT/gl2ReBNGCEd zHHJLX8Z5khQEFKS3MHnjtvtAguqaYr9zOQWevuFBwneo1OHlrPNJlEcD w==; X-IronPort-AV: E=McAfee;i="6600,9927,10759"; a="342419404" X-IronPort-AV: E=Sophos;i="6.01,177,1684825200"; d="scan'208";a="342419404" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Jul 2023 01:37:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10759"; a="892481444" X-IronPort-AV: E=Sophos;i="6.01,177,1684825200"; d="scan'208";a="892481444" Received: from unknown (HELO localhost.localdomain) ([10.226.216.117]) by orsmga005.jf.intel.com with ESMTP; 03 Jul 2023 01:37:51 -0700 From: kah.jing.lee@intel.com To: Dinh Nguyen , catalin.marinas@arm.com, conor+dt@kernel.org, kah.jing.lee@intel.com, krzysztof.kozlowski@linaro.org, Markus.Elfring@web.de, robh+dt@kernel.org, will@kernel.org Cc: linux-kernel@vger.kernel.org, Alif Zakuan Yuslaimi Subject: [PATCH v4] arm64: dts: agilex/stratix10: Updated QSPI Flash layout for UBIFS Date: Mon, 3 Jul 2023 16:36:27 +0800 Message-Id: <20230703083626.1347969-1-kah.jing.lee@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 From: Alif Zakuan Yuslaimi Non-UBIFS related boot and fpga data should be stored in qspi_boot (mtd0) while keeping the rootfs with UBIFS in the root partition "mtd1". Thus, update the QSPI flash layout to support UBIFS in the mtd root partition. Signed-off-by: Alif Zakuan Yuslaimi Signed-off-by: Kah Jing Lee --- V4->V3: Drop cover letter & remove unnecessary marker line V3->V2: Update commit messages V2->V1: 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>; }; }; }; base-commit: dad9774deaf1cf8e8f7483310dfb2690310193d2 -- 2.25.1