From patchwork Fri Oct 27 10:43:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Huqiang Qin X-Patchwork-Id: 158895 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:d641:0:b0:403:3b70:6f57 with SMTP id cy1csp512331vqb; Fri, 27 Oct 2023 03:59:53 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEpqRJHeuLDRa0VQPyDzTq46P/xNb4xK+Yd6htSSmS9FCi9UQunWQcGLMF3kTlVyfaguQA/ X-Received: by 2002:a25:44:0:b0:d9a:5409:60a8 with SMTP id 65-20020a250044000000b00d9a540960a8mr9541947yba.14.1698404393723; Fri, 27 Oct 2023 03:59:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698404393; cv=none; d=google.com; s=arc-20160816; b=dPMAlP3U0qIqN8cxfR6fXoGg58REvq3VxzpPwnpu7uxqBPTbQTB7eHsXkvwJCRoapk XBp3wyAur7IllbWQpOP8t6I4tz+iZsYfKYAZuR+sUTVMiyIqpMEnkCPNqQQYTRtMmHh/ c1rpkjKSCP+EiUJ4+41HG8YWuQPP/MJ2dQbBBOUZmIvwNnU3gWsiMaKk721JYB2b36v7 4oDUSueGsw8RC0DKWGoGTlx4ekHyxXZN0Sw2oC4znnZnZikGf6cTQIibzztLe7M9XnhK hjJRBjugJFV7cW7Dd42pYEWdd+0TlsEDABt/ubZVlPYmbv5hq0T63yG0tXp5jeDj2LcT jxqg== 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=17Y9eRkA+qYDXkh7kuHqzuI1w8UFD82Bqy2dksPBx5w=; fh=jl+6xami2wMN5/WImgUgWF+yM7SARCr/QXw/jnT6odM=; b=pprZhJT4WEu1Fu1bXLDKzPkG+4YIp0yxPBqpE9ucq0IqObQbvibraRUbwH9ottf0b1 XbyCs1mEK9qgU48ZSxaKnh9gZ7U5Wrxpz9DDrbfEqiPJB3WHup7I0KDSsTydfDKqBo6z VlAWBfX6xhMu03TAxi6W8kR4N1wnqgAH65P43rgz1LTSOZdvVUXHikH5dcHe82nOEzM5 YdQ7JHtJYk6/fYnnSsr9frKPLANmsSuQXVCLp86q1Z+gy/AM3Ee0YpSy/qBdDwcFZaDv 6Lv+ldkjFFdLK8JyUhLOajQrumFa1bjWdWOs9I++6Oj93DK7ajzfanY9mXDBrbTzly4z P6bw== 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 e5-20020a5b0045000000b00d86a6df0617si2094055ybp.725.2023.10.27.03.59.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Oct 2023 03:59:53 -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 3C89B8348DB9; Fri, 27 Oct 2023 03:59:51 -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 S1345692AbjJ0K7j (ORCPT + 25 others); Fri, 27 Oct 2023 06:59:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41284 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230101AbjJ0K7i (ORCPT ); Fri, 27 Oct 2023 06:59:38 -0400 Received: from mail-sh.amlogic.com (unknown [58.32.228.44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ECC9B9C; Fri, 27 Oct 2023 03:59:35 -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; Fri, 27 Oct 2023 18:44:27 +0800 From: Huqiang Qin To: , , , , , , , , CC: , , , , , Huqiang Qin Subject: [PATCH V3 3/3] arm64: dts: Add watchdog node for Amlogic S4 SoCs Date: Fri, 27 Oct 2023 18:43:58 +0800 Message-ID: <20231027104358.342861-4-huqiang.qin@amlogic.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231027104358.342861-1-huqiang.qin@amlogic.com> References: <20231027104358.342861-1-huqiang.qin@amlogic.com> 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 howler.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 (howler.vger.email [0.0.0.0]); Fri, 27 Oct 2023 03:59:51 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780906085584869728 X-GMAIL-MSGID: 1780906085584869728 Add watchdog device. Signed-off-by: Huqiang Qin Reviewed-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-s4.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-s4.dtsi b/arch/arm64/boot/dts/amlogic/meson-s4.dtsi index e0cfc54ebccb..2344b2d741c3 100644 --- a/arch/arm64/boot/dts/amlogic/meson-s4.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-s4.dtsi @@ -92,6 +92,12 @@ apb4: bus@fe000000 { #size-cells = <2>; ranges = <0x0 0x0 0x0 0xfe000000 0x0 0x480000>; + watchdog@2100 { + compatible = "amlogic,s4-wdt", "amlogic,t7-wdt"; + reg = <0x0 0x2100 0x0 0x10>; + clocks = <&xtal>; + }; + periphs_pinctrl: pinctrl@4000 { compatible = "amlogic,meson-s4-periphs-pinctrl"; #address-cells = <2>;