From patchwork Thu Jan 4 07:08:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chunyan Zhang X-Patchwork-Id: 10143987 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D16E060594 for ; Thu, 4 Jan 2018 07:08:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C4D9728403 for ; Thu, 4 Jan 2018 07:08:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B97F728445; Thu, 4 Jan 2018 07:08:54 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 67C8128403 for ; Thu, 4 Jan 2018 07:08:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750746AbeADHI1 (ORCPT ); Thu, 4 Jan 2018 02:08:27 -0500 Received: from mail-pl0-f67.google.com ([209.85.160.67]:33223 "EHLO mail-pl0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751439AbeADHI0 (ORCPT ); Thu, 4 Jan 2018 02:08:26 -0500 Received: by mail-pl0-f67.google.com with SMTP id 1so590456plv.0 for ; Wed, 03 Jan 2018 23:08:26 -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=vdR2tVja3BmJutPgHfJVrPpct7h307IMGxUSR3bV2Ug=; b=K4TzRyjKH17iRsE8a0tPS+IWU9nuiICYatizpMbQhuu4MQLiB8zqLvv0JvnCvzheQP 66JM/9Jbh/WykDcViDVs5qoWXr5gB1X040Li5xZt3po8Vmvub1smaMN6boBppTw4kYAy XsgNnviuxbqfgFqXogNlGDhWokvLbwQGMjDBg= 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=vdR2tVja3BmJutPgHfJVrPpct7h307IMGxUSR3bV2Ug=; b=HloBosrmi18Z/BX3Ar8vHcV/qUj7mY42kG7A7nBb/C8QOgk5hzAndsjb4QTKo8lUfb ce5ilyZIpv4Eh11veEZr+jpTQ3PEh6wEOmEPBzaX44chz/N3Zmo1PzXJFRyvqoGvXGf9 ORDvjeHrSTrQZOlPqXbA9svg/V2YN/shShoSN/rOHDqebuJvjXmiO8ILPmb5XfHt10U/ V0gZVh73/TmHoDRCNd34RP2MWTUZuprKD8EyoZWtcNdTlWeC+LhribDFdCDTMdlUMSLH Lfk1UTGI/bJ3igJcp5Ki+qJt/Tt4yPnffDrW5DDnizAT8PdyVj7acJ5bLBey3n1w/D72 f75A== X-Gm-Message-State: AKGB3mILFFLNZLIs8IYCm0d4Q5Yt4L6qpA+Y4s5QIo5UA2PUHs5jkmyn yGZKRN3LDBqlL/azVVb2R7N2xg== X-Google-Smtp-Source: ACJfBov245rp04rATYv+9+jdbhmeHOQ+RprIIWhtb79CCO+CWZDzNlwB7a+j3vca+Qu+Jb63l621GQ== X-Received: by 10.84.224.206 with SMTP id k14mr3774159pln.403.1515049706129; Wed, 03 Jan 2018 23:08:26 -0800 (PST) Received: from ubt.spreadtrum.com ([117.18.48.82]) by smtp.gmail.com with ESMTPSA id a87sm6413357pfg.159.2018.01.03.23.08.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 03 Jan 2018 23:08:24 -0800 (PST) From: Chunyan Zhang To: arm@kernel.org Cc: Stephen Boyd , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Chunyan Zhang Subject: [RECEND PATCH V7 11/12] arm64: dts: add syscon for whale2 platform Date: Thu, 4 Jan 2018 15:08:03 +0800 Message-Id: <1515049684-23481-1-git-send-email-zhang.chunyan@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <20171207125715.16160-1-chunyan.zhang@spreadtrum.com> References: <20171207125715.16160-1-chunyan.zhang@spreadtrum.com> Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Chunyan Zhang Some clocks on SC9860 are in the same address area with syscon devices, the proper syscon node will be quoted under the definitions of those clocks in DT. Signed-off-by: Chunyan Zhang --- arch/arm64/boot/dts/sprd/whale2.dtsi | 46 +++++++++++++++++++++++++++++++++++- 1 file changed, 45 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/sprd/whale2.dtsi b/arch/arm64/boot/dts/sprd/whale2.dtsi index 7c217c5..6ea3a75 100644 --- a/arch/arm64/boot/dts/sprd/whale2.dtsi +++ b/arch/arm64/boot/dts/sprd/whale2.dtsi @@ -17,6 +17,51 @@ #size-cells = <2>; ranges; + ap_ahb_regs: syscon@20210000 { + compatible = "syscon"; + reg = <0 0x20210000 0 0x10000>; + }; + + pmu_regs: syscon@402b0000 { + compatible = "syscon"; + reg = <0 0x402b0000 0 0x10000>; + }; + + aon_regs: syscon@402e0000 { + compatible = "syscon"; + reg = <0 0x402e0000 0 0x10000>; + }; + + ana_regs: syscon@40400000 { + compatible = "syscon"; + reg = <0 0x40400000 0 0x10000>; + }; + + agcp_regs: syscon@415e0000 { + compatible = "syscon"; + reg = <0 0x415e0000 0 0x1000000>; + }; + + vsp_regs: syscon@61100000 { + compatible = "syscon"; + reg = <0 0x61100000 0 0x10000>; + }; + + cam_regs: syscon@62100000 { + compatible = "syscon"; + reg = <0 0x62100000 0 0x10000>; + }; + + disp_regs: syscon@63100000 { + compatible = "syscon"; + reg = <0 0x63100000 0 0x10000>; + }; + + ap_apb_regs: syscon@70b00000 { + compatible = "syscon"; + reg = <0 0x70b00000 0 0x40000>; + }; + ap-apb { compatible = "simple-bus"; #address-cells = <1>; @@ -59,7 +104,6 @@ status = "disabled"; }; }; - }; ext_26m: ext-26m {