From patchwork Mon Sep 25 09:06:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Huqiang Qin X-Patchwork-Id: 144315 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp1079490vqu; Mon, 25 Sep 2023 02:23:11 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEQfHh0PnrN2Mv7oqn+GLYH7RP4cIi7n46oQS971O1bStwiHJnSDOctO7OesX4xIi0mGt2J X-Received: by 2002:a17:902:934a:b0:1bc:10cf:50d8 with SMTP id g10-20020a170902934a00b001bc10cf50d8mr3719202plp.23.1695633790944; Mon, 25 Sep 2023 02:23:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695633790; cv=none; d=google.com; s=arc-20160816; b=z0TDzt3r2yj5wZpuPsmn74EFb9lMfgNJ8JZRr/VFS9fzJOZljmpU6JyydT36Rys7Xq fd1GCv1EWs7IBrhg5/H7BcgIdTgpQuU/EFcZbjiPPe9i0uPRXDLu7t2qHLK2ytbSUlh9 vW80TWmwGTcbBQTKnanB3BD/myCAVkW6KZfs7XAykK20aLVoy+eXIUsSVLwjQnMhhrXe EhjPJgU7yIy1xrf7un5DI+2ev14ALKfuhAZ5qAN47DmzjzVjN9fKKGG6g4OaS70RdXwD ZIaKl5j/QEJcGg+tDtEGcBQ3xL5PpWzWoS+L9Orjowx7YRsMJMdffnFIt+HcnATTGEgV pzWg== 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 :message-id:date:subject:cc:to:from; bh=FGE/ZleK5uxXGFtAqlCwIyGz+zu9UncTstdfHriBB6g=; fh=MG3xgp4amsQ6D1VUufkO2i784INXy57A/MH6L20e8es=; b=T8Xnl0OZTciMF5uEqmz+mrhJyYDTqFz7ZOGBhTbKsvVp9xBkAjVDtX0gxsz3Ei3cQA ngLYuqoQI4tD8ZUZWAhdgbfBk+q2pXCbT4rXHz8jhhss/Ish6MKjmWTngPgRhgHeZtb2 UVJGMy67iOIGDsSYYUtgcb0oioxStlYR8ebnvjMrRCJAKnZK5dpKuVMvdiKgFf7MWes8 NdlCNQSIBtRYWqwzUkTOTOd3/V1XlqthxI/FqN0Fq+QVPzjefb3ZEB0SRW8UQvBFhezA ZNVtKVq9+SPQbG1AB2mMQXjzKOFfKid/4Z/TixyWkaC+FOvH+dtelR9f7GOAjdAwIvEG otUg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id c6-20020a170902d48600b001bf3fe55e78si9775070plg.600.2023.09.25.02.23.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 02:23:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (Postfix) with ESMTP id F25DA809C425; Mon, 25 Sep 2023 02:07:30 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233116AbjIYJHV (ORCPT + 30 others); Mon, 25 Sep 2023 05:07:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42086 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232959AbjIYJHT (ORCPT ); Mon, 25 Sep 2023 05:07:19 -0400 Received: from mail-sh.amlogic.com (mail-sh.amlogic.com [58.32.228.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 784209B; Mon, 25 Sep 2023 02:07:11 -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; Mon, 25 Sep 2023 17:07:07 +0800 From: Huqiang Qin To: , , , , , , CC: , , , , Huqiang Qin Subject: [PATCH] arm64: dts: Add watchdog node for Amlogic-C3 SoCs Date: Mon, 25 Sep 2023 17:06:40 +0800 Message-ID: <20230925090641.1185942-1-huqiang.qin@amlogic.com> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 X-Originating-IP: [10.28.11.83] X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email 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 (morse.vger.email [0.0.0.0]); Mon, 25 Sep 2023 02:07:31 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778000897933806171 X-GMAIL-MSGID: 1778000897933806171 Add watchdog device. Signed-off-by: Huqiang Qin --- arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) base-commit: 8fff9184d1b5810dca5dd1a02726d4f844af88fc diff --git a/arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi b/arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi index 998f5050795c..106f4dd09a1b 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,t7-wdt"; + reg = <0x0 0x2100 0x0 0x10>; + clocks = <&xtal>; + }; + periphs_pinctrl: pinctrl@4000 { compatible = "amlogic,c3-periphs-pinctrl"; #address-cells = <2>;