Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp202473ybl; Tue, 27 Aug 2019 18:37:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqyxMV8Hnogv3szDknz2mdfzIdsusXG521/MTQ77623awIJT/y4BJmFM+aSgoH7lP/DdBVgy X-Received: by 2002:a63:8ac3:: with SMTP id y186mr1251736pgd.13.1566956235665; Tue, 27 Aug 2019 18:37:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566956235; cv=none; d=google.com; s=arc-20160816; b=n8Rqmz73CdCgHfh8INa2UJZkf7x0VwV/bp1MXTLLljgizsEb3DwGUwkjxP5Fyappt+ S52Yi5dW0DW6/sOH/nYKIYvR6/iZTDx0Y9Oe/UdyGMYoKUCKYXaCbtkWelwpxAi8iSK5 cmW6g5mcyqlpKf8zYt8Oy9KagSVAZPQQZhwTpEVjXr/huUmmhKF7lz8vam0QiHsxIg4T hLCApU23akuyWLDaZUSYKhKcBTU0ebOls7Nn8gAb07OfTdZpAWl0sXxIW2tMg1mFKNHH lDw9YD9bOIeZJNQbE+qVTr2eylIIm0FPYJ1DRwf6gXZn39HRvwhbD4RKfB5VAt3NxEBT pd5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=wjWTsxG61ZUCHooXT/6PsMGMe8I54nNTAXA4BW/G/fc=; b=NH69GSvuk1jZrsH45/n05cXupIBMsF4yo5t5GSeZV2wAnGVpE5VJLvchi5+w++rTBx khyAzAiwtuvdYLKEex0BaLd74R6OG8c1ZBGnQzTBjHKE+aHcZOX+oA73XfBYegPqMPEz /KdwRMttirYyKj+hRUKm10k18rqkIXuKg8rq2KLE6Enc2rQpTWYtbasRjbi/DnMKelff GI54JZ2YI8KeNGV+1nahJDfBS720P+fnhhl5sdU62AJDuZO48qnWKQQ67IAswBUhZS/O EMecCX0hr7vaNKwbp1GsN7kxjOQy85PB3dszv8oDUxOCF1hsP/gsstNgYJtSEDNr6IEI cuZw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m186si1029678pfm.141.2019.08.27.18.37.00; Tue, 27 Aug 2019 18:37:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726315AbfH1BgM (ORCPT + 99 others); Tue, 27 Aug 2019 21:36:12 -0400 Received: from inva020.nxp.com ([92.121.34.13]:32970 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726096AbfH1BgL (ORCPT ); Tue, 27 Aug 2019 21:36:11 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 47AE71A064D; Wed, 28 Aug 2019 03:36:09 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 163DD1A064B; Wed, 28 Aug 2019 03:36:00 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id C36D2402E7; Wed, 28 Aug 2019 09:35:48 +0800 (SGT) From: Anson Huang To: wim@linux-watchdog.org, linux@roeck-us.net, robh+dt@kernel.org, mark.rutland@arm.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux@armlinux.org.uk, otavio@ossystems.com.br, leonard.crestez@nxp.com, u.kleine-koenig@pengutronix.de, schnitzeltony@gmail.com, jan.tuerk@emtrion.com, linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Linux-imx@nxp.com Subject: [PATCH V5 1/4] dt-bindings: watchdog: Add i.MX7ULP bindings Date: Wed, 28 Aug 2019 09:35:00 -0400 Message-Id: <1566999303-18795-1-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the watchdog bindings for Freescale i.MX7ULP. Signed-off-by: Anson Huang Reviewed-by: Rob Herring --- Changes since V4: - improve watchdog node name. --- .../bindings/watchdog/fsl-imx7ulp-wdt.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/fsl-imx7ulp-wdt.txt diff --git a/Documentation/devicetree/bindings/watchdog/fsl-imx7ulp-wdt.txt b/Documentation/devicetree/bindings/watchdog/fsl-imx7ulp-wdt.txt new file mode 100644 index 0000000..f902508 --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/fsl-imx7ulp-wdt.txt @@ -0,0 +1,22 @@ +* Freescale i.MX7ULP Watchdog Timer (WDT) Controller + +Required properties: +- compatible : Should be "fsl,imx7ulp-wdt" +- reg : Should contain WDT registers location and length +- interrupts : Should contain WDT interrupt +- clocks: Should contain a phandle pointing to the gated peripheral clock. + +Optional properties: +- timeout-sec : Contains the watchdog timeout in seconds + +Examples: + +wdog1: watchdog@403d0000 { + compatible = "fsl,imx7ulp-wdt"; + reg = <0x403d0000 0x10000>; + interrupts = ; + clocks = <&pcc2 IMX7ULP_CLK_WDG1>; + assigned-clocks = <&pcc2 IMX7ULP_CLK_WDG1>; + assigned-clocks-parents = <&scg1 IMX7ULP_CLK_FIRC_BUS_CLK>; + timeout-sec = <40>; +}; -- 2.7.4