Commit 23c3ebed authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Dinh Nguyen
Browse files

arm64: dts: socfpga: agilex: 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_agilex.dtsi:663.12-673.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: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarDinh Nguyen <dinguyen@kernel.org>
parent eb687212
Loading
Loading
Loading
Loading
+12 −12
Original line number Diff line number Diff line
@@ -60,6 +60,18 @@ cpu3: cpu@3 {
		};
	};

	firmware {
		svc {
			compatible = "intel,agilex-svc";
			method = "smc";
			memory-region = <&service_reserved>;

			fpga_mgr: fpga-mgr {
				compatible = "intel,agilex-soc-fpga-mgr";
			};
		};
	};

	fpga-region {
		compatible = "fpga-region";
		#address-cells = <0x2>;
@@ -659,17 +671,5 @@ qspi: spi@ff8d2000 {

			status = "disabled";
		};

		firmware {
			svc {
				compatible = "intel,agilex-svc";
				method = "smc";
				memory-region = <&service_reserved>;

				fpga_mgr: fpga-mgr {
					compatible = "intel,agilex-soc-fpga-mgr";
				};
			};
		};
	};
};