From patchwork Tue Mar 28 21:00:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shreeya Patel X-Patchwork-Id: 76264 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2505727vqo; Tue, 28 Mar 2023 14:08:45 -0700 (PDT) X-Google-Smtp-Source: AK7set/6YfqWvClFkf/lnbihhW6cFf7EWvpEIhweV7t1fmoZMaKwqj+lTLyO96kBs5kUIiC94g8b X-Received: by 2002:a05:6a20:8984:b0:dd:8442:9618 with SMTP id h4-20020a056a20898400b000dd84429618mr13071470pzg.25.1680037725279; Tue, 28 Mar 2023 14:08:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680037725; cv=none; d=google.com; s=arc-20160816; b=eMEoqn3VLn2pyT5CJLQ5RrE2GBbqyEtweFWY8IMzb0+tu4M65kaEEdonnAWKD4l5Um FHSIDTLG6cjV+K0H0myMOivLmEb3uQiyWueYXqHNVO14L5FaC59v7CKkU1Qxkytc0vjy dGn1llZHvTfCr+XpLaLt/5ZxnE3IDk+sNLRvKUZR6Igvljq92EDONiaKCT8kTrGAGpfZ zIRzYHn7HlMU5xNufGdHgTVBwTGNRXLsQ8H/tFgW2DlXn4Ud+lldcUUSRnCFL6GGfkkA YvWD75Mzh5ui8ILP7r1Rw4s8dRjr/6p4aWD4eLlBUEb1rbYmwgK6P5pNbKUrf2N9FsPS gkrA== 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 :dkim-signature; bh=AtaLJaCu9OiiqnThT9PMp9H8FQY50nNEApNbPwuR1y0=; b=OmDMlefk2+w9QKMydj+/yASjGwId3YI4LGzoVesL6U1XfCCwsTWHeXSGaQ9KYayFMl l19UVslq/eDQPLG77zIpIMWpZ/OgZWUf4Shb4E8K3vzglIJ83EDxlQqqiLClt9KwaWIc VwgeHan7rGd6odrW7nJ5DNh+9rVeCBxe2UKUKsRdzGywC4AIvAEiD1PMpwGE8Jx8Zbxq X3xnfaiIizCAMjBc/j8lyHl4wbrK/LErU9rLoVKTTNGxSY11Xf3VEnHaEVMD+m071/fU qZxHbdsi8LAQQwEFJ9okEKxwvAU9gkFU+E6a9iI1MIopJGOwLmy2IwjvVFwlDW8PNpjz vy3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=WN64Tbqw; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f1-20020a6547c1000000b0050bea56f69asi30329233pgs.735.2023.03.28.14.08.21; Tue, 28 Mar 2023 14:08:45 -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=@collabora.com header.s=mail header.b=WN64Tbqw; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229479AbjC1VCh (ORCPT + 99 others); Tue, 28 Mar 2023 17:02:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229468AbjC1VCf (ORCPT ); Tue, 28 Mar 2023 17:02:35 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60ABC3AA0; Tue, 28 Mar 2023 14:02:09 -0700 (PDT) Received: from localhost.localdomain (unknown [IPv6:2405:201:0:21ea:73f6:2283:f432:3936]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: shreeya) by madras.collabora.co.uk (Postfix) with ESMTPSA id 8F2616603163; Tue, 28 Mar 2023 22:02:04 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1680037327; bh=vLuPLrQ150EuvyOIDT/l5G5BueMNkQv42XadApxWJmY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WN64Tbqw7jmk/KbtubS6IeljHEBU6AyfryGC8+TB3NOddenzs7kFj0imi4dDLiykw dHK4nRh7UH2grrSwZapjsiyHDUU2kbmEuQEsxEYyMM0zfzEbjQGTzQghwd6/zvSmKJ cC0JbZiVJzpos0SVaKxKP7fqW9R0AcHmTyW175YE0pclc2D91aqo0O1knt9FYqag8o iqS+YOJIOKM3XbZ0Rh4S4YTerP7oJIhksOAx7PSQpq7306UmuLfqmVlcgLaCKGNgsN loYt/et1qztIoJMdc6zYyIcP9fRHHz9lQG55wuv81TSZpDjCGQTLkV1dXUOnV9cXE2 ENMd2W/2i2yAQ== From: Shreeya Patel To: wim@linux-watchdog.org, linux@roeck-us.net, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, jamie@jamieiles.com, heiko@sntech.de Cc: linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, kernel@collabora.com, Shreeya Patel Subject: [PATCH 1/2] arm64: dts: rockchip: Enable watchdog support for RK3588 Date: Wed, 29 Mar 2023 02:30:47 +0530 Message-Id: <20230328210048.195124-2-shreeya.patel@collabora.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230328210048.195124-1-shreeya.patel@collabora.com> References: <20230328210048.195124-1-shreeya.patel@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761647237763917883?= X-GMAIL-MSGID: =?utf-8?q?1761647237763917883?= Add DT node for watchdog support in RK3588. Signed-off-by: Shreeya Patel --- arch/arm64/boot/dts/rockchip/rk3588s.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588s.dtsi b/arch/arm64/boot/dts/rockchip/rk3588s.dtsi index 005cde61b4b2..20793f67c079 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588s.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3588s.dtsi @@ -1226,6 +1226,14 @@ i2c5: i2c@fead0000 { status = "disabled"; }; + wdt: watchdog@feaf0000 { + compatible = "rockchip,rk3588-wdt", "snps,dw-wdt"; + reg = <0x0 0xfeaf0000 0x0 0x100>; + clocks = <&cru TCLK_WDT0>, <&cru PCLK_WDT0>; + clock-names = "tclk", "pclk"; + interrupts = ; + }; + spi0: spi@feb00000 { compatible = "rockchip,rk3588-spi", "rockchip,rk3066-spi"; reg = <0x0 0xfeb00000 0x0 0x1000>;