Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1919609pxj; Sun, 13 Jun 2021 02:52:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxN0vDwYeJb//q3A/wiudwhozz5tNRhnbrCJQk10A2IwtaQ1UckUmqKJIsduhyLglv90EQr X-Received: by 2002:a17:906:49ce:: with SMTP id w14mr11070680ejv.273.1623577972439; Sun, 13 Jun 2021 02:52:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623577972; cv=none; d=google.com; s=arc-20160816; b=rJ55L3zvj8hJVatgnLP2Dedr/KnUj01k0jdiyNSZXRs+6VhN/2/CsEEKZj1uIqDW9u 0gV3cgnprl4r3WiDpAWwL6OjbX7VqjSsoT1fVqNE73axEHviVp/4j16sq45zK0LzGZzD 4CPbozDWR+ztEfYgtZ/lkTSbzu5O+m1i1J+bBAhOA3oXwPSky90eGZeqr5pJCNbskBMv tzHEOPsJCFaZIzE/ZvWKsbHIDTmpYqm6pmHhlw8JbLGbwbPjbBbXe+D/RxewViyPtSwu /FKnb/0ej8jD4T7OYMlGRH0zOudT9QKAsWCJ7pHyUPn99KPYIKDK4bCMFIhJJ2vprgTi rYUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:from :dkim-signature; bh=KBrRGeB2tLy5jflZx3zulUwPWNrmiYbBd39TsmsVpuw=; b=CWjjxh7292UkI7TDYo/8eLujrH/5gOVVYtFCY7CwMt7v/Y6hYUzpZUxYdZ9lNXi+1p GI5a8K9VyLE1qCZVaUY5Yo1y12hGS7BvLMFWl2RfmM+ocCc/32MLuVBZnYkNNFWXQK4F nla9TQlRRXH5UCD+blj5RegUb7bftHiP0WZaLgVUzNAvBP8p8ihNsDpfHrIbuPtxKUuG cFDlPpyVYtX6j1lqheARDZeYwE4w+9Nco6Rx00oEs6AgwC4Z0/LPeMiUpJZIhAGjIg68 V3SH4E7ngfzj6hj9vur0HVB8ztYvYD/PR29a1ES/1GmPmAW+y5gFlkeP3G85T6xmJC6m 7xSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=gw+5NPw2; 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=fail (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 c30si9041778ejj.702.2021.06.13.02.52.30; Sun, 13 Jun 2021 02:52:52 -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=fail header.i=@gmail.com header.s=20161025 header.b=gw+5NPw2; 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=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231661AbhFMJu7 (ORCPT + 99 others); Sun, 13 Jun 2021 05:50:59 -0400 Received: from mail-wr1-f45.google.com ([209.85.221.45]:46971 "EHLO mail-wr1-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231621AbhFMJu6 (ORCPT ); Sun, 13 Jun 2021 05:50:58 -0400 Received: by mail-wr1-f45.google.com with SMTP id a11so10952182wrt.13; 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=EK+x+NUyxwktpkgfXztk0CL69vqGGGkf8VfnvVdbzQzWsO9rTaQmtX+N3hZk4NhPPe nuA/W3f0b506Gbi/3BDbJCUS58N0HAhEw9OHD7p/9raFOltsPV6XkR5Q23bNG8c12/nd Vfny42Q1c8NW7HiZF1+TmuMDSPgVVWOYTIsilVczDLuPL2AuwcO/2YGteBRG1zjeGADZ kJAHzPdYf5kvEFPW2OXgGhqReMbONmrQYFN8twE7VYKch+prv+hTUfm0RN51ECY/cxHU yoyFnw4Iz/wC5qHY3n4cTmMNC1qByDpOo9Bl5DCQPqk6MAvZXEPtFleT4lUI2Wahv7t4 QuBw== X-Gm-Message-State: AOAM533/v9j9MPLJvAXmDaUWZ2hHaeTDhAwcqWvJaIrY0LgvhO4isEHx c2sim0Rmzf+htMoJCgPsvbqVhY0B9aI= 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 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 Content-Transfer-Encoding: 8bit To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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"; }; -- 2.26.3