From patchwork Sat Mar 17 10:09:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 131960 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp489677ljb; Sat, 17 Mar 2018 03:11:26 -0700 (PDT) X-Google-Smtp-Source: AG47ELu/3o4qhoWs14sI+T+ogq4pyPMIM/IW9ez7RycyoAFKc3m/SGdHqRrkKhZAFSrpZU3VR/11 X-Received: by 2002:a17:902:b43:: with SMTP id 61-v6mr5148914plq.270.1521281486756; Sat, 17 Mar 2018 03:11:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521281486; cv=none; d=google.com; s=arc-20160816; b=kbMXKCrg4Swk0eJZHSjEL84VOWfHKj3Tj/iYvqO0ySwvbXX3yZuZV5JzQGFowHEL3D yFbsPnyYKevU0hq9H3+RikWoGpHp/7YG9YQJTj0akg9LkypJca14JogmZhXS3a6C0D/k 5wDJ5aLpWkZm6l86dlAPHwtswBD+weFVBWL1FVw51YAS1JtKIQlJlTNXnshi/iaSE/NH XPHSkpWyauPEKZ0SLm++xYyquSkjiehXKAR5GC97CKfLVZlXj6NMSH3V6F5XyeNZwyfu lOjXQ1N5/bB+GGel9XBBCI5sypdH0ZJjqk4p7oK6K8sG6HJEWd9oxqPBmEyr+bRG4xOo TnPQ== 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=xZ+7TzIMt9kn1OslAPx3GHaM9jZgp05naPrMk3wo2oA=; b=VJ7pH0q0rRdZWyzeOpbE9xzUs31rKOOTHhx75FXbTU/zxSS7xl7W/nzo1Iy9fqd769 vJb35ADJeCdNYjrg6uDZyQ2bBIPFLiXUvOj7P/qaSWpoXk/QB0q9xatui9iZzfPfMzZk OFbQsNfx3DMIh9TlDrkLw2YJI4hWVKEqajhbUgFHTTWw+wEGOgVVImBzLi3qq6OIhZfK sB7ca+JsggL8CSW/ZRwLZyoLaf+OvmLaoTzoCEAE6+DzTgGQPys3kz1waV8DJQjqIeFM 44LrilGfg/7NFZ+l666kiTizOCPhcBgWEkmdqggjk8Nwxwg6QmBzYnTIlg9ZSLYa/WIq Rjww== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=UyLFZClS; 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 97-v6si8007374plb.23.2018.03.17.03.11.26; Sat, 17 Mar 2018 03:11:26 -0700 (PDT) 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=UyLFZClS; 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 S1752357AbeCQKLX (ORCPT + 6 others); Sat, 17 Mar 2018 06:11:23 -0400 Received: from mail-pg0-f65.google.com ([74.125.83.65]:42567 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752314AbeCQKLT (ORCPT ); Sat, 17 Mar 2018 06:11:19 -0400 Received: by mail-pg0-f65.google.com with SMTP id o14so817966pgv.9 for ; Sat, 17 Mar 2018 03:11:19 -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=HL5yk831w8iniSjN2dOA4JWU9QejjmpQ37WP/KgAJVE=; b=UyLFZClSFMFxeHrQD3+8uD8C5rwYguy7qvBwb3ycUliDW+RkpTYdmIlqHIOn8rfMso udFQ9ZPpACwDVLSo5L3J03/RRcXXx8Ohmq/5mXhO0pYp3HEW+n3aaxOviICl30NSIzx0 HqDS59x6iHmdDdERIogK8Dnt8pLqUDlRA6+Vg= 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=HL5yk831w8iniSjN2dOA4JWU9QejjmpQ37WP/KgAJVE=; b=LWtfuYP0h6PQK6mHktkafYnN+5lom+Mtz7ruJCb/wTwHtw36Z0T5UYqSyT65uGTufa 8zGC0DUQowspwvVFoVUSyawlGft+hbN+LdSn5CZtRV/sfMpLnei4izRfIyJ+IWL48j2b wP/oDUKfSJ1DxpNsLIgxWDEZMKmm2QwEj5+hBu3o0isVsOrsEHF8p4miZBnMeWw/nfNk QqzKCIHUlL1DHl8bIOr5LxEkXeGjKpirkUsgfpTqKALCkdTNymZ/ty2YlnbCxp0Tm40h UcZ5K0ipUH4k4SSsvtzrI29+Cz+L0Bbp7TowEKjW/Xc+yK0H1ogz/fsdrarx37WvVoc2 R7aA== X-Gm-Message-State: AElRT7GD6ReFuV2kf+msIQUWEwySGa9w63/Ww5Nt0odVmynXtHpbzaII DEKNvNZI+ZJui8rDvDZwUwYqmCG81w== X-Received: by 10.99.119.74 with SMTP id s71mr4014870pgc.321.1521281478650; Sat, 17 Mar 2018 03:11:18 -0700 (PDT) Received: from mani-Aspire-E5-573.domain.name ([171.49.203.57]) by smtp.gmail.com with ESMTPSA id i27sm3771625pfj.123.2018.03.17.03.11.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 17 Mar 2018 03:11:18 -0700 (PDT) From: Manivannan Sadhasivam To: mturquette@baylibre.com, sboyd@kernel.org, afaerber@suse.de, robh+dt@kernel.org, mark.rutland@arm.com Cc: liuwei@actions-semi.com, mp-cs@actions-semi.com, 96boards@ucrobotics.com, devicetree@vger.kernel.org, davem@davemloft.net, mchehab@kernel.org, daniel.thompson@linaro.org, amit.kucheria@linaro.org, viresh.kumar@linaro.org, hzhang@ucrobotics.com, bdong@ucrobotics.com, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, manivannanece23@gmail.com, Manivannan Sadhasivam Subject: [PATCH v5 02/12] arm64: dts: actions: Add S900 clock management unit nodes Date: Sat, 17 Mar 2018 15:39:42 +0530 Message-Id: <20180317100952.28538-3-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180317100952.28538-1-manivannan.sadhasivam@linaro.org> References: <20180317100952.28538-1-manivannan.sadhasivam@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add Actions Semi S900 Clock Management Unit (CMU) nodes Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/actions/s900.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) -- 2.14.1 -- 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/actions/s900.dtsi b/arch/arm64/boot/dts/actions/s900.dtsi index 11406f6d3a6d..fee0c9557656 100644 --- a/arch/arm64/boot/dts/actions/s900.dtsi +++ b/arch/arm64/boot/dts/actions/s900.dtsi @@ -4,6 +4,7 @@ * SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ +#include #include / { @@ -88,6 +89,18 @@ #clock-cells = <0>; }; + losc: losc { + compatible = "fixed-clock"; + clock-frequency = <32768>; + #clock-cells = <0>; + }; + + diff24M: diff24M { + compatible = "fixed-clock"; + clock-frequency = <24000000>; + #clock-cells = <0>; + }; + soc { compatible = "simple-bus"; #address-cells = <2>; @@ -154,6 +167,13 @@ status = "disabled"; }; + cmu: clock-controller@e0160000 { + compatible = "actions,s900-cmu"; + reg = <0x0 0xe0160000 0x0 0x1000>; + clocks = <&hosc>, <&losc>; + #clock-cells = <1>; + }; + timer: timer@e0228000 { compatible = "actions,s900-timer"; reg = <0x0 0xe0228000 0x0 0x8000>;