Skip to content

Commit 5c8f036

Browse files
krzkDinh Nguyen
authored andcommitted
arm64: dts: socfpga: stratix10: move FPGA region out of soc node
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>
1 parent 179e587 commit 5c8f036

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,13 @@
5959
};
6060
};
6161

62+
fpga-region {
63+
compatible = "fpga-region";
64+
#address-cells = <0x2>;
65+
#size-cells = <0x2>;
66+
fpga-mgr = <&fpga_mgr>;
67+
};
68+
6269
pmu {
6370
compatible = "arm,armv8-pmuv3";
6471
interrupts = <0 170 4>,
@@ -133,13 +140,6 @@
133140
interrupt-parent = <&intc>;
134141
ranges = <0 0 0 0xffffffff>;
135142

136-
base_fpga_region {
137-
#address-cells = <0x2>;
138-
#size-cells = <0x2>;
139-
compatible = "fpga-region";
140-
fpga-mgr = <&fpga_mgr>;
141-
};
142-
143143
clkmgr: clock-controller@ffd10000 {
144144
compatible = "intel,stratix10-clkmgr";
145145
reg = <0xffd10000 0x1000>;

0 commit comments

Comments
 (0)