From patchwork Wed Jun 13 04:15:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 138407 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp199621lji; Tue, 12 Jun 2018 21:20:32 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLZdHguKehIvMuNvu2aiSwXMvwUjmtD/bAutQrQWlJzM0cFKLmWO4olW5YY5sapgKU7HHFH X-Received: by 2002:a50:996d:: with SMTP id l42-v6mr2247064edb.179.1528863632651; Tue, 12 Jun 2018 21:20:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528863632; cv=none; d=google.com; s=arc-20160816; b=Fe2f2vEvbPTzGuE9E25RtyVqsCXWgKn9Gzc5fo4hSvLwNmmtEYRZIfSk7GDaCVfsKN M17a2qcJWSlqNRxxXh5ZOu5kqjuQfpgEQOIkYPayIsNJYj+tjXgPYUVR0o8em/XlRXB7 sOKbKv8FxyPONswLTPMlA2uPNHPVH7V+m+0Mn0AgW4TSQXlx8+NDecV5i0HqQbqP0Kua qcKwl/LaIU0OFXqpVD3QS4kxAOQ+uIHZkgUMXM0MpyhcBIwIQeLcocW6dDfMGJS/32xa nVeeI813cBvmDWvBgREGprQChOKGmh4pkNxDAnM/3Bu9/WS8egFR9RwMs976N8CJx5Kn fvTA== 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=EBkrpLK6kqJCzh/EXnEZULfRRxfA1GJbS8E4YIk807+oWV1emDFUdANb24/rYjJzsE pKKhL3oZ50jBv+v/XXmeBjQa+AJwBTsSXuqFKpfqmm9u85ztXS6DhEzO4kHzs1wMCsGC GDZQ+7UZ+/7lcmOqlyQ3+52U73Jy1hRV02yp08OC/a7sN4z1H1jePQsX7A509hgsmAg/ f0jjB5yB0qK1V83jX95xdVCd8y4AOpaDk4x5eJgTG7OOvB9uMPD6JLi8DCjB0cooXcKZ N50UGvkDIA7Ld/YBvv+XLdnSjJUrZXE9lmsQsI9XE3tLi7YU6/Oolcr7sfOcb8d25shB 2Jlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=AnCTNf0y; 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 t12-v6si145831edk.129.2018.06.12.21.20.32; Tue, 12 Jun 2018 21:20:32 -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=AnCTNf0y; 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 1F2ECC21DDC; Wed, 13 Jun 2018 04:17:39 +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 5E21FC21E30; Wed, 13 Jun 2018 04:16:47 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id D1FB6C21DED; Wed, 13 Jun 2018 04:16:36 +0000 (UTC) Received: from mail-pf0-f196.google.com (mail-pf0-f196.google.com [209.85.192.196]) by lists.denx.de (Postfix) with ESMTPS id BE60AC21D65 for ; Wed, 13 Jun 2018 04:16:31 +0000 (UTC) Received: by mail-pf0-f196.google.com with SMTP id q1-v6so661576pff.13 for ; Tue, 12 Jun 2018 21:16:31 -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=AnCTNf0ycvNdFdUCaX5wJ4SkxC64j147s5bgEXW+qL7sDdwdh1zFIKdZd7cldor7Oy IXP9tn7crIdD2Y/5h9yKtWXrDZlNdkhtqRei/ALXiQUgP+IGYQtX8p7l3BjNRX7uArhH 0/5OsQOb21c5dl5vKmDRNhfNaYLXwCk2A/ePA= 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=sQlW/HjjerjU3IfymQxpT3tq0SGCZfYhK7H8v40UA9eq6OPufu89eCBBERN3jNkAqI 2Z8f3q60k1oT0abx6xZiv8DnZRUlxuVd8OsGOkIkBKEQftX02Z0kMOcdqrMvyoSsThqk Al/yhMYNyfnaLChA0ZdftCJ+8AcT3029J44df/q+aTCrHvztox1/XXMROk35RZ1Cf4cu qtF2qhfC6ScPofj5VFTSlrSQBnDF8cIYlAvGJvyRE78fuVJqIh/nOLFHCvgjAewAKquM 1T2+qfvbdClz3pmakEDKBa5KFx/FFcLcpvc9B2mvad83Om/ihkFPjVffem+eD/I4BbDV H7nQ== X-Gm-Message-State: APt69E1fnjdW9yfVojFGYEFX8Vh+RaJ0nKw2nkX4XJAH9pSg2GRc8gSN qEzDGbcNrHTRPsrRql9exMBi X-Received: by 2002:a65:640d:: with SMTP id a13-v6mr2738809pgv.154.1528863390297; Tue, 12 Jun 2018 21:16:30 -0700 (PDT) Received: from localhost.localdomain ([2405:204:724b:42:c173:614b:87b0:a740]) by smtp.gmail.com with ESMTPSA id l15-v6sm493904pfg.88.2018.06.12.21.16.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Jun 2018 21:16:29 -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: Wed, 13 Jun 2018 09:45:03 +0530 Message-Id: <20180613041508.28958-5-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180613041508.28958-1-manivannan.sadhasivam@linaro.org> References: <20180613041508.28958-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 v2 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>; + }; }; };