Skip to content

Commit 9fc0511

Browse files
krzkDinh Nguyen
authored andcommitted
arm64: dts: socfpga: stratix10: move firmware out of soc node
The "soc" node is supposed to have only MMIO children, so move the firmware/svc node to top level to fix dtc W=1 warnings like: socfpga_stratix10.dtsi:625.12-635.5: Warning (simple_bus_reg): /soc@0/firmware: missing or empty reg/ranges property The node should still be instantiated by drivers/of/platform.c, just like in all other platforms. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
1 parent 5c8f036 commit 9fc0511

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

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

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

62+
firmware {
63+
svc {
64+
compatible = "intel,stratix10-svc";
65+
method = "smc";
66+
memory-region = <&service_reserved>;
67+
68+
fpga_mgr: fpga-mgr {
69+
compatible = "intel,stratix10-soc-fpga-mgr";
70+
};
71+
};
72+
};
73+
6274
fpga-region {
6375
compatible = "fpga-region";
6476
#address-cells = <0x2>;
@@ -621,18 +633,6 @@
621633

622634
status = "disabled";
623635
};
624-
625-
firmware {
626-
svc {
627-
compatible = "intel,stratix10-svc";
628-
method = "smc";
629-
memory-region = <&service_reserved>;
630-
631-
fpga_mgr: fpga-mgr {
632-
compatible = "intel,stratix10-soc-fpga-mgr";
633-
};
634-
};
635-
};
636636
};
637637

638638
usbphy0: usbphy0 {

0 commit comments

Comments
 (0)