Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp780748rwb; Tue, 27 Sep 2022 04:44:43 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7Idq34bF+taQVEHR/KK0tUYzHVZRQv8btjT4NBEPvXgC2vjIuwAdPCaM9T5JtGj+o16cRu X-Received: by 2002:a50:ed05:0:b0:456:d6fe:d800 with SMTP id j5-20020a50ed05000000b00456d6fed800mr20324646eds.101.1664279083253; Tue, 27 Sep 2022 04:44:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664279083; cv=none; d=google.com; s=arc-20160816; b=C3ox7wqL43pUBNfMmfeaMHhi192wPzXC4o5RFbZrCiCjed+3GMqfXL2/jBMNte9+S1 1Hxr8Jv9oLSg2pwaw3VVVrtURawSZDEGWrA8/KE52CYqfx17A5GO5w0hQkwlKKwrzTWf mRvaavwKkPnm4cp3kKd91koXrf/9vD3LDG6gSEm1EXt3d2taCVyfnBOiFFPPNA9Snmd+ rJqGEr/Zh8Y1rmPt4yxXzJPL0J3mHwCDNLlC7A2EreJuX3ZTcln4m8oVfVV9Zi8iSm87 ueI0+R3k/zhsJn/2KsybW6EUq/I1ASwj1l/AcmM8+VXMHDC9YRu5wubIbQefWTm2TFPD vBaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=n9I7CnHvzjnKPs0EHsEdbxTtskgiieFEaY2XwmXoDvM=; b=l9WHk2zRQNuTYQ/luEcrsEuxAoKvSJSwUIpwQTDzJY3TH+KYC6p7S1GWVI441wp97B mDT4ed2dJ7bmqv+NMMmTXG7F3Hl40QpVWFU9JY7Jw2mCFPBntr9T0qa34exwRENTZ5WD q0bgulDtf7SGLAd1i0b3jhOh2MRaeZZKZiS7oRbMcVaWzJ8Ni4V9HWlM311LoukEeZrG YYddB2w4J/QOy1rZbiHlVGVlVTtK8n/jZwUt9va5WMMc5QWKMpej3xHbd8Q0xYLCdMCx yCdahGOqOpwlD0UWR7uSLb7dvFsMm8FEcdMhW7dm4z3oQ4Jwm7Zmh5rm73Twa24hKMmw NNkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=dEcxhhbv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 5-20020a170906208500b00782987c675asi888544ejq.932.2022.09.27.04.44.16; Tue, 27 Sep 2022 04:44:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=dEcxhhbv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231669AbiI0LVt (ORCPT + 99 others); Tue, 27 Sep 2022 07:21:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230388AbiI0LUb (ORCPT ); Tue, 27 Sep 2022 07:20:31 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 649DC100; Tue, 27 Sep 2022 04:20:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1664277629; x=1695813629; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=OsVWWpeogVW5hrrvPLEhshKbrhrTon0FHGytPjPWSr8=; b=dEcxhhbvBTcxgWbxlXb5mZJQCDGqrIpXr6zgUnRHnYSMXdq965Ty2h7k mnzLDk5iHa/YDHa5GLm8neUI2Z/YiI7jwieMo33nzfK9z/YtlYfrG7efg jB4vnSuQMbKtHpqGsmL675zNQRYFXbEbHs94Rzh1/BW8oVsCzDbD/tK0r DMRQ3nZqJnPwN1XJwXhTu9uvR0FMS4uC+onKHwOAgQzC4WRw4c4/JWQIq csOY5qNED+EH1eUG3CNAUsQAzLHJEiC8S310N0KEJitlFiKaHwhbBlVFQ SS0WG5bGShoyW5lwEm8gzDPxWzq+DXDSYDBdqNN03xke0yfXSRm/R2ee0 w==; X-IronPort-AV: E=Sophos;i="5.93,349,1654585200"; d="scan'208";a="192655951" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 27 Sep 2022 04:20:28 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12; Tue, 27 Sep 2022 04:20:28 -0700 Received: from wendy.microchip.com (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.12 via Frontend Transport; Tue, 27 Sep 2022 04:20:26 -0700 From: Conor Dooley To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Daire McNamara , Shravan Chippa CC: Paul Walmsley , Palmer Dabbelt , Albert Ou , Cyril Jean , Lewis Hanly , Vattipalli Praveen , Wolfgang Grandegger , Hugh Breslin , , , Subject: [PATCH v6 11/11] riscv: dts: microchip: update memory configuration for v2022.10 Date: Tue, 27 Sep 2022 12:19:23 +0100 Message-ID: <20220927111922.3602838-12-conor.dooley@microchip.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220927111922.3602838-1-conor.dooley@microchip.com> References: <20220927111922.3602838-1-conor.dooley@microchip.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In the v2022.10 reference design, the seg registers are going to be changed, resulting in a required change to the memory map in Linux. A small 4M reservation is made at the end of 32-bit DDR to provide some memory for the HSS to use, so that it can cache its payload.bin between reboots of a specific context. Signed-off-by: Conor Dooley --- arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dts | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dts b/arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dts index 42d350fe6c6b..31f88cb4d5e5 100644 --- a/arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dts +++ b/arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dts @@ -33,15 +33,26 @@ cpus { ddrc_cache_lo: memory@80000000 { device_type = "memory"; - reg = <0x0 0x80000000 0x0 0x2e000000>; + reg = <0x0 0x80000000 0x0 0x40000000>; status = "okay"; }; ddrc_cache_hi: memory@1000000000 { device_type = "memory"; - reg = <0x10 0x0 0x0 0x40000000>; + reg = <0x10 0x40000000 0x0 0x40000000>; status = "okay"; }; + + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + hss_payload: region@BFC00000 { + reg = <0x0 0xBFC00000 0x0 0x400000>; + no-map; + }; + }; }; &core_pwm0 { -- 2.37.3