From mboxrd@z Thu Jan 1 00:00:00 1970 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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 42591C433F5 for ; Sun, 2 Oct 2022 23:52:13 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1EE4484D34; Mon, 3 Oct 2022 01:52:11 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="bTGn34+v"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 69B6384D2E; Mon, 3 Oct 2022 01:52:09 +0200 (CEST) Received: from mail-io1-xd30.google.com (mail-io1-xd30.google.com [IPv6:2607:f8b0:4864:20::d30]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 40FE484D3A for ; Mon, 3 Oct 2022 01:52:05 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jassisinghbrar@gmail.com Received: by mail-io1-xd30.google.com with SMTP id n192so7040531iod.3 for ; Sun, 02 Oct 2022 16:52:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=TyH+9L/R0beIiYjupwRBnfXFGhvstFS6mgE7GSKLGbY=; b=bTGn34+veRv2mIQ1JMKyyPaoggI2WZsJzXUHTTdjEgKx0BoMiz3OvY2+nA8ZPXbloV 0f4pTVKUe3aTpSlzot2+an5RUCgIWZ0trhCgUDaXFbp1B5jSDt3BN1ZgX4bOFqkHj+QO gsp1KDA2qhK+4ctAVx0hnTv2n7dRT9IAt0sPmagAYYXzcjVuIKANwMApD96T4VJoto7g rEZgOrzZWs0HTSfLwBW80cETdXm1cOxKRlxff44LBKOEpIIuXVGvyeidRtnxQ6aHJvhZ RCxXPSmqKlPddMynTVAc6eUnWm8x+tBVVckmuJzu6yx4U3YcS70/cQNLEIVMwDpxEu5P MGtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=TyH+9L/R0beIiYjupwRBnfXFGhvstFS6mgE7GSKLGbY=; b=uRVOysnLM4KXmOT10daF3TgwgHQi779a+Un1ksI9uaOmbE6qGEEzVVhc0qXd64aqQp iTyc+JeftR6rHXSD1++m3mS5MUKDwviVNopEZigM9Rx+EMRymmd8YmyDPC1H/vvSCyxv D3mwkdEZEKim3m3RLQwGb7bkC+YcOzFiQ5B2lbyHhMz1sRHUR5kmx9u7ueEyHzKgAQvx mSx+KaRmIi2NouHMIulBWOIpXxD3dYG86xbnG55PPYZYBaPdBhVyl2SUIxfCaySRDa4u kfk+QPvLC963j7FcaW+ShsiAx4mldP0k0JokCZvEjqYVQFIzC8PhQtuiIyrbud/qq+BK S9XA== X-Gm-Message-State: ACrzQf3ycbkuphOJgMR/mPWMbP91JxtxUb5c63HRrzQNSzZfGnCxoZwK HP8w2NaIQIyN6jNp2fWufZlasYWxy10= X-Google-Smtp-Source: AMsMyM5VQldzPlDnUJe159Ggaj1qIdL0alt5dIWRgFMEygtj+ypzBcIWnbol3vIQ1X6NY7rC7n/0xQ== X-Received: by 2002:a6b:6913:0:b0:6a0:eeaa:8d2d with SMTP id e19-20020a6b6913000000b006a0eeaa8d2dmr7447759ioc.92.1664754723190; Sun, 02 Oct 2022 16:52:03 -0700 (PDT) Received: from localhost.localdomain (wnpgmb0311w-ds01-45-179-115.dynamic.bellmts.net. [206.45.179.115]) by smtp.gmail.com with ESMTPSA id 8-20020a6b0108000000b006abd2d94a92sm1137576iob.9.2022.10.02.16.52.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Oct 2022 16:52:02 -0700 (PDT) From: jassisinghbrar@gmail.com To: u-boot@lists.denx.de Cc: xypron.glpk@gmx.de, ilias.apalodimas@linaro.org, takahiro.akashi@linaro.org, sjg@chromium.org, trini@konsulko.com, etienne.carriere@linaro.org, monstr@monstr.eu, Masami Hiramatsu , Jassi Brar Subject: [PATCHv2 3/5] dt: fwu: developerbox: enable fwu banks and mdata regions Date: Sun, 2 Oct 2022 18:51:58 -0500 Message-Id: <20221002235158.344362-1-jassisinghbrar@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221002235046.344149-1-jassisinghbrar@gmail.com> References: <20221002235046.344149-1-jassisinghbrar@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean From: Masami Hiramatsu Specify Bank-0/1 and fwu metadata mtd regions. Signed-off-by: Masami Hiramatsu Signed-off-by: Jassi Brar --- .../synquacer-sc2a11-developerbox-u-boot.dtsi | 22 ++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/synquacer-sc2a11-developerbox-u-boot.dtsi b/arch/arm/dts/synquacer-sc2a11-developerbox-u-boot.dtsi index 7a56116d6f..62eee0aaf0 100644 --- a/arch/arm/dts/synquacer-sc2a11-developerbox-u-boot.dtsi +++ b/arch/arm/dts/synquacer-sc2a11-developerbox-u-boot.dtsi @@ -23,7 +23,7 @@ active_clk_edges; chipselect_num = <1>; - spi-flash@0 { + spi_flash: spi-flash@0 { #address-cells = <1>; #size-cells = <1>; compatible = "jedec,spi-nor"; @@ -36,6 +36,7 @@ compatible = "fixed-partitions"; #address-cells = <1>; #size-cells = <1>; + uuid = "17e86d77-41f9-4fd7-87ec-a55df9842de5"; partition@0 { label = "BootStrap-BL1"; @@ -79,6 +80,19 @@ label = "Ex-OPTEE"; reg = <0x500000 0x200000>; }; + + /* FWU Multi bank update partitions */ + partition@600000 { + label = "FIP-Bank0"; + reg = <0x600000 0x400000>; + uuid = "5a66a702-99fd-4fef-a392-c26e261a2828"; + }; + + partition@a00000 { + label = "FIP-Bank1"; + reg = <0xa00000 0x400000>; + uuid = "a8f868a1-6e5c-4757-878d-ce63375ef2c0"; + }; }; }; }; @@ -104,6 +118,12 @@ optee { status = "okay"; }; + + fwu-mdata { + compatible = "u-boot,fwu-mdata-mtd"; + fwu-mdata-store = <&spi_flash>; + mdata-offsets = <0x500000 0x530000>; + }; }; }; -- 2.25.1