From patchwork Mon Aug 14 09:50:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 109966 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp4117475qge; Mon, 14 Aug 2017 02:52:16 -0700 (PDT) X-Received: by 10.98.14.93 with SMTP id w90mr24754757pfi.298.1502704336829; Mon, 14 Aug 2017 02:52:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502704336; cv=none; d=google.com; s=arc-20160816; b=OHYLsj4BAtZn+XQC6rKJBAH0kzD1Vu/1l9eMt3WrFrVYLCK/HuVW7ORjM+sXDCHyk9 AoIGuT0P5ZlRKeGQ1YjJ8ps9xtgZP4qn/W2DxghQIiv88thBPV5FEeGVf/8Jb6j9zqNn 8clU18HzLUDhRS5LNqq79cNDPfDmU0OwKMLWElYOkDU/Yq1+l6GVt88hjcNPRnm/mPWY gHnJqGxYsQs8df3iJex5iq0VNomCGKYiSA5FqB0TE3v/Q88I3B4xut2xiQLpZnP6apu8 clEVkof+M+VZeOyzXzRZx2dWie1wwJ5KZHU6ruF3f1X2Bp2Ehw5N/UoiokkgS/OkCE1K nO+g== 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:dkim-signature:arc-authentication-results; bh=YEcd6O9Sh1eSg86rORXukXFs4VJdNv1Q5+OM1Lbe3Bo=; b=ITz01Aa5g9bWlTlxr8ASJBEXpmdBkNWFz18mXabaqqpgtTnulgGzv1vycHXdW6cE10 4BiEDjSrveBLG4ylTJjpg22+za9u/u93m4Mj4ZxTKmDV0UN6iS5joEx7hTa0PxnE9gMf Rq8k1AMf7KUaMz0txVD+vRmZ8+WBkxWThS+ZP7CQsKdWaWfzHA0EeZH0BeS93Jx9Zm// udHQAhIllyxcyyDLm4ydAs9OyGb3CDZnw8gpSkZPv73Ui6/Y16/zrOYELvr7++hpfmme N+zp2GFdWtXh4fxTnvKssI7YCpjEfXlT5tRflENnPToeJkkXq7wYzML3oKlutUYoi4vI L3Dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZGnY3j95; 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=pass (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 r68si3958021pfa.50.2017.08.14.02.52.16; Mon, 14 Aug 2017 02:52:16 -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; dkim=pass header.i=@linaro.org header.s=google header.b=ZGnY3j95; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752761AbdHNJwO (ORCPT + 25 others); Mon, 14 Aug 2017 05:52:14 -0400 Received: from mail-pg0-f46.google.com ([74.125.83.46]:36500 "EHLO mail-pg0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751720AbdHNJwL (ORCPT ); Mon, 14 Aug 2017 05:52:11 -0400 Received: by mail-pg0-f46.google.com with SMTP id v77so44022012pgb.3 for ; Mon, 14 Aug 2017 02:52:10 -0700 (PDT) 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; bh=YEcd6O9Sh1eSg86rORXukXFs4VJdNv1Q5+OM1Lbe3Bo=; b=ZGnY3j95sO+/qjQRQaJKvKfTNTmyuQba6oQ525ozfIkt/L5wOromvrF0gy1sWzXKcx xWluD9YAk43eYfueO53VhsQs218vakOnPyFbT+XzZ/FkfLSTt51Gt4hBwFiqgadtIWjb 41d+c1WoXsYWaf43UpstEL7VgPEuDFdCtVFIc= 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; bh=YEcd6O9Sh1eSg86rORXukXFs4VJdNv1Q5+OM1Lbe3Bo=; b=Z1n4zidBW8NGDoRUHVm52T1bl/WqVsdb4E6vSyp6w9BBpJA1qS+o/YJmieeRSljNH4 4o3oID1rJdzsFlc3g4CXUKcXbp643wCasMAFE+3k/jlf7DYCq9U6qXlsLt/zZT3XnYVA x8XIOgXYZfLdxNdTCrK6aLOHhYPCRLJQ0eg33p+95FmfaNIvdL0hyZXHyEhoAfdWuK1h lOG1qH0ooD+9fPZ5zH7HO2ZJADhL3bK2yKEGRyR4YrHpImijjTpg/jvxUGcUhwSEwHzH RFat1/n04CUJRCnj4xkq4VbpLis+k/cBfdI45k3UB6113JBEyGjmHvJ8jAWpY4dWSh4m k63w== X-Gm-Message-State: AHYfb5gu/dBBK2j+p65iw4mcPHLmECICPWI7sNZnRz/mYRucR3tE9aG8 //MDZ9Hmk4sRH+Zj X-Received: by 10.84.133.11 with SMTP id 11mr27779862plf.77.1502704330389; Mon, 14 Aug 2017 02:52:10 -0700 (PDT) Received: from docularxu-ThinkPad-T440p.219.146.1.66 ([45.41.135.45]) by smtp.gmail.com with ESMTPSA id e63sm3468674pfc.24.2017.08.14.02.52.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 14 Aug 2017 02:52:09 -0700 (PDT) From: Guodong Xu To: xuwei5@hisilicon.com, robh+dt@kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, will.deacon@arm.com, keescook@chromium.org, anton@enomsg.org, ccross@android.com, tony.luck@intel.com Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Leo Yan Subject: [PATCH v3 02/10] arm64: dts: hi3660: add L2 cache topology Date: Mon, 14 Aug 2017 17:50:41 +0800 Message-Id: <20170814095049.27701-3-guodong.xu@linaro.org> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170814095049.27701-1-guodong.xu@linaro.org> References: <20170814095049.27701-1-guodong.xu@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Leo Yan This patch adds the L2 cache topology on 96boards Hikey960. Signed-off-by: Leo Yan --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) -- 2.10.2 diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi index 8921310..1cdd03b 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi @@ -58,6 +58,7 @@ device_type = "cpu"; reg = <0x0 0x0>; enable-method = "psci"; + next-level-cache = <&A53_L2>; cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP_0>; }; @@ -66,6 +67,7 @@ device_type = "cpu"; reg = <0x0 0x1>; enable-method = "psci"; + next-level-cache = <&A53_L2>; cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP_0>; }; @@ -74,6 +76,7 @@ device_type = "cpu"; reg = <0x0 0x2>; enable-method = "psci"; + next-level-cache = <&A53_L2>; cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP_0>; }; @@ -82,6 +85,7 @@ device_type = "cpu"; reg = <0x0 0x3>; enable-method = "psci"; + next-level-cache = <&A53_L2>; cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP_0>; }; @@ -90,6 +94,7 @@ device_type = "cpu"; reg = <0x0 0x100>; enable-method = "psci"; + next-level-cache = <&A73_L2>; cpu-idle-states = < &CPU_NAP &CPU_SLEEP @@ -102,6 +107,7 @@ device_type = "cpu"; reg = <0x0 0x101>; enable-method = "psci"; + next-level-cache = <&A73_L2>; cpu-idle-states = < &CPU_NAP &CPU_SLEEP @@ -114,6 +120,7 @@ device_type = "cpu"; reg = <0x0 0x102>; enable-method = "psci"; + next-level-cache = <&A73_L2>; cpu-idle-states = < &CPU_NAP &CPU_SLEEP @@ -126,6 +133,7 @@ device_type = "cpu"; reg = <0x0 0x103>; enable-method = "psci"; + next-level-cache = <&A73_L2>; cpu-idle-states = < &CPU_NAP &CPU_SLEEP @@ -171,6 +179,14 @@ min-residency-us = <20000>; }; }; + + A53_L2: l2-cache0 { + compatible = "cache"; + }; + + A73_L2: l2-cache1 { + compatible = "cache"; + }; }; gic: interrupt-controller@e82b0000 { From patchwork Mon Aug 14 09:50:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 109967 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp4117573qge; Mon, 14 Aug 2017 02:52:23 -0700 (PDT) X-Received: by 10.99.124.76 with SMTP id l12mr23790961pgn.90.1502704343796; Mon, 14 Aug 2017 02:52:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502704343; cv=none; d=google.com; s=arc-20160816; b=af3Gep+fiwoKmBsV2Z4bs0VGfrfdDjgvfdGKPpJLbvWt1frXdkJUul789ulHTtmYQ3 rElnBjMtpQGfXPzQ66TK8k69MSSSnpkyySq1WnKaG8V0ML/dafgMpqEaaMJDc0+yl91F Y9ZMcypyrvmnlxUVxh55NAM0/Qd4aP2vL7kS8srIUcyIBBIGX5eaYJb5mqQBhnVQZ869 Kmw0q74cP++5eB3895MTw6pNUIYUj7isJpUKxl7KKwv6f9Dej80g6HXsj8QH9QNQ1fTC lFtE386NEowUCbqdMCnaWO+nifVhFRyrtBeOE0VOsLWJWz1jKOCPdDJyOVxgDc7YeaJ2 qDcg== 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:dkim-signature:arc-authentication-results; bh=Ncg8cTa9krJFJEx97Y7xwDrCg2+9MJGZYRzRB/q9pCc=; b=VLneQDQ4i8BvWBUQIywRRNfdut4f0r97V8lL45QS4FBMOIGKCE9UXrpX2McU2mxc1N 7YfqQsfRNkpwuxDVEGG4hq17iwlFCuVLB0VoMX5FX//RuJo33ORU/ZUJH39uHbMhVm5e 6Cf3j/TEX9Sw4HEBGHsgnpqK8rb79bIdxtx0MPe7TCtOE7EZ4YMrfDdNs+LAAT/ZsPjM 2FfjLCMFlYzCrfAb6/UprJq2Sxe6BD73CwMCY2RcXUZ5IW5EP1OOzzIDXw7TIJiUWoXe SmoTPQT9OKjMAhtku6Hzv+smgQDlHLLYot0gY737ef+IbWJcke3tL7sCoYKTKZ37xtX8 7+gA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VAMWAhA0; 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=pass (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 p5si3891702pgk.204.2017.08.14.02.52.23; Mon, 14 Aug 2017 02:52:23 -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; dkim=pass header.i=@linaro.org header.s=google header.b=VAMWAhA0; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752790AbdHNJwU (ORCPT + 25 others); Mon, 14 Aug 2017 05:52:20 -0400 Received: from mail-pg0-f46.google.com ([74.125.83.46]:34596 "EHLO mail-pg0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751720AbdHNJwR (ORCPT ); Mon, 14 Aug 2017 05:52:17 -0400 Received: by mail-pg0-f46.google.com with SMTP id u185so44061035pgb.1 for ; Mon, 14 Aug 2017 02:52:17 -0700 (PDT) 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; bh=Ncg8cTa9krJFJEx97Y7xwDrCg2+9MJGZYRzRB/q9pCc=; b=VAMWAhA0JTsXwXXFAFpRgIeBqrQpK3NUYeCzP80+coI3zG3QLw2zokID18JYW++eIA 5k2qRIM9m4M9l/mW0TvrzJvFzDMT6a9kO98MuzElWEbAsGQ8PsbXSRH/wVw8mV+sbZJ4 /51hLV2Cbg5mNV7mgpMHwYuOwNLn+fxyW+4HY= 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; bh=Ncg8cTa9krJFJEx97Y7xwDrCg2+9MJGZYRzRB/q9pCc=; b=NTQjurgWxTVINVy0dtfX5D7Pxv0AQ4zwt6oZ0imQVCPVL+EjI/B+SFGvP1/SWJ7hxt UleCfC0DyGUhWOVCaRc3/NXZ5mFU2ZtOFPB9L7W0UlR3nAaMLmBwAW611vFqBn09lj9M dSaM0b0x6AMKDjB2X+fPrdK9kVbyBDZ3ZPhU3Er3v5Ti/EO0EawfV9hIR5Ousvgf+Alg xTUDUhcwB6TnEEi7ZM6KjRqRnEWEA1j3tcSzu6vfj7bRAP6g284mxGU3QmCBTxzYxdNh iAOkJtIKc8YuqnEfkE2nqymv/dEi4OhDWYT6+xkIhTflqyPnrCp45HiiDVpG+w0R+J5q TQJg== X-Gm-Message-State: AHYfb5jsetQ+XT2LS+FjH/6WEqcMLyIuGpLnl52gBB2x8Sbwlepqmusm t+RktbU24pw3cJvo X-Received: by 10.98.159.155 with SMTP id v27mr24230927pfk.124.1502704336351; Mon, 14 Aug 2017 02:52:16 -0700 (PDT) Received: from docularxu-ThinkPad-T440p.219.146.1.66 ([45.41.135.45]) by smtp.gmail.com with ESMTPSA id e63sm3468674pfc.24.2017.08.14.02.52.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 14 Aug 2017 02:52:15 -0700 (PDT) From: Guodong Xu To: xuwei5@hisilicon.com, robh+dt@kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, will.deacon@arm.com, keescook@chromium.org, anton@enomsg.org, ccross@android.com, tony.luck@intel.com Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, YiPing Xu , Zhong Kaihua , Leo Yan Subject: [PATCH v3 03/10] arm64: dts: hi3660: add pmu dt node for hi3660 Date: Mon, 14 Aug 2017 17:50:42 +0800 Message-Id: <20170814095049.27701-4-guodong.xu@linaro.org> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170814095049.27701-1-guodong.xu@linaro.org> References: <20170814095049.27701-1-guodong.xu@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: YiPing Xu Add pmu dt node for hi3660 Signed-off-by: YiPing Xu Signed-off-by: Zhong Kaihua Signed-off-by: Leo Yan Tested-by: Jumana Mundichipparakkal --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) -- 2.10.2 diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi index 1cdd03b..5fd5686 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi @@ -202,6 +202,26 @@ IRQ_TYPE_LEVEL_HIGH)>; }; + pmu { + compatible = "arm,armv8-pmuv3"; + interrupts = , + , + , + , + , + , + , + ; + interrupt-affinity = <&cpu0>, + <&cpu1>, + <&cpu2>, + <&cpu3>, + <&cpu4>, + <&cpu5>, + <&cpu6>, + <&cpu7>; + }; + timer { compatible = "arm,armv8-timer"; interrupt-parent = <&gic>; From patchwork Mon Aug 14 09:50:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 109968 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp4117635qge; Mon, 14 Aug 2017 02:52:28 -0700 (PDT) X-Received: by 10.84.217.142 with SMTP id p14mr27363082pli.22.1502704348631; Mon, 14 Aug 2017 02:52:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502704348; cv=none; d=google.com; s=arc-20160816; b=0IXCtcisZtvZBAri0b/L23BfmstGS2T0dFd15Yu17uDJ55zsPwTc91pfB2w8uUJTCS /zLIXA4PAq0n01KctVUK9Ttaj4dVRN61SQ8tvMxVh2xTu9YYmjQotbtHVVK1dsyiXizH N7LXARwzezGoPNnLfc0bQS5Fsfgm0vAwXhtLGZMgLsvJMVYSP/JlM3/+hhDlAxvwj9ZP SNybQLZC9KDilRWOwYpOqrhggcZ0NO8+UK2VdvaqhqvWg8G92Wxw5jDcVC4vr34X9M7Q AVv9GldG7UvVmDZUigYvK5zqUkVi1ygZZ4zbcr1YehKJhkyerEi2M3BQyKt0U6ZmL754 aXwQ== 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:dkim-signature:arc-authentication-results; bh=6VpFJOkc3jctZG9fXvVYXoGjtxLgUpOy8h7WjlUpxpU=; b=VNNfcfJQekv6/BKkVRoEHAcjZ4ugKwZuqdxP0XIdqvYsk5Mum5ha786ngvmYZJhNc/ dN0INNjUUAvIqjlkYBKDzcVII4YwZtWvI3u9EMjX0npSUyJm3C3GS2fmITPf7iNB/wWN Bi1m3jRJFtvEWaQQgn88C+S+aV4XFQsDtm0wNiqWPr8e5MZP7I75KMJrKBktyVr8NXSW G7U1TCasDjpQllAdW03HELzH0YuG6cgG1nF2B97E3mfhVkiNHwbcwuI5oTSTXyksLyDH 0e/MNCNxmwwcqA2wL32olu0X20/2FcJ/gT4HzU4/F2KgiZZyY1QIzKAnCNJe5z6JFoSt FZOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Tyk/uNkB; 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=pass (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 p5si3891702pgk.204.2017.08.14.02.52.28; Mon, 14 Aug 2017 02:52:28 -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; dkim=pass header.i=@linaro.org header.s=google header.b=Tyk/uNkB; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752816AbdHNJwZ (ORCPT + 25 others); Mon, 14 Aug 2017 05:52:25 -0400 Received: from mail-pg0-f54.google.com ([74.125.83.54]:33025 "EHLO mail-pg0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751720AbdHNJwW (ORCPT ); Mon, 14 Aug 2017 05:52:22 -0400 Received: by mail-pg0-f54.google.com with SMTP id u5so44160669pgn.0 for ; Mon, 14 Aug 2017 02:52:22 -0700 (PDT) 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; bh=6VpFJOkc3jctZG9fXvVYXoGjtxLgUpOy8h7WjlUpxpU=; b=Tyk/uNkB+3tiXJfQzQUx2Rux8LC3M0nH+Nw5+MwwjnE9ns8UBOt+Cn9rIle4dHzrr0 VZTYWwdYtRnEpt/Rd7FWthfpZ5sCDW1A7+GduwvXc2SqJez3RcqM+a7o6kdPOs5gGcuX ziMAfupstCDMuU0FQ0NlngfFrZ/u6TIOYxI9Y= 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; bh=6VpFJOkc3jctZG9fXvVYXoGjtxLgUpOy8h7WjlUpxpU=; b=rtHS4LGmaJkxlaMZWOlyda7uxoNJYRZ9LCsUGSENP6cFzZS13vTZEt1PbYIlMvDDrs jh8ZP/q2L8Y4MztboXtVQKXjyloGZdK9qdX10UzFbMStYoCHK/zBEkPYdSel4M/pKDaD /FPRdZfoYr4wFTJavVkjbZ6JuspSxx4JSjf+KauVFiVpdOZVcnIzWJSedsMtZy3WlDvh 8IzxYLZ3DYmUOAIvfRLcp0Is4PEdMoOtGxUqT5zneyy6i5o0kT2vL8j6I1pI3pMUiJ9H eceXFaVbrRt06Pv6Xt8I7T46F9QutzQQUcE8hI4PuE2AsXshUo/kDExWHcTVlTeMmvnS 6P5A== X-Gm-Message-State: AHYfb5i67broADIz6IrBZCWFmSYOjRs9sZCSMeG65QKRra3rNvrQTfJ7 GpTWTHOUEekQskQj X-Received: by 10.84.231.9 with SMTP id f9mr26868431plk.257.1502704341749; Mon, 14 Aug 2017 02:52:21 -0700 (PDT) Received: from docularxu-ThinkPad-T440p.219.146.1.66 ([45.41.135.45]) by smtp.gmail.com with ESMTPSA id e63sm3468674pfc.24.2017.08.14.02.52.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 14 Aug 2017 02:52:21 -0700 (PDT) From: Guodong Xu To: xuwei5@hisilicon.com, robh+dt@kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, will.deacon@arm.com, keescook@chromium.org, anton@enomsg.org, ccross@android.com, tony.luck@intel.com Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Victor Chong Subject: [PATCH v3 04/10] arm64: dts: hikey960: Add optee node Date: Mon, 14 Aug 2017 17:50:43 +0800 Message-Id: <20170814095049.27701-5-guodong.xu@linaro.org> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170814095049.27701-1-guodong.xu@linaro.org> References: <20170814095049.27701-1-guodong.xu@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Victor Chong This patch adds op-tee node for hikey960 Signed-off-by: Victor Chong --- arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 7 +++++++ 1 file changed, 7 insertions(+) -- 2.10.2 diff --git a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts index 6609b0f..b96d865 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts +++ b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts @@ -159,6 +159,13 @@ startup-delay-us = <70000>; enable-active-high; }; + + firmware { + optee { + compatible = "linaro,optee-tz"; + method = "smc"; + }; + }; }; &i2c0 { From patchwork Mon Aug 14 09:50:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 109969 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp4117719qge; Mon, 14 Aug 2017 02:52:34 -0700 (PDT) X-Received: by 10.84.224.201 with SMTP id k9mr27796190pln.263.1502704354166; Mon, 14 Aug 2017 02:52:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502704354; cv=none; d=google.com; s=arc-20160816; b=Jpt5wWtXs6UMEAlJDlMhHyngxoe6DTIV4RuWYr39ywCe8ddCAlmNonZoKSZhBii53V XVHlu7schn5da0h7LsVdkLEZbvroOtHV4gCWjQAKMPz3YUODaQCBBVaqTNy/apHMQWR8 GIG3XpH7ux3S5QICX1sOs7+ju4CRc7T34LdsakX7tCf8FrjRcFfq3Gn3y7Ljbxc3q7Im aJkERAKb13x3jA/YCsPcHs8NOhsZxH3qPPX7O7R6moAnHmntMKiH07WZvLv7oznjZJwB KV9G7GTkVzJ+H26XD7cp68+esMKU9IHwof+SZ+4ghWkKMqpwCIEC4eOTRLpIF0fHHsaV eXdQ== 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:dkim-signature:arc-authentication-results; bh=+bO+zSefFHAJbSn5XMxZONacNWLUlAJKHeiXDUvZjIo=; b=0Pz9R4C59CN1rrZewRwQvfvX0NXVAU1gZr0EgasKRRRGK+f9XvaDzSyblo2Ev0Qi79 M4+6LAgvNws6u08WJH8y/UJJ4n7xbpf3S+VJeO+1Ber32z+gsrxvGbb7rzFRTMgAKaeX oKUPg+jIluAhxekm0T2NxgDa6joxUkyGZXcEo+XZtpIv6m5svKrUkOD4KcmTEgLM62zQ E1nXyKnYO5QxA1bXWnL4vBMMUYB/1erdb0rXinhymu34bXYrgwmlV+FD/MF6cvjTzyaL fkyuzJ9nh7y/7uVawXQ3G4o+8SO0dC65qDpn7ehl/XbZhhlkgWUsURhKZBZ8KEBa0wOd 7ylg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GHBDZTuu; 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=pass (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 m88si3973364pfa.226.2017.08.14.02.52.33; Mon, 14 Aug 2017 02:52:34 -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; dkim=pass header.i=@linaro.org header.s=google header.b=GHBDZTuu; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752836AbdHNJwc (ORCPT + 25 others); Mon, 14 Aug 2017 05:52:32 -0400 Received: from mail-pg0-f51.google.com ([74.125.83.51]:36584 "EHLO mail-pg0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751720AbdHNJw2 (ORCPT ); Mon, 14 Aug 2017 05:52:28 -0400 Received: by mail-pg0-f51.google.com with SMTP id v77so44026150pgb.3 for ; Mon, 14 Aug 2017 02:52:27 -0700 (PDT) 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; bh=+bO+zSefFHAJbSn5XMxZONacNWLUlAJKHeiXDUvZjIo=; b=GHBDZTuus43ERh8voIA7Sk2rTHlQQaggqTiDyx34T4deE+yyy1UH8oUPDtflkp2CRk hK+q5+e5LzIEPXHrBmFJjSFRzC1RFPm+om5hTQrMWHz3nP8hLGklJ3le0zzifsFlFT8Z 208wt1WdCQrfswyINuu/Ad8iJSSSHarzt8NXk= 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; bh=+bO+zSefFHAJbSn5XMxZONacNWLUlAJKHeiXDUvZjIo=; b=eKprmXnVoa99i3maW6IeAsZB3ySBBsgx/+uu1QEuapqlyjjtKFK5j9LMkB4uWvbld4 dJA4NpNtEStRLKYrVi4+Jr6nBs6m/IMd+FRKEv7TNJfYvy6nHGSg9pTVg04Bwr47kFa2 Jf5p5Q6Nmd8fGjJTdvQsvTTqkkiJv/UqGaxe1X1MA9ntoKkWbbE0x7VMpww539msv70j zdlUE7XD9uvV2zehWg4Z0d/EpFfCMxbavJxVwrodPZzk1gWoj9yXMDwRDSK5qS3TlFxg FwBFzZ7FQStd0x0f/ldHm7xB6JiPeCdwOqF5YXaK9At0Agn4AOBGDQWLEopSXJHY5/rm Tuww== X-Gm-Message-State: AHYfb5haz3J9Xekxx915YTLi4VIAVhX3K4qOauDjfzjKvXhdlRxnT2Uf ZrgWvC37MDaXOE7zq5eutQ== X-Received: by 10.98.133.211 with SMTP id m80mr24098077pfk.164.1502704347434; Mon, 14 Aug 2017 02:52:27 -0700 (PDT) Received: from docularxu-ThinkPad-T440p.219.146.1.66 ([45.41.135.45]) by smtp.gmail.com with ESMTPSA id e63sm3468674pfc.24.2017.08.14.02.52.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 14 Aug 2017 02:52:26 -0700 (PDT) From: Guodong Xu To: xuwei5@hisilicon.com, robh+dt@kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, will.deacon@arm.com, keescook@chromium.org, anton@enomsg.org, ccross@android.com, tony.luck@intel.com Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Guodong Xu , John Stultz Subject: [PATCH v3 05/10] arm64: dts: hikey960: Add support for syscon-reboot-mode Date: Mon, 14 Aug 2017 17:50:44 +0800 Message-Id: <20170814095049.27701-6-guodong.xu@linaro.org> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170814095049.27701-1-guodong.xu@linaro.org> References: <20170814095049.27701-1-guodong.xu@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add support to hikey960 dts for the syscon-reboot-mode driver. Cc: John Stultz Signed-off-by: Guodong Xu --- arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) -- 2.10.2 diff --git a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts index b96d865..ce5e874 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts +++ b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts @@ -39,6 +39,20 @@ reg = <0x0 0x0 0x0 0x0>; }; + reboot-mode-syscon@32100000 { + compatible = "syscon", "simple-mfd"; + reg = <0x0 0x32100000 0x0 0x00001000>; + + reboot-mode { + compatible = "syscon-reboot-mode"; + offset = <0x0>; + + mode-normal = <0x77665501>; + mode-bootloader = <0x77665500>; + mode-recovery = <0x77665502>; + }; + }; + keys { compatible = "gpio-keys"; pinctrl-names = "default"; From patchwork Mon Aug 14 09:50:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 109971 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp4117889qge; Mon, 14 Aug 2017 02:52:45 -0700 (PDT) X-Received: by 10.84.231.202 with SMTP id g10mr26870303pln.259.1502704365452; Mon, 14 Aug 2017 02:52:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502704365; cv=none; d=google.com; s=arc-20160816; b=cJXpEVxkBejZwMzS6FVZ6eMD8wOx8qk5j2j0Cr5dwZPA6h2KHBbPupOrv6RSF/3fYy tQv4EXZkRwbA8kAt54UY/Af2mzTVEhUeij2BReA7FG+je0dlupOefMKfLrK1su7H7Pqm EYlhTaeZi7G/FfZI8PH4Vi4tbOpg0c1V7sXmJnHrENTC96vYHRyBsZ/jPTYMd1aaX1rV VfssXoKXnvSjM4fqAlwin1GAoV5xEOSQTLwHOghVx0/lTLo+25owtaacGDjV1QihZ69J 0t5jJjKJ1hBA9rWseAVpnPyPxCpECwTXAgUZUsDf3fFtU6+0KZxpWb6XFEIT9nAcdy1i aipg== 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:dkim-signature:arc-authentication-results; bh=ilmrt1kaYMO+vPgzSCoZ22OsKqJzyrxZJrRMn2tuK8g=; b=nBdI1SVgwLhUVlK6FyuTsbjUXYYcLba7Wk35x6hBurV8M6XZ+sDqw1CqNzJN1jiLLU jui1329tijbRquzEoZb1jOvVE0amDXHHnNOdqgYSzu3tMG9Jxw7hWZ7a4hSpX/nCmnZ4 KkHn2rrTd5Is1bf5s+h4Ukk8S1kNZo0ApZ4WO3S1Kan4PdhVMIYKohF7yUe74k1QXWlu e/ly5Bi1VK0SXSlItyUQwVDRqUHCFfJmxCSxFt8GPQnpRs16oOJJWc6oQE1eHh5WlPQ6 kQVu4s8J2C7RG9fh/3QuOluc5EM/ATrwFARHVRO8A6BO5WsFuLp8efXXdeGnx07Vlm2a PiFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Pxfm+QTn; 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=pass (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 a188si3838399pgc.127.2017.08.14.02.52.45; Mon, 14 Aug 2017 02:52:45 -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; dkim=pass header.i=@linaro.org header.s=google header.b=Pxfm+QTn; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752879AbdHNJwm (ORCPT + 25 others); Mon, 14 Aug 2017 05:52:42 -0400 Received: from mail-pg0-f46.google.com ([74.125.83.46]:36640 "EHLO mail-pg0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751720AbdHNJwj (ORCPT ); Mon, 14 Aug 2017 05:52:39 -0400 Received: by mail-pg0-f46.google.com with SMTP id v77so44028763pgb.3 for ; Mon, 14 Aug 2017 02:52:39 -0700 (PDT) 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; bh=ilmrt1kaYMO+vPgzSCoZ22OsKqJzyrxZJrRMn2tuK8g=; b=Pxfm+QTn8Joz1p6L/wrrhyRj9xWXZ3ZmKr4vei2hXYgeFGEsDC6Gcy2gAkltxzkISF Oy5SPpXMfBMvDmV9Bl3MYC9bu9FNQoL0Zfn22egWdJI9pz1lEm03WzmCqUVnj4kx8yBT dz7LggEAXFiUeYjQPbxw3xGZ10RZgmGc7eQig= 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; bh=ilmrt1kaYMO+vPgzSCoZ22OsKqJzyrxZJrRMn2tuK8g=; b=aTS84z4nOSiyK89/3FA4WY4yi20pKkmjro+eEWYnZgoU2ZihCM8VUjg+8bP9lBNjkh 4lKU7VSEsQDkSeuaNMsLuREXcbjMDjI9Zvfq3FOe5Ve2XTeubJrq0toFjWisdtpRUnC+ xb0wM8Ik+rFGZh0BBUqc2mnK6zybQJ+5/I6nl3UVWe1JkmZKACR/TYJsaZImOcwE6cic X8TiyoKusbiECrNpfK+GnS9eefy/QhslVFghViNObG7V/GQGMLYeAAKJwlxE3AD9pmEC S/kdhJs7pY3R5+Lu7GUoL4ldyGK3TUat1M6STxElZkjuWqz7qTKakJ0o7mxZlDFybxew XuhA== X-Gm-Message-State: AHYfb5gqkCXLCP3y29i8xPibk6IUka7IonAjYLiPUI9h93+E8pnJOXWi I48btrU8MjFnEoHC X-Received: by 10.84.132.79 with SMTP id 73mr13869036ple.453.1502704358601; Mon, 14 Aug 2017 02:52:38 -0700 (PDT) Received: from docularxu-ThinkPad-T440p.219.146.1.66 ([45.41.135.45]) by smtp.gmail.com with ESMTPSA id e63sm3468674pfc.24.2017.08.14.02.52.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 14 Aug 2017 02:52:38 -0700 (PDT) From: Guodong Xu To: xuwei5@hisilicon.com, robh+dt@kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, will.deacon@arm.com, keescook@chromium.org, anton@enomsg.org, ccross@android.com, tony.luck@intel.com Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Guodong Xu Subject: [PATCH v3 07/10] arm64: dts: hi3660: Reset the mmc hosts Date: Mon, 14 Aug 2017 17:50:46 +0800 Message-Id: <20170814095049.27701-8-guodong.xu@linaro.org> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170814095049.27701-1-guodong.xu@linaro.org> References: <20170814095049.27701-1-guodong.xu@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add reset-names = "reset" into mmc nodes. Signed-off-by: Guodong Xu --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 2 ++ 1 file changed, 2 insertions(+) -- 2.10.2 diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi index 5fd5686..41841f7 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi @@ -909,6 +909,7 @@ clock-names = "ciu", "biu"; clock-frequency = <3200000>; resets = <&crg_rst 0x94 18>; + reset-names = "reset"; cd-gpios = <&gpio25 3 0>; hisilicon,peripheral-syscon = <&sctrl>; pinctrl-names = "default"; @@ -938,6 +939,7 @@ <&crg_ctrl HI3660_HCLK_GATE_SDIO0>; clock-names = "ciu", "biu"; resets = <&crg_rst 0x94 20>; + reset-names = "reset"; card-detect-delay = <200>; supports-highspeed; keep-power-in-suspend; From patchwork Mon Aug 14 09:50:47 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 109972 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp4118006qge; Mon, 14 Aug 2017 02:52:55 -0700 (PDT) X-Received: by 10.84.231.199 with SMTP id g7mr27423626pln.258.1502704374917; Mon, 14 Aug 2017 02:52:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502704374; cv=none; d=google.com; s=arc-20160816; b=WNBSHW3QLo+XCCQE8AktrQ1YVf0qah323exYaI7g3RuUw3jgndKaAPQnNUEd+Ct0GE e+5u7EPNOMWJX/fr6Y/HHz/FxmPU3EbaaOFZ0nSUmv7Jk7qp6T/LUd69HW54rKX6iaLB aNdHEar/84fcc81I97YGDTLCza+JysFQJBldhteANPvOmcxEddxhI30rCUYNfp6HhmM4 i/+UiF46n5lz69PgplAAzzLa8/X3iFuXp1FbAuSDOBqWOHsl9fuG7VtML41ZlRBkwGoo LNclogfZTXb/hfoai9sXDdc/wAg71xAGE1p1Fujk4Ou8ByEOoVCpAC/Q3F18MEtiCYou GOcg== 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:dkim-signature:arc-authentication-results; bh=HlHeVrq2afTm88QT+clq/RICXUcu3co6srnlg7eCltM=; b=zBzz+BjUWwaJ5we3NMkRwETLUgEjLOhc83pv7IDJ6+pEGvtr4eOmJ51o24JIhZyNPo +0s1MkWEijVCzt7toeeZZlU/VvoCcKZiwe37MVJ+Sx+CQmO8tVGKtFHw+C8C3LsHNI+3 RBJoQkpjzw1uvgelvY3nVCsvB/jPQFUVmh0O6GJPkdqpWOBNr/3NgKtd7yZEO2QpqZDB DqStQisByiymGu2BT9dDQFM1Fc2LNUoTysJ6V31y1K19lhjZeLoRan8vX1HK0598hw2w qochq6lvHh+HSsBHIOnWAs5v1PKgArlW5I7qe41nAZDKT9qvhC0kmCasJOsaLgpH5MFa tJ6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Whgxw3Tt; 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=pass (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 e72si3960123pfk.514.2017.08.14.02.52.54; Mon, 14 Aug 2017 02:52:54 -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; dkim=pass header.i=@linaro.org header.s=google header.b=Whgxw3Tt; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752930AbdHNJwv (ORCPT + 25 others); Mon, 14 Aug 2017 05:52:51 -0400 Received: from mail-pg0-f54.google.com ([74.125.83.54]:35001 "EHLO mail-pg0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752675AbdHNJwo (ORCPT ); Mon, 14 Aug 2017 05:52:44 -0400 Received: by mail-pg0-f54.google.com with SMTP id v189so44095300pgd.2 for ; Mon, 14 Aug 2017 02:52:44 -0700 (PDT) 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; bh=HlHeVrq2afTm88QT+clq/RICXUcu3co6srnlg7eCltM=; b=Whgxw3TtuD3Ov+gcuf8EY1sfURRd+zveKPdhqzoha5U/bi48eNS7pky9X6zYTDxvdd BCmEFSaFcf1Q2+MV1qLQtyt9edcn6XgWhu2jONibaMqxTPdGkmxmUR2QphzQpcaaH0Ua ZxLjKLj1imKq0f50AWsdNvskBqO2KCvDIURbM= 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; bh=HlHeVrq2afTm88QT+clq/RICXUcu3co6srnlg7eCltM=; b=HHQbCPHLWCX33WMeMrZCa0iLOzC26oviY94xyyE8LHkufL6VX5KDBi1Jn6QNkwL4NQ TlDy6JSL0SJqD/eKUp4DlUzPnlyr+2/XkYMKnX3uF0oN3En8Gl6SlGa54XKEys85pji7 MJjHnjtWhmRUtf9LuGN0b7OldUex8avjtQU4R+afG9EM4d+HVmZqaZnwHB0JbISQ/urg plKKv7pExGa16oIYbelXrLDzn0FefhU6r3ny3SBaIUFGOVVO1YZRX/s4LHKFg0jPUxCc oxrR/Nrd904gkblDyjiP5pIn71g8QJU7i3Z5rbSDtzpKnxS9HasljRdIvjbxySO8bIea uCWg== X-Gm-Message-State: AHYfb5h/wm2dG7N5V1/gReoeBV2BWFNB+gdE5iA4fbqJ57T4UadDl07P 6/sox0cO6sBFZJi/ X-Received: by 10.101.70.137 with SMTP id h9mr23142528pgr.50.1502704364114; Mon, 14 Aug 2017 02:52:44 -0700 (PDT) Received: from docularxu-ThinkPad-T440p.219.146.1.66 ([45.41.135.45]) by smtp.gmail.com with ESMTPSA id e63sm3468674pfc.24.2017.08.14.02.52.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 14 Aug 2017 02:52:43 -0700 (PDT) From: Guodong Xu To: xuwei5@hisilicon.com, robh+dt@kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, will.deacon@arm.com, keescook@chromium.org, anton@enomsg.org, ccross@android.com, tony.luck@intel.com Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Guodong Xu Subject: [PATCH v3 08/10] arm64: dts: hikey960: change bluetooth uart max-speed to 3mbps Date: Mon, 14 Aug 2017 17:50:47 +0800 Message-Id: <20170814095049.27701-9-guodong.xu@linaro.org> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170814095049.27701-1-guodong.xu@linaro.org> References: <20170814095049.27701-1-guodong.xu@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Update bluetooth UART max-speed to 3Mbps Signed-off-by: Guodong Xu --- arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.10.2 diff --git a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts index 7770ec7..fd4705c 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts +++ b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts @@ -230,7 +230,7 @@ bluetooth { compatible = "ti,wl1837-st"; enable-gpios = <&gpio15 6 GPIO_ACTIVE_HIGH>; - max-speed = <921600>; + max-speed = <3000000>; }; }; From patchwork Mon Aug 14 09:50:48 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 109974 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp4118373qge; Mon, 14 Aug 2017 02:53:22 -0700 (PDT) X-Received: by 10.84.176.195 with SMTP id v61mr26720166plb.271.1502704402359; Mon, 14 Aug 2017 02:53:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502704402; cv=none; d=google.com; s=arc-20160816; b=A7YQlnq2bByB3X7/kZ6GJsk435svnE9ar4Qpvv0k9ulGACn/F/lAg79bmg37mBnuGw kBDn5FSdY9Tn+XNKFObMC0ceM79LId0KAlmo+fAQUoWwUjCQj3u7jj024ulQF+TtgfJh d5Vsja9xHm0x+5Z6jn92xrhLeZ+e5Nc9dD8o8JwEkF8QF5qRq4YEBu0XFxjpoetNQbKZ xqcTK3IRCDQod4t6+ffwtHzQ5d9V2gs3ixEF/58LKPA+7WKZ2nDWLiCxu1t3/fI9GcBI 0RcHBbj1sSRaL5k9mwj2VFuOBH5sbPtyOG3k/TNm3B2T5iQLkn1RW2dCaQ1hpxuJ4u5y Z9IA== 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:dkim-signature:arc-authentication-results; bh=5C3GqD00RoPDh/C5JZXJrxmqSV/Dtiunz3j0ZgOxk4g=; b=TUlGazoH6iilRvZatUVqJAxb0mmzxAwP586z1iggTvE++oceP3NxmKPZZnJF8JtQdR mKgmtl7qZSgtyV4SMYYaB/HSUNrR6lbj9Q2zQysNgfpr/pgh+cV7plOAQNxVcnwuBUVW buTbpan+amSNwYtKS9pGVukYBdwS1V8mqIZ04FNO9AII/mvoANig2XmGia8nRZWV+PIe rHGIjJob/QcRfhZ1w9Lx8PB/p4Qbb4I7OhF8XiWB/K6Puq01I3ImrmYKdckwRQ4WruDa 8/OuM+XUL9h0NHYqgkJQJCRQyEBDm/Fh7n5U08Cj3KFPMd3WJEJYKSBfCqMng++4wzMf YeVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NDNqvF9e; 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=pass (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 d6si3854200pgc.951.2017.08.14.02.53.21; Mon, 14 Aug 2017 02:53:22 -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; dkim=pass header.i=@linaro.org header.s=google header.b=NDNqvF9e; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753004AbdHNJxS (ORCPT + 25 others); Mon, 14 Aug 2017 05:53:18 -0400 Received: from mail-pg0-f54.google.com ([74.125.83.54]:35030 "EHLO mail-pg0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752882AbdHNJwu (ORCPT ); Mon, 14 Aug 2017 05:52:50 -0400 Received: by mail-pg0-f54.google.com with SMTP id v189so44096658pgd.2 for ; Mon, 14 Aug 2017 02:52:50 -0700 (PDT) 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; bh=5C3GqD00RoPDh/C5JZXJrxmqSV/Dtiunz3j0ZgOxk4g=; b=NDNqvF9eB2bNPzQJAEQSzC+SZqyHtkJpT2HsxGF/uYk3GDFD8YMFbVlVU1AG/sJExX y7dDcgz1kt6NLJMmDv4n3JptLWktUOxDledv302Z16SvpofWavpZd9hkQh65P0DDsjp8 TT3KYfDpLDIJp9+Vc3lh78s1f9fqdV62DWVzg= 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; bh=5C3GqD00RoPDh/C5JZXJrxmqSV/Dtiunz3j0ZgOxk4g=; b=Rp2M4iQbID52g4/3Zpnojld+eW7IQY3DapFhcM9a5IlSKhV2V8PBu6DlP/4KfR5oza SzfiR76sBmefCc7LPVPlbyK5Gfb5i9MD7TX6QVSQPh8knXSjIJ0JcQnxE6nBu96nbtEM 27FBO8w+mfgttardB3euOEdnD3ARGrvojzfhgJkpmG1FGRcOW1Q4U1q2bGAxxYwnYN2R Ywq52ICrHwc9xNNZc9fowWBKyIF6EBCDsojsSb4rEatpqDbVLrdkKdM2nhuotSMUyTpS AzsnCBedaq+Rl2FjgiqoUdZnk+gazxISvjpKYHTm1K2oaQLhPUFIUZZWFGyipd5X/fEp JEBg== X-Gm-Message-State: AHYfb5hyiV6nX5q0BOETAq2XggFuD3qqyMDhx7FXRHb9KIe5hYttZJO+ e/16YhgBtBpd3q+O X-Received: by 10.99.117.71 with SMTP id f7mr22870329pgn.245.1502704369769; Mon, 14 Aug 2017 02:52:49 -0700 (PDT) Received: from docularxu-ThinkPad-T440p.219.146.1.66 ([45.41.135.45]) by smtp.gmail.com with ESMTPSA id e63sm3468674pfc.24.2017.08.14.02.52.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 14 Aug 2017 02:52:49 -0700 (PDT) From: Guodong Xu To: xuwei5@hisilicon.com, robh+dt@kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, will.deacon@arm.com, keescook@chromium.org, anton@enomsg.org, ccross@android.com, tony.luck@intel.com Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Wang Ruyi , Guodong Xu Subject: [PATCH v3 09/10] arm64: dts: hi3660: add bindings for DMA Date: Mon, 14 Aug 2017 17:50:48 +0800 Message-Id: <20170814095049.27701-10-guodong.xu@linaro.org> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170814095049.27701-1-guodong.xu@linaro.org> References: <20170814095049.27701-1-guodong.xu@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Wang Ruyi Add bindings for DMA. Signed-off-by: Wang Ruyi Signed-off-by: Guodong Xu --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) -- 2.10.2 diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi index 41841f7..545d435 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi @@ -436,6 +436,19 @@ status = "disabled"; }; + dma0: dma@fdf30000 { + compatible = "hisilicon,k3-dma-1.0"; + reg = <0x0 0xfdf30000 0x0 0x1000>; + #dma-cells = <1>; + dma-channels = <16>; + dma-requests = <32>; + dma-min-chan = <1>; + interrupts = ; + clocks = <&crg_ctrl HI3660_CLK_GATE_DMAC>; + dma-no-cci; + dma-type = "hi3660_dma"; + }; + rtc0: rtc@fff04000 { compatible = "arm,pl031", "arm,primecell"; reg = <0x0 0Xfff04000 0x0 0x1000>; From patchwork Mon Aug 14 09:50:49 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 109973 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp4118078qge; Mon, 14 Aug 2017 02:53:01 -0700 (PDT) X-Received: by 10.99.115.2 with SMTP id o2mr23085058pgc.48.1502704381182; Mon, 14 Aug 2017 02:53:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502704381; cv=none; d=google.com; s=arc-20160816; b=ptNiG+5aecMpYxD2QS2LUVkHWj82b75FVWCq6FKnpmBl+XpVqBO8I8xyfTgpyzaMj2 y2zCw5CnkdohG6VJt/WfbxO6hNTaF5rnCwaOzgsUg25gHG5lhSQifaZFN8SpoqklpKD9 u+govtP//SCQWt6ttk5p0EC/4KVDsio5oeMpxwhes7Zr3RNmnZyTm1jnyeYAFW8wedx9 usv+ABGkSzpuVMQb96IruXGUgVZiLf3AIIvbqAVUlP6CgLT4SBqOyMsVayaZI4P73+M/ OpsyQaJCVcLipGSggIs3Y3P/Oy74jnBeM9IWeHv6NFpGyn2ZB1J6wu9D1ufeicH8kFUw W96A== 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:dkim-signature:arc-authentication-results; bh=lq3KIs1DOgswtu6qE8E6iGEOaL2qSAC8H+CP6aiAxa0=; b=tTx02F9oKYGqxycLniBapHYmwvNNBAJRJ0aerY5oBqCdZZjZt48ImsHQcYDlmC8mq1 1pxlUEWZwxnBv8KHIDf4q+JIro6iLL5KdXjIVvdNiVrREFbKitH/XDes746H3chYdf5C 1c8VPUupLEr71S/kRiGIPuSCecs4H+yO96taXFVtCjR3KZVv8P/3ZWlrHVAnfBsUiY95 qPSzAiiztFo46nP0HYXmXp3Z7yXMYndlh1XcoaN5hoqF0d1qcjkL71dkaSyNqm26v5I2 26Kz8QXsuWdIoxqypDiw1oRuQdwU9t2nqWc6cA+bPQeTx5j5dARnUUjCNVK/k6HSTto6 ERYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LxcSFDsF; 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=pass (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 e72si3960123pfk.514.2017.08.14.02.53.00; Mon, 14 Aug 2017 02:53:01 -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; dkim=pass header.i=@linaro.org header.s=google header.b=LxcSFDsF; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752956AbdHNJw6 (ORCPT + 25 others); Mon, 14 Aug 2017 05:52:58 -0400 Received: from mail-pg0-f51.google.com ([74.125.83.51]:36726 "EHLO mail-pg0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752936AbdHNJw4 (ORCPT ); Mon, 14 Aug 2017 05:52:56 -0400 Received: by mail-pg0-f51.google.com with SMTP id v77so44032865pgb.3 for ; Mon, 14 Aug 2017 02:52:56 -0700 (PDT) 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; bh=lq3KIs1DOgswtu6qE8E6iGEOaL2qSAC8H+CP6aiAxa0=; b=LxcSFDsF4bTcaAUbS80s3AqwBb8/nqEMcGmG8A/D6VP85oP3UlWMUSerqpST9yhzqZ TM1Jcmd6zzTsywaI/0Ao02QFKC0XLulmWCHoyukO3G5CwKFTYJboBo+stDyNaKSCSjQi qPVAW0Ii9SWUMlU3bjychO4vrPnFa7gvvblE8= 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; bh=lq3KIs1DOgswtu6qE8E6iGEOaL2qSAC8H+CP6aiAxa0=; b=CPQQJzyuvgBn9ZORMWdnXDyvRuEUE4+vUqeJkmSYu/ndLJs8Qmx8RxrVzQUpZOBNLF /JeOkSqz2+0jzzW3ftuvDPisV3r8osG6UapVccZkib4VfhkCL/qKP/YwVOTQYt/7ah7x UAxT+QHDyvvjUlT7yeRKNKikMzsnAP++aJTJu/a4xh55O1z/ov3xb6d/1OBlqkGP8I4I tJUgiN+9p6lHya5JDA3GrVa3xQPuZqTX3gbgQ1Fo0wXV/ed8uK+btCd74894AlV56Q9k io9qjIaPbjpf7S9QpqF/45UfopfOAdMsdaXYDv1V/9T2wdfGmllncJQFoYofjKTSHuoT arZQ== X-Gm-Message-State: AHYfb5h4oYzWo121E4XOeegfcbRgC/IZTM7jBJ8cJD9WvBXkBYCoNPDz skY8GoDXHIQKB73r X-Received: by 10.99.114.84 with SMTP id c20mr23385301pgn.13.1502704375777; Mon, 14 Aug 2017 02:52:55 -0700 (PDT) Received: from docularxu-ThinkPad-T440p.219.146.1.66 ([45.41.135.45]) by smtp.gmail.com with ESMTPSA id e63sm3468674pfc.24.2017.08.14.02.52.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 14 Aug 2017 02:52:55 -0700 (PDT) From: Guodong Xu To: xuwei5@hisilicon.com, robh+dt@kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, will.deacon@arm.com, keescook@chromium.org, anton@enomsg.org, ccross@android.com, tony.luck@intel.com Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Leo Yan , Guodong Xu , Zhong Kaihua Subject: [PATCH v3 10/10] arm64: dts: hi3660: enable watchdog Date: Mon, 14 Aug 2017 17:50:49 +0800 Message-Id: <20170814095049.27701-11-guodong.xu@linaro.org> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170814095049.27701-1-guodong.xu@linaro.org> References: <20170814095049.27701-1-guodong.xu@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Leo Yan This patch is to add watchdog binding for Hi3660 on Hikey960 board. Cc: Guodong Xu Cc: Zhong Kaihua Signed-off-by: Leo Yan --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) -- 2.10.2 diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi index 545d435..b7a90d6 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi @@ -962,5 +962,21 @@ &sdio_cfg_func>; status = "disabled"; }; + + watchdog0: watchdog@e8a06000 { + compatible = "arm,sp805-wdt", "arm,primecell"; + reg = <0x0 0xe8a06000 0x0 0x1000>; + interrupts = ; + clocks = <&crg_ctrl HI3660_OSC32K>; + clock-names = "apb_pclk"; + }; + + watchdog1: watchdog@e8a07000 { + compatible = "arm,sp805-wdt", "arm,primecell"; + reg = <0x0 0xe8a07000 0x0 0x1000>; + interrupts = ; + clocks = <&crg_ctrl HI3660_OSC32K>; + clock-names = "apb_pclk"; + }; }; };