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 03/10] arm64: dts: intel: socfpga_agilex: move clocks out of soc node
Date: Mon, 8 Mar 2021 17:22:21 +0100 [thread overview]
Message-ID: <20210308162228.62614-4-krzk@kernel.org> (raw)
In-Reply-To: <20210308162228.62614-1-krzk@kernel.org>
The clocks are usually not part of the SoC but provided on the board
(external oscillators). Moving them out of soc node fixes dtc warning:
arch/arm64/boot/dts/intel/socfpga_agilex.dtsi:111.10-137.5:
Warning (simple_bus_reg): /soc/clocks: missing or empty reg/ranges property
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
arch/arm64/boot/dts/intel/socfpga_agilex.dtsi | 56 +++++++++----------
1 file changed, 28 insertions(+), 28 deletions(-)
diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi
index 07c099b4ed5b..8f0736e4f3b5 100644
--- a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi
+++ b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi
@@ -87,6 +87,34 @@ intc: intc@fffc1000 {
<0x0 0xfffc6000 0x0 0x2000>;
};
+ clocks {
+ cb_intosc_hs_div2_clk: cb-intosc-hs-div2-clk {
+ #clock-cells = <0>;
+ compatible = "fixed-clock";
+ };
+
+ cb_intosc_ls_clk: cb-intosc-ls-clk {
+ #clock-cells = <0>;
+ compatible = "fixed-clock";
+ };
+
+ f2s_free_clk: f2s-free-clk {
+ #clock-cells = <0>;
+ compatible = "fixed-clock";
+ };
+
+ osc1: osc1 {
+ #clock-cells = <0>;
+ compatible = "fixed-clock";
+ };
+
+ qspi_clk: qspi-clk {
+ #clock-cells = <0>;
+ compatible = "fixed-clock";
+ clock-frequency = <200000000>;
+ };
+ };
+
soc {
#address-cells = <1>;
#size-cells = <1>;
@@ -108,34 +136,6 @@ clkmgr: clock-controller@ffd10000 {
#clock-cells = <1>;
};
- clocks {
- cb_intosc_hs_div2_clk: cb-intosc-hs-div2-clk {
- #clock-cells = <0>;
- compatible = "fixed-clock";
- };
-
- cb_intosc_ls_clk: cb-intosc-ls-clk {
- #clock-cells = <0>;
- compatible = "fixed-clock";
- };
-
- f2s_free_clk: f2s-free-clk {
- #clock-cells = <0>;
- compatible = "fixed-clock";
- };
-
- osc1: osc1 {
- #clock-cells = <0>;
- compatible = "fixed-clock";
- };
-
- qspi_clk: qspi-clk {
- #clock-cells = <0>;
- compatible = "fixed-clock";
- clock-frequency = <200000000>;
- };
- };
-
gmac0: ethernet@ff800000 {
compatible = "altr,socfpga-stmmac-a10-s10", "snps,dwmac-3.74a", "snps,dwmac";
reg = <0xff800000 0x2000>;
--
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 ` Krzysztof Kozlowski [this message]
2021-03-08 16:22 ` [RESEND PATCH 04/10] arm64: dts: intel: socfpga_agilex: move timer out of soc node Krzysztof Kozlowski
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-4-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