From patchwork Fri Jan 20 13:34:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13109862 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CA7E1C52D77 for ; Fri, 20 Jan 2023 13:35:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229746AbjATNfJ (ORCPT ); Fri, 20 Jan 2023 08:35:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47010 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229689AbjATNfI (ORCPT ); Fri, 20 Jan 2023 08:35:08 -0500 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5307C798C4; Fri, 20 Jan 2023 05:35:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1674221707; x=1705757707; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=psso5MgGgSIvaVP6NyHAp4AmadrM9eyMSldzA9eaKjk=; b=iyeAorRlE2sMAaWYPBni4i93Xy7GkC7qXMJVineuhcE0o15vswts4Dmp vOlhHOpQ0xpE3na9avwtgIHrdVFawp6gSz6HjWD6rjWD9QcAThk6vW8F0 h6CY5M8hel2Rrulc333yOOXnrJ96ZnSkIJ2OOLLaRnb58V1Gqt3hEuoai CCczb3seVKVI83UD7W6W6eCY3J+COxP2kSWhM9OJSfmETIQGVoKlgGr+u yYKfWTzW0fAtOm22Qf2w+aZ/Yyo/nAKe1FvcYeIW1QtTvD0mzCNyLurnt w8W/LRhd2JmFW0fUv23P/lMOni/MoRIb0GiWW/56wzUTfG2o9tjUPOW/J w==; X-IronPort-AV: E=Sophos;i="5.97,232,1669071600"; d="scan'208";a="28561577" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 20 Jan 2023 14:35:04 +0100 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Fri, 20 Jan 2023 14:35:04 +0100 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Fri, 20 Jan 2023 14:35:04 +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=1674221704; x=1705757704; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=psso5MgGgSIvaVP6NyHAp4AmadrM9eyMSldzA9eaKjk=; b=ZapEei36E/6IcNsih7tZzlCrVYGCSo/sYE1TNE/GdXhE8bJSZo2AH0aY DrXHryFlKNU33yCzacYChUbkDJTMvuIyhRbUhWISKfmts42OIfVcbAPSi 7oZn5XNb0CQSLDsbjMA+GWCwT1vFroZk1iWiAg6tHWYArsanM3+tdqD9E cx/68NjDC6UJqtJLaQrZURB3n2cL2JzyJzGmSKt7KXs4BlI8l2GLMTOXb P+mMOyPoqWb8QXyBSH/fA6oKUY1zDsQh45w1y+Kwj+ZpuSDftQEpSMI6n oxy5h1P7j8urYVNjIjSQDJNpDEW0RMIBfj1LCgaqMIzyw5KuEZD21wRP5 Q==; X-IronPort-AV: E=Sophos;i="5.97,232,1669071600"; d="scan'208";a="28561576" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 20 Jan 2023 14:35:03 +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 872BD280073; Fri, 20 Jan 2023 14:35:03 +0100 (CET) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Arnd Bergmann , Olof Johansson , Shawn Guo , Li Yang , Russell King , Marek Vasut , Marcel Ziswiler , Michael Ellerman , Nicholas Piggin , Christophe Leroy , Masahiro Yamada , Nathan Chancellor , Nick Desaulniers , Nicolas Schier Cc: Alexander Stein , soc@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, linux-kbuild@vger.kernel.org Subject: [PATCH v2 03/10] ARM: dts: ls1021a: add TQMLS1021A flash partition layout Date: Fri, 20 Jan 2023 14:34:48 +0100 Message-Id: <20230120133455.3962413-4-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230120133455.3962413-1-alexander.stein@ew.tq-group.com> References: <20230120133455.3962413-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org The bootloader does not add the partitions into DT, so add them manually here. Signed-off-by: Alexander Stein --- Changes in v2: * None 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 24ad4a76fe597..ea6734253ba88 100644 --- a/arch/arm/boot/dts/ls1021a-tqmls1021a.dtsi +++ b/arch/arm/boot/dts/ls1021a-tqmls1021a.dtsi @@ -77,5 +77,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>; + }; + }; }; };