From patchwork Fri Jul 21 09:21:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13321697 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 A0F9CEB64DC for ; Fri, 21 Jul 2023 09:22:31 +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=OhGAu3uMr18npqKy0U+gSTdzawQM2VRb/AOqm1Dl1F0=; b=Rx29hrs0+au9hI QC8NT5PlQXAFzDHP7wW0VCggNJ2iHNHjPJYAPgISXrmOu1lQiiNq0IJmLdYRRWAA97uSmPPQ0MgMo b2+cGJHYerhFXqN1rF8v4aUbJbXTryrb+IMNl6Uw7kW1DkjCTUvFBV9FXP+LyQ77FMT5CjoTAsCh+ UWyTbbB1HhRcqmr+SMEn2fYVd7mzHu8CfHnccFunKRyGQiT+8J+j8Djx2RuX9UKbgVNCIpo+iGIbd jLictH4BjsKpJll5fr6lpH31vWRhu8PGSdxNqHXUFB0NxXhQMGgw+MZzuhT87c+JHyuMENjRCPQCt TweFP41y+HEosVWtMrEg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qMmKy-00DWFe-0T; Fri, 21 Jul 2023 09:22:12 +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 1qMmKr-00DWB6-0a for linux-arm-kernel@lists.infradead.org; Fri, 21 Jul 2023 09:22:06 +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=1689931325; x=1721467325; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=7LQ+IgDwVqlfp7HCpDGWyIv6AzuKKmt1/+dAx9UMVhM=; b=HoOE+zOlQzPKhH96/hZCPVXbaspQM2tKIRkkUa+cFZmXwyuwprjF1/OE FkHE/V3XIbf76U/UJEB5jV7tUuTgqczdORyytqR7+Lv0OYTCY8QAdfSKd ZGJuV/WuIXHAuQ7nHE3hKhIEaAnKd2jo9i5b/XXT+ndXcdcj7qm2CIJqS h6127MCkZJAkA8oX5YKBq1wnhrNRUNiKh2WVI46pUvEtfD1NgLp1Yd9ad yHeS2ulmAyuT53v5dX7inCwxzr2vVW7j23deYcCYHMVUXN5DkkGq17Gsa 49a+b7uGrV5KgVbImvxsEPKkPIEzO9xJ7IjlAeuEOt3gt2MR0O4LAJhKk A==; X-IronPort-AV: E=Sophos;i="6.01,220,1684792800"; d="scan'208";a="32050123" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 21 Jul 2023 11:21:53 +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 DF616280078; Fri, 21 Jul 2023 11:21:52 +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 v4 3/3] ARM: dts: ls1021a: add TQMLS1021A flash partition layout Date: Fri, 21 Jul 2023 11:21:46 +0200 Message-Id: <20230721092146.1214903-4-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230721092146.1214903-1-alexander.stein@ew.tq-group.com> References: <20230721092146.1214903-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-20230721_022205_539687_415F773F X-CRM114-Status: GOOD ( 10.97 ) 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 1912ad045c05..9bc845402c80 100644 --- a/arch/arm/boot/dts/nxp/ls/ls1021a-tqmls1021a.dtsi +++ b/arch/arm/boot/dts/nxp/ls/ls1021a-tqmls1021a.dtsi @@ -76,5 +76,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>; + }; + }; }; };