arm64: dts: cavium: move non-MMIO node out of soc
authorKrzysztof Kozlowski <krzk@kernel.org>
Tue, 2 Apr 2024 19:41:28 +0000 (21:41 +0200)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 24 Apr 2024 07:23:53 +0000 (09:23 +0200)
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
arch/arm64/boot/dts/cavium/thunder-88xx.dtsi

index 8ad31dee11a3c10e20e8d32ad6530d2f56dda9c0..e29e878ee1201a63f4980c9af71289198c3bb5a5 100644 (file)
                interrupts = <1 7 4>;
        };
 
+       refclk50mhz: refclk50mhz {
+               compatible = "fixed-clock";
+               #clock-cells = <0>;
+               clock-frequency = <50000000>;
+               clock-output-names = "refclk50mhz";
+       };
+
        soc {
                compatible = "simple-bus";
                #address-cells = <2>;
                #size-cells = <2>;
                ranges;
 
-               refclk50mhz: refclk50mhz {
-                       compatible = "fixed-clock";
-                       #clock-cells = <0>;
-                       clock-frequency = <50000000>;
-                       clock-output-names = "refclk50mhz";
-               };
-
                gic0: interrupt-controller@8010,00000000 {
                        compatible = "arm,gic-v3";
                        #interrupt-cells = <3>;