Skip to content

Commit d237701

Browse files
committed
arm64: dts: cavium: move non-MMIO node out of soc
Non-MMIO devices, which are BTW not really part of the SoC, should not be within simple-bus, as reported by dtc W=1 warning: thunder-88xx.dtsi:374.28-379.5: Warning (simple_bus_reg): /soc/refclk50mhz: missing or empty reg/ranges property Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Link: https://lore.kernel.org/r/20240402194129.69481-1-krzk@kernel.org
1 parent bd54eff commit d237701

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

arch/arm64/boot/dts/cavium/thunder-88xx.dtsi

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -365,19 +365,19 @@
365365
interrupts = <1 7 4>;
366366
};
367367

368+
refclk50mhz: refclk50mhz {
369+
compatible = "fixed-clock";
370+
#clock-cells = <0>;
371+
clock-frequency = <50000000>;
372+
clock-output-names = "refclk50mhz";
373+
};
374+
368375
soc {
369376
compatible = "simple-bus";
370377
#address-cells = <2>;
371378
#size-cells = <2>;
372379
ranges;
373380

374-
refclk50mhz: refclk50mhz {
375-
compatible = "fixed-clock";
376-
#clock-cells = <0>;
377-
clock-frequency = <50000000>;
378-
clock-output-names = "refclk50mhz";
379-
};
380-
381381
gic0: interrupt-controller@8010,00000000 {
382382
compatible = "arm,gic-v3";
383383
#interrupt-cells = <3>;

0 commit comments

Comments
 (0)