From patchwork Tue Feb 6 09:28:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "\(Exiting\) Baolin Wang" X-Patchwork-Id: 126960 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp2740403ljc; Tue, 6 Feb 2018 01:28:52 -0800 (PST) X-Google-Smtp-Source: AH8x225I5dUa+6ZaqOsAUy8QvGddGCQH3WD/qrzwLMbB015yPlk6cCDJpf7P1g6z+Ua6tPpJP2iM X-Received: by 10.99.122.93 with SMTP id j29mr1440639pgn.351.1517909332353; Tue, 06 Feb 2018 01:28:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517909332; cv=none; d=google.com; s=arc-20160816; b=RvgBj3KKWfTyAcE3yty5MxCZNqSMd8iCM883t1887cN/Kv22hjEQcRHrL4q9ZCsj6N CD/O1Dyi5vlZtKz/twgD/2xl1eVfbRrMHLf7LlzyJKy39VO7rdB3eWRh/K/mLZVOmhGL y1nNwlw5zd2+OLpPEMwPI1pLiBFnWOTlAmuhCV4rXMb2EsC4iaP34nR59j/AoFJDTV4m yVmX/8pSlIcqh6mRL5+n6gCydCTfdRozhYFeASKgKSaW4TY8FNrOsnSir/ApOnm7rB/J BkE7We2e7oX29oueZOYoSf/ep3HWan89YN1jZXkK/8vvp7y0fg2Wp+vL2WD/hqZJ35kT OJaQ== 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 :dkim-signature:arc-authentication-results; bh=8MKS+8FQTQewz21nkYIGPfVE/T/3a2MBRvwf4wPophs=; b=rPemd24Ql4lrr1B3AZfxsWGEq6T9jeVO43CB09+SeVBKsxWY6gkiHHkTXGadho1iFg Nvvb5P3yUBgnJHCPIpGnSHUB4Xop8ocA22Puu/6Rf+0GzmX4KwAw+QjqmIJz+vy+ON3g PBjuSUGN+R4GbHfyjSBosRx97hqrpsU97L3XtZyVm073IyGS7My++XJwTfAFTp7myZDB 3S5l4/QCU6u5o21tz4lOMlrTY8++Yw4u3K7eeFEcW1f6FsvnlKI6deitmp+nvJ+xFyyz T/pP6WAft42DAJodcj7LhrcMdgQU7auF3fk2SLLVvC4rTzCFlZUoZEXAHXO4jp0wThGR f69g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=IJhjnPLp; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o11si4945945pgn.796.2018.02.06.01.28.51; Tue, 06 Feb 2018 01:28:52 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=IJhjnPLp; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752207AbeBFJ2u (ORCPT + 6 others); Tue, 6 Feb 2018 04:28:50 -0500 Received: from mail-pf0-f193.google.com ([209.85.192.193]:33297 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752283AbeBFJ2t (ORCPT ); Tue, 6 Feb 2018 04:28:49 -0500 Received: by mail-pf0-f193.google.com with SMTP id u15so354684pfa.0 for ; Tue, 06 Feb 2018 01:28:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=ZxrG12OKWB4Lae8OO2iBPm3wSddfnEatRlxiJPBxwz0=; b=IJhjnPLpMNHmWXCZnj+R2alH6ouDvpAs8S07OuGDq8OVr0NIb2HMy5GS6aesx37hOo l1PHM7bKVORvOHyL5/5dfPnu2GzEC8SGLllBdNjP78c3pFSRCV7chLOO06fA4d5hEEt1 eDWzigl64FCklmNajwmcLdec8VoJEZINyByDc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=ZxrG12OKWB4Lae8OO2iBPm3wSddfnEatRlxiJPBxwz0=; b=MyBEjkMlE8Hto4czlp1ycMYGKwZRG/U4EK5oqlXAla1Ibg7DYzPZBgysQ6/H0Pm3vr 6AoVngojtpKzhmNtzsEqMaPynXajfhLaCNTMppcplfEL1IlcaURMAM1DNfcPyXz37ay6 zzUNUW8qiycgwWGG6y1QM0i2RJIJd+Xe7Ryb1ZvlCVtOQ8qDH69z8upHPKAjOnNdsWjU jklra1sU4wbCeaE2tEAXYYDNYYaP4R3SaInYu4R3jL2vWdUF7FwfN/1ebS42cy/SHEEI rnUkccfMOERORrhiiu/4xLvrrFNyyV7TqIicMcXsgIF90hsXnuCBTfYWGhZC+8nL7sxc bkGw== X-Gm-Message-State: APf1xPBqgYJUJ0jCPrzQiZjYaTi1WLvNjKNowXQktWDiYW6ZjCLHcWcI 3IYlmhoSRWBECLBvFTzZimOsem1GKHs= X-Received: by 10.99.128.73 with SMTP id j70mr1464583pgd.37.1517909329124; Tue, 06 Feb 2018 01:28:49 -0800 (PST) Received: from baolinwangubtpc.spreadtrum.com ([117.18.48.82]) by smtp.gmail.com with ESMTPSA id t16sm18618429pfh.131.2018.02.06.01.28.45 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 06 Feb 2018 01:28:48 -0800 (PST) From: Baolin Wang To: robh+dt@kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, will.deacon@arm.com, arnd@arndb.de Cc: chunyan.zhang@spreadtrum.com, orson.zhai@spreadtrum.com, mathieu.poirier@linaro.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, broonie@kernel.org, baolin.wang@linaro.org Subject: [PATCH 1/7] arm64: dts: Add hwspinlock node for Spreadtrum SC9860 Date: Tue, 6 Feb 2018 17:28:20 +0800 Message-Id: <410b2f2d3f3f019c96ec31213647c41cd7f1174d.1517908478.git.baolin.wang@linaro.org> X-Mailer: git-send-email 1.7.9.5 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The Spreadtrum SC9860 platform only has one hardware spinlock device, which is located on AON system of Spreadtrum SC9860 platform. Signed-off-by: Baolin Wang --- arch/arm64/boot/dts/sprd/whale2.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm64/boot/dts/sprd/whale2.dtsi b/arch/arm64/boot/dts/sprd/whale2.dtsi index 328009c..b9cc0fb 100644 --- a/arch/arm64/boot/dts/sprd/whale2.dtsi +++ b/arch/arm64/boot/dts/sprd/whale2.dtsi @@ -6,6 +6,8 @@ * SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ +#include + / { interrupt-parent = <&gic>; #address-cells = <2>; @@ -104,6 +106,21 @@ status = "disabled"; }; }; + + aon { + compatible = "simple-bus"; + #address-cells = <2>; + #size-cells = <2>; + ranges; + + hwlock: hwspinlock@40500000 { + compatible = "sprd,hwspinlock-r3p0"; + reg = <0 0x40500000 0 0x1000>; + #hwlock-cells = <1>; + clock-names = "enable"; + clocks = <&aon_gate CLK_SPLK_EB>; + }; + }; }; ext_32k: ext_32k { From patchwork Tue Feb 6 09:28:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "\(Exiting\) Baolin Wang" X-Patchwork-Id: 126965 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp2741194ljc; Tue, 6 Feb 2018 01:30:05 -0800 (PST) X-Google-Smtp-Source: AH8x224FBTZi4TRoiruN2Jv/gbkIymzVbrmK2CxSAYWkLjUuRBqDNUxx9PAy5RusKsfY/L0AfR+9 X-Received: by 10.99.97.86 with SMTP id v83mr1452384pgb.306.1517909405487; Tue, 06 Feb 2018 01:30:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517909405; cv=none; d=google.com; s=arc-20160816; b=WGemdooclvdmjh2a/CCWr/9G1BEFfqilex5bHtucXg3FiJV3ikqDLOWKMTUcbqfMNW p4zB/7FfzH24Luyp7/C35sXzHnoI1T1jio42LptL3TXzyZIlgip4nmO+UXG26OQYHUYC LtKg7yhMjY8C8P9Y6lPOSPkbFQxbPIlpnrCNPAuytjVhCsagjfdgn5GuOMFJ/hk7uQr9 2IBKBaC7IVC8NSPdPWqnNaXMunga7hkmLEIJXg/K5a5DzqKkplThMCk6Juo8YVqebg7D Js9O75kQrPqSx//PG5Zwn2UFTjOz8v0CGe7uyxN7Kv/ae5CelKZzarHoth6OQh+/QrAJ jXCw== 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:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=ZBkbWuTEurGvke7SYV/N7MwCVCUxVf9jIqDT1BeJscM=; b=s0nqqavHlpwncPmIhhvQ+glIG3d2+le8qSIo6j3dcvY81ihluPeGArEPWzxEqiHf4e KvFUO2hQaNUO+uku9LzTe8aVmqq4/u5yyZ4iiGg7JpVA+s/Q5bye8sRWF3nGUQRdDV9O xancstZOOeLOSNtco5sDVbUNzxZAzFUSab8xpIs/8KymPFgo3M8+QXKtdVqA7iQxF9o3 1JAdV6Fmngb3lRJnM2E0Tk2BIiVXfP0FhFzYTpcMCTQomm39Ve01ERzDEutGFeDcSmvH nVFhtcEC9QexShQt11+06WXvaj6HXlhVo+dFZaa+maIJu7JWgvYflea3TpmVoguH2Sqp kaiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=V5gb1QY6; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s84si2649677pfi.366.2018.02.06.01.30.05; Tue, 06 Feb 2018 01:30:05 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=V5gb1QY6; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752288AbeBFJaE (ORCPT + 6 others); Tue, 6 Feb 2018 04:30:04 -0500 Received: from mail-pg0-f65.google.com ([74.125.83.65]:38127 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752690AbeBFJ27 (ORCPT ); Tue, 6 Feb 2018 04:28:59 -0500 Received: by mail-pg0-f65.google.com with SMTP id l18so867077pgc.5 for ; Tue, 06 Feb 2018 01:28:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=Y4y2pmVGznn6N4anB2AEPr5FdyE8pJhkYo5+rr/RPIo=; b=V5gb1QY61i4bXnvE/x/5BvxXm5D1jxKjimiSzq+D8RTa5sBpX2osqYy0SAB21wvxEC HNPqhkoqc5gEr8JLRXwBk4luCI3AO4MUqR2jA0kpsFrcNoQAjx2U+LoZb3WrmqOIlYBW yfq8uk5Oh/14UMOOX5hE24rv/utPhGRrWRufs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=Y4y2pmVGznn6N4anB2AEPr5FdyE8pJhkYo5+rr/RPIo=; b=hwqzYJNtpr1UTBIQAY8DHQEImlRiAK3yJaSetJIiO4DYel3jyADwH8eS4sjv9b9zA/ zekVYi2XjiX1C4OSB9bfpjxXz4GPzSDnzV7q8boxtxmmwXA5JxOKcSNTC5w1kR80wxZl XOVsXCUfq9Zgmm8X4qdgJCRnoKiHfJCasETloO71CqQhC/3U0mFdw752OEHjsg/RUV8K N3wHRJrWlrtB7UHDIzr1wiFO0TlKdjpevWaOuYYZzZ+O73JxHTpx4h00b97kYDiLf/cQ f2ZCSMboqNNJgeVAoAQcMZNuYyA9KRUz3OpzMGEPCGLPoIHdKtz/w4Itqtja43MEHl67 SSMA== X-Gm-Message-State: APf1xPBlN/52W2g9v00+TJpyRfRUTVXfU6x3ugp7Sn2pioZw4E6KXxmQ J7AVHt+mzT03SzjFVETly84Tdg== X-Received: by 10.98.26.143 with SMTP id a137mr1846482pfa.100.1517909339515; Tue, 06 Feb 2018 01:28:59 -0800 (PST) Received: from baolinwangubtpc.spreadtrum.com ([117.18.48.82]) by smtp.gmail.com with ESMTPSA id t16sm18618429pfh.131.2018.02.06.01.28.56 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 06 Feb 2018 01:28:59 -0800 (PST) From: Baolin Wang To: robh+dt@kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, will.deacon@arm.com, arnd@arndb.de Cc: chunyan.zhang@spreadtrum.com, orson.zhai@spreadtrum.com, mathieu.poirier@linaro.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, broonie@kernel.org, baolin.wang@linaro.org Subject: [PATCH 4/7] arm64: dts: Add timer node for Spreadtrum SC9860 Date: Tue, 6 Feb 2018 17:28:23 +0800 Message-Id: <46052ca3b42066deeb0f90d13592bb0cc53902c1.1517908478.git.baolin.wang@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <410b2f2d3f3f019c96ec31213647c41cd7f1174d.1517908478.git.baolin.wang@linaro.org> References: <410b2f2d3f3f019c96ec31213647c41cd7f1174d.1517908478.git.baolin.wang@linaro.org> In-Reply-To: <410b2f2d3f3f019c96ec31213647c41cd7f1174d.1517908478.git.baolin.wang@linaro.org> References: <410b2f2d3f3f019c96ec31213647c41cd7f1174d.1517908478.git.baolin.wang@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org We will use one always-on timer to be the broadcast device, thus add the timer device node for Spreadtrum SC9860 platform. Signed-off-by: Baolin Wang --- arch/arm64/boot/dts/sprd/whale2.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm64/boot/dts/sprd/whale2.dtsi b/arch/arm64/boot/dts/sprd/whale2.dtsi index 23cedbd..3dc6389 100644 --- a/arch/arm64/boot/dts/sprd/whale2.dtsi +++ b/arch/arm64/boot/dts/sprd/whale2.dtsi @@ -122,6 +122,13 @@ #size-cells = <0>; }; + timer@40050000 { + compatible = "sprd,sc9860-timer"; + reg = <0 0x40050000 0 0x20>; + interrupts = ; + clocks = <&ext_32k>; + }; + hwlock: hwspinlock@40500000 { compatible = "sprd,hwspinlock-r3p0"; reg = <0 0x40500000 0 0x1000>; From patchwork Tue Feb 6 09:28:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "\(Exiting\) Baolin Wang" X-Patchwork-Id: 126962 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp2740652ljc; Tue, 6 Feb 2018 01:29:15 -0800 (PST) X-Google-Smtp-Source: AH8x224FoCW5f2UNS/jHYZSiGdF8chWd6+q3bpxGoqvEBb7mSPm6VtDDlAf9+WlKFpqqHeTzaf4e X-Received: by 10.98.60.5 with SMTP id j5mr1800341pfa.217.1517909355035; Tue, 06 Feb 2018 01:29:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517909355; cv=none; d=google.com; s=arc-20160816; b=HZkZJhXQ1O5BttZdESV8z/N8nUEHGQPv+lktR6/IPZFOzhQ5shX8G+gYwLFmwYeJeG 8yo1pvz0WELXZDFRy+SQDHdT4v2d6j/2pQJ1qDac6XdvBQytDsmZ9VADB7kd+qHyVUaJ l2MYJMGfA0qksGFr8GFVwCFEQE4CtzOVuA+wUgHkW6c4I3VKsY1tvuekgrnQWwDgi0v0 y+pTdEc1gib8vW54iSsflIU1+umMiBM5EDL5itW2GI/fKgZL36fqsHTk4FNiZ51zXV87 0GUYxi1NTPoYuvRu2m3LUv1SU1CqoWlT0z9lVm/tfNVqeFD3k2/r34oiUGj3FksUPGpk KgMw== 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:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=faF7cJLOK3CLEbVmq94EZ3M5wQCZdesE7ElJyk3R08k=; b=tWIym7IDbvKlm1dIaAaVMJMj8SIkV1Ha6N0ME6MdZQy7SRXZzzkEFtDxguJwwe2C2d CFBv0DW+KgCHU9MfPe7M2PpqF2VDXn5NfP96YJTytGvn/6Qk3tD/OhoGjpKlJi881XvR GeceJ1UNfkNsphl4KcXi3aIjRGjuNoFLgkotB9JWkEZOb3A69z2RashM8EdAjGb2EXt6 rj6atobcad8DfU8lVO+cBTbrY++28f6piElhT6/YsbfWwUSqFbBLDODsD018N1jGYDM7 1TVN35baRDSljErhp8AybStJjKVIrnYFyhs52tlp6ZE8iHZA0s6CyYYgZDT4cieinUfS sd7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Pg3MSQRw; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s127si4058748pfc.215.2018.02.06.01.29.14; Tue, 06 Feb 2018 01:29:15 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Pg3MSQRw; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752709AbeBFJ3N (ORCPT + 6 others); Tue, 6 Feb 2018 04:29:13 -0500 Received: from mail-pg0-f65.google.com ([74.125.83.65]:34362 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752581AbeBFJ3D (ORCPT ); Tue, 6 Feb 2018 04:29:03 -0500 Received: by mail-pg0-f65.google.com with SMTP id s73so879488pgc.1 for ; Tue, 06 Feb 2018 01:29:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=UQ4dvVGbOrK5gAWTh08iYOAHt1Wa4SqoUQtNNsDA0Ow=; b=Pg3MSQRwVD0M6bMak9yiLVbUbrB3JGL/64HbvmQwbIzhI3GZq0/jGnNMUDyHFGNnQj E0bMxXGplU7ZySM3Lx434EG6x8Mu42CEAV9AjoxX2Lxh/qtMVV4D6IwlNMnWJXOH0FdJ P/UrTzkGp1RSG4Qa7OPQhPJx1GpjfOjEpMVzw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=UQ4dvVGbOrK5gAWTh08iYOAHt1Wa4SqoUQtNNsDA0Ow=; b=dmFY0Ac8EIbAcIZwbyKQE8+H/CAqJsl9uzseDbGdg9VGRG3o7Q7pmm/GFGqy/7DbL0 nN3t75vCVR9bBeZwJz66DZZ3f9rkQCkq43FhzFNjqhIpvGckJGFXbhzexadId33qtju/ Di+uboywEGNxc44xwcVRo/R3BD/Kbq04DXPuo3zHSQMFBiw6F9W1E14GeUar/oTf1HF7 8yCj6RRNGiEwegMR4z3C4WSloQtcSOamfZ5osp0YufBD1PXf2lnyChjbxDuAjIo0ieNp RdnKUtZeWw9QKy+oPrj58LkTFv6HIO39NwhapKSzw2GA4hr1QANxAzoGMF/jBzf47b+w Fhag== X-Gm-Message-State: APf1xPBmDu0S3XEcp2cZ8E/sCsgWWUClf+1mMBs18snSQu4ocWaF1SEE mOJTGiEkmuIIe6sHI920k7JEkg== X-Received: by 10.99.186.11 with SMTP id k11mr1428719pgf.7.1517909342914; Tue, 06 Feb 2018 01:29:02 -0800 (PST) Received: from baolinwangubtpc.spreadtrum.com ([117.18.48.82]) by smtp.gmail.com with ESMTPSA id t16sm18618429pfh.131.2018.02.06.01.28.59 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 06 Feb 2018 01:29:02 -0800 (PST) From: Baolin Wang To: robh+dt@kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, will.deacon@arm.com, arnd@arndb.de Cc: chunyan.zhang@spreadtrum.com, orson.zhai@spreadtrum.com, mathieu.poirier@linaro.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, broonie@kernel.org, baolin.wang@linaro.org Subject: [PATCH 5/7] arm64: dts: Add watchdog device node for Spreadtrum SC9860 Date: Tue, 6 Feb 2018 17:28:24 +0800 Message-Id: <9b1a2b944df46b7127dce3baa237e1bfbc5ed2b6.1517908478.git.baolin.wang@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <410b2f2d3f3f019c96ec31213647c41cd7f1174d.1517908478.git.baolin.wang@linaro.org> References: <410b2f2d3f3f019c96ec31213647c41cd7f1174d.1517908478.git.baolin.wang@linaro.org> In-Reply-To: <410b2f2d3f3f019c96ec31213647c41cd7f1174d.1517908478.git.baolin.wang@linaro.org> References: <410b2f2d3f3f019c96ec31213647c41cd7f1174d.1517908478.git.baolin.wang@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add the watchdog device node for Spreadtrum SC9860 platform to watch the system's stability. Signed-off-by: Baolin Wang --- arch/arm64/boot/dts/sprd/whale2.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm64/boot/dts/sprd/whale2.dtsi b/arch/arm64/boot/dts/sprd/whale2.dtsi index 3dc6389..f2cdf4d 100644 --- a/arch/arm64/boot/dts/sprd/whale2.dtsi +++ b/arch/arm64/boot/dts/sprd/whale2.dtsi @@ -141,6 +141,15 @@ compatible = "sprd,sc9860-pinctrl"; reg = <0 0x402a0000 0 0x10000>; }; + + watchdog@40310000 { + compatible = "sprd,sp9860-wdt"; + reg = <0 0x40310000 0 0x1000>; + interrupts = ; + timeout-sec = <12>; + clock-names = "enable"; + clocks = <&aon_gate CLK_APCPU_WDG_EB>; + }; }; }; From patchwork Tue Feb 6 09:28:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "\(Exiting\) Baolin Wang" X-Patchwork-Id: 126963 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp2740880ljc; Tue, 6 Feb 2018 01:29:37 -0800 (PST) X-Google-Smtp-Source: AH8x224e7NccVGQnDXMtUSihmW7DwYh1x7VpJNvphbWOiQlvhWAiJWc2gkC8hPnrFlKGYI5uKA1V X-Received: by 2002:a17:902:b496:: with SMTP id y22-v6mr1769151plr.206.1517909377311; Tue, 06 Feb 2018 01:29:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517909377; cv=none; d=google.com; s=arc-20160816; b=u7c4G61oC79bcIAh2TEFPOghkDSugPxu7IUFsjDxSUtNaK8aOsCAJJkScKlHV9A+h4 5zf7c/LmHgwTNcTYi39IWUyHuIO6HEQhj5DrP1jCE2LlsMYDic+o473Mq5fP++JbADQL KsyOrDIgeC4CMFAh1RBQsQRUuheCKoRLvFm9Q5S6OKm576BSnt6L2XC9X0ybO6MaYAJe SugkwDOiHMO3/v5xxaicg1YaBooibMZfMuY2JTjGGOwxwqgIxSg2stLeNsBL4+E7kJkF RqTXLcklUFdDv59cqrj9gqXKOIIGeKRHGgWv3P/iFJGkDhFAVho0g7eqrkYB0V0HNPKi o/yQ== 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:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=CTyHU0fVj/1nZOemybwRKCXvwbuZHj5sAv3/ZgJAycs=; b=AgUkln2RPBMyv+ZHYysJ6chwWoTUMzKTDWRwhSi1HmW7IZ3mVj3tG7JgXRdICcKX7M Udq+76aBaElwxdoxZZcoTz7XM9UtUrVqFwHUUtdbkkGBzO6oapfOg8107n6mTGoBBvj/ TAjinZPrpq/Yr8in0IdcPeHIWJMhBKdC4990AB2n7wA/wPcr44gtZGOzeGSzu6dE+nFd Z3i4hF0YSusIQfn+zXq+sN+863oGEK6SK9jGUAfNeN8ynBx3K7RFbJ6JTto1n65urrek UvbOAbzrMwuwKJZ+5NL7Sp+t3/28YwVc7iFoRqSwpw7f3S0cBxwIufC0U5Lfv9JWz4uy I6nA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=i+7ayQjn; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s127si4058748pfc.215.2018.02.06.01.29.37; Tue, 06 Feb 2018 01:29:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=i+7ayQjn; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752760AbeBFJ3f (ORCPT + 6 others); Tue, 6 Feb 2018 04:29:35 -0500 Received: from mail-pg0-f65.google.com ([74.125.83.65]:37097 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752335AbeBFJ3G (ORCPT ); Tue, 6 Feb 2018 04:29:06 -0500 Received: by mail-pg0-f65.google.com with SMTP id o1so865038pgn.4 for ; Tue, 06 Feb 2018 01:29:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=JwMn1cJjIW2a+GAu5uAbJ91Y0dD3JY2bzNP7/hoAaYM=; b=i+7ayQjnTb8tIhSQdiIt7pYp46AMu0WhjBhu2k5rU/EK0Ubz4i6PoKpyk2sIynFD27 DTMkY5wMuGMvcZ8KVsZBs6m5a196qobCwFxh7uydhLoDK92QJK66b7n4egZ4Z5MPkrIH PJftfjIrItbQ372gr+dSeSyl7Y59eEpXtkUcI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=JwMn1cJjIW2a+GAu5uAbJ91Y0dD3JY2bzNP7/hoAaYM=; b=TjcpzcANCbeR44YaCSrsFMXE7kUGbInN01usNh4ijjByJn3pwh2ktCwEtgZje7bB+r R83BwJ9+xhzXwkBwQ+/dMvoihk8F4c8RvTbzQsO+cwewlTtbAWPkKe9SU6SXydpGAbN2 +RHWs16vA7wcJ1WrI/4uO+4s0DkpqRm5Qp+lT5ziAJfiF92tHRnmWKUkFpf6G5x+oKNs 9CqZrUP4VvbkZKKRZbPRjTO1B9RI+SDPtbu3KbeAWjbZ0iOhR8TZF8KxDX66Iog4Q1DK /LBHiFDuKJRczAjuRj8ea6cMQvVq6P1zWKF0hc42DrnjHSexFn5D9e84Lk1KIGzDNfjH 2r6A== X-Gm-Message-State: APf1xPCCskQyuL5dndC/uzF682HzDN+xYaEPjy4uDewY4H+Fk8NqNh7k HaAIXJrg4cJxToLhVnTJsUZkZg== X-Received: by 10.101.69.67 with SMTP id x3mr1463924pgr.69.1517909346476; Tue, 06 Feb 2018 01:29:06 -0800 (PST) Received: from baolinwangubtpc.spreadtrum.com ([117.18.48.82]) by smtp.gmail.com with ESMTPSA id t16sm18618429pfh.131.2018.02.06.01.29.03 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 06 Feb 2018 01:29:05 -0800 (PST) From: Baolin Wang To: robh+dt@kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, will.deacon@arm.com, arnd@arndb.de Cc: chunyan.zhang@spreadtrum.com, orson.zhai@spreadtrum.com, mathieu.poirier@linaro.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, broonie@kernel.org, baolin.wang@linaro.org Subject: [PATCH 6/7] arm64: dts: Add DMA device node for Spreadtrum SC9860 Date: Tue, 6 Feb 2018 17:28:25 +0800 Message-Id: X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <410b2f2d3f3f019c96ec31213647c41cd7f1174d.1517908478.git.baolin.wang@linaro.org> References: <410b2f2d3f3f019c96ec31213647c41cd7f1174d.1517908478.git.baolin.wang@linaro.org> In-Reply-To: <410b2f2d3f3f019c96ec31213647c41cd7f1174d.1517908478.git.baolin.wang@linaro.org> References: <410b2f2d3f3f019c96ec31213647c41cd7f1174d.1517908478.git.baolin.wang@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The Spreadtrum SC9860 platform has two DMA controllers, one is located on the ap-ahb system, and another one is located on the agcp system. Signed-off-by: Baolin Wang --- arch/arm64/boot/dts/sprd/whale2.dtsi | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm64/boot/dts/sprd/whale2.dtsi b/arch/arm64/boot/dts/sprd/whale2.dtsi index f2cdf4d..66a881e 100644 --- a/arch/arm64/boot/dts/sprd/whale2.dtsi +++ b/arch/arm64/boot/dts/sprd/whale2.dtsi @@ -107,6 +107,23 @@ }; }; + ap-ahb { + compatible = "simple-bus"; + #address-cells = <2>; + #size-cells = <2>; + ranges; + + ap_dma: dma-controller@20100000 { + compatible = "sprd,sc9860-dma"; + reg = <0 0x20100000 0 0x4000>; + interrupts = ; + #dma-cells = <1>; + #dma-channels = <32>; + clock-names = "enable"; + clocks = <&apahb_gate CLK_DMA_EB>; + }; + }; + aon { compatible = "simple-bus"; #address-cells = <2>; @@ -151,6 +168,23 @@ clocks = <&aon_gate CLK_APCPU_WDG_EB>; }; }; + + agcp { + compatible = "simple-bus"; + #address-cells = <2>; + #size-cells = <2>; + ranges; + + agcp_dma: dma-controller@41580000 { + compatible = "sprd,sc9860-dma"; + reg = <0 0x41580000 0 0x4000>; + #dma-cells = <1>; + #dma-channels = <32>; + clock-names = "enable", "ashb_eb"; + clocks = <&agcp_gate CLK_AGCP_DMAAP_EB>, + <&agcp_gate CLK_AGCP_AP_ASHB_EB>; + }; + }; }; ext_32k: ext_32k {