Skip to content

Commit feebdc3

Browse files
Andre-ARMsudeep-holla
authored andcommitted
arm64: dts: fvp: Move fixed clocks out of bus node
The devicetree compiler complains when DT nodes without a reg property live inside a (simple) bus node: Warning (simple_bus_reg): Node /bus@8000000/v2m_refclk32khz missing or empty reg/ranges property Move the fixed clocks to the root node, since they do not depend on any busses. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Andre Przywara <[email protected]> Signed-off-by: Sudeep Holla <[email protected]>
1 parent d925889 commit feebdc3

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

arch/arm64/boot/dts/arm/foundation-v8.dtsi

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,27 @@
9292
timeout-sec = <30>;
9393
};
9494

95+
v2m_clk24mhz: clk24mhz {
96+
compatible = "fixed-clock";
97+
#clock-cells = <0>;
98+
clock-frequency = <24000000>;
99+
clock-output-names = "v2m:clk24mhz";
100+
};
101+
102+
v2m_refclk1mhz: refclk1mhz {
103+
compatible = "fixed-clock";
104+
#clock-cells = <0>;
105+
clock-frequency = <1000000>;
106+
clock-output-names = "v2m:refclk1mhz";
107+
};
108+
109+
v2m_refclk32khz: refclk32khz {
110+
compatible = "fixed-clock";
111+
#clock-cells = <0>;
112+
clock-frequency = <32768>;
113+
clock-output-names = "v2m:refclk32khz";
114+
};
115+
95116
bus@8000000 {
96117
compatible = "arm,vexpress,v2m-p1", "simple-bus";
97118
arm,v2m-memory-map = "rs1";
@@ -157,27 +178,6 @@
157178
interrupts = <15>;
158179
};
159180

160-
v2m_clk24mhz: clk24mhz {
161-
compatible = "fixed-clock";
162-
#clock-cells = <0>;
163-
clock-frequency = <24000000>;
164-
clock-output-names = "v2m:clk24mhz";
165-
};
166-
167-
v2m_refclk1mhz: refclk1mhz {
168-
compatible = "fixed-clock";
169-
#clock-cells = <0>;
170-
clock-frequency = <1000000>;
171-
clock-output-names = "v2m:refclk1mhz";
172-
};
173-
174-
v2m_refclk32khz: refclk32khz {
175-
compatible = "fixed-clock";
176-
#clock-cells = <0>;
177-
clock-frequency = <32768>;
178-
clock-output-names = "v2m:refclk32khz";
179-
};
180-
181181
iofpga@300000000 {
182182
compatible = "simple-bus";
183183
#address-cells = <1>;

0 commit comments

Comments
 (0)