From patchwork Tue Aug 29 07:58:38 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Yan X-Patchwork-Id: 9926831 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id DDF9C60380 for ; Tue, 29 Aug 2017 07:59:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CD33528736 for ; Tue, 29 Aug 2017 07:59:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C1B3F287E2; Tue, 29 Aug 2017 07:59:20 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 55B3628736 for ; Tue, 29 Aug 2017 07:59:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751291AbdH2H7I (ORCPT ); Tue, 29 Aug 2017 03:59:08 -0400 Received: from mail-wm0-f53.google.com ([74.125.82.53]:38130 "EHLO mail-wm0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751286AbdH2H7E (ORCPT ); Tue, 29 Aug 2017 03:59:04 -0400 Received: by mail-wm0-f53.google.com with SMTP id t201so17076634wmt.1 for ; Tue, 29 Aug 2017 00:59:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references; bh=pSTizyYU51gMUkZ5oMR6Ja6yqyqKGVCORNh7LIZ+XAc=; b=Lbvrqm0A/cTliPzYNZJv0EQiaw1Oxq1zME6AoVRGZbWAGG5Mmbaqyi+BWSoLN1pc92 3/V3r2oTfOeoMkoqxZvZzUzrd2nrf2vytO0j8h1D57VYxNFkEtSj+S1ayuO0Cqdo170m i53WpjtUTJEdMYmh5mSK/LBjmAwgZu9lYFfZ4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=pSTizyYU51gMUkZ5oMR6Ja6yqyqKGVCORNh7LIZ+XAc=; b=IZCxAc5cTB1BEtet24pT/u0yx7q5pazDlg7Rbu0QnF7Y7hWo+kh78Rim/xXkgMagHI gPmnkuhrNeHj7QP11KUp3o35FakC9qMYpCJNYGwGbuYMdpHn5BpcP+Y0sEv+bSa2IYFx so0c3XA9Nydhphdq21MsRpXdb0snTVz3U+RSsirYAZo3ynOauV7SlXET5nIKvYVRC1/c VjV0xAwTBkaG5AV/9v4Ix5jUaPZGTVRbZNvQ9GwGZHLvitqGcEckYmnQuWSvQ9MK28cX 4b16/reK6UzZbjNq+oF82gjNMPvOsVa276z0l5kKOZzdodHINc7FWe9wz+GbLrsAIw1I 0uaw== X-Gm-Message-State: AHYfb5h7Y1hthgZa4GQpySOKk+89NNsuoV8PBnFYO8jEhEIQhuZqyopa uWoP+QYMBoWrQpQR X-Received: by 10.80.165.165 with SMTP id a34mr2822034edc.16.1503993543030; Tue, 29 Aug 2017 00:59:03 -0700 (PDT) Received: from localhost.localdomain (li524-22.members.linode.com. [176.58.122.22]) by smtp.gmail.com with ESMTPSA id a30sm965360ede.13.2017.08.29.00.58.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 29 Aug 2017 00:59:01 -0700 (PDT) From: Leo Yan To: Wei Xu , Rob Herring , Mark Rutland , Michael Turquette , Stephen Boyd , Zhangfei Gao , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Dmitry Shmidt , Guodong Xu , Haojian Zhuang Subject: [PATCH 2/2] arm64: dts: hi6220: enable watchdog Date: Tue, 29 Aug 2017 15:58:38 +0800 Message-Id: <1503993518-24428-2-git-send-email-leo.yan@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1503993518-24428-1-git-send-email-leo.yan@linaro.org> References: <1503993518-24428-1-git-send-email-leo.yan@linaro.org> Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Dmitry Shmidt This patch is to add watchdog binding for Hi6220 on Hikey board. Signed-off-by: Dmitry Shmidt --- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi index eacbe0d..77dc28f 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi @@ -809,6 +809,14 @@ pinctrl-1 = <&sdio_pmx_idle &sdio_clk_cfg_idle &sdio_cfg_idle>; }; + watchdog0: watchdog@f8005000 { + compatible = "arm,sp805-wdt", "arm,primecell"; + reg = <0x0 0xf8005000 0x0 0x1000>; + interrupts = ; + clocks = <&ao_ctrl HI6220_WDT0_PCLK>; + clock-names = "apb_pclk"; + }; + tsensor: tsensor@0,f7030700 { compatible = "hisilicon,tsensor"; reg = <0x0 0xf7030700 0x0 0x1000>;