From patchwork Thu Jan 19 14:42:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13108240 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 6B4CDC004D4 for ; Thu, 19 Jan 2023 14:55:54 +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=TsI8MPpBceoj/N0lxHoy7kvrqfI56c/pjJjOQkRqCLY=; b=1U+mx2XYmRu0by tPibEw6guXeiK7Qdqt6pSb/b/eSqT7ZdlyTvH3VYIkmBWdKxijQyEsJXCKaMbnRSbqBTQ9ai7hV+9 jHPJlJGQmfiUduF/y0yYdX9OFXGNS6uutsSiP7H1CsayAfbJSHAp2OELXgn7UA8mnSIRrsIwvChrH U0uwlJgdS+H/y2XxaG1PSqeqD2ZGrqZuVPyJ7t7Z4xOynoT26deJxAD5Kv1UhHhlw2Knp3AyXjpv3 MWYChHwqN/rQlC6iRdHMHMpWkIawKXWVSz7BjTVgwfB+Ixqi9ZDiodFmUDiohScAFzVpkOovpmub2 UYNTkLnTMtIDokXmAjqA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pIWJI-005Tdq-Pb; Thu, 19 Jan 2023 14:54:39 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pIW7w-005Okj-M4 for linux-arm-kernel@lists.infradead.org; Thu, 19 Jan 2023 14:42:57 +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=1674139372; x=1705675372; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=uB8uB86LuN3HgbMx7REOvUOru6ul+IWGzmbtPf1DUuY=; b=Yr2Sh+NnSx+xcB+vLTquWnxERjsjaZ+vBwoH70R3FHXLnfW+8JjybwLA ZkS9uFnJGdvdl/k4/G8L3Zgk2c0mTuBKUJV+fNhMWrfgGMZrL03baGXLo tNqxKwnKHusTofGKFleeklRmeHWP7FBZ/1qMZEINsR+iG3wipxmYXhBxk LmMEDrZjUTxl0+MFhaYX4/QPvM+Ui7is2cz0SaiaAaNHdUKXSu3u/RuoR /YBtzsmmpYWrXc/H+psrXTdyH4Wxjb0CrD6vK5+W/T/CnJOJsZxE+NCmB S+I0g6UsM8KPufIW7Y6dIS6wDBSLKJps0taDFPyeMYhBPm09CU001PvfJ w==; X-IronPort-AV: E=Sophos;i="5.97,229,1669071600"; d="scan'208";a="28537306" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 19 Jan 2023 15:42:44 +0100 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Thu, 19 Jan 2023 15:42:44 +0100 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Thu, 19 Jan 2023 15:42:44 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1674139364; x=1705675364; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=uB8uB86LuN3HgbMx7REOvUOru6ul+IWGzmbtPf1DUuY=; b=T453chmKJ7trjLS7S+Sveu+cDGz8nOTBobVAnKc/EdrXV0Clb+G3bGhx oOlkPDf6PSLFpupRGgkrG2YGEC+f1RBxRUxM39T6zO/rhM7azP+ewJJei IHJZNffMTia3qw1sicKROb5MOiCg1PDJ7oSQxezaATPc8zBrq0EZMNm61 1vvypFuLkc75B6gG1ghmqc/i3dCXSxX5sC/woOOoEiWVndEeeyyzVeb4+ YLB/2TBqxOKp/+qpaltVYxGZAdMPU1SRh6Pmk//NgfvYGr56EBmrvBZ/j UAoR4opmJZsCGLGIVY/Nt9ErKQkj1PIPbSJpXpktOVezNv5LarfS1g69b Q==; X-IronPort-AV: E=Sophos;i="5.97,229,1669071600"; d="scan'208";a="28537305" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 19 Jan 2023 15:42:43 +0100 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)) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id A9496280072; Thu, 19 Jan 2023 15:42:43 +0100 (CET) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Arnd Bergmann , Olof Johansson , Shawn Guo , Li Yang , Russell King , Marek Vasut , Marcel Ziswiler Cc: Alexander Stein , soc@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/9] ARM: dts: ls1021a: add TQMLS1021A flash partition layout Date: Thu, 19 Jan 2023 15:42:30 +0100 Message-Id: <20230119144236.3541751-4-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230119144236.3541751-1-alexander.stein@ew.tq-group.com> References: <20230119144236.3541751-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-20230119_064253_088689_7D174693 X-CRM114-Status: GOOD ( 12.43 ) 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 --- arch/arm/boot/dts/ls1021a-tqmls1021a.dtsi | 31 +++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/arch/arm/boot/dts/ls1021a-tqmls1021a.dtsi b/arch/arm/boot/dts/ls1021a-tqmls1021a.dtsi index 1ab518c489252..2e71572245303 100644 --- a/arch/arm/boot/dts/ls1021a-tqmls1021a.dtsi +++ b/arch/arm/boot/dts/ls1021a-tqmls1021a.dtsi @@ -89,5 +89,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>; + }; + }; }; };