Received: by 10.213.65.68 with SMTP id h4csp602117imn; Wed, 4 Apr 2018 04:13:59 -0700 (PDT) X-Google-Smtp-Source: AIpwx49LYnWSoHE+O0rHTjASIKlIUUHyrTUsk+A1j/h0SGpMQINiBZczNL7iuWVvLvmuDZNYpmMs X-Received: by 2002:a17:902:b08a:: with SMTP id p10-v6mr18264495plr.60.1522840439742; Wed, 04 Apr 2018 04:13:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522840439; cv=none; d=google.com; s=arc-20160816; b=Q9zBmiRYXAo+PLZl0cHuaTxOb5MHDnynTPiII0ICfuNg4NbTboJjgvC7WBQA38/vdI nuQR/e/oIIiUlyxi3Wwr5jJ9FsaqiqTBWcslACuNz/jQzCg7vOGVAcjvP4C3Yr6Rv9VU Hgp8RbFtmhHW7VlGRdKSy4SDqJeC1EEvTrGbxBoA8zKfEJwALX6adgYY2sUJj4tzgh4V kheJNwVY2ZjClwzABIgKVvukrfbL6vHZoFyGXXL+efO1p3m2aWZatVMcd3Sh3hW17ZcD L2jqeoxzrdaELiIMzeht7iqej2PQFB+X0B9uE/asR1eAVmQbiLT0mJOcpIWAvy16SPc/ hQ3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=LMp7T0EZp/oV9db+aNKkAZwNd0T7jfFrWNeYcW1UvuM=; b=COZZLeZTGKa9YuW9ZIZ9MQjRzbEE/psdT6gyKAaF8al8tJe95CWqvy6dg/BKl7A3Kj ptsVk5rFcAWv9PL8AsbyTcnByelD3pSGon3TYL0pKQAXsLjfUDJ75m/y8xsyn+0TwF0Z DmBxColJlgjls4zpFqp2z8rSPPHCh12MHExJRneRkzL+2ZrI4oI6h8INxW7d0i0zvXOm /gRc8shAjpsW+BCjYGwWgLgHxwNTOBfBYApDZgDiisIdRUnLmJHe5KNyjWT2HnPsZHNi rflefzZta6xxMwZ8LK41e/+NFdbCfL8xtwLBJNmcKvx7YtriDzPr5sqliloOBbxbHbrl ZVsA== 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r14-v6si3288286pli.324.2018.04.04.04.13.46; Wed, 04 Apr 2018 04:13:59 -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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751178AbeDDLL6 (ORCPT + 99 others); Wed, 4 Apr 2018 07:11:58 -0400 Received: from 212.199.177.27.static.012.net.il ([212.199.177.27]:59426 "EHLO herzl.nuvoton.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751306AbeDDLLy (ORCPT ); Wed, 4 Apr 2018 07:11:54 -0400 Received: from talu34.nuvoton.co.il (ntil-fw [212.199.177.25]) by herzl.nuvoton.co.il (8.13.8/8.13.8) with ESMTP id w34AqX1f020801; Wed, 4 Apr 2018 13:52:33 +0300 Received: by talu34.nuvoton.co.il (Postfix, from userid 10070) id EB0C45AA37; Wed, 4 Apr 2018 14:11:05 +0300 (IDT) From: Tomer Maimon To: arnd@arndb.de, robh+dt@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk, avifishman70@gmail.com, brendanhiggins@google.com, venture@google.com, joel@jms.id.au Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, Tomer Maimon Subject: [PATCH v1 1/6] arm: dts: add watchdog device to NPCM750 device tree Date: Wed, 4 Apr 2018 14:10:57 +0300 Message-Id: <1522840262-21635-2-git-send-email-tmaimon77@gmail.com> X-Mailer: git-send-email 1.8.3.4 In-Reply-To: <1522840262-21635-1-git-send-email-tmaimon77@gmail.com> References: <1522840262-21635-1-git-send-email-tmaimon77@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add watchdog device node to a common device tree for all Nuvoton NPCM750 BMCs and a board specific device tree for the NPCM750 (Poleg) evaluation board. Signed-off-by: Tomer Maimon --- arch/arm/boot/dts/nuvoton-npcm750-evb.dts | 4 ++++ arch/arm/boot/dts/nuvoton-npcm750.dtsi | 24 ++++++++++++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/arch/arm/boot/dts/nuvoton-npcm750-evb.dts b/arch/arm/boot/dts/nuvoton-npcm750-evb.dts index cabde3d5be8a..4416dd6c7c17 100644 --- a/arch/arm/boot/dts/nuvoton-npcm750-evb.dts +++ b/arch/arm/boot/dts/nuvoton-npcm750-evb.dts @@ -18,6 +18,10 @@ }; }; +&watchdog1 { + status = "okay"; +}; + &serial0 { status = "okay"; }; diff --git a/arch/arm/boot/dts/nuvoton-npcm750.dtsi b/arch/arm/boot/dts/nuvoton-npcm750.dtsi index 839e45cfd695..cacd0fde5914 100644 --- a/arch/arm/boot/dts/nuvoton-npcm750.dtsi +++ b/arch/arm/boot/dts/nuvoton-npcm750.dtsi @@ -125,6 +125,30 @@ clocks = <&clk 15>; }; + watchdog0: watchdog@801C { + compatible = "nuvoton,npcm750-wdt"; + interrupts = ; + reg = <0x801C 0x4>; + status = "disabled"; + clocks = <&clk 5>; + }; + + watchdog1: watchdog@901C { + compatible = "nuvoton,npcm750-wdt"; + interrupts = ; + reg = <0x901C 0x4>; + status = "disabled"; + clocks = <&clk 5>; + }; + + watchdog2: watchdog@a01C { + compatible = "nuvoton,npcm750-wdt"; + interrupts = ; + reg = <0xa01C 0x4>; + status = "disabled"; + clocks = <&clk 5>; + }; + serial0: serial@1000 { compatible = "ns16550a"; reg = <0x1000 0x1000>; -- 2.14.1