]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
arm64: dts: socfpga: stratix10: move FPGA region out of soc node
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sat, 9 Dec 2023 17:30:35 +0000 (18:30 +0100)
committerDinh Nguyen <dinguyen@kernel.org>
Thu, 4 Jan 2024 00:10:39 +0000 (18:10 -0600)
The "soc" node is supposed to have only MMIO children, so move the FPGA
region node to top level to fix dtc W=1 warnings like:

  socfpga_stratix10.dtsi:136.20-141.5: Warning (simple_bus_reg): /soc@0/base_fpga_region: missing or empty reg/ranges property

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi

index 1a743787fef686e0bb4a19ea680024a4f9632209..ec086ffcc4a2622d25179fcef4a50c767dfae684 100644 (file)
                };
        };
 
+       fpga-region {
+               compatible = "fpga-region";
+               #address-cells = <0x2>;
+               #size-cells = <0x2>;
+               fpga-mgr = <&fpga_mgr>;
+       };
+
        pmu {
                compatible = "arm,armv8-pmuv3";
                interrupts = <0 170 4>,
                interrupt-parent = <&intc>;
                ranges = <0 0 0 0xffffffff>;
 
-               base_fpga_region {
-                       #address-cells = <0x2>;
-                       #size-cells = <0x2>;
-                       compatible = "fpga-region";
-                       fpga-mgr = <&fpga_mgr>;
-               };
-
                clkmgr: clock-controller@ffd10000 {
                        compatible = "intel,stratix10-clkmgr";
                        reg = <0xffd10000 0x1000>;