arm64: dts: Add dts files to enable ION on Hi6220 SoC.
authorChen Feng <puck.chen@hisilicon.com>
Mon, 12 Oct 2015 07:00:17 +0000 (15:00 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Dec 2015 21:36:01 +0000 (13:36 -0800)
Add ION node to enable ION on hi6220 SoC platform

Signed-off-by: Chen Feng <puck.chen@hisilicon.com>
Signed-off-by: Yu Dongbin <yudongbin@hisilicon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
arch/arm64/boot/dts/hisilicon/hi6220-ion.dtsi [new file with mode: 0644]

index 8d43a0fce5226946d78fb416037a7175efaa2e66..496a920eced4adab023499ec3e46d814bf7f259d 100644 (file)
@@ -11,6 +11,7 @@
 /memreserve/ 0x05e00000 0x00100000;
 
 #include "hi6220.dtsi"
+#include "hi6220-ion.dtsi"
 
 / {
        model = "HiKey Development Board";
diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-ion.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220-ion.dtsi
new file mode 100644 (file)
index 0000000..c79f2ce
--- /dev/null
@@ -0,0 +1,20 @@
+/ {
+       hi6220-ion {
+               compatible = "hisilicon,hi6220-ion";
+               heap_sys_user@0 {
+                       heap-name = "sys_user";
+                       heap-id   = <0x0>;
+                       heap-base = <0x0>;
+                       heap-size = <0x0>;
+                       heap-type = "ion_system";
+               };
+               heap_sys_contig@0 {
+                       heap-name = "sys_contig";
+                       heap-id   = <0x1>;
+                       heap-base = <0x0>;
+                       heap-size = <0x0>;
+                       heap-type = "ion_system_contig";
+               };
+       };
+
+};