Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp633319ybt; Wed, 17 Jun 2020 09:53:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyxiiTi2t+hR+U6ljbh1Py85VfTicgOFa+9rEe8bavZjKpVvriac12BXy61BRoSkheBWgMd X-Received: by 2002:aa7:c486:: with SMTP id m6mr114437edq.234.1592412786101; Wed, 17 Jun 2020 09:53:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592412786; cv=none; d=google.com; s=arc-20160816; b=C6cRDGFWonjZRhilWdGKMnf6DwAcwE5lA4i2ClaWE8WzVWBZrmdCmyXFl/x8yY92WQ JXU/02+DaYOeW3qCGwfZfa17a4OdkxgJm2qa0x1bGPCkKBCOxwP+Nw1hScjcLK5zkQRl VPbwMWPsyk5QevvursTcRijMkqh9pXBF5tzCqaDMeNslOvtl4vF6xYQTvVEIv4sRVzl0 2Nq2Xf6Rg8wGGWVUPo5TpP1F7AUICzMKCFWLFE7/j/mekQjarkyWC7VQr38kxkLoe/hM wLCGUmThe8YO1ypwuTo9rbzL8tQDWIWtIYJX88rlLfvCvBHDDJKs+DDbEsOTpM1aJ2Ir DWzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=HbW3NKNom8juXI2NoyDjAEEkKyRH9dumXigRxuvNwKY=; b=eTwpZ2NPPwPRUpMd38KayT7/cyyj02L3q4/mThygpZWM9NDywSFUtyysNHuIz0xqLt ydJ8i/J/bbR2nLlt7IctDECPzjRceKJ1P4mKMLrB/vM8fB4CERmVokpdlvLQTs0xTU+y AoYxrEYvdWQq2G1xmVbbCEJRw+DOaj2Bu8gi0ytD7Z9GU+SJFbLyhNZKfBVtySDeQu6e nzhUa2bUfS4PXiIsPVtyC7xLb5gOjrWctzktHsIeW4ZycqWusbCAOdQrl3BE3HzRVmKm lHEug3AvMEdpn5EqVBDk9Z4zIQR3QfQtSkiF5jsyM8jkjrDBRvV1Rzvmv7+PoFPjMQ06 gUZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=E5U6u+Fw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ov27si243752ejb.379.2020.06.17.09.52.43; Wed, 17 Jun 2020 09:53:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=E5U6u+Fw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727095AbgFQQsY (ORCPT + 99 others); Wed, 17 Jun 2020 12:48:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727069AbgFQQsT (ORCPT ); Wed, 17 Jun 2020 12:48:19 -0400 Received: from mail-ej1-x644.google.com (mail-ej1-x644.google.com [IPv6:2a00:1450:4864:20::644]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ABDD6C06174E; Wed, 17 Jun 2020 09:48:18 -0700 (PDT) Received: by mail-ej1-x644.google.com with SMTP id w16so3130048ejj.5; Wed, 17 Jun 2020 09:48:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=HbW3NKNom8juXI2NoyDjAEEkKyRH9dumXigRxuvNwKY=; b=E5U6u+FwDamT/5MzUtw3K/1BEM1ZTiyttyrXEl1+8zSQWpBSc0B5FR4bIUQ1tonPZh tQ7Sq8engNniJfbizfbR8YisCx9Ora1eTcK48UUUNsPyrrmYz7ttfMJUyDIqWfREp4x0 LT8uHcaKqqvZF70IgYU99gHaQCxC2cfAXiDO8ImYxJjaG5GtJKZ3Hfb1Q6NlVdmDbaZ8 QDB11E5nYjm0cIK1jEV4D3ONYHyoB5X7seBi/J8PU31002wRNLpWLEKw0yPRy0NRsvSu nNp3fHo+x13H8YaQjGCkZbkO7eOeT90xaWFXuPE4kus7VDD8rQXbpeNqcWSXDawp1WUA c/ZQ== 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:mime-version:content-transfer-encoding; bh=HbW3NKNom8juXI2NoyDjAEEkKyRH9dumXigRxuvNwKY=; b=kvFsVw+nUZj16udHUjUJQcdQj7VVgKeiC/Dx4tpTfwbpC0pqTtsQzlKdgI9cgixF4m hcTDujOsGr8ZR2zTHHh3398jsoL9163S0Km7tEnpfdF4JtqgJJqoISOWDDdTg+HHfgvc gbZplAPbOegMZSURZSCs6VjEQ0UNoj40S6lM6wjJx2ZquIT65MHr2KvhJnGm7jQvRY7R BpZsOX6dD1jbrz8vcmoo0QONxHtuoj58zZzH1C5rWngPJzRHO7RZynidmnAbtl30TXBr XXqMhUNvDfMeVTqBpz6Wktw8kzYOjnbM6auXDGaXrlRbkB/fEGq/uHShHmVuJqwiKrkZ gF/w== X-Gm-Message-State: AOAM531KCndBkzLbbE6ecNNpDbwAnfHsmYO44mmNWTfYE4jH8Thdq+eA cC+5qZ3ESjSp1+oFpcEKUTS8PJUccNw= X-Received: by 2002:a17:907:9484:: with SMTP id dm4mr106072ejc.56.1592412497436; Wed, 17 Jun 2020 09:48:17 -0700 (PDT) Received: from localhost.localdomain ([188.24.129.96]) by smtp.gmail.com with ESMTPSA id v3sm127124edj.89.2020.06.17.09.48.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jun 2020 09:48:17 -0700 (PDT) From: Cristian Ciocaltea To: Rob Herring , =?UTF-8?q?Andreas=20F=C3=A4rber?= , Manivannan Sadhasivam Cc: linux-actions@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 02/11] arm: dts: owl-s500: Add Clock Management Unit Date: Wed, 17 Jun 2020 19:48:02 +0300 Message-Id: <9dba1e4d779be27594859ea71131624bb20b1618.1592407030.git.cristian.ciocaltea@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add Clock Management Unit for Actions Semi S500 SoC. Signed-off-by: Cristian Ciocaltea --- arch/arm/boot/dts/owl-s500.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/owl-s500.dtsi b/arch/arm/boot/dts/owl-s500.dtsi index 1dbe4e8b38ac..5d5ad9db549b 100644 --- a/arch/arm/boot/dts/owl-s500.dtsi +++ b/arch/arm/boot/dts/owl-s500.dtsi @@ -5,6 +5,7 @@ * Copyright (c) 2016-2017 Andreas Färber */ +#include #include #include @@ -70,6 +71,12 @@ hosc: hosc { #clock-cells = <0>; }; + losc: losc { + compatible = "fixed-clock"; + clock-frequency = <32768>; + #clock-cells = <0>; + }; + soc { compatible = "simple-bus"; #address-cells = <1>; @@ -169,6 +176,13 @@ uart6: serial@b012c000 { status = "disabled"; }; + cmu: clock-controller@b0160000 { + compatible = "actions,s500-cmu"; + reg = <0xb0160000 0x8000>; + clocks = <&hosc>, <&losc>; + #clock-cells = <1>; + }; + timer: timer@b0168000 { compatible = "actions,s500-timer"; reg = <0xb0168000 0x8000>; -- 2.27.0