From patchwork Mon Aug 24 17:01:18 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fu Wei Fu X-Patchwork-Id: 52639 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f70.google.com (mail-la0-f70.google.com [209.85.215.70]) by patches.linaro.org (Postfix) with ESMTPS id 8FE6522DD4 for ; Mon, 24 Aug 2015 17:03:02 +0000 (UTC) Received: by labpx14 with SMTP id px14sf44553191lab.1 for ; Mon, 24 Aug 2015 10:03:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=tsHfgIGYAUiwDm3uBH34sER0ZYu0R+J/ZNWUjfcIsxg=; b=k0r/59G5Mgjm9Ykjxfjg44gDNko+CFOM1SSNacnUoMypBzqAWu4WytfmN3/NlVvccp WKEkpZeE+qkB7iw0BGOOpfmZWRQfOcpm6aXN/tTVAV83BLvB2VMEdBRQ7L8kqamWF4Lz 5iieY3T+Ckhcwr9N+Vwi4edlGrP+dqdwf+913QiK/lwUrgicRz+M6WOGPBUieN0qeZ7E p+E6AP83l0NC8lyqR20zr+C3/yvdlmYnhNm2zd2R8TZLdBwxWoxlTOgDe6r+wRl8utDt Uz5Gn1mtQd7WocmKsikNFmRFTac+QSuX79mHrXZI8/yfdzAf9yrkiJaxWrNYjZ5a2G3V Nsxw== X-Gm-Message-State: ALoCoQnvNcYY8UtgM9mMQ6RcVMKahOwv6iytbpTJUl4KlIIn+qmWmIWflBD/pkQfswL3/Qpwlf9D X-Received: by 10.113.3.8 with SMTP id bs8mr7028814lbd.23.1440435781576; Mon, 24 Aug 2015 10:03:01 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.5.67 with SMTP id q3ls549938laq.78.gmail; Mon, 24 Aug 2015 10:03:01 -0700 (PDT) X-Received: by 10.112.129.167 with SMTP id nx7mr20978657lbb.27.1440435781396; Mon, 24 Aug 2015 10:03:01 -0700 (PDT) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com. [209.85.215.54]) by mx.google.com with ESMTPS id i19si13667257lbh.10.2015.08.24.10.03.01 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Aug 2015 10:03:01 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.54 as permitted sender) client-ip=209.85.215.54; Received: by lalv9 with SMTP id v9so81647522lal.0 for ; Mon, 24 Aug 2015 10:03:01 -0700 (PDT) X-Received: by 10.112.199.133 with SMTP id jk5mr21751154lbc.32.1440435781298; Mon, 24 Aug 2015 10:03:01 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.162.200 with SMTP id yc8csp2609324lbb; Mon, 24 Aug 2015 10:03:00 -0700 (PDT) X-Received: by 10.66.248.162 with SMTP id yn2mr47712654pac.85.1440435780217; Mon, 24 Aug 2015 10:03:00 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id by6si28387930pdb.89.2015.08.24.10.02.59; Mon, 24 Aug 2015 10:03:00 -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; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932635AbbHXRCu (ORCPT + 28 others); Mon, 24 Aug 2015 13:02:50 -0400 Received: from mail-pd0-f171.google.com ([209.85.192.171]:36839 "EHLO mail-pd0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932458AbbHXRCr (ORCPT ); Mon, 24 Aug 2015 13:02:47 -0400 Received: by pdbmi9 with SMTP id mi9so55446033pdb.3 for ; Mon, 24 Aug 2015 10:02:46 -0700 (PDT) X-Received: by 10.70.92.65 with SMTP id ck1mr10294476pdb.87.1440435766865; Mon, 24 Aug 2015 10:02:46 -0700 (PDT) Received: from localhost.localdomain (li400-65.members.linode.com. [106.187.50.65]) by smtp.googlemail.com with ESMTPSA id fu4sm17997515pbb.59.2015.08.24.10.02.38 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 24 Aug 2015 10:02:46 -0700 (PDT) From: fu.wei@linaro.org To: Suravee.Suthikulpanit@amd.com, hanjun.guo@linaro.org, linaro-acpi@lists.linaro.org, linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Cc: tekkamanninja@gmail.com, graeme.gregory@linaro.org, al.stone@linaro.org, arnd@arndb.de, linux@roeck-us.net, vgandhi@codeaurora.org, wim@iguana.be, jcm@redhat.com, leo.duran@amd.com, corbet@lwn.net, mark.rutland@arm.com, catalin.marinas@arm.com, will.deacon@arm.com, rjw@rjwysocki.net, dyoung@redhat.com, panand@redhat.com, Fu Wei Subject: [PATCH v7 3/8] ARM64: add SBSA Generic Watchdog device node in amd-seattle-soc.dtsi Date: Tue, 25 Aug 2015 01:01:18 +0800 Message-Id: <1440435683-7343-4-git-send-email-fu.wei@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1440435683-7343-1-git-send-email-fu.wei@linaro.org> References: <=fu.wei@linaro.org> <1440435683-7343-1-git-send-email-fu.wei@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: fu.wei@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.54 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Fu Wei This can be a example of adding SBSA Generic Watchdog device node into some dts files for the Soc which contains SBSA Generic Watchdog. Acked-by: Arnd Bergmann Acked-by: Suravee Suthikulpanit Tested-by: Suravee Suthikulpanit Signed-off-by: Fu Wei --- arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi b/arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi index 2874d92..259430f 100644 --- a/arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi +++ b/arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi @@ -84,6 +84,14 @@ clock-names = "uartclk", "apb_pclk"; }; + watchdog0: watchdog@e0bb0000 { + compatible = "arm,sbsa-gwdt"; + reg = <0x0 0xe0bc0000 0 0x1000>, + <0x0 0xe0bb0000 0 0x1000>; + interrupts = <0 337 4>; + timeout-sec = <10 5>; + }; + spi0: ssp@e1020000 { status = "disabled"; compatible = "arm,pl022", "arm,primecell";