doc: dt: add dt-bindings for rockchip ion driver
[firefly-linux-kernel-4.4.55.git] / Documentation / devicetree / bindings / staging / ion / rockchip-ion.txt
1 * Rockchip Ion driver
2
3 Required properties:
4 - compatible: Should be "rockchip,ion"
5
6 Optional properties:
7 - cma-heap: Allocate continous physicall region.
8   Should define reg with two u32 values:
9     - reg0: base address of cma region
10     - reg1: size of cma region
11 - system-heap: Allocate continous virtual region
12
13 Examples:
14         ion {
15                 compatible = "rockchip,ion";
16                 #address-cells = <1>;
17                 #size-cells = <0>;
18
19                 cma-heap {
20                         reg = <0x00000000 0x02000000>;
21                 };
22
23                 system-heap {
24                 };
25         };