From patchwork Thu Jan 21 10:26:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 12035495 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 71039C433DB for ; Thu, 21 Jan 2021 10:30:20 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 07DF1235E4 for ; Thu, 21 Jan 2021 10:30:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 07DF1235E4 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=3Af6K4ch0OwMK7MH5lLgr71Fv1pGHcO66C0lT0KIP9E=; b=1noFlQwL7SISO5x3oqp5JIlnM qMMvbu+0g4crEyCVl1iakNM2gTxcO+87NNXfh+IEoRhGgSxuHOQNY3Qgp5VY4QXb1DfzSJZKj9RTI QG5CTfzdy8Wk1HoZ3VBlsswA0EPC6S+GvIUkx2QIwXUFpyQS67xX1yU+lsbevuS1cP3GDluCcpk4r 4TeFEXtNFylg+NkM+n9Tyel1/amJhW8wAmCCz4wPqvo1Njkr+lDjDLoU8JNfTl/qTGfGqAo5y81BI FmYXrsW0TcOJzKX/XfjgqBan/g2IKMZ7Oh0PzoYd/7a49fYwk/Cic4b0dQDC/2t3ev6w8YkpWC0La imm2vXuWQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2XCf-0004fc-Oc; Thu, 21 Jan 2021 10:28:37 +0000 Received: from mail-ed1-x532.google.com ([2a00:1450:4864:20::532]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2XBU-0004FD-AM for linux-arm-kernel@lists.infradead.org; Thu, 21 Jan 2021 10:27:31 +0000 Received: by mail-ed1-x532.google.com with SMTP id g1so1826048edu.4 for ; Thu, 21 Jan 2021 02:27:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=03jDdVsHWABmgrMGYxTKqglWcTZOSBLi2r7Msa4qweQ=; b=T/YvtqUIJ3VyoZ7WhYeu6vpUvItqA1Yb4ORxmREBN+CU7//I522B+QqPB8vi95g36b w4E7jwfdcuVNE09+z4if7JX1kHI7tNy7PzLmoEh+o72ZanrgR/4rfYhIAEoM88094VaF bqxSmSBLYIqB9GoL+8Ip0euyNmN8e/iY0uYC85x9/wyxkCZA7JmPueOKpUPYXCrgo1Oa rceE9K+BOanw2Nl6w27pHQUwNIqoyMb9QcHqm1hpY/vFZe7mveumXVm8u4sc7tfRIwFS 1UZJa0/QJR9lHxrN0vkPDsIv4XPL2z9xxtH+0ZDcluDULkbbckR9/cbIcE1lm0DF6+8j +BpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=03jDdVsHWABmgrMGYxTKqglWcTZOSBLi2r7Msa4qweQ=; b=bGJ0ZRvIgz7P6zQaFmAasfe8ivIRFQM0hZn+7lv5HNDN5PFe92N/4vtg0I7JcBv4IV 510Uyue8+J7xE2Qy81lWZGWeKhA7pDsDf4MPbPK6/y/TPpr6URFdKG99SAQ5HqdAsZgY MVQsDAl2o0/Q8YLzh6zlYonxR0UXcE1NtAvA2Ja5Y73321YI6UVunwfBA+wSDch33v6s WlZVo0zsRzurZLj6iuh6IQ0jddZOmkZokYXYENPEAahvOJI+v9lhVWumBqou7dYZr69v KzTxgcuZS4/UGlFTpVKSPxAWvncMJIsG0Kj66cC6xHtdKyz2WtTDSTPiQBPkCIDHkqqZ MviQ== X-Gm-Message-State: AOAM530xpQNZZ3GsDvXQ4Df5dVKynqD9b1Tj1dQbbykqOoLc7WKqw4VM tvlYVf+QhezNCRnhEKLcPq5Jqg== X-Google-Smtp-Source: ABdhPJx8PBmtDReaqzLSbecIS9e3NitrNGV2VYA7XqRpLcVAB+ZAhdOlA9FWgJtwpzTk+DlHbKG7pQ== X-Received: by 2002:a05:6402:1701:: with SMTP id y1mr10362420edu.251.1611224842778; Thu, 21 Jan 2021 02:27:22 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id j23sm2562857edv.45.2021.01.21.02.27.22 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Jan 2021 02:27:22 -0800 (PST) From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com Subject: [PATCH v2 10/12] arm64: dts: zynqmp: Add missing lpd watchdog node Date: Thu, 21 Jan 2021 11:26:58 +0100 Message-Id: <0489a1d5528614f1d570ea153d38b813f0c1eb9f.1611224800.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210121_052724_407043_AF0BB703 X-CRM114-Status: GOOD ( 13.40 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Krzysztof Kozlowski , Rob Herring , Laurent Pinchart , Kalyani Akula , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Xilinx ZynqMP SoC has FPD (Full Power Domain) and LPD (Low Power Domain) watchdogs. There are cases where also LPD WDT should be used by Arm cores that's why list it with disabled status. Signed-off-by: Michal Simek --- Changes in v2: None arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi | 4 ++++ arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 9 +++++++++ 2 files changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi index 6a577e1383c1..3ca7e4ee51b5 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi +++ b/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi @@ -223,3 +223,7 @@ &usb1 { &watchdog0 { clocks = <&zynqmp_clk WDT>; }; + +&lpd_watchdog { + clocks = <&zynqmp_clk LPD_WDT>; +}; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi index 533c19b80283..467f92c2044b 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi @@ -786,5 +786,14 @@ watchdog0: watchdog@fd4d0000 { reg = <0x0 0xfd4d0000 0x0 0x1000>; timeout-sec = <10>; }; + + lpd_watchdog: watchdog@ff150000 { + compatible = "cdns,wdt-r1p2"; + status = "disabled"; + interrupt-parent = <&gic>; + interrupts = <0 52 1>; + reg = <0x0 0xff150000 0x0 0x1000>; + timeout-sec = <10>; + }; }; };