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 5BE0FC433EF for ; Fri, 10 Dec 2021 09:34:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237870AbhLJJib (ORCPT ); Fri, 10 Dec 2021 04:38:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237747AbhLJJia (ORCPT ); Fri, 10 Dec 2021 04:38:30 -0500 Received: from mail-pg1-x531.google.com (mail-pg1-x531.google.com [IPv6:2607:f8b0:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BDDF5C0617A1 for ; Fri, 10 Dec 2021 01:34:55 -0800 (PST) Received: by mail-pg1-x531.google.com with SMTP id q16so7551023pgq.10 for ; Fri, 10 Dec 2021 01:34:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=4TT1p+eLjRJsZY0SbZkrxkKX/qmSCca7EegSbohNmfE=; b=kX3Ata2tiIgIpyUVnssNPBLENyrUyHmdPqkXVb6XeZ5Hi1bBVilkWgZ5Ir/b6ETK7Z KU22LrwwnwxXwL8wVp+Yn5rp+mdJdyoY4HROY1bV8bEENHSeHPbIEyP5DN0daNYIcxAx 3p9C2FmPUi3+WK0zNdMZrIchoYZjA0ydaVwYnToiXTDDUEzzGhZmCSPjfkPUc30Kz0sy tYSHgPCuMOAX6YHMCvFoUYSpzHMUytnp+1bkhC/4ipmpF4Kc6Y1mpdxp+uDNJyypEJFM QrVmI47fXDpIsLa7gLvmDDPPq81K8g9l7ixU0KBLP9PdO9qAOdE0qnnJxeHZhjiekv/e U2dA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=4TT1p+eLjRJsZY0SbZkrxkKX/qmSCca7EegSbohNmfE=; b=XvCk3QBbssbejLiCL+oTBQDhnYjqEA2Pumc+0KW1MN5+g25IGOnQxpgpno/rgHPzRP 6PUt2HiGQblUB1vNveJFIYaMFmVbV2qt2UBQDkFHBh8rLg3uZBwE5KoBl0HBqK7qDwGd +NHRx+sIEzDShZ+qE16x0o1eaGE+OssckqcliyM40hCL97+2kQlA8sqtVPxzvtvEq/0a DXnKph6LjvanE+8b8vMd+pU7z1yqmbZYulKyBuACYNja0L39xQu31CxOYfWf4BclHbSD X0mPFjgXkrZWiVT0NgpZGVw3VHtoGSkcrJmcCeHvBqbjGvqoBcI0E5hLYbPQy6uXGYla fEmw== X-Gm-Message-State: AOAM531PZ+iT1r2r1gna4OjQX/OhwfzYcm/uOM19fS5QAkn3sCGtK06e DU3IKqMLKqDxTrKYsO5RRo73VmMIaUHEaXa/Qg8= X-Google-Smtp-Source: ABdhPJwf44o2Gfvevvq0zV3kXEXCt56jqrnYE05lAdKFp0o7N7jhEL805abVwQDsoz8TgvJyrPjoTw== X-Received: by 2002:a63:1f16:: with SMTP id f22mr27539411pgf.259.1639128895335; Fri, 10 Dec 2021 01:34:55 -0800 (PST) Received: from localhost ([221.194.138.194]) by smtp.gmail.com with ESMTPSA id t131sm1969905pgb.31.2021.12.10.01.34.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Dec 2021 01:34:54 -0800 (PST) From: Lei YU To: Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Joel Stanley , openbmc , linux-aspeed@lists.ozlabs.org Cc: Lei YU Subject: [PATCH] ARM: dts: Add openbmc-flash-layout-64-alt.dtsi Date: Fri, 10 Dec 2021 17:34:43 +0800 Message-Id: <20211210093443.2140557-1-yulei.sh@bytedance.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add openbmc-flash-layout-64-alt.dtsi to describe the partitions of the secondary flash for OpenBMC's 64M static layout. The layout is the same as openbmc-flash-layout-64.dtsi and the labels are prepended with "alt-" for the partitions. Signed-off-by: Lei YU --- .../boot/dts/openbmc-flash-layout-64-alt.dtsi | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 arch/arm/boot/dts/openbmc-flash-layout-64-alt.dtsi diff --git a/arch/arm/boot/dts/openbmc-flash-layout-64-alt.dtsi b/arch/arm/boot/dts/openbmc-flash-layout-64-alt.dtsi new file mode 100644 index 000000000000..650525867561 --- /dev/null +++ b/arch/arm/boot/dts/openbmc-flash-layout-64-alt.dtsi @@ -0,0 +1,35 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2020 Bytedance. + */ + +partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + u-boot@0 { + reg = <0x0 0xe0000>; // 896KB + label = "alt-u-boot"; + }; + + u-boot-env@e0000 { + reg = <0xe0000 0x20000>; // 128KB + label = "alt-u-boot-env"; + }; + + kernel@100000 { + reg = <0x100000 0x900000>; // 9MB + label = "alt-kernel"; + }; + + rofs@a00000 { + reg = <0xa00000 0x2000000>; // 32MB + label = "alt-rofs"; + }; + + rwfs@6000000 { + reg = <0x2a00000 0x1600000>; // 22MB + label = "alt-rwfs"; + }; +}; -- 2.25.1