From patchwork Fri Feb 15 05:49:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 158475 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp319933jaa; Thu, 14 Feb 2019 21:50:22 -0800 (PST) X-Google-Smtp-Source: AHgI3IZE2ra6ARXbV46RiXO5mOzPPXASytZwzHsB3UFcXsWLGUOMSuYUTeRSAHl+gBubMhHGUIvg X-Received: by 2002:a17:902:7805:: with SMTP id p5mr8303129pll.261.1550209822032; Thu, 14 Feb 2019 21:50:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550209822; cv=none; d=google.com; s=arc-20160816; b=ww/FkhzCByB3USWzvAzkLorCaTfiki0ABPJcrh+gpto96rYE0v6s8gFbkEUrYDd7Fy jAl+VUDsjadony6bgEzvagzL4q3Tgy7HrpyjC0iXj4gcS6K1RH7MMGncstiHwEP6jVy6 Ed3EXABBSHJS9Q/YM4hwUVS6e6osMtVDwMYsaqQJLphOm4n7RdZGgSThG6LorhwFUOy6 gK6/nUCCUBJV0cN5VjMMNDr66uM4IhSxenWtj95FQKuYmyk21gziw7rhtFvO1MuQwZUl +iY/GqGlMPkxSPFBT9xwKN+mUOvjDnju75hE2Ec720ndjxNJMLavcQ9cKU8xmZjCEwJ8 3/qA== 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; bh=+28ah16ssp2zUlQ08ousTOH5MdUsrEXHyb5TznP/Xc0=; b=eHvA2kbRy8pifAyfui9CKXdOBPQJL8xKxCd/N9tcJWlwxikJPoreIHrp5az9697KuN mMnfKM9Ab+NZCk1jZOdIt5TSs6x9zBPqgDyQwizjXGwefjJkkrucB5H0L7JCSKnD7ypW d3c7+/kuKaV37i844bc+0UV1s9UA9W+sG5R+VrpwUC0s/2YHPeMLZujuAYeP6/DAYPgB zGs7/WLzDl+w+KCQtevJUneCIMjI4y1Q7S6MSxkBcHxSz9ed0Lwo9pfKmg471Q75lTRP appQwwyCF6yz//DLmpHBpHXol6MIB4eioM8jODAxZ3Ys/14QlFVK3s7qtmhHD49Lf+9F RzrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DGBCzkC0; 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=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 b2si4366664pgw.113.2019.02.14.21.50.21; Thu, 14 Feb 2019 21:50:22 -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=pass header.i=@linaro.org header.s=google header.b=DGBCzkC0; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732030AbfBOFuV (ORCPT + 7 others); Fri, 15 Feb 2019 00:50:21 -0500 Received: from mail-pf1-f195.google.com ([209.85.210.195]:45871 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732024AbfBOFuU (ORCPT ); Fri, 15 Feb 2019 00:50:20 -0500 Received: by mail-pf1-f195.google.com with SMTP id v21so1300103pfm.12 for ; Thu, 14 Feb 2019 21:50:20 -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; bh=+28ah16ssp2zUlQ08ousTOH5MdUsrEXHyb5TznP/Xc0=; b=DGBCzkC0cmXtmaogSMqWCCj1CQSsyzp/9IPw9txdvx0boTDHpDgJdxlTaaeLznzIvz X6Nrqjvq9INr+lU0ku2eHwR+QQLsD/cp+TmmlOQmQsZ4Fz3QDg7SD4T2RFgAopBa23Fw ml/Ml6Hk8dyV0TkQfocLIjVj59dfANuucfiLqc0mjqBsT/4P8mUWOCKK1DtN5At3WEEP tkAb5V467FaYtxkwV9YrqlawLNC3XmwxK8mkLMZjS0xB/TeryNKE/S/xyBvrWZ9cwZVA er1BfYFf3BxXDPRkk+NotXddoLgOWSNgH4VIZpCvN5l+GDyo4gO4NcHh7nthfuWq5mah cU7A== 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=+28ah16ssp2zUlQ08ousTOH5MdUsrEXHyb5TznP/Xc0=; b=gdjvZkmzavtnFdcf2rxTTj4+9G8f3ee5BfZwGzv2ntEUQuF64fF0jhIf/YntIev+px QokGssCf3BsOdHlzOLR2YwFKYxfLFtbm9L8Ky15lQTYCtr83E0whKM0NVVcmd6A3RaJ8 FZTHX65Z599SyZRXQ9uW0vJLOyh8LpwMfpGMIFS3gxDQNpoe3sdYxWFxcDKCsTge6U0B z/uENBCHwYl8sY7/1ncTGdEtCwRr9e09t1YTY2hDX+32SBNz/TdeQLOex+rwYeikC3Rx Kdk9HUawxze9LP7xZMWUfx6jFvxjF27OyIeEBs8s0LQYYrDlbNY07M8j1344zH8iUblX J49w== X-Gm-Message-State: AHQUAuYT39x/6y7ecDmjhS30Yg2VTXyKvfpL5r52Nh0f8kRKcpWedOBb xNSSqFG4judIkVGbc+vnOb/k X-Received: by 2002:aa7:819a:: with SMTP id g26mr8029156pfi.187.1550209819674; Thu, 14 Feb 2019 21:50:19 -0800 (PST) Received: from localhost.localdomain ([2409:4072:98a:c91:14c4:f458:9909:7fad]) by smtp.gmail.com with ESMTPSA id c18sm6160810pfc.63.2019.02.14.21.50.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Feb 2019 21:50:18 -0800 (PST) From: Manivannan Sadhasivam To: p.zabel@pengutronix.de, xuwei5@hisilicon.com, robh+dt@kernel.org Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, guodong.xu@linaro.org, john.stultz@linaro.org, Manivannan Sadhasivam Subject: [PATCH v2 2/2] arm64: dts: hisilicon: hi3670: Add reset controller support Date: Fri, 15 Feb 2019 11:19:55 +0530 Message-Id: <20190215054955.788-3-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190215054955.788-1-manivannan.sadhasivam@linaro.org> References: <20190215054955.788-1-manivannan.sadhasivam@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add reset controller support for HiSilicon HI3670 SoC. Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/hisilicon/hi3670.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.17.1 diff --git a/arch/arm64/boot/dts/hisilicon/hi3670.dtsi b/arch/arm64/boot/dts/hisilicon/hi3670.dtsi index a5bd6d80b226..2af88c429c97 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3670.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi3670.dtsi @@ -151,6 +151,12 @@ #clock-cells = <1>; }; + crg_rst: crg_rst_controller { + compatible = "hisilicon,hi3670-reset", "hisilicon,hi3660-reset"; + #reset-cells = <2>; + hisi,rst-syscon = <&crg_ctrl>; + }; + pctrl: pctrl@e8a09000 { compatible = "hisilicon,hi3670-pctrl", "syscon"; reg = <0x0 0xe8a09000 0x0 0x1000>;