arm64: dts: hisilicon: hip05: move non-MMIO node out of soc
authorKrzysztof Kozlowski <krzk@kernel.org>
Tue, 2 Apr 2024 19:31:40 +0000 (21:31 +0200)
committerWei Xu <xuwei5@hisilicon.com>
Sat, 13 Apr 2024 01:50:46 +0000 (01:50 +0000)
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:

  hip05.dtsi:301.30-305.5: Warning (simple_bus_reg): /soc/refclk200mhz: missing or empty reg/ranges property

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
arch/arm64/boot/dts/hisilicon/hip05.dtsi

index 65ddc0698f8285d203a8620b769d4704811fd6e0..d0912ca5f237f1bcd695d1ee7402bb089e6f51d0 100644 (file)
                };
        };
 
+       refclk200mhz: refclk200mhz {
+               compatible = "fixed-clock";
+               #clock-cells = <0>;
+               clock-frequency = <200000000>;
+       };
+
        timer {
                compatible = "arm,armv8-timer";
                interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>,
                #size-cells = <2>;
                ranges;
 
-               refclk200mhz: refclk200mhz {
-                       compatible = "fixed-clock";
-                       #clock-cells = <0>;
-                       clock-frequency = <200000000>;
-               };
-
                uart0: serial@80300000 {
                        compatible = "snps,dw-apb-uart";
                        reg = <0x0 0x80300000 0x0 0x10000>;