From patchwork Mon Jun 11 04:43:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 138220 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp3901261lji; Mon, 11 Jun 2018 03:57:42 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKTUnIuq5imWmCSQaqpQAScGhoSFvnMFo5QS4DetD1riexXT7DDaugFS35Ff7+Djr2NlVJT X-Received: by 2002:a50:9f6b:: with SMTP id b98-v6mr18471766edf.219.1528714662783; Mon, 11 Jun 2018 03:57:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528714662; cv=none; d=google.com; s=arc-20160816; b=Crdz9d8je6IxX6Ojb2Q2DOXGYw20NPkPZNAHtGjyIC7B/BgV0B/lsOD91NNdEHHNt+ 0Ff/ErzBhLWiQLVqKnmeMPmUgrHjxugI4ZDnokE6as5lzGkQ3XKfvIj23ghuAa4pL5LN pyZRTjMa3Koo/FNMmSb/3rzoL6pdwz68To4zqXuaAWV5x4/efZFlmdba7se5geQH+M3V 4ZZOKxWdggbLkGt4mS3mifUsVzigXuMzcKA2fivWj9p3zBY6Fn5n6NrRAoHNEZAXulHX YlRbSu0ub4BHMkx2JzqXtTyJKP6PqysluLSNAO+z41o4VkJd/sXGd/80a2lcVGYOZfnu 1Zlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:dkim-signature:arc-authentication-results; bh=iHaYyc+7Oh6vBzZLvpkEHP52RpYPXncq4V5OrWOaZo4=; b=zH0FmynXCIULKZRPQFHhKdrYKVwoU1xoXjzbpulXFcRDRrN2Qmi9ItaZ9dOQAyJ8/R c0jVgVbDACqy7Tt8RVpujmc4gIbg3ud+z0Fo8bT5+kC77O/CzfoJWxDDCN8ew3ThKjAI jLTD8vxDOyVAb/F00csEPTm/f5AZvLxeJc+FyCS9BdcJr+RfRv5kmImEEgnCRLt1wAiO gNDT8WwWGLmTmbBIA4MMGE2SkjlWnHL8uy5D4EAIqoZ2FvTNC3aIIn7qyoYHkBiXl/1U C39nYdxPxtkUiJ+9SCW/vZLRuglYoeIFQLjzl7f9FCS38JGA+qbRABTc9Kh0hu4enDpn pmrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=MkWXTvde; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id g18-v6si4013638edm.273.2018.06.11.03.57.42; Mon, 11 Jun 2018 03:57:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=MkWXTvde; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.denx.de (Postfix, from userid 105) id 5A303C21C57; Mon, 11 Jun 2018 10:54:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 68702C21D4A; Mon, 11 Jun 2018 10:52:57 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 6B980C21C27; Mon, 11 Jun 2018 04:43:51 +0000 (UTC) Received: from mail-pg0-f65.google.com (mail-pg0-f65.google.com [74.125.83.65]) by lists.denx.de (Postfix) with ESMTPS id C186CC21BE5 for ; Mon, 11 Jun 2018 04:43:50 +0000 (UTC) Received: by mail-pg0-f65.google.com with SMTP id c10-v6so3507150pgu.9 for ; Sun, 10 Jun 2018 21:43: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=VmfMqN6PBmC9ebQlHlANGND5cbFry1Tfn6ATnZ3xGEQ=; b=MkWXTvdeAlfFHv7cZ/Lt/iO9h4m3WpOSpodrXRDfX5ZxbLhNlU1XgUpL/iDPKA77iB OWQM6UrZsA8Ux1eGMN1+bfXT61BjFxavhw+brF6wLWfXSXELeyG7SJwNCZspGZw0UcUQ kot9XrvG1EVMYwPdk0FOGromA/jHw1C3ieL/8= 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=VmfMqN6PBmC9ebQlHlANGND5cbFry1Tfn6ATnZ3xGEQ=; b=aWi1EbxJkjwXlEcqQ3dPEMgX2k3OfFa/q1/mZtKUyz2M4AKD9YLTcM/Rdu7FbpDISi aeWb5qmqLViF3Qp458te2Krcxl7pfIk7H3sERbCumnLPUXawgnmn2RvpZfRsFBGPTbhL wWJt0fy6KjTZvTkb5v3dhngZuP2rhprX14+WMUcxKMkDCAfNsAXAL2MOe7e73dqt8b/W yuJtZ8VEjN0Pu8uQJBUHhQ7wVV8dxX5wcFRyvq0Rjup1be33KL7Pw9FuqDJFfN1B6umg DGhIdsG8NmqEOv63VXLNtjCZYeukhs6igtJg5yHCpYmLQdfN+9DtdFIKctgtIJDSL0oJ CFiA== X-Gm-Message-State: APt69E3Jf6IXNMuBSrJeojqFh5LwS5X3LmlrxfILcZgFFLQRoHuUujPY ZXckJk27qVumotEzf/YwEX5PoBjtuA== X-Received: by 2002:a62:18a:: with SMTP id 132-v6mr15971159pfb.62.1528692229159; Sun, 10 Jun 2018 21:43:49 -0700 (PDT) Received: from localhost.localdomain ([2405:204:714c:560c:5161:793c:10bb:7502]) by smtp.gmail.com with ESMTPSA id j15-v6sm35232298pgv.17.2018.06.10.21.43.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Jun 2018 21:43:48 -0700 (PDT) From: Manivannan Sadhasivam To: u-boot@lists.denx.de Date: Mon, 11 Jun 2018 10:13:00 +0530 Message-Id: <20180611044305.4009-5-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180611044305.4009-1-manivannan.sadhasivam@linaro.org> References: <20180611044305.4009-1-manivannan.sadhasivam@linaro.org> X-Mailman-Approved-At: Mon, 11 Jun 2018 10:52:50 +0000 Cc: daniel.thompson@linaro.org, bdong@ucrobotics.com, thomas.liau@actions-semi.com, hzhang@ucrobotics.com, amit.kucheria@linaro.org, liuwei@actions-semi.com, afaerber@suse.de, jeff.chen@actions-semi.com, mp-cs@actions-semi.com Subject: [U-Boot] [PATCH 4/9] arm: dts: s900: Add Clock Management Unit (CMU) nodes X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This commit adds Clock Management Unit (CMU) nodes for Actions Semi S900 SoC. Signed-off-by: Manivannan Sadhasivam --- arch/arm/dts/s900.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/dts/s900.dtsi b/arch/arm/dts/s900.dtsi index 3bd14b82d4..e9d47b1ff1 100644 --- a/arch/arm/dts/s900.dtsi +++ b/arch/arm/dts/s900.dtsi @@ -6,18 +6,40 @@ // Copyright (C) 2018 Manivannan Sadhasivam /dts-v1/; +#include / { compatible = "actions,s900"; #address-cells = <0x2>; #size-cells = <0x2>; + losc: losc { + compatible = "fixed-clock"; + clock-frequency = <32768>; + #clock-cells = <0>; + }; + + diff24M: diff24M { + compatible = "fixed-clock"; + clock-frequency = <24000000>; + #clock-cells = <0>; + }; + soc { u-boot,dm-pre-reloc; compatible = "simple-bus"; #address-cells = <0x2>; #size-cells = <0x2>; ranges; + + cmu: clock-controller@e0160000 { + u-boot,dm-pre-reloc; + compatible = "actions,s900-cmu"; + reg = <0x0 0xe0160000 0x0 0x1000>; + clocks = <&losc>, <&diff24M>; + clock-names = "losc", "diff24M"; + #clock-cells = <1>; + }; }; };