From patchwork Thu Jun 14 18:08:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 138595 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp2438871lji; Thu, 14 Jun 2018 11:11:10 -0700 (PDT) X-Google-Smtp-Source: ADUXVKL2HLndiH03KDSj807yY2ZEbgoDzLkUItev2RczwCKAVvTF1Q/+fWkaeQPULtYq6mMATGwR X-Received: by 2002:a50:f5d7:: with SMTP id x23-v6mr3409659edm.132.1528999870106; Thu, 14 Jun 2018 11:11:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528999870; cv=none; d=google.com; s=arc-20160816; b=Sfg96gMcnz+QvguOZHxVMX66zI4oTBVEPzReQ6FppStNUAs0XRo8XMAyRW/mCbRuPf BeO6YJ5NtR3UOSBja2fXs/ELJXHUABbuDY+OCudegEZ5ord6oyvXOrYkBPGxSdO5IJup RTK8i/btYmG6zZMI6X5giS4/3EN9drlR6f0PvdC7Kk55TdcctL2AuZjwo6BjEDpPGF0I 6f8KOPijf+S98nlwLabRWdWMKV0l7BEho0ORxgtvkhHI7msz1YuU5J+oy+/bMaXL66gd zu2QfDwVaaSq8MYtbbpNm+5LZAgKUzmkH7qHk/htufBVBWJFeUC0Uh0NMAXeR8eZE+FR dQXw== 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=KLIraOv+83x+BxK3IdYP3w89NxnNc8sDArhBTTip6+Y=; b=vZVviPetE5rgK6+5im+SEEa9QLX8ZDcXBZLALLlV5i6szUs/nkanDLEoJBg5Y8KJ7o XKD99KL2FJTSfJ9dBk4RKTNvgTrWouooYBQBgbrs/pNA+18AARveiUhuz+9uZhdDkQ44 WsTc9keI3QQI15TGKzd8I/iK1ljD+m5zN6DjfjuPeBBe7PRFENjINO83Rm+kGzyUca4q piIW9qIMlItInuMlNbp794GlYVkwx71FD6LPV7zwpZ18VYte5/0o3G7RMRZXgv+V3sB5 1o5PciySd/amaxA2zO4ArKdlCIpCWin6g8af6B1QPXAE8K6nQZ5KJAgMLHlD0CSZm0lc OSBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="J/b4uJwx"; 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 w30-v6si829804edd.212.2018.06.14.11.11.09; Thu, 14 Jun 2018 11:11:10 -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="J/b4uJwx"; 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 93F3CC21D8E; Thu, 14 Jun 2018 18:10:14 +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=KHOP_BIG_TO_CC, RCVD_IN_MSPIKE_H2, 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 F335AC21E26; Thu, 14 Jun 2018 18:10:11 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id AEED2C21E1E; Thu, 14 Jun 2018 18:09:34 +0000 (UTC) Received: from mail-pf0-f194.google.com (mail-pf0-f194.google.com [209.85.192.194]) by lists.denx.de (Postfix) with ESMTPS id 390D3C21DFD for ; Thu, 14 Jun 2018 18:09:30 +0000 (UTC) Received: by mail-pf0-f194.google.com with SMTP id q1-v6so3615224pff.13 for ; Thu, 14 Jun 2018 11:09:30 -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=LJ6QglBZDhq3YVBLUbF1JN6u/lfmNmSuIAAgO52dImE=; b=J/b4uJwxplQnrOAMaqnzI25SQ+zGoJ8Hbq68khk7tijGY64MnulrMQauQJcgGaau2P oHYIOkZUwV500tkHa19hvgidt1didzhL48jWc/EkC3aGZspotanlEIDBcvxinsQ+G/Pk cP/T/Vx8ysnuyzvVTIR0KFkXV33pm/NZakvCg= 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=LJ6QglBZDhq3YVBLUbF1JN6u/lfmNmSuIAAgO52dImE=; b=i2F9c/lzWx1qYN4cBOhQ2DtZe//dKLJPXb+J0BLkv0vMYslfFVzNCwWWtcid5Itu8k eyPtSDDcj3Bt0AdlzwipUwK8jgF6TGSKwPdSsaS1gW7ZtC9CxAtrKETerjsKG/1QW8C7 jF4Z6bb1YCbv9XGvXLGgJ2efs9Sxyojr46wkvhsFZOdJ07MkvBryfKaMUglx1sjgTwQc ErLmW6SxLcFrD6r1oDQ75B2bytQZ/NePZiVNWZtdYarWgopyaCkfmpS8dnCyPAhnPlBm NVcMlYD7xbKRtNoRTtEr58qBLhbES+Hqbc3mtUbBcWDAGuAesZqZW+JmesWAfIS8P/Yv eIMg== X-Gm-Message-State: APt69E3g0qiU/oxhey52s6j2UJOQUYBBOxpeKEVhQtMjZNedlwTcB4f0 CB2aPCg2QoTlYL2llkBgGOuj X-Received: by 2002:a62:9513:: with SMTP id p19-v6mr10519932pfd.239.1528999768768; Thu, 14 Jun 2018 11:09:28 -0700 (PDT) Received: from localhost.localdomain ([2405:204:70c2:bb29:293b:24bf:4980:3a19]) by smtp.gmail.com with ESMTPSA id c74-v6sm11923363pfd.19.2018.06.14.11.09.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Jun 2018 11:09:28 -0700 (PDT) From: Manivannan Sadhasivam To: albert.u.boot@aribaud.net, sjg@chromium.org, marek.vasut+renesas@gmail.com, u-boot@lists.denx.de Date: Thu, 14 Jun 2018 23:38:34 +0530 Message-Id: <20180614180839.8494-5-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180614180839.8494-1-manivannan.sadhasivam@linaro.org> References: <20180614180839.8494-1-manivannan.sadhasivam@linaro.org> Cc: daniel.thompson@linaro.org, manivannanece23@gmail.com, bdong@ucrobotics.com, Manivannan Sadhasivam , 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 v3 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 --- Changes in v3: * Moved the change log from cover letter Changes in v2: None 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>; + }; }; };