]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: dts: stratix10: add stratix10 service driver binding to base dtsi
authorRichard Gong <richard.gong@intel.com>
Tue, 13 Nov 2018 18:14:00 +0000 (12:14 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 Nov 2018 19:13:50 +0000 (20:13 +0100)
Add Intel Stratix10 service layer to the device tree

Signed-off-by: Richard Gong <richard.gong@intel.com>
Signed-off-by: Alan Tull <atull@kernel.org>
Acked-by: Moritz Fischer <mdf@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi

index fef7351e9f677da62cd0c50e8c424a3590dd7b51..519b16e9bd4dd0131837d75822ede883023a8967 100644 (file)
@@ -24,6 +24,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>;
@@ -537,5 +550,13 @@ qspi: spi@ff8d2000 {
 
                        status = "disabled";
                };
+
+               firmware {
+                       svc {
+                               compatible = "intel,stratix10-svc";
+                               method = "smc";
+                               memory-region = <&service_reserved>;
+                       };
+               };
        };
 };