From: Krzysztof Kozlowski <krzk@kernel.org>
To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
arm@kernel.org, soc@kernel.org, Arnd Bergmann <arnd@arndb.de>,
Olof Johansson <olof@lixom.net>
Cc: "Paul J. Murphy" <paul.j.murphy@intel.com>,
Daniele Alessandrelli <daniele.alessandrelli@intel.com>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzk@kernel.org>
Subject: [RESEND PATCH 04/10] arm64: dts: intel: socfpga_agilex: move timer out of soc node
Date: Mon, 8 Mar 2021 17:22:22 +0100 [thread overview]
Message-ID: <20210308162228.62614-5-krzk@kernel.org> (raw)
In-Reply-To: <20210308162228.62614-1-krzk@kernel.org>
The ARM architected timer is part of ARM CPU design therefore by
convention it should not be inside the soc node. This also fixes dtc
warning like:
arch/arm64/boot/dts/intel/socfpga_agilex.dtsi:410.9-416.5:
Warning (simple_bus_reg): /soc/timer: missing or empty reg/ranges property
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
arch/arm64/boot/dts/intel/socfpga_agilex.dtsi | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi
index 8f0736e4f3b5..25882faccbdb 100644
--- a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi
+++ b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi
@@ -115,6 +115,15 @@ qspi_clk: qspi-clk {
};
};
+ timer {
+ compatible = "arm,armv8-timer";
+ interrupt-parent = <&intc>;
+ interrupts = <1 13 0xf08>,
+ <1 14 0xf08>,
+ <1 11 0xf08>,
+ <1 10 0xf08>;
+ };
+
soc {
#address-cells = <1>;
#size-cells = <1>;
@@ -406,15 +415,6 @@ sysmgr: sysmgr@ffd12000 {
reg = <0xffd12000 0x500>;
};
- /* Local timer */
- timer {
- compatible = "arm,armv8-timer";
- interrupts = <1 13 0xf08>,
- <1 14 0xf08>,
- <1 11 0xf08>,
- <1 10 0xf08>;
- };
-
timer0: timer0@ffc03000 {
compatible = "snps,dw-apb-timer";
interrupts = <0 113 4>;
--
2.25.1
next prev parent reply other threads:[~2021-03-08 16:22 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-08 16:22 [RESEND PATCH 00/10] arm64: dts: intel: socfpga: minor cleanups Krzysztof Kozlowski
2021-03-08 16:22 ` [RESEND PATCH 01/10] dt-bindings: arm: intel,keembay: limit the dtschema to root node Krzysztof Kozlowski
2021-03-08 16:22 ` [RESEND PATCH 02/10] arm64: dts: intel: socfpga: override clocks by label Krzysztof Kozlowski
2021-03-08 16:22 ` [RESEND PATCH 03/10] arm64: dts: intel: socfpga_agilex: move clocks out of soc node Krzysztof Kozlowski
2021-03-08 16:22 ` Krzysztof Kozlowski [this message]
2021-03-08 16:22 ` [RESEND PATCH 05/10] arm64: dts: intel: socfpga_agilex: remove default status=okay Krzysztof Kozlowski
2021-03-08 16:22 ` [RESEND PATCH 06/10] arm64: dts: intel: socfpga_agilex: move usbphy out of soc node Krzysztof Kozlowski
2021-03-08 16:22 ` [RESEND PATCH 07/10] arm64: dts: intel: socfpga_agilex: use defined for GIC interrupts Krzysztof Kozlowski
2021-03-08 16:22 ` [RESEND PATCH 08/10] arm64: dts: intel: socfpga_agilex: align node names with dtschema Krzysztof Kozlowski
2021-03-08 16:22 ` [RESEND PATCH 09/10] arm64: dts: intel: socfpga_agilex_socdk: align LED " Krzysztof Kozlowski
2021-03-08 16:22 ` [RESEND PATCH 10/10] arm64: dts: intel: socfpga_agilex_socdk_nand: " Krzysztof Kozlowski
2021-03-08 16:38 ` [RESEND PATCH 00/10] arm64: dts: intel: socfpga: minor cleanups Alessandrelli, Daniele
2021-03-08 17:08 ` Krzysztof Kozlowski
2021-03-08 17:04 ` Krzysztof Kozlowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210308162228.62614-5-krzk@kernel.org \
--to=krzk@kernel.org \
--cc=arm@kernel.org \
--cc=arnd@arndb.de \
--cc=daniele.alessandrelli@intel.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=olof@lixom.net \
--cc=paul.j.murphy@intel.com \
--cc=robh+dt@kernel.org \
--cc=soc@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox