mirror of
https://github.com/dgibson/dtc.git
synced 2025-10-13 16:27:39 -04:00
Commit32b9c61307
("Preserve datatype markers when emitting dts format") add spaces between <> and [] and the encapsulated numbers. Fix this to keep the prior formatting and not break some users needlessly. Fixes:32b9c61307
("Preserve datatype markers when emitting dts format") Reported-by: Stewart Smith <stewart@linux.ibm.com> Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
28 lines
754 B
Text
28 lines
754 B
Text
/dts-v1/;
|
|
|
|
/ {
|
|
#address-cells = <0x01>;
|
|
#size-cells = <0x00>;
|
|
|
|
sub1: subnode@1 {
|
|
prop_label: compatible = value_label: "subnode1";
|
|
reg = <0x01>;
|
|
int-array = <0x00 0x01>, int_value_label: <0x02 0x03>;
|
|
int8 = [56];
|
|
int8-array = [00 12 34 56 label:];
|
|
int16 = /bits/ 16 <0x3210>;
|
|
int16-array = /bits/ 16 <0x1234 0x5678 0x90ab 0xcdef>;
|
|
int16-matrix = /bits/ 16 <0x1234 0x5678>, <0x90ab 0xcdef>;
|
|
int64 = /bits/ 64 <0x200000000>;
|
|
int64-array = /bits/ 64 <0x100000000 0x00 int64_array_label_end:>;
|
|
a-string-with-nulls = "foo\0bar", "baz";
|
|
|
|
subsub1: subsubnode {
|
|
compatible = "subsubnode1", "subsubnode";
|
|
|
|
subsubsub1: subsubsubnode {
|
|
compatible = "subsubsubnode1", <0x1234>, valuea: valueb: "subsubsubnode";
|
|
};
|
|
};
|
|
};
|
|
};
|