From patchwork Mon Jun 11 15:48:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 138249 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp4217982lji; Mon, 11 Jun 2018 08:51:29 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIbEF23k/sFurBbodvJ3Ew/z1e9LeyXA+2FYln0Qs4XWunGfLSLqdLiqQit+X4SUIXCvteX X-Received: by 2002:a50:d08e:: with SMTP id v14-v6mr18734012edd.182.1528732289441; Mon, 11 Jun 2018 08:51:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528732289; cv=none; d=google.com; s=arc-20160816; b=Yz7PxjJEBiK8n6ros7BURAac6xzIeApjf5TdwEdBDxtBcJWgVGpf+TFlsmIXiXSeO9 i1c3FSi7p3c0m57qm4OqQlLAB3Rym/RjCIe3pIqYdqEJ8Y+AcVyajUu6rau5pcSbrCzt +oa4wczAzjCITJxOcfw6ZvWErnUvY1xWVRJAMIpd1AGWkl0tqPBu3tgIFi1QX5ALIVh/ 34Yl5oEKKJT3wd+fzdFFKe2t0KMInJtlMETob5v7cGwz/fEFj7F7adgwZqda23GCCIsa yb2+TOvuLYterYn1pbyTsf+a3v8LIYJMWxFs88yqhQF4FFZo8RWK5cNzrKBtrpRHu/cr YEfw== 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=N+fAVj3BE10P9YdHa2dqp+dggyP5KV3eReeBortf8mIcPY/71eK674BIlbMFnuJinH hc9Jryuiqe58u7/v2QjRGvx1cEHkJ6QUYOOe151pmy2vO5OdCDx6TfZKgkWBKr1QT6j2 4FHwgAfIKf9GGSIAP7wjoyJEhAj0QHJI9wfgcraEUnqs5bSE13cQa/oIu8MqObideXzk QXhiB3Mcz6hMTR95yUB3zcBhkfvwN7XMVDqVgwzoXkJf5gG4CLnSn+yRZFax4Sj8BvqM Fw7dHMUkJuvv18KL4SvI8MQeDgv1b8nn9xZ8/qPyOq8xkIjjaPzjOKCR0MOL51+LygW/ 6COg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=d5m3VrU2; 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 s12-v6si4029340edb.332.2018.06.11.08.51.29; Mon, 11 Jun 2018 08:51:29 -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=d5m3VrU2; 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 EBD91C21DF8; Mon, 11 Jun 2018 15:50:48 +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_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 A09D5C21D9A; Mon, 11 Jun 2018 15:50:40 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 96DDCC21DA1; Mon, 11 Jun 2018 15:50:11 +0000 (UTC) Received: from mail-pl0-f68.google.com (mail-pl0-f68.google.com [209.85.160.68]) by lists.denx.de (Postfix) with ESMTPS id AC941C21E0B for ; Mon, 11 Jun 2018 15:50:05 +0000 (UTC) Received: by mail-pl0-f68.google.com with SMTP id n10-v6so12561579plp.0 for ; Mon, 11 Jun 2018 08:50:05 -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=d5m3VrU2KIyh8kDLLDaZChRpQZ7y6+V71lKHg1eSqmmI33IAPS7rieAL80lxFEyhWH /VKlx22HriBSv17HU0V5IuJNxGQBHP+mLTErWc/RjtCCIn2GDnOCrjWk5G17YZFny2dS DcMEJH0cwbFM65+5Gst0ljgCd73tUoao+GSWw= 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=sGm1KBJTFgiSr5uqBu8OwmznTDqE90D7FsFuNfKhSFaABNGP9RRi5gYIFHf6zLcaIy UwW9lV1YtUXTzGBYlRBFnSatGIHsPDEvHnzynWRrQGud8O+jsBkdMacE139JDYj4E3y4 yjlfTiPE/hsgOEGpK4wrqds3wTMkpq4zC8oZBX2gZeHk3cURXeO/f0huNFHoDltuCYFX 3DqAxK2+aa2ON46GyFLd2b2KA3zARi/EXzRRSGfpRiZVBgSDgaIhYZpLAlEUcVpH3AAM I674ksag4IhDie4Cl/BqmOuvGJixDmGerSMCZQy1EdT44uqHX79HUf8KvewfgscTvdQ4 pHSQ== X-Gm-Message-State: APt69E0NNhX/MN0ukcgZmPHXnHDzV0A974B73TisH5mVS45T8kfv3Gd8 MBw1n9p/hZR6vlHB31s1mn8L X-Received: by 2002:a17:902:6802:: with SMTP id h2-v6mr6800987plk.113.1528732204285; Mon, 11 Jun 2018 08:50:04 -0700 (PDT) Received: from localhost.localdomain ([2405:204:7288:73c5:d4c6:ffd5:c258:b7e0]) by smtp.gmail.com with ESMTPSA id s1-v6sm31638261pgv.48.2018.06.11.08.49.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Jun 2018 08:50:03 -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: Mon, 11 Jun 2018 21:18:27 +0530 Message-Id: <20180611154832.3251-5-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180611154832.3251-1-manivannan.sadhasivam@linaro.org> References: <20180611154832.3251-1-manivannan.sadhasivam@linaro.org> Cc: daniel.thompson@linaro.org, manivannanece23@gmail.com, 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] [RESEND][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>; + }; }; };