From patchwork Fri Sep 21 06:01:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 10609079 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 25CDE14DA for ; Fri, 21 Sep 2018 06:02:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 158F82DDE1 for ; Fri, 21 Sep 2018 06:02:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 096FC2DDF1; Fri, 21 Sep 2018 06:02:24 +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=-0.4 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,URIBL_DBL_ABUSE_MALW autolearn=no version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 8CD0E2DDE1 for ; Fri, 21 Sep 2018 06:02:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=k8Q8dbRuaZ1SNFuqen4vunfA1yImbUxAS+ImmiiD7A0=; b=XLAYdkZpBkrNKGxmxAvff/jotF tMwA1xLltXtK4CGboQpnMy43W60J45Rtmu6kjhO7qNeyfWqi2/AIm4EQOlbDSvLrHQN2A7VqLcD+I 8FK4CZyA97ADshcA+KHSkftYah4UnzKpdjpgnkhvRRlquu76d+b5gBzG/UTN62RnkTLI/qTYRU6hK LCbivxnoPlfLGlmjmGjvsD8StK4RPqfruQwQpnXIug1DBTFYhnmlwq6nLa+/W5yX33XxhmTv0f54Z 2IlrXDLJOOEhmBIniUhjAnvYyyQ7+JnoxYTHFO+Ne16DP5dEiQpTjerT1eUbwoBW2m0Pe5AuXA4TC OrPJtycw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g3EW2-0006hl-Gy; Fri, 21 Sep 2018 06:02:10 +0000 Received: from mail-io1-xd42.google.com ([2607:f8b0:4864:20::d42]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g3EVN-0006Jw-5k for linux-arm-kernel@lists.infradead.org; Fri, 21 Sep 2018 06:01:31 +0000 Received: by mail-io1-xd42.google.com with SMTP id w11-v6so11090666iob.2 for ; Thu, 20 Sep 2018 23:01:18 -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=HWT3twxDE9rajVaHTUWulfxI8G27u4GTCDXe+LGxpPw=; b=G6RWy3YRam/B/N4P3ZwsDol/oMhyEvNrMHCB/0oz+rqJ67JVLAaywTclNxR38L7Khp Pw1ysQ2VJp1W+kgEsoNoj9fHR4w49aK51uQM++PW71jRG9r6Rd3EeQf6dFljxTeswUln dfEKGRegRr5m32H5UEfwCPQWac1itNgmhFR5g= 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=HWT3twxDE9rajVaHTUWulfxI8G27u4GTCDXe+LGxpPw=; b=G2rx5hG/T5nkHowMJ9/XXvePZDQgrczLwtmqqrzoFm3AvlqbDYAm5FkcXpVT8vSmQe roNvvgjDXLm8Dfv1mlJM/eP0E4TTJ0YCuLfVVYcIncoZkORIzXXrAhSF5sGdmXm6/yf9 Jx7XH5zZDBlaqnqean75/DLS1TK7PSBcfYHDZG6LrKfR8aM7EOGOd6Lr+70+o0Evidbi s07S+Id8OKE35bNaI67+28iIOmA+xh9xEWb88e/76vWPo1RiWdv8i3tcpfcppiyU+Lvc iWnMtjh+/nqDO26ZOfHK/Tm+nRT5zkQu7wHnzFMPj/wio898Pr1yuNynwfy8J1EpCZpo y5pw== X-Gm-Message-State: APzg51Bnq/Guylq9Mh8BmEEGGy4mq82jwsTuypYVqfAUprokz/btpI1m Bgg83gzO0ewAK3o6S0OaDtF7 X-Google-Smtp-Source: ANB0VdbuEfJkxfJ0Y+xxvdH9F6hES69ww8g/af69ZQRsxiq/j3RiK2jCh4tL1zBpXDOC818rs3A/Sw== X-Received: by 2002:a6b:2495:: with SMTP id k143-v6mr31079959iok.122.1537509678073; Thu, 20 Sep 2018 23:01:18 -0700 (PDT) Received: from localhost.localdomain ([209.82.80.116]) by smtp.gmail.com with ESMTPSA id b195-v6sm1973875itc.42.2018.09.20.23.01.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Sep 2018 23:01:17 -0700 (PDT) From: Manivannan Sadhasivam To: mturquette@baylibre.com, sboyd@kernel.org, robh+dt@kernel.org, xuwei5@hisilicon.com Subject: [PATCH 2/4] arm64: dts: hisilicon: Add clock nodes for Hi3670 SoC Date: Thu, 20 Sep 2018 23:01:01 -0700 Message-Id: <20180921060103.21370-3-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180921060103.21370-1-manivannan.sadhasivam@linaro.org> References: <20180921060103.21370-1-manivannan.sadhasivam@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180920_230129_255571_FDA060FC X-CRM114-Status: GOOD ( 11.44 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, amit.kucheria@linaro.org, Manivannan Sadhasivam , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add clock nodes for HiSilicon Hi3670 SoC. Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/hisilicon/hi3670.dtsi | 43 +++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi3670.dtsi b/arch/arm64/boot/dts/hisilicon/hi3670.dtsi index c90e6f6a34ec..8a0ee4b08886 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3670.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi3670.dtsi @@ -7,6 +7,7 @@ */ #include +#include / { compatible = "hisilicon,hi3670"; @@ -144,6 +145,48 @@ #size-cells = <2>; ranges; + crg_ctrl: crg_ctrl@fff35000 { + compatible = "hisilicon,hi3670-crgctrl", "syscon"; + reg = <0x0 0xfff35000 0x0 0x1000>; + #clock-cells = <1>; + }; + + pctrl: pctrl@e8a09000 { + compatible = "hisilicon,hi3670-pctrl", "syscon"; + reg = <0x0 0xe8a09000 0x0 0x1000>; + #clock-cells = <1>; + }; + + pmuctrl: crg_ctrl@fff34000 { + compatible = "hisilicon,hi3670-pmuctrl", "syscon"; + reg = <0x0 0xfff34000 0x0 0x1000>; + #clock-cells = <1>; + }; + + sctrl: sctrl@fff0a000 { + compatible = "hisilicon,hi3670-sctrl", "syscon"; + reg = <0x0 0xfff0a000 0x0 0x1000>; + #clock-cells = <1>; + }; + + iomcu: iomcu@ffd7e000 { + compatible = "hisilicon,hi3670-iomcu", "syscon"; + reg = <0x0 0xffd7e000 0x0 0x1000>; + #clock-cells = <1>; + }; + + media1_crg: media1_crgctrl@e87ff000 { + compatible = "hisilicon,hi3670-media1-crg", "syscon"; + reg = <0x0 0xe87ff000 0x0 0x1000>; + #clock-cells = <1>; + }; + + media2_crg: media2_crgctrl@e8900000 { + compatible = "hisilicon,hi3670-media2-crg","syscon"; + reg = <0x0 0xe8900000 0x0 0x1000>; + #clock-cells = <1>; + }; + uart6_clk: clk_19_2M { compatible = "fixed-clock"; #clock-cells = <0>;