设备树基本的数据类型

文本字符串(无结束符)可以用双引号表示

string-property = "a string"

Cells’是 32 位无符号整数,用尖括号限定:

cell-property = <0xbeef 123 0xabcd1234>

二进制数据用方括号限定:

binary-property = [0x01 0x23 0x45 0x67];

不同表示形式的数据可以使用逗号连在一起:

mixed-property = "a string", [0x01 0x23 0x45 0x67], <0x12345678>;

逗号也可用于创建字符串列表:

string-list = "red fish", "blue fish";

 

  

 

  

 

  

 

  

 

 

 

转载于:https://www.cnblogs.com/liushuhe1990/p/9671725.html

你可能感兴趣的:(设备树基本的数据类型)