From patchwork Mon Jul 31 09:23:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13334147 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7E036C001E0 for ; Mon, 31 Jul 2023 09:24:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=IilPgthWO2qg8kQ5eLyYFI7LBp43ldoqoblxQ5wiB6c=; b=aakLGjx8jno9KZ p/cpnv6HcegbouBrZAXoEsU128rV+glSNyimnemjAKSeSeQNqmBJflktGKWlDw8jWQaDte0Uz/MYy Hkw0qNDZwAipGkzgqIWbKXA5m3OGiQGLWNuJtYgMOzuvSCOyR9zA3emBxG/Paxh+DQcQLg0GPHpdv 2SF0dq1hBFT5FHm8i9w00vBZg7rBzpxdLyhEXi7vCI3bJarlPPcmlZrij91VqWD4LhFSTaes0lhdV pZhqEVy7dmL5sDS/CL0klBpVbjZcjts6uji91l/sGk7vuJjRcces3aRYKhcK2PCpUB6ocIcKvHw82 QMiUaofZf88bJdWI4JCQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQP7z-00EljM-1e; Mon, 31 Jul 2023 09:23:47 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQP7w-00EliN-1b for linux-arm-kernel@lists.infradead.org; Mon, 31 Jul 2023 09:23:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1690795424; x=1722331424; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=oNBsD68GrHblpwcBQPrE+eAGi8ZDJc0nSzkSWY1mV24=; b=ejYoh4FlhzjkaIRFkQcd+YNxmSs/+QeUUapS5uBffpck4ynAMQoRF6t/ tXThrZxhbMq1nB0VszCMht+EFGhhYVOVjtwq3+f5TtrBDUvKUKom4+Wr4 PSj6mQo4r96JVk2AASSJzcDkDUwBQj/6owSKRTzxVsVu1h8RXrAs3Widu jX1kSwMGxhJUxfWvH2xYrKpkGfd/N28myGVP5m57C0niLZ7RkWdMuefzL kFvqEsTXFHI3su8ZN89+dAxbe0RhZnzmcfav/Mm9lJehFni4FYuHwaY+t QrY54VQKmO74Q95jDxyHC3rtGj+xsSbkgjBSGen7LFIhmvaxXxNs1eeWN Q==; X-IronPort-AV: E=Sophos;i="6.01,244,1684792800"; d="scan'208";a="32199755" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 31 Jul 2023 11:23:38 +0200 Received: from steina-w.tq-net.de (unknown [10.123.53.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 29CD1280087; Mon, 31 Jul 2023 11:23:38 +0200 (CEST) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Li Yang , Markus Niebel Cc: Alexander Stein , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v5 3/3] ARM: dts: ls1021a: add TQMLS1021A flash partition layout Date: Mon, 31 Jul 2023 11:23:31 +0200 Message-Id: <20230731092331.358427-4-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230731092331.358427-1-alexander.stein@ew.tq-group.com> References: <20230731092331.358427-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230731_022344_933687_AC9FA120 X-CRM114-Status: GOOD ( 10.67 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The bootloader does not add the partitions into DT, so add them manually here. Signed-off-by: Alexander Stein --- .../boot/dts/nxp/ls/ls1021a-tqmls1021a.dtsi | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/arch/arm/boot/dts/nxp/ls/ls1021a-tqmls1021a.dtsi b/arch/arm/boot/dts/nxp/ls/ls1021a-tqmls1021a.dtsi index 7fd35d124fba..1b13851ad997 100644 --- a/arch/arm/boot/dts/nxp/ls/ls1021a-tqmls1021a.dtsi +++ b/arch/arm/boot/dts/nxp/ls/ls1021a-tqmls1021a.dtsi @@ -72,5 +72,36 @@ qflash0: flash@0 { spi-rx-bus-width = <4>; spi-tx-bus-width = <4>; reg = <0>; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + uboot@0 { + label = "U-Boot-PBL"; + reg = <0x0 0xe0000>; + }; + + env@e0000 { + label = "U-Boot Environment"; + reg = <0xe0000 0x10000>; + }; + + dtb@f0000 { + label = "DTB"; + reg = <0xf0000 0x10000>; + }; + + linux@100000 { + label = "Linux"; + reg = <0x100000 0x700000>; + }; + + rootfs@800000 { + label = "RootFS"; + reg = <0x800000 0x3800000>; + }; + }; }; };