From patchwork Tue Sep 26 05:55:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Huqiang Qin X-Patchwork-Id: 144734 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp1698470vqu; Mon, 25 Sep 2023 23:04:56 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGnQXorzJwEeWHV5D4aiDRhuUmPBF+LxKKQrZ8E32E++wpuJ5vXE9xxw9isLIOqu9ispiJH X-Received: by 2002:a05:6870:5388:b0:1c3:91b9:e1e7 with SMTP id h8-20020a056870538800b001c391b9e1e7mr11911328oan.21.1695708295904; Mon, 25 Sep 2023 23:04:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695708295; cv=none; d=google.com; s=arc-20160816; b=dsyIxzk7Sz5BHDeiwZdNa8raCmOGSrYZU+welBVkkQALHfg56jdwkHi8MO959F3Llt iL6sLLvf0O9f5pL3mS4dPhPSgCc+r+T2xqq1kiDqF/U0X4YbAiHlaanvlh3rNdT9sWEH aK0a/oEELaS+kG/KYvZewDAFBJaEQu23MjuMvazZ98OlB63G3dlxMgS+EXxlj10FSKAF M4vmRZeqGW8klNMHrmyzSmYe6xaStYuF0dH1umiGwCUKEM3FV64+jQ8cEYryVbOxxJcd 49clN7jiFvrQXBL+TTDxwUUgwUa0Py4j/tgoXg1u0+Uflz1BW3hk6WlkdhXfoswgecW4 3fJA== 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; bh=aEl7u5d/u+Ryt3ksQcYIUNYocM+3PIHnewAmdqQ0smU=; fh=jl+6xami2wMN5/WImgUgWF+yM7SARCr/QXw/jnT6odM=; b=W7Na7jmU5xvZgUFBeAZaSuSi2uaw0ZwoaFGJEIb45JYC0sMgQ7Y8KX1+jWFWY7xLMj Z5qnZEoCi+rf41AxND6ymfbk+0NvZho3AUXCBJ7GpOqCyp+kkvk27Feqe0T3SxeBEM44 LF5Poj48oTSv9Vz+8spb9Lqns246zrhZ+pGFBuJVD2ktERa4E4ZCuMmwRkLjNbHxbH4w th/+zgjbvBXOxMyaI9DWxcVnsjwHjmeNBeKvRwYy0noHm2ZAqDZizSbCUeJ0DT06PBiv d43YRN2ARUlPOpqJ/BFAK8yGIy8sX/pd1Z+3vjuzxZKRY5mx97OT7H5chiNK5gvIHtor kynA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=amlogic.com Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id 132-20020a63018a000000b0055fce913d52si11330084pgb.761.2023.09.25.23.04.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 23:04:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=amlogic.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 63881809C67C; Mon, 25 Sep 2023 22:56:40 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233691AbjIZF4e (ORCPT + 26 others); Tue, 26 Sep 2023 01:56:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58108 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233680AbjIZF4c (ORCPT ); Tue, 26 Sep 2023 01:56:32 -0400 Received: from mail-sh.amlogic.com (mail-sh.amlogic.com [58.32.228.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 439F1DE; Mon, 25 Sep 2023 22:55:39 -0700 (PDT) Received: from rd02-sz.amlogic.software (10.28.11.83) by mail-sh.amlogic.com (10.18.11.5) with Microsoft SMTP Server id 15.1.2507.13; Tue, 26 Sep 2023 13:55:33 +0800 From: Huqiang Qin To: , , , , , , , , CC: , , , , , Huqiang Qin Subject: [PATCH V2 2/2] arm64: dts: Add watchdog node for Amlogic C3 SoCs Date: Tue, 26 Sep 2023 13:55:12 +0800 Message-ID: <20230926055512.2355390-3-huqiang.qin@amlogic.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20230926055512.2355390-1-huqiang.qin@amlogic.com> References: <20230926055512.2355390-1-huqiang.qin@amlogic.com> MIME-Version: 1.0 X-Originating-IP: [10.28.11.83] X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Mon, 25 Sep 2023 22:56:40 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778079022259889429 X-GMAIL-MSGID: 1778079022259889429 Add watchdog device. Signed-off-by: Huqiang Qin --- V1 -> V2: Increase compatibles of C3 watchdog. arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi b/arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi index 998f5050795c..2ad1f8eef199 100644 --- a/arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi +++ b/arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi @@ -81,6 +81,12 @@ apb4: bus@fe000000 { #size-cells = <2>; ranges = <0x0 0x0 0x0 0xfe000000 0x0 0x480000>; + watchdog@2100 { + compatible = "amlogic,c3-wdt", "amlogic,t7-wdt"; + reg = <0x0 0x2100 0x0 0x10>; + clocks = <&xtal>; + }; + periphs_pinctrl: pinctrl@4000 { compatible = "amlogic,c3-periphs-pinctrl"; #address-cells = <2>;