From patchwork Wed Dec 2 14:06:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 11946201 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=-18.2 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 DC983C64E7C for ; Wed, 2 Dec 2020 14:09:18 +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 4171321D7F for ; Wed, 2 Dec 2020 14:09:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4171321D7F 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=fB5Vprls1LiJ2t5jerhVuYk2gK3boIYBZroGcAOKMSY=; b=C/eqo/uGdMQ58WdUwOfGuFOTp uboEOC0KHV1Cbj2ZasY4VLkiKW1S6HoLJuqCsHmGaxPrGuSU3auMg4TnLyr4oAglqgPGlvJDyp5Mj m/oXm8Ok5mdZYbfDJK9IhZL58yqh5dQSlUvOWmMQkZZ2SkRPuYNRxrjwsT4kx5xqhi1/YwteR3nln yUgZkxsCanRVNglk71CNzVL1PnMiR0nz/fJSEwA/TuK5btJXfA+gKOQySREtqE1gTXLV+4X3vhVnb WWF+e/2fA9MDGyEuoO15zH9MMk/Tpd6SwHwq252w79tjleYblCwQyQ+NbdntbPmRR8mGI0D5iDr0y U+wm4fkLg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kkSmz-0007dc-4h; Wed, 02 Dec 2020 14:07:25 +0000 Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kkSmC-0007HT-FO for linux-arm-kernel@lists.infradead.org; Wed, 02 Dec 2020 14:06:38 +0000 Received: by mail-ej1-x632.google.com with SMTP id ga15so4509443ejb.4 for ; Wed, 02 Dec 2020 06:06:36 -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=zvj9L8sor8CyXho3VJNOStq16ikUZFmX+/hnEaB78Fg=; b=tUDiuwnMlvYXKyUbget5sHaWpVGEzFIXOzFPVrC+hhScmTZNlbAai4lW/9WjcVkvwB w0G9qh1avdlNUvL5iybcp0i+2w5mLc/JCoXtlajxBTHcU2BkHmghM15EyNIA55D5pK2O j9y+k9KfW263WQTtmk9AohfK8DCOZzoliZoNH7+sZdKvvv86QbxJfp9wGE046KWq1rE/ HtzMpEMuAcfRVbK2Upbh69BwYk8c6CANVX9Ft/hpL8r6zcAPM3x9+miDeUVBFhaMRmYw NX7FLJWCQSawY49+1lYCPOuS2XQzIssvF6sSmyB4ZY3PejfmudT8SNV8vZGh7SAo8W2t 1/mg== 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=zvj9L8sor8CyXho3VJNOStq16ikUZFmX+/hnEaB78Fg=; b=J4jwjnYRVbt5NWcBnH1Cb274sd0H1OOkNqDgm69eNP0RFzJ0ETa04vJIqNUwn4jGsE yVcn3EJ2uLnbklbn+cUV8qXI0/EKyUoQWdPwacEMN4TEv7iwMQsCqoN/kf/qGuvqk5FR /jkj2EKdNRwfZt7Ls3PmBeFPR0+VzNmUyZlYfzVL0S9rLnW09uKXL5WTMQ/OE7TjVzT6 khOCdhyDwYPJq8PQREzhbELgeG3C+dYZE5qoBLDYSP5ivS+Jj/QC8w6xbiey66zAxGvr 4voi1+mDMscK6isaNDhvQNoVTWtnwkcoxrQbODzo21SzyD1W9bCLml2C15k+OeamEr/9 6XCQ== X-Gm-Message-State: AOAM530x33WcZDR4stS6DTSwtSfkldwoCIZ7fubLCL4owiWtzualqa4R LNThU7MAUk7sysFSlPZ4hz5qxw== X-Google-Smtp-Source: ABdhPJzwbTfV0676rWepFUWvNAYHfb0uHZGjPN2u6o84yNTOfdjUmdy1K5CDwdPouZvZvQ8AORZlPA== X-Received: by 2002:a17:906:81ca:: with SMTP id e10mr2385845ejx.449.1606917995393; Wed, 02 Dec 2020 06:06:35 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id v8sm32493edt.3.2020.12.02.06.06.33 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 02 Dec 2020 06:06:34 -0800 (PST) From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com Subject: [PATCH 10/12] arm64: dts: zynqmp: Add missing lpd watchdog node Date: Wed, 2 Dec 2020 15:06:09 +0100 Message-Id: <645e5dc57a57bca766bf2a7967ac19ca43b68df2.1606917949.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201202_090636_706467_C0EE8CD3 X-CRM114-Status: GOOD ( 13.54 ) 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, Rajan Vaja , Krzysztof Kozlowski , Rob Herring , Manish Narani , 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 --- 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 4312d4594dba..704696811116 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi @@ -808,5 +808,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>; + }; }; };