Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp36563888rwd; Tue, 11 Jul 2023 02:42:49 -0700 (PDT) X-Google-Smtp-Source: APBJJlGO5ILkm9zSLEFbDxJuy1sgLX1mk+IJ4qScDnmX/6Ho/0FvZsErPHMobBpls3np1CQxpai9 X-Received: by 2002:a17:903:1247:b0:1b6:6625:d3a8 with SMTP id u7-20020a170903124700b001b66625d3a8mr19686579plh.16.1689068569378; Tue, 11 Jul 2023 02:42:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689068569; cv=none; d=google.com; s=arc-20160816; b=wFngIEdGDXqbNDd1blgiF8Cz670wjZTqBVTKIhLZ+4TXJ26mpdrPdRHeqbjUJtfrgj n7soSpSprpNbvR0ABwZG4Cj3ebANCWpqAtcDaGgASVd15b2zlh5TpS78OtO23RXcjwBJ OUzHpQxKBJehnWAS15+OnpBSQdUmOK3ZlHz9ZBCP9aatHgJwhPaq0nfBN+3D0peQ2OYW 3AnCDmwhQe2MBjCdogusdZu67gwe6NHHdm00Dd8Uom71Fesn2PB+aFyp2RHB85KaWN70 FSGwPPC9olBDSwT+4FfWNl9S1jgnYIJKqBqhZtqVVS2wWBPqPgCoVDjBUkjEjQdC2IEg t1dw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=9riTVmn98ravk1kf9VetpeEIooDv8EP6TYpPc0Gyq/4=; fh=Sr+9hoUSl8Ls/kKd7njFk2Cid3AuliF/Ma3wwMwFyaM=; b=GfKCLlySuGEqkiny1NZkIprKe6J0anYZ3sLylwuegqex3I+s1NhU5OW7FbtS2WiuI4 75+mfBbUYGA+y2E24nUpfSwvLlvQhSGPHnfddF5TpCM8pHgPsbPaIVl7/vhwZ4TF/YiD LbMVt5I+163YAlk5Fxct2dUOy9a9/3+FRpaMsdmchGAKT5Mq9kcnNIWKiqOAIqSmTlDQ pABS/KPrMUMyCl41q0e05iDnRWHUN95Dez701KFFm1mlxFUjmx1b6xxlrCGrCy+Gnm52 whATtHXCGZPHSjXDGqE980o30aLgOgDahFKxWgPlvmXU7WVgmJ747uRAq3Mjuyv51F1s Fzbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZcsYx2KM; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i6-20020a170902c94600b001b8a70d4129si1310566pla.467.2023.07.11.02.42.37; Tue, 11 Jul 2023 02:42:49 -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=@linaro.org header.s=google header.b=ZcsYx2KM; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232288AbjGKJ1Y (ORCPT + 99 others); Tue, 11 Jul 2023 05:27:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232008AbjGKJ0y (ORCPT ); Tue, 11 Jul 2023 05:26:54 -0400 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ACF1D1993 for ; Tue, 11 Jul 2023 02:24:08 -0700 (PDT) Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-9891c73e0fbso1090499566b.1 for ; Tue, 11 Jul 2023 02:24:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689067447; x=1691659447; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=9riTVmn98ravk1kf9VetpeEIooDv8EP6TYpPc0Gyq/4=; b=ZcsYx2KMegNgL5H5mwoVc6+Eki+YDCems49LqDyCRR0tMyDBD1BPXMZUqw2Ymw9Wmo T+2Ejoe2hdztpcifiEODCvxQ09KJt5tiL/EZN6KQRG5duEAenUBsxDQ3ebGfu+X//7T5 fBS+fx0Jc7hz4MHBZtk5cCOePyIXmzjNjQ2s8ue+8zCgODXo+8NbC4vN7imsk+1Yvxs4 t50rVJyeKd7cZuTGlyHQOsQa5RljNAlPsWDuwH69aB2E5bA2mB4ohcdDCxtvWhj+9VmI JLVk6YbDWCyZF0u5GI7BL4csQ3R+TzI/lysj3H0VQjt9fx9ACPXsDR6on05dEJ9br0b7 VrUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689067447; x=1691659447; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=9riTVmn98ravk1kf9VetpeEIooDv8EP6TYpPc0Gyq/4=; b=KM9ME/XxaSYG7H6HY+qBIX0B5ZFIlH/wM7Ha8IZqrvIzY+t2kQEBZHBmXzwuVGXNI6 xx6/PXg1yg1xthKEQKGxYDjgSI8LIfRiz7kfWSebK9zWrVWx1Myk5xWUoerN+ZZ1r7wI rSUQvaCdG53YEnr4gLyqM6ayBJxBZMsFSoESxXgC2uPhUw1pRHujwDT7/02u/0+EU9H4 WFe9ygfBSux4m2V5uLrMhYu+v/JgRS/I+E3VLmBVrlmDRE3oQjv852wrovXdmLKAK0j1 Ji1rKz5bMG12paENxI6jxTWKDwJly0uTv+dYcCZebmbPYuj47ITTSgJYFs7FqOR/SeUH +wVA== X-Gm-Message-State: ABy/qLbGnmTRXZ6yPNT/OQVvE+Mme9yRbNXTd6G9XpAsZ6t4ZjhdV1Nq dt8YSNH0qGorOx+g8PSHyzawYg== X-Received: by 2002:a17:907:1b89:b0:988:15f4:fdba with SMTP id mz9-20020a1709071b8900b0098815f4fdbamr19505435ejc.14.1689067446981; Tue, 11 Jul 2023 02:24:06 -0700 (PDT) Received: from [192.168.1.20] ([178.197.223.104]) by smtp.gmail.com with ESMTPSA id p27-20020a170906141b00b00977eec7b7e8sm905603ejc.68.2023.07.11.02.24.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 11 Jul 2023 02:24:06 -0700 (PDT) Message-ID: <7e1332bc-0757-bbe8-e087-7a0e52d6b97b@linaro.org> Date: Tue, 11 Jul 2023 11:24:04 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH v2 2/3] arm64: dts: ti: Add reserved memory for watchdog Content-Language: en-US To: huaqian.li@siemens.com, wim@linux-watchdog.org, linux@roeck-us.net, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: huaqianlee@gmail.com, nm@ti.com, vigneshr@ti.com, kristo@kernel.org, linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, jan.kiszka@siemens.com, baocheng.su@siemens.com References: <20230711091713.1113010-1-huaqian.li@siemens.com> <20230711091713.1113010-3-huaqian.li@siemens.com> From: Krzysztof Kozlowski In-Reply-To: <20230711091713.1113010-3-huaqian.li@siemens.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=unavailable 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 On 11/07/2023 11:17, huaqian.li@siemens.com wrote: > From: Li Hua Qian > > This patch adds a reserved memory for the TI AM65X platform watchdog to > reserve the specific info, triggering the watchdog reset in last boot, > to know if the board reboot is due to a watchdog reset. > > Signed-off-by: Li Hua Qian > --- > arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi b/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi > index e26bd988e522..77380e52a334 100644 > --- a/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi > +++ b/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi > @@ -63,6 +63,12 @@ rtos_ipc_memory_region: ipc-memories@a2000000 { > alignment = <0x1000>; > no-map; > }; > + > + /* To reserve the power-on(PON) reason for watchdog reset */ > + wdt_reset_memory_region: wdt-memory@a2200000 { > + reg = <0x00 0xa2200000 0x00 0x00001000>; > + no-map; > + }; > }; > > leds { > @@ -718,3 +724,8 @@ &mcu_r5fss0_core1 { > <&mcu_r5fss0_core1_memory_region>; > mboxes = <&mailbox0_cluster1>, <&mbox_mcu_r5fss0_core1>; > }; > + > +&mcu_rti1 { > + reg = <0x0 0x40610000 0x0 0x100>, > + <0x0 0xa2200000 0x0 0x1000>; That's a total mess. reserved memory and IO address space. Nope. Best regards, Krzysztof