From patchwork Wed Aug 2 03:32:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Huqiang Qin X-Patchwork-Id: 129602 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f41:0:b0:3e4:2afc:c1 with SMTP id v1csp204968vqx; Tue, 1 Aug 2023 21:45:15 -0700 (PDT) X-Google-Smtp-Source: APBJJlGembN/H9n+NHu5MHij8K5v9x2VWHLX9QWWc91pYmeWmVVA3kbscesegOHgjk1U7w+8hjjI X-Received: by 2002:a17:906:145:b0:98e:933:28fe with SMTP id 5-20020a170906014500b0098e093328femr3955722ejh.66.1690951515357; Tue, 01 Aug 2023 21:45:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690951515; cv=none; d=google.com; s=arc-20160816; b=eBvrM3FUDAz7sKOVp6y2ke0NxQ6dji0JCjPYOWoypk75GAxtLrdi1geiU2Ya2z6tSF yRBdNMaRl+hAFrziN4sgby8Teuil+vv7ZBw5Cnin+jzp11P/Z6WVXsvUwG3z8wLdt1lL wCjLuSYZ6BAKLQn976YN2xcEO97VZO/o+cfcZBvwTE8Ztf64HZs9VWRFbTGOAMGg/R+j 7VBmy2qTCGYFMUhb1TGG9Um001VZDrDaO/7bOsFEak7R0bu9b2WTBhBk3mIddZEVhCir QC8uNR/M+k4lASLZcPSc7si3wo9Sg2s0KSax+0SzXgR+iRgRTP+dm6BNLXc6STg1g1+i rDcQ== 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=fjGlZ8isXViVpY0z87Z+zp0BXZ6pwwJUDq5uFKApOio=; fh=3WoT9kP5q+Sam9PGRwvPEipl2wqumfFk0LZoLIOgIWA=; b=cmLpX2ZqzEh8AzGrAy3OJJBZkH3rI4gPxPiPCRDyBIycevu+e+cEfEPIS3+dMRPsyq IJDB2wwe2FRxm4cltfJo1xivytylQLGHYio9AImWZAA2YrHWsdJN80AE+IMfq55xE3ZK RoGnGiTtPcW2WlyX7eDCaL0OzxvjiVuHN8ec/PyflQvOz95Ic27C69cy8mQ5AEugsNWt d+kSm/1Mjax3pUA57JAEMQGVG2gn8CPoHQAon9HMgu+dfV9GR3QWrQcb63d1taGKVHmV w7pBBVbV5OzWyUZqLdZtGapp9RYOWYIigTsLCVirDAIf/F+dfz6WavInvn2FSfOZcUNp thSA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=amlogic.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s23-20020a1709066c9700b0099bcb8f4f00si9698661ejr.409.2023.08.01.21.44.46; Tue, 01 Aug 2023 21:45:15 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=amlogic.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232039AbjHBDdH (ORCPT + 99 others); Tue, 1 Aug 2023 23:33:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59750 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229606AbjHBDcx (ORCPT ); Tue, 1 Aug 2023 23:32:53 -0400 Received: from mail-sh.amlogic.com (mail-sh.amlogic.com [58.32.228.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 94956E4D; Tue, 1 Aug 2023 20:32:52 -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; Wed, 2 Aug 2023 11:32:30 +0800 From: Huqiang Qin To: , , , , , , , , CC: , , , , , Huqiang Qin , "Dmitry Rokosov" Subject: [PATCH V2 4/4] arm64: dts: Add watchdog node for Amlogic-T7 SoCs Date: Wed, 2 Aug 2023 11:32:22 +0800 Message-ID: <20230802033222.4024946-5-huqiang.qin@amlogic.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20230802033222.4024946-1-huqiang.qin@amlogic.com> References: <20230802033222.4024946-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,T_SCC_BODY_TEXT_LINE 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-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773091176334734866 X-GMAIL-MSGID: 1773091176334734866 Add watchdog device. Signed-off-by: Huqiang Qin Reviewed-by: Dmitry Rokosov --- V1 -> V2: Unchanged. arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi b/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi index 1423d4a79156..6e34d11214b7 100644 --- a/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi +++ b/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi @@ -143,6 +143,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>; + }; + uart_a: serial@78000 { compatible = "amlogic,t7-uart", "amlogic,meson-s4-uart"; reg = <0x0 0x78000 0x0 0x18>;