From patchwork Sun Jun 13 09:46:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthew Hagan X-Patchwork-Id: 12317435 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E34F5C48BDF for ; Sun, 13 Jun 2021 09:50:34 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AB2AF6124B for ; Sun, 13 Jun 2021 09:50:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AB2AF6124B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=bgsECPBxrKBgWuS/SvPZZvQZnpNkUrHd3pI4MFuILkI=; b=MCVKowRlEIjTOi tWHaB1VQ0UdD/oyPytHjmQ8zfN9q6Tv9Ny1fQ/cyx+QWGxuZRkuWoVRCdiEw9Dfv/mQOC0zLfnOVV VjrAHAL9LEIdeYhjfTfrCWTVlBHq+3YHxNDhZlnFZukFea2KuyF52kvP/HtQ2hxYMZ6dXEnGEPPAA nOBy0B+KwMZK2lt7YKaZ7cc4rk3/ue/OOqls5votMH6aOd7tEmovGd1PTbQnXagfxjm/irdIo91Xh iP3nCJWhQmeIXy82cy/oHP8LAxx98TejC9vlmOrjXhscmHOXoVMmdp/KqVzEdlFC+PO+gnQcsxSvZ BIopcVCDu5k4cYAsWNiA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lsMjj-00A7ER-3K; Sun, 13 Jun 2021 09:48:59 +0000 Received: from mail-wr1-f43.google.com ([209.85.221.43]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lsMjW-00A79c-LY for linux-arm-kernel@lists.infradead.org; Sun, 13 Jun 2021 09:48:48 +0000 Received: by mail-wr1-f43.google.com with SMTP id i94so10951698wri.4 for ; Sun, 13 Jun 2021 02:48:46 -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=KBrRGeB2tLy5jflZx3zulUwPWNrmiYbBd39TsmsVpuw=; b=gw+5NPw2bBt+nzYszknOnzycfUn4fdvONurNUi1Hn9pTftkzvQwGmEE77QBjXyviRA GhqurWcUTq9oujOY6dkYqVe+b4njy0TF60TUHDDZ39arB0U/8fwokWTQsiRhCOYQow/v eSj2RXAueGvfrl+2Axkq4lHi0r/h23kvM3uyDcs2EzzPHJvBFPd1zUHv4WAQeoj9AYQN FL18cm7qvJ14WXGHIG8aIC9qki+ULZjbjsZ3zsdktehqRsFyKXkO1u4ehU4Ck1aV8ije VCNTAcjG4YIZ+WYF6DtJ6ora46bC+VpEDAKgc1QZOguZEjjVU1pOTzMnb8Uts1845ahF waAQ== 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=KBrRGeB2tLy5jflZx3zulUwPWNrmiYbBd39TsmsVpuw=; b=q0/SV5cMLZueKrA8YWFws0jjXk5e97PhRtIFxGypgqY6shI2bZxJdj71cPVM/JAH9i kVh4+HmdJJVJHfwal9aF3q8kgnLHN5Gq8FNVWT84ut3gkVo8YAaHDgEWmhXxN3q5uzyf MZ1kBq/R1GymRxrQQKDMbPH2z2w9nInLSFGmrxKxt1c0fPoCNfXB3ceOHyNBGH8cfqlW gqO5Gf+pT1tB+ohhJ298YBNTf9JY68NircSeA7NJdxxRjsV/2PLi/g7sgpuDgyBiOMfT z5DwaI07oZWga1LYUsx2iKL7vVn2iIydMLxF6pAXJ8cyYJA/OHoy0hlo8ws8zPv8Uk3s yL3w== X-Gm-Message-State: AOAM533/oUuLET06iOAbLPCGjcF4xPdftABbcOi1eH/1+oPRq1qLExes c6+f4PPmiPoIak1aq3D0eQE= X-Google-Smtp-Source: ABdhPJzwtdE93FMlFu/4fNl7RSNmV/lGQ6cGe5Cy2BftilYN6LnSqlMM/a9NKHeoXAvJ9f+j5tKhEg== X-Received: by 2002:a5d:6849:: with SMTP id o9mr12508891wrw.44.1623577665284; Sun, 13 Jun 2021 02:47:45 -0700 (PDT) Received: from cluster5 ([80.76.206.81]) by smtp.gmail.com with ESMTPSA id u15sm14548391wmq.1.2021.06.13.02.47.44 (version=TLS1 cipher=ECDHE-ECDSA-AES128-SHA bits=128/128); Sun, 13 Jun 2021 02:47:44 -0700 (PDT) From: Matthew Hagan To: Cc: Florian Fainelli , Vladimir Oltean , Andrew Lunn , Vivek Unune , Matthew Hagan , Rob Herring , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/4] ARM: dts: NSP: disable sp804 ccbtimers by default Date: Sun, 13 Jun 2021 10:46:35 +0100 Message-Id: <20210613094639.3242151-2-mnhagan88@gmail.com> X-Mailer: git-send-email 2.26.3 In-Reply-To: <20210613094639.3242151-1-mnhagan88@gmail.com> References: <20210613094639.3242151-1-mnhagan88@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210613_024846_732890_71434E34 X-CRM114-Status: GOOD ( 13.37 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The sp804 ccbtimers are enabled by default, however they may or may not be present on the board. This patch disables them by default, requiring them to be enabled only where applicable. Signed-off-by: Matthew Hagan --- arch/arm/boot/dts/bcm-nsp.dtsi | 2 ++ arch/arm/boot/dts/bcm958522er.dts | 8 ++++++++ arch/arm/boot/dts/bcm958525er.dts | 8 ++++++++ arch/arm/boot/dts/bcm958525xmc.dts | 8 ++++++++ arch/arm/boot/dts/bcm958622hr.dts | 8 ++++++++ arch/arm/boot/dts/bcm958623hr.dts | 8 ++++++++ arch/arm/boot/dts/bcm958625hr.dts | 8 ++++++++ arch/arm/boot/dts/bcm958625k.dts | 8 ++++++++ arch/arm/boot/dts/bcm988312hr.dts | 8 ++++++++ 9 files changed, 66 insertions(+) diff --git a/arch/arm/boot/dts/bcm-nsp.dtsi b/arch/arm/boot/dts/bcm-nsp.dtsi index c0427d985438..043d3bfaf1cc 100644 --- a/arch/arm/boot/dts/bcm-nsp.dtsi +++ b/arch/arm/boot/dts/bcm-nsp.dtsi @@ -375,6 +375,7 @@ ccbtimer0: timer@34000 { ; clocks = <&iprocslow>; clock-names = "apb_pclk"; + status = "disabled"; }; ccbtimer1: timer@35000 { @@ -384,6 +385,7 @@ ccbtimer1: timer@35000 { ; clocks = <&iprocslow>; clock-names = "apb_pclk"; + status = "disabled"; }; srab: ethernet-switch@36000 { diff --git a/arch/arm/boot/dts/bcm958522er.dts b/arch/arm/boot/dts/bcm958522er.dts index e5ed67b3c35f..bc7a28cd1017 100644 --- a/arch/arm/boot/dts/bcm958522er.dts +++ b/arch/arm/boot/dts/bcm958522er.dts @@ -70,6 +70,14 @@ &amac1 { status = "okay"; }; +&ccbtimer0 { + status = "okay"; +}; + +&ccbtimer1 { + status = "okay"; +}; + &ehci0 { status = "okay"; }; diff --git a/arch/arm/boot/dts/bcm958525er.dts b/arch/arm/boot/dts/bcm958525er.dts index 017fc46cdf0b..cd9b24bf2ee6 100644 --- a/arch/arm/boot/dts/bcm958525er.dts +++ b/arch/arm/boot/dts/bcm958525er.dts @@ -70,6 +70,14 @@ &amac1 { status = "okay"; }; +&ccbtimer0 { + status = "okay"; +}; + +&ccbtimer1 { + status = "okay"; +}; + &ehci0 { status = "okay"; }; diff --git a/arch/arm/boot/dts/bcm958525xmc.dts b/arch/arm/boot/dts/bcm958525xmc.dts index 5364f98ae1b8..b7c76a7d4a40 100644 --- a/arch/arm/boot/dts/bcm958525xmc.dts +++ b/arch/arm/boot/dts/bcm958525xmc.dts @@ -66,6 +66,14 @@ &amac0 { status = "okay"; }; +&ccbtimer0 { + status = "okay"; +}; + +&ccbtimer1 { + status = "okay"; +}; + &ehci0 { status = "okay"; }; diff --git a/arch/arm/boot/dts/bcm958622hr.dts b/arch/arm/boot/dts/bcm958622hr.dts index 4763eb5d68a6..fe5ac3495223 100644 --- a/arch/arm/boot/dts/bcm958622hr.dts +++ b/arch/arm/boot/dts/bcm958622hr.dts @@ -74,6 +74,14 @@ &amac2 { status = "okay"; }; +&ccbtimer0 { + status = "okay"; +}; + +&ccbtimer1 { + status = "okay"; +}; + &ehci0 { status = "okay"; }; diff --git a/arch/arm/boot/dts/bcm958623hr.dts b/arch/arm/boot/dts/bcm958623hr.dts index f2468bed2808..4c8563fdd635 100644 --- a/arch/arm/boot/dts/bcm958623hr.dts +++ b/arch/arm/boot/dts/bcm958623hr.dts @@ -74,6 +74,14 @@ &amac2 { status = "okay"; }; +&ccbtimer0 { + status = "okay"; +}; + +&ccbtimer1 { + status = "okay"; +}; + &ehci0 { status = "okay"; }; diff --git a/arch/arm/boot/dts/bcm958625hr.dts b/arch/arm/boot/dts/bcm958625hr.dts index c26849304bc7..dc0fccf57dfe 100644 --- a/arch/arm/boot/dts/bcm958625hr.dts +++ b/arch/arm/boot/dts/bcm958625hr.dts @@ -85,6 +85,14 @@ &amac2 { status = "okay"; }; +&ccbtimer0 { + status = "okay"; +}; + +&ccbtimer1 { + status = "okay"; +}; + &ehci0 { status = "okay"; }; diff --git a/arch/arm/boot/dts/bcm958625k.dts b/arch/arm/boot/dts/bcm958625k.dts index b7b136c862a8..f23e97df2fc1 100644 --- a/arch/arm/boot/dts/bcm958625k.dts +++ b/arch/arm/boot/dts/bcm958625k.dts @@ -64,6 +64,14 @@ &amac2 { status = "okay"; }; +&ccbtimer0 { + status = "okay"; +}; + +&ccbtimer1 { + status = "okay"; +}; + &ehci0 { status = "okay"; }; diff --git a/arch/arm/boot/dts/bcm988312hr.dts b/arch/arm/boot/dts/bcm988312hr.dts index 6b57530a3964..a2c8a22e8381 100644 --- a/arch/arm/boot/dts/bcm988312hr.dts +++ b/arch/arm/boot/dts/bcm988312hr.dts @@ -74,6 +74,14 @@ &amac2 { status = "okay"; }; +&ccbtimer0 { + status = "okay"; +}; + +&ccbtimer1 { + status = "okay"; +}; + &ehci0 { status = "okay"; };