arm64: dts: agilex: add service layer, fpga manager and fpga region
PATCH 1/1 arm64: dts: agilex: add service layer, fpga manager and fpga region
From: Richard Gong <[email protected]>
Add service layer, fpga manager and fpga region to the device tree on Intel Agilex platform.
Signed-off-by Richard Gong <[email protected]>
--- arch/arm64/boot/dts/intel/socfpga_agilex.dtsi | 32 +++++++++++++++++++++++++++ 1 file changed, 32 insertions(+)
arch/arm64/boot/dts/intel/socfpga_agilex.dtsi +32 -0
@@ -12,6 +12,19 @@ #address-cells = <2>; #size-cells = <2>; + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + service_reserved: svcbuffer@0 { + compatible = "shared-dma-pool"; + reg = <0x0 0x0 0x0 0x1000000>; + alignment = <0x1000>; + no-map; + }; + }; + cpus { #address-cells = <1>; #size-cells = <0>;
@@ -81,6 +94,13 @@ interrupt-parent = <&intc>; ranges = <0 0 0 0xffffffff>; + base_fpga_region { + #address-cells = <0x1>; + #size-cells = <0x1>; + compatible = "fpga-region"; + fpga-mgr = <&fpga_mgr>; + }; + gmac0: ethernet@ff800000 { compatible = "altr,socfpga-stmmac", "snps,dwmac-3.74a", "snps,dwmac"; reg = <0xff800000 0x2000>;
@@ -442,5 +462,17 @@ status = "disabled"; }; + + firmware { + svc { + compatible = "intel,stratix10-svc"; + method = "smc"; + memory-region = <&service_reserved>; + + fpga_mgr: fpga-mgr { + compatible = "intel,stratix10-soc-fpga-mgr"; + }; + }; + }; }; };
Signature · 1 line
2.7.4
Dinh Nguyen
AppliedQuoted 57 lines · On 10/17/19 2:34 PM, [email protected] wrote:
From: Richard Gong <[email protected]>
Add service layer, fpga manager and fpga region to the device tree on Intel Agilex platform.
Signed-off-by Richard Gong <[email protected]>--- arch/arm64/boot/dts/intel/socfpga_agilex.dtsi | 32 +++++++++++++++++++++++++++ 1 file changed, 32 insertions(+)arch/arm64/boot/dts/intel/socfpga_agilex.dtsi +24
-0@@ -12,6 +12,19 @@ #address-cells = <2>; #size-cells = <2>; + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + service_reserved: svcbuffer@0 { + compatible = "shared-dma-pool"; + reg = <0x0 0x0 0x0 0x1000000>; + alignment = <0x1000>; + no-map; + }; + }; + cpus { #address-cells = <1>; #size-cells = <0>;@@ -81,6 +94,13 @@ interrupt-parent = <&intc>; ranges = <0 0 0 0xffffffff>; + base_fpga_region { + #address-cells = <0x1>; + #size-cells = <0x1>; + compatible = "fpga-region"; + fpga-mgr = <&fpga_mgr>; + }; + gmac0: ethernet@ff800000 { compatible = "altr,socfpga-stmmac", "snps,dwmac-3.74a", "snps,dwmac"; reg = <0xff800000 0x2000>;@@ -442,5 +462,17 @@ status = "disabled"; }; + + firmware { + svc { + compatible = "intel,stratix10-svc";
arch/arm64/boot/dts/intel/socfpga_agilex.dtsi line 478
Quoted 10 lines
arch/arm64/boot/dts/intel/socfpga_agilex.dtsi +8
-0+ method = "smc"; + memory-region = <&service_reserved>; + + fpga_mgr: fpga-mgr { + compatible = "intel,stratix10-soc-fpga-mgr"; + }; + }; + }; }; };
Applied.
Dinh