增加 数据类型.

Signed-off-by: rick.chan <chenyang@autoai.com>
This commit is contained in:
rick.chan 2020-09-11 10:46:37 +08:00
parent c049a5a6ca
commit 313762487c
1 changed files with 10 additions and 0 deletions

View File

@ -99,6 +99,16 @@ reg = <0 0x00000000 0x04000000>,
<1 0x00000000 0x04000000>; <1 0x00000000 0x04000000>;
``` ```
按 property-name 可以表述的数据类型,可以分为:
* 字符串string-prop = “a string”;
* 字符串列表string-list = “hi”,”str”,”list”;
* 整型数据cell-prop = <0xaa>;
* 二进制数据binary-prop = [aa bb f8];
* 混合数据mixed-prop = “str”,<0x123>,[ff dd];
* 布尔类型bool-porp;
* 引用类型ref-prop = <&other-node>
### 2.4.标准属性 ### 2.4.标准属性
#### 2.4.1.compatible #### 2.4.1.compatible