3036: add ion at dtsi
authorwdc <wdc@rock-chips.com>
Fri, 11 Jul 2014 13:18:24 +0000 (21:18 +0800)
committerwdc <wdc@rock-chips.com>
Fri, 11 Jul 2014 13:18:24 +0000 (21:18 +0800)
arch/arm/boot/dts/rk3036.dtsi

index fc1f7cf107251fd8d2ca9dfe7b01f4c270cddb20..ab609658bd3b990c1a7206936f9baf0af723b4ce 100755 (executable)
                reg = <0x10118200 0x100>;
                status = "disabled";
        };
+
+       ion {
+               compatible = "rockchip,ion";
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               ion_cma: rockchip,ion-heap@1 { /* CMA HEAP */
+                       compatible = "rockchip,ion-reserve";
+                       rockchip,ion_heap = <1>;
+                       reg = <0x00000000 0x10000000>; /* 256MB */
+               };
+               rockchip,ion-heap@3 { /* VMALLOC HEAP */
+                       rockchip,ion_heap = <3>;
+               };
+       };
        
         vpu: vpu_service@10108000 {
                compatible = "vpu_service";